Hi,

about context :
support arraylist as context parameter is good,
but i think that context parameters usually is not more than 3 or 4 params,
then separating this params with a separator, is simpler than using array
list.
am i wrong ?

and  : any plan to use OGNL in T5 ?



On 10/17/07, Nick Westgate <[EMAIL PROTECTED]> wrote:
>
> 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]
>
>


-- 
sincerely yours
M. H. Shamsi

Reply via email to