Yes if i can specify the id there is no problem, but in the nightly build if I remember I couldn't.
Thx,
kiuma

On 3/28/06, Andreas Andreou <[EMAIL PROTECTED]> wrote:
getId() breaks in loops and in components within components.

And afaik, ognl:components.myAjaxDirectLink.id is no better than simply
literal:myAjaxDirectLink ( or literal:myAjaxDirectLinkId if you've
specified an id)

But i'm sure Leonardo knows more about all these :)

Andrea Chiumenti wrote:

> if you don't use the default  id given by getId() I'm not able to
> reference the component in
> Tapestry-ognl using notation "ognl:components.myAjaxDirectLink.id
> <http://components.myAjaxDirectLink.id >"
>
> On 3/28/06, *Andrea Chiumenti* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     why not to use getId() ?
>
>
>     On 3/28/06, *Cosmin Bucur * <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED] >> wrote:
>
>         I guess this answers the questions i was shooting in the bug
>         tracking "device"
>
>         On 3/28/06, Andreas Andreou < [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>> wrote:
>> Leonardo + others,
>> in a recent change of AjaxDirectLink, we added:
>> writer.attribute("id", getIdPath());
>> Previously we used:
>> writer.attribute("id", getIdParameter());
>>
>> Neither of those generate unique ids.
>> The first tries to solve the 'multiple AjaxTables in page'
>         problem
>> but the second produces ids closer to the ones specified by
>         users.
>>
>> The next try achieves both:
>> writer.attribute("id", cycle.getUniqueId (getIdParameter()));
>>
>> comments? problems?
>>
>> Is AjaxTable the only component that uses the id of
>         AjaxDirectLink?
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by xPML, a groundbreaking
>         scripting language
>> that extends applications into web and mobile media. Attend
>         the live webcast
>> and join the prime developer group breaking into this new
>         coding territory!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>         <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642>
>> _______________________________________________
>> Tacos-devel mailing list
>> [email protected]
>         <mailto:[email protected] >
>> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>         < https://lists.sourceforge.net/lists/listinfo/tacos-devel>
>>
>
>
>         -------------------------------------------------------
>         This SF.Net email is sponsored by xPML, a groundbreaking
>         scripting language
>         that extends applications into web and mobile media. Attend
>         the live webcast
>         and join the prime developer group breaking into this new
>         coding territory!
>         http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
>         < http://sel.as-us.falkag.net/sel?cmdlnk&kid%110944&bid$1720&dat%121642>
>         _______________________________________________
>         Tacos-devel mailing list
>         [email protected]
>         <mailto: [email protected]>
>         https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to