Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by DavorHrg: http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix ------------------------------------------------------------------------------ } @Override + public boolean isInvariant() { + return false; + } + + @Override public Class<Object[]> getBindingType() { return Object[].class; } } }}} - !Notice: although we named this binding "list" the value returned is an Object array, but tapestry will easily convert between the two. If you like, you can easily change this to return "List" + !Notice: although we named this binding "list" the value returned is an Object array, but tapestry will easily convert between the two. If you like, you can easily change this to return "List"[[BR]] - + !Notice#2: you must override isInvariant and "return false" to avoid value being cached And that's it, you now have your own binding prefix. It splits the expression on "," and each subexpression will be evaluated as it was single binding expression (with exception for numeric values and values surrounded with ' ', which are prefixed literal). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
