Re: Form fields based on List

2013-02-15 Thread Ivan Khalopik
And your encoder (that uses value index within list) can be replaced with formState="iteration" on loop component -- BR Ivan

Re: Form fields based on List

2013-02-15 Thread Ivan Khalopik
s? > > I saw ComponentResources.getEmbeddedComponent(), but have not had success > with that yet. > > Any pointers? > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Form-fields-based-on-List-tp5720042p5720048.html > Sent from the Ta

Re: Form fields based on List

2013-02-15 Thread nquirynen
.1045711.n5.nabble.com/Form-fields-based-on-List-tp5720042p5720048.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail

Re: Form fields based on List

2013-02-15 Thread nquirynen
guess this is what I was supposed to do? Thanks again Thiago! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-fields-based-on-List-tp5720042p5720047.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Form fields based on List

2013-02-15 Thread Thiago H de Paula Figueiredo
On Fri, 15 Feb 2013 08:31:40 -0200, nquirynen wrote: Hi, Hi! It does show all the values, but on submit it says: Could not find a coercion from type java.lang.String to CoordinateDto You need to provide a ValueEncoder for Loop with text fields to work inside a Form (Loop'

Re: Form fields based on List

2013-02-15 Thread Shing Hing Man
rynen To: users@tapestry.apache.org Cc: Sent: Friday, February 15, 2013 10:31 AM Subject: Form fields based on List Hi, I have a form where a part of it consists of a List. I tried to do the following: *.java* @Property private List coordinates; @Property private CoordinateDto coord

Re: Form fields based on List

2013-02-15 Thread Shing Hing Man
@tapestry.apache.org Cc: Sent: Friday, February 15, 2013 10:31 AM Subject: Form fields based on List Hi, I have a form where a part of it consists of a List. I tried to do the following: *.java* @Property private List coordinates; @Property private CoordinateDto coordinate;     @Property private int

Form fields based on List

2013-02-15 Thread nquirynen
: Could not find a coercion from type java.lang.String to CoordinateDto How should I handle this? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Form-fields-based-on-List-tp5720042.html Sent from the Tapestry - User mailing list archive at Nabble.com