RE: Dynamically adding row!

2006-11-15 Thread Lance Semmens
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

Re: Dynamically adding row!

2006-11-15 Thread Ed Griebel
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

RE: Dynamically adding row!

2006-11-15 Thread Lance Semmens
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

RE: Dynamically adding row!

2006-11-15 Thread Lance Semmens
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

Re: Dynamically adding row!

2006-11-14 Thread Ed Griebel
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

RE: Dynamically adding row!

2006-11-14 Thread Lance Semmens
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

RE: Dynamically adding row!

2006-11-14 Thread Mano Chinthaka Dasanayaka
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