How do I specify an index on a pdk:select tag in java?
William Oberkirsch
Greenhorn
Joined: May 04, 2010
Posts: 6
posted
0
I have a form that needs to be repopulated when the user does an update but I don't what the selected value in a selectbox to change back to the first choice in the selectbox. How can I get it's current index and set it to that index when the form is repopulated.
Thanks in advance.
Bill O.
here is the select box in the jsp file
this is the java part where I do the setting of the selectbox and other parameters
(QuestionEditorAction.java)
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read.
Note that once a message is posted, you'll be redirected back to your message so you can check to see if the formatting you intended to apply was actually applied.