Sri,

If I add value="PMA" to the <nested:select property="processResp">, ie.
<nested:select property="processResp" value="PMA">, it pre-selects PMA in
the drop-down.  If I write <nested:write property="processResp"/> in the
previous column, it displays PMA.  

Can I somehow use the <nested:write property="processResp"/> in the value
parameter of the nested:select?

-----Original Message-----
From: Sri Sankaran [mailto:Sri.Sankaran@;sas.com] 
Sent: Friday, October 18, 2002 4:19 PM
To: Struts Users Mailing List
Subject: RE: nested:select default value

Have you ensured that the case of the strings match?  Make sure that
processResp is "PMA" and not "pma".

Sri

-----Original Message-----
From: Rea, Ron [mailto:rear@;coramhc.com] 
Sent: Friday, October 18, 2002 5:07 PM
To: '[EMAIL PROTECTED]'
Subject: nested:select default value


Hello,
 
I need to pre-set the value displayed in a drop-down via the <nested:select>
tag.  Although the property used in the nested select tag has a value (I
wrote it out in the column next to the dropdown column to verify this), the
dropdown is not being preselected.  Any ideas:
 
Example: (processResp is "PMA")
<nested:select property="processResp"><size="1">
            <html:option value=""></html:option>
            <html:option value="CMPL">CMPL</html:option>
            <html:option value="OVRD">OVRD</html:option>
            <html:option value="RDA">RDA</html:option>
            <html:option value="BMA">BMA</html:option>
            <html:option value="PMA">PMA</html:option>
            <html:option value="DEND">DEND</html:option> </nested:select>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>

Reply via email to