Hi Robert,

If the declared type is

2013/3/16 Robert Nicholson <robert.nichol...@gmail.com>

> I'm still new to stripes but last week I had an issue where it wasn't
> using the correct type convertor on a binding.
>
> So I  have a hibernate object that has an attribute represented as a
> varchar in the database and it's java type is a String
>
> However I wanted to filter based on a type of Enum.
>
> The code I saw seemed to go looking at the declared type of the attribute
> in order to figure out what kind of type converter should apply and so
> instead of end up with an Enum converter it arrives at a String converter.
>
> How can you override this behavior?
>
> My final solution was to do away with the Enum completely which means I
> had to display the value as "Y" "N" instead of "True" "False"
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to