struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dixa M" <>
Subject Re: Help required with struts for dynamic row addition in jsp
Date Tue, 15 Nov 2005 08:47:27 GMT

if u are using ActionForms of Struts then its easy to handle ur problem,
Take a Vector as a form field which will have collection of individual rows,
when user clicks 'ADD' call an sction that will increase the size of this vector as per requirement.
Hope this will help u.

On Tue, 15 Nov 2005 Simpy Ahuja wrote :
>Warm Greetings! I am a new user to thsi group...
>I need help regarding Dynamic addition of rows in jsp within Struts
>Framework. I have read the below article but it doesnt do the same in
>My requirement is to make an interface wherein the Application User would
>get 10 rows at a go for filling the email address and then send invitation
>to those people. He should then be able to add another set of ten rows by
>using add button, that would display a fresh set of blank rows and would
>also display the previously entered rows in editable form below. As we
>associate a from property to each row, how can i dynamically add rows?
>is it by logic:iterate ? can anybody guide me with the code?
>Simpy Ahuja
>Simpy Ahuja

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message