No, not yet. Expansions are a shorthand for Property Bindings, described here:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html

The original reason for prop (IIRC) was to improve on the performance of OGNL.
Now that the much faster OGNL 2.7 has been released, it could be an add-on for
T5 as Howard mentions here:
http://howardlewisship.com/tapestry-javaforge/tapestry-prop/

Cheers,
Nick.


Allen Guo wrote:
Hi All,

Suppose there is a method with parameters in page class like this
// CssPage.java
.....
pubic String getEcho(String echo){
return "[" + echo + "]";
}


Can I call it in html template like this?
// CssPage.html
......

${getImage('HELLO')}
...

I just tested it. It doesn't work.
I want to know if tp5 support the feature? If not, do you think if we
really need the feature???


Thanks
Allen Guo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to