Ah. gotcha. I use my own custom formBeans so don't get this nifty little trick.
-Original Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED]
Sent: 15 November 2006 14:48
To: Struts Users Mailing List
Subject: Re: Dynamically adding row!
It's worked for me using a LazyDynaB
ling List
Subject: Re: Dynamically adding row!
You can have a form auto-populate from the javascript-generated
fields, you just need to be careful what you call the generated field
names. It will be hard-coded and none too attractive, but it will
work. Look at the rendered HTML to see what format the
6 14:24
To: Struts Users Mailing List
Subject: Re: Dynamically adding row!
You can have a form auto-populate from the javascript-generated
fields, you just need to be careful what you call the generated field
names. It will be hard-coded and none too attractive, but it will
work. Look at the render
6 14:24
To: Struts Users Mailing List
Subject: Re: Dynamically adding row!
You can have a form auto-populate from the javascript-generated
fields, you just need to be careful what you call the generated field
names. It will be hard-coded and none too attractive, but it will
work. Look at the render
You can have a form auto-populate from the javascript-generated
fields, you just need to be careful what you call the generated field
names. It will be hard-coded and none too attractive, but it will
work. Look at the rendered HTML to see what format the field names are
as an example.
HTH,
-ed
O
The least messy way is to post to an addRecord action which adds a blank record
to your form. Form must be in session scope. This requires a page redraw so is
less responsive but this is the approach I often use.
If you add a row to your table using javascript, struts will not automatically
pop
Hi,
Display tags can be used to get paging functionalities, plus sorting on a
table that u display. U can simply iterate thru your record collection using
a iterate tag and can display them on the page...some thing like..
to display the records u have..
Regards,
Mano
-Original Mess
7 matches
Mail list logo