struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Tiernay" <btier...@hotmail.com>
Subject Re: Enum type conversion
Date Thu, 18 Sep 2008 11:40:37 GMT
I'm not 100% sure, but I though Musachy enabled this by default?

--------------------------------------------------
From: "Jeromy Evans" <jeromy.evans@blueskyminds.com.au>
Sent: Thursday, September 18, 2008 5:51 AM
To: "Struts Developers List" <dev@struts.apache.org>
Subject: Re: Enum type conversion

> Piotr Matkowski wrote:
>> Maybe Enums should be handled by struts by default? Why they aren't 
>> handled?
>>
>
> Enum conversion broken/unsupported in OGNL's default type converter.  I 
> can't recall where.  I spent hours hunting it down and put it in the too 
> hard basket...
> However, if you enable XWork's default Enum convert it works just fine 
> without further configuration
>
> ie. com.opensymphony.xwork2.util.EnumTypeConverter
>
> You can enable that converter in the default converters file, or enable it 
> for individual properties.
>
> I'm not sure why it's not enabled by default.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message