>Jan Hackel wrote:
>> I need to write a test that essentially needs to traverse to an operation
>> like the following tal-expression would:
>>
>> tal:condition="context/@@plone_context_state/is_view_template"
>
>context.restrictedTraverse('@@plone_context_state').is_view_template()
>
>Hedley

Well, thanks! While I am pretty sure I tried that, it now works...

Grüße
Jan Hackel



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to