There's an 'edit customers' example in the For component doc that
should be close to
what you're doing:
http://tapestry.apache.org/tapestry4.1/components/general/for.html

Are you using a form listener or a submit button listener?
In the later case, see
http://tapestry.apache.org/tapestry4.1/components/form/submit.html
perhaps you want to bind to the action parameter (instead of listener)

On Wed, Mar 25, 2009 at 6:57 PM, Ivano Luberti <lube...@archicoop.it> wrote:
> Hello, I'm very confused by docs about this and I'm not able to make
> work submission of data displayed inside a for.
>
> I have defined a list of objects of a class that implements the
> Serializable interface and dispalyed it on my html page.
> I first populate the list displayed by the for with an element and hence
> in my html source I can read the following:
>
> <input type="hidden" name="listaDettagli_0" 
> value="VZH4sIAAAAAAAAAGVNMU7DQBDcREJEQkpBSv7gVVpCFaV0EyIesDlvnA3x7fluHSEXFHyGhp6H8A7+gLEcIZFtZmd2Z+bjG65SBBTLKLq9ONWQlZyMvBSSsi2TT9mKzag8ij6K41NjtN5/fb69b+7HMMnhpuDkorSing1u8wOdCI/kS9xYFF8u+pchYbU0eMjFsK+ruGD8q0PTWDeMWqFuD+wM/zdzF3a3e76Qz1jDK4xyGEsxbNdSBY2mA52FS+9wmobIbatPXoyinA2TuiFvndTzl9CNwWj+iz9LwBDJPAEAAA=="
>  />
>
> Moreover I can see the element correctly displayed.
> Which means,  I guess that the list has been handled correctly.
>
> When I try to read the value submitted by the form inside the listener,
> all the input field values outside the for are filled , but when I look
> for value submitted in the input fileds inside the for I cannot find them.
>
>
> Too keep it simpler I have also tried using a List of string but with
> the same result.
>
>
> What am I missing ?
>
>
>
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to