Hi,

in tapestry 4 you could use ognl to check a page property in a expression like disabled="ognl:!nextAvailable" or ognl:(nextAvailable == false)", I'm wondering is we can do something similar in T5 without using ognl, just using the prop: binding prefix alone, for example

<t:pagelink id="next" page="nextPage" disabled="!(nextPageAvailable)">


public final boolean isNextPageAvailable() {
       return true;
}

the above example doesn't work of course, as there's no property named "!(nextPageAvailable)" just nextPageAvailable . . .

Regards, Brian.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to