Re: [Stripes-users] TypeConverters and the declare type.

2013-03-18 Thread Robert Nicholson
In my case the bean is the actual JPA hibernate class and so it's modeled as a String. However, some extensions were written on top of Display Tag to provide filtering ie. searching whereby a textfield or popup is added as the header of each column. The idea is that it's suppose to populate an

Re: [Stripes-users] TypeConverters and the declare type.

2013-03-18 Thread Remi VANKEISBELCK
I don't get it. You mean you have an action bean that references an object (JPA) and you want to bind a string to one of its props ? action - pojo - String ? What's display tag have to do with it ? In all cases, Stripes binds request params using the declared type of the property. You can

Re: [Stripes-users] TypeConverters and the declare type.

2013-03-16 Thread VANKEISBELCK Remi
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

Re: [Stripes-users] TypeConverters and the declare type.

2013-03-16 Thread VANKEISBELCK Remi
Hi Robert, If the declared type is String the Stripes will bind to a String. If you wanna use an enum in the bean you can just do that. What do you mean by filter ? Cheers Remi 2013/3/16 VANKEISBELCK Remi r...@rvkb.com Hi Robert, If the declared type is 2013/3/16 Robert Nicholson

[Stripes-users] TypeConverters and the declare type.

2013-03-15 Thread Robert Nicholson
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.