Hello everyone,

We have a java.util.Date field on a action bean. We use the default 
DateTypeConverter and we are trying to configure it to use our default 
formats:

stripes.dateTypeConverter.formatStrings = dd MM yyyy

In our application, we have two files for fieldnames and error messages:
    <filter>
        <filter-name>StripesFilter</filter-name>
        
<filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>
        ...
        <init-param>
            
<param-name>LocalizationBundleFactory.ErrorMessageBundle</param-name>
            <param-value>com.mycompany.web.i18n.errors</param-value>
        </init-param>
        <init-param>
            
<param-name>LocalizationBundleFactory.FieldNameBundle</param-name>
            <param-value>com.mycompany.web.i18n.strings</param-value>
        </init-param>
    </filter>

This is not an actual misbehavior or anything. Is just that we concluded 
(after taking a look at the source for DateTypeConverter) that we have 
to set the formatStrings key in the error bundle.
My question: is there any documentation related to where each of these 
settings go?

Thanks,
Cosmin Marginean

-- 
cosminaru.ro


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to