One way is to use an onChange JavaScript listener on the drop-down that submits to an Action -- that Action retrieves the data for the textarea and forwards back to the original form. Here's a recent thread that will help: http://marc.theaimsgroup.com/?l=struts-user&m=109414235004080&w=2


Caroline Jen wrote:

I have a web page that displays a drop-down menu, a
textarea, and a submit button.


The drop-down menu is for users to select "one" from a
list of pages.  Once the page is selected, the content
of that page is supposed to show up in the textarea
and the user can start editing that page.  Upon
finishing editing, the user clicks on the Submit
button.

To the best of my knowledge, it involves an action to
search in the database tables to search for the page
selected, and then, the content of the page can be
displayed in the next step.

How do users make a selection from a drop-down menu
and the content of the selection shows up in the
textarea right below the drop-down menu?


__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to