| Author |
Struts layout:select
|
murali karthik
Greenhorn
Joined: Mar 16, 2006
Posts: 2
|
|
Hi, I have a small peice of code in my jsp as <layout:select mode="E,I,I" key="label.mndtyVlntryIn" property='prdWIGnrtnRuleData.mndtyVlntryIn'> <layout ption value="0" key="combo.select.none"/> <layout ptions collection="d_CA_RuleMndtyVlntryIN" property="key" labelProperty="value" /> </layout:select> Suppose the collection d_CA_RuleMndtyVlntryIN has 4 values a,b,c,d How can i set the value 'a' as default in my combo box.... Any suggestions appreciated..
|
 |
Brent Sterling
Ranch Hand
Joined: Feb 08, 2006
Posts: 948
|
|
I have no idea how the layout tags work. Using the html tags, I would just set a default value for the field in my form. I would usually do this in the action that is used to display the page. - Brent
|
 |
 |
|
|
subject: Struts layout:select
|
|
|