| Author |
Auto pre-selection of drop down boxes.
|
Thillai Sakthi
Ranch Hand
Joined: Jun 17, 2000
Posts: 91
|
|
Hi All: Need your help pls. I have a drop down box which gets its values from db. This is okay for create screen, but for edit screen, I wish to pre-select the value in db in the dd box along with other values. How do I do this struts? The examples I am seeing are all hard-coded examples...... Can you please help?
|
Regards,<br /> <br />Shakthi
|
 |
Marc Peabody
pie sneak
Sheriff
Joined: Feb 05, 2003
Posts: 4725
|
|
|
Set the desired value in your ActionForm. This will return the desired value when the dropdown's get method is called on the ActionForm.
|
A good workman is known by his tools.
|
 |
 |
|
|
subject: Auto pre-selection of drop down boxes.
|
|
|