Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What happened to the Zope2 TALES root variable?

happened Tales
0
Posted

What happened to the Zope2 TALES root variable?

0

Q. In a tales expression, where has the “root” context variable gone? In zope2, we could use “path:root/path/to/object” or “path:/path/to/object”, but it doesn’t work with Zope 3. How can we access some object with an absolute path? Right, there is no root namespace by default. I actually have never needed this feature. However, you can write your own TALES namespace adapter, so that you can say: mynamespace:root. We sometimes write our own namespace adapters to do this sort of thing.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123