[Product-Developers] Conditioning an action on a view that may or may not be registered?

Martijn Pieters mj at zopatista.com
Fri Jan 11 19:37:41 UTC 2008


On Jan 11, 2008 7:00 PM, Sean Gillies <sgillies at frii.com> wrote:
> condition_expr="object/@@foo | nothing"
>
> ? That would render the view twice, so not very efficient.

Untested suggestion: nocall:object/@@foo | nothing

That would test for traversability to the view, without rendering it.

-- 
Martijn Pieters




More information about the Product-Developers mailing list