You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Burnley <ch...@viator.com> on 2002/12/04 02:19:51 UTC
Select options with non string property targets
Is it possible for me to have something like this:
<html:select property="userType">
<html:options property="userTypes"/>
</html:select>
where on my ActionForm, I have something like this:
public UserType getUserType()
public Collection getUserTypes()
public void setUserType(UserType type)
I don't want to have to deal with the labels, but rather have the
selected list object set into setUserType(UserType type).
regards,
Chris Burnley
--
Popular tours sell out well in advance! Don't be disappointed!
http://www.viator.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>