Hi,

I am learning struts and found out that select tag which renders a multiple options select box takes an array instead of a collection. Are there any plans to enable selectTag to use also collections?

It seems unintuitive to mandate the use of arrays as the nested options can be populated using collections. Also, it seems that support for collections is halfway there already (at least Struts 1.1 release that I am using). If I model selected options as a collection in the form bean, and give that collection to the select tag on JSP, the page is rendered without problems. Problems occur only when the form is submitted (javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



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



Reply via email to