Hi,
this is definetly not possible with T 5.0.x.
I think Howard already checked in some changes in T 5.1 that make it
possible.
As a workaround you could use ognl as in T4. See
http://www.chenillekit.org/chenillekit-tapestry/ognlbinding.html
Andy
Brian Long schrieb:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org