Friday, February 21, 2014

There is no if/then logic in dojox templates.

All you can really do is cough something up from a variable like this:

<div>${Whatever.Foo}</div>

 
 

All manipulations need to come from the controller side. If you want to conditionally hide something you could latch onto an attach point and conditionally swap out a CSS style.

No comments:

Post a Comment