You misunderstand.
By simple I mean that the "prop" expression language is limited.

If you want to use an experimental list binding, see this how-to:
http://wiki.apache.org/tapestry/Tapestry5HowToAddBindingPrefix

Tapestry 5 is alpha.
What you want is easily achievable in T4 with OGNL.

Your choice.

Cheers,
Nick.


Mohammad Shamsi wrote:
Hi Nick,

you really think that this is quite simple ?

i just want a simple url : <a href="#?p1=2&p2=5"> go </a>

for doing this, i most add a method to page class. Wow!!! :(



On 10/17/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
Binding expressions are quite simple at this time. See Binding
Expressions:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/parameters.html

Use context="${editLinkContext} and create the context in Java.

List getEditLinkContext() ...

Cheers,
Nick.


Mohammad Shamsi wrote:
hi all,

i have an event handler with 2 parameter,

public onX(int param1, int param2) {
// foo
}

but i don't now how to set parameters in page, :(

Error1 : <t:actionlink t:id="edit"
context="literal:1,literal:2">...</t:actionlink>
Error2 : <t:actionlink t:id="edit"
context="literal:1,2">...</t:actionlink>
Error3 : <t:actionlink t:id="edit" context="list:1,2">...</t:actionlink>

---------------------------------------------------------------------
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