You need to have another attribute in the form bean to be contain the 
selected value. The options which are being pre-populated need to be 
available as Collection objects.

Thanks and regards,
Pazhanikanthan. P (Paz)

Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




sheetal <[EMAIL PROTECTED]>
21/08/2006 01:31 PM
Please respond to "Struts Users Mailing List"
 
        To:     Struts Users Mailing List <user@struts.apache.org>
        cc: 
        Subject:        How to select a  value when a form is prepopulated


Hi,
My action class on success, is prepopulating a combo box (<select>.. 
<option>...>, on the jsp..
for which I have used a form bean.
Now, the problem is that I also want a field to be selected from combo, 
after prepopulating it..
and before displaying the jsp page...
If anyone has any idea,..
Thanks..
Rgds,
Sheetal

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


_____________________________________________________________________ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com



*********************************************************************************
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**********************************************************************************

Reply via email to