Thanks for the reply Michael, 1. Yes, I am adding a row into the browser's DOM. Basically, client requirement is to implement a table like structure where user can add a new row to save new record. i need to know how to handle scenario where client changes (adding a new row) gets notified to server to create a new bean for the added row. 2. I am submitting all rows because any changes to existing should get udpated to database.
Suggestion will be greatly appreciated. Thanks once again. Irfan. On 12/18/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 12/17/05, Irfan Shaikh <[EMAIL PROTECTED]> wrote: > > the problem here is when i populate the data on page for the first > time i > > have 4 rows and then i add a new row by javascript > > Do you add a row right into the browser's DOM? > > >, and i submit the page, > > even then i get only 4 rows in execute method whereas i should get 5 > rows > > You submit *all* rows back? What for? Why don't you want to submit > only a new row? Does this look like something you would like to do: > http://superinterface.com/strutsdialog/crudactionlite.do or is too > simplistic for your tastes? > > Michael. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >