Hello there! I've always used the <html:options> with the collection attribute, so I had a separate bean with the collection. But now I'd like to have that collection on my form bean cuz it'll be stored on the session, and I have a utility filter that always remove my formbeans stored on the session after the end of an usercase. So for this specific case, having the collection inside my form seemed to be the best solution since I don't need to care about that bean later. Ok. But for my surprise struts lacks support for collections insides the formbeans

<html:select property="documentType">
<html:options property="documentList"/>
</html:select>

This prints documenttype as value and property, but I'd like to have a way to say which accessor is my label and which is property.

Isn't this possible?

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



Reply via email to