Hi Simon,

> I have been using stripes for about 8 months now.  So far it has been
> great
> and I know I am just doing something stupid, but I get a
> MissingResourceException whenever it tries to resolve localised field
> labels.

It's hard to tell what's wrong without more info, but at first you can
narrow down the problem to either A) StripesResources.properties is
not found at all, or B) it is found but the entry for your field label
is not found.

One quick way that comes to mind is to simply create a form with a
validated field, and submit the form with an invalid value. If the
error message is displayed correctly, StripesResources.properties is
indeed found and the next step is to tell us how you are mapping
your field label to an entry in your .properties file.

If the bundle is not found at all, have a look in your deployed
Tomcat directory, e.g. $CATALINA_HOME/webapps/yourapp/WEB-INF/classes
and make sure your .properties files end up there.

If everything looks fine and still no luck, try removing your custom
locale picker, maybe the problem stems from there. Also try removing
your customized bundle names and using the default,
StripesResources.properties.

Let us know what you find.

Hope that helps.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to