Hi Mathieu,

you can make your own TypeConverter(s) check java docs..
it should look like:
class MyConverter implements 
TypeConverter<DeactivateKeysFromVehiclesActionBean>
{
....
public DeactivateKeysFromVehiclesActionBean convert(String input, 
Class<? extends DeactivateKeysFromVehiclesActionBean> clazz,
Collection<ValidationError> validationErrors){
DeactivateKeysFromVehiclesActionBean bean = new 
DeactivateKeysFromVehiclesActionBean();        bean.setYourProps(input);
return bean
}
...
}

you'll also need to make a factory class / or map it within @validation 
annotation

e.g @Validate(field = "selectedIdsString", required = true, converter = 
MyConverter.class),

hth,
-m
Mathieu Avoine wrote:
> Hi,
>
> I have a problem with a wizard form where some value is not set at some 
> point. I checked the logs and I found this:
>
> 2008-04-10 10:24:51 DEBUG mavoine: Log.trace: Running binding for property 
> with name: keys.selectedIdsString
> 2008-04-10 10:24:51 DEBUG mavoine: Log.debug: Converting 1 value(s) using 
> converter
> [EMAIL PROTECTED]
> 2008-04-10 10:24:51 DEBUG mavoine: Log.debug: Could not bind property with 
> name [keys.selectedIdsString] to bean of
> type: DeactivateKeysFromVehiclesActionBean
>
> The log tells me that the property was not bound but how can I figure out why?
>
> Thanks!
> Math
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to