You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajay brar <aj...@hotmail.com> on 2003/12/13 10:40:01 UTC

form beans

hi!

i have a page that shows user operations. Each user operation is represented 
as a userbean that includes info about the user and a Tree structure for 
functions that the user can make.
the structure is eg:
manage database
          agency table
                     add
                     edit
                     delete
this structure is managed through a TreeNode class.
the action preceeding the page loads a list of user beans into session and 
in the page itself i iterate through the list.
against each entry i have an edit and delete option.

what i would like to know and do is that if someone clicks the edit button 
against a particular user,
the values for that user are shows as editable form fields at the bottom of 
the same page.(the tree strutcure is displayed through checkboxes)
how do i relate a an empty form at the bottom of the page to be filled with 
information depending upon the button clicked.
i currently have an empty form to add a new user at the bottom.

thanks
ajay

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org