Yes the problem is still there. In fact the problem do not come from the
first select (t:id=selection), but the second one (t:id="selection2")

I added a clientId to selection2, and Tapestry use it for generating the
controlName.  So when i refresh all the page, I have this DOM :

<select id="myClientId2" name="myClientId2">...</select>

When I select something on the first select, the zone is updated, and
inside this zone I have something like that :
<select id="myClientId2_13953dfe479"
name="myClientId2_13953dfe479">...</select>

Note the namespace added as a suffix of the clientId and the controlName.

And during the rendering phase coming just after the submission, i have  :

<select id="myClientId2" name="myClientId2">...</select>

As the validationTracker use the controlName as a key of its map, the key
change between the action (myClientId2_13953dfe479) and rendering request
(myClientId2).

2012/8/23 Emmanuel DEMEY <demey.emman...@gmail.com>

> I have already tested it, and the problem was the same.  Tapestry use the
> clientId for generating the controlName.
> But I will test again ;).
> Manu
>
> 2012/8/23 Thiago H de Paula Figueiredo <thiag...@gmail.com>
>
>> On Thu, 23 Aug 2012 05:52:24 -0300, Emmanuel DEMEY <
>> demey.emman...@gmail.com> wrote:
>>
>>  Hi everyone,
>>>
>>
>> Hi!
>>
>> Try <t:select t:id="selection" t:model="literal:choix1,**choix2"
>> t:zone="zoneTest" clientId="selection"/> (note the clientId parameter).
>>
>> --
>> Thiago H. de Paula Figueiredo
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>
>
> --
> Emmanuel DEMEY
> Ingénieur Etude et Développement
> ATOS Worldline
> +33 (0)6 47 47 42 02
> demey.emman...@gmail.com
> http://emmanueldemey.fr/
>
> Twitter : @EmmanuelDemey
>
>


-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emman...@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Reply via email to