Are enums type-converted automatically now?

I recall early on I  had to specify
http://struts.apache.org/2.0.9/struts2-core/apidocs/com/opensymphony/xwork2/util/EnumTypeConverter.html

Have you tried specifying that?

with 

Element_selectedNutrients = com.opensymphony.xwork2.util.EnumTypeConverter




Guillaume Bilodeau wrote:
> 
> Looks like the JSP code doesn't show. Here it is:
> 
> <pre>
>         [s:form action="createSimpleFood.go" method="post"
> namespace="/nutrition"]
>             [s:textfield key="food.name" name="model.name" /][br/]
>             [s:select key="food.group" name="model.group"
> list="availableGroups" /]
>             [s:checkboxlist key="food.nutrients"
> name="model.selectedNutrients"
> list="availableNutrients" /]
>             [s:submit key="nutrition.foods.simpleFoods.create.submit" /]
>         [/s:form]
> </pre>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Mapping-multiple-enums-to-a-nested-object-tf4505238.html#a12884986
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to