omFormInjector() {
return _newRow;
}
}
> -Original Message-
> From: Igor Drobiazko [mailto:[EMAIL PROTECTED]
> Sent: 15 April 2008 15:28
> To: Tapestry users
> Subject: Re: Dynamic list of strings in a form
>
> Ups, wrong template url. This o
l Message-
> From: Igor Drobiazko [mailto:[EMAIL PROTECTED]
> Sent: 15 April 2008 15:28
> To: Tapestry users
> Subject: Re: Dynamic list of strings in a form
>
> Ups, wrong template url. This one is the correct one:
> http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tap
; -Original Message-
> From: Igor Drobiazko [mailto:[EMAIL PROTECTED]
> Sent: 15 April 2008 15:28
> To: Tapestry users
> Subject: Re: Dynamic list of strings in a form
>
> Ups, wrong template url. This one is the correct one:
> http://svn.apache.org/viewvc/tapestry/ta
Thank you very much, that was exactly what I was looking for. I am new
to tapestry and it was not clear for me how loops are working, but now I
understand it. :-)
Also many thanks to the other guys that replied.
@Marcus: Grid didn’t work for me, because I didn't have any Bean that I
could pass.
Hey Michael,
I know a couple of guys have replied, but I think there is a much
simpler answer to your problem.
drop the item property from your page and add getter/setters that
update the your items list based on the index in the loop:
@Property
private int _index;
public String getItem() {
Hi Michael,
Try Grid component instead a Loop.
Marcus
Michael Dukaczewski wrote:
[...]
I have a list of values, the user has to enter. The number of values,
that have to be typed in, is dynamic, so the user has to extend the form.
The add button works, but the values are not saved. Can someone tell
me, that I am do
Ups, wrong template url. This one is the correct one:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/FormInjectorDemo.tml?view=markup
On Tue, Apr 15, 2008 at 4:20 PM, Igor Drobiazko <[EMAIL PROTECTED]>
wrote:
> Have a look at the FormInjector component. This com
Have a look at the FormInjector component. This component is what you need.
http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/FormInjector.html
An example can be found here:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/jav