You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PropertyManager still uses DTML for its templating; DTML does not yet support views. Should we add view support in DocumentTemplate._DocumentTemplate.InstanceDict__getitem__?
The most natural way would be to make DocumentTemplate dependent on zope.component and perform a view lookup whenever the key starts with @@. If this dependency is undesirable view lookup could be made conditional on zope.component being installed.
The text was updated successfully, but these errors were encountered:
Should we implement view support?
This issue is motivated by "https://community.plone.org/t/adding-a-portal-method-the-right-way/15478/5": support views as
PropertyManager
"select variable".PropertyManager
still uses DTML for its templating; DTML does not yet support views. Should we add view support inDocumentTemplate._DocumentTemplate.InstanceDict__getitem__
?The most natural way would be to make
DocumentTemplate
dependent onzope.component
and perform a view lookup whenever the key starts with@@
. If this dependency is undesirable view lookup could be made conditional onzope.component
being installed.The text was updated successfully, but these errors were encountered: