I'm trying to use a mix of a dynamic list a static option for a select list
and checkbox list but I need some OGNL help.

In s1 I would have the following:

<html:select property="icon">
   <html:option value="0">Default image</html:option>
   <html:option value="-1">No image</html:option>
   <html:optionsCollection name="iconList" label="fileName"
value="fileName"/>
</html:select>

This way I get my collection from the server (db, directory, etc) and I can
add a couple of default values that I don't want to add in the service
layer. 

If somebody could could just point out the s2 way, I'll happily slink away.

Z.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to