Pavel Sapozhnikov wrote:
Hi I have this code in my jsp in s1 application I want to get the equivalent
for s2. I think it has something to do with <s:select> and s:optgroup. Could
anyone help maybe?
<html:select property="activeAgencyID">
<html:option value="">- Select an Agency -</html:option>
<html:options collection="agency" property="agency_id"
labelProperty="agency_desc"
/>
</html:select>
Should be something like
<s:select
headerKey='-1' headerValue='- Select an Agency -"
list='agency' listKey='agency_id' listValue='agency_desc"/>
http://struts.apache.org/2.x/docs/select.html
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]