Hey folks - I'm trying to get a better understanding of how the StripesResources file works. I've been using it for a while but I've recently run into the problem with the ' character.
Looking through the code hasn't been very helpful. Here's the problem. In my StripesResources.properties file I have (for example): foo1=Foo's foo2=Foo''s foo3=Foo\'s In my JSP's I have: <fmt:message key="foo1"/> <fmt:message key="foo2"/> <fmt:message key="foo3"/> The page returns: Foo's Foo''s Foo's This kinda makes sense but I see that the Stripes SimpleMessage class implementation is supposed to use: http://java.sun.com/j2se/1.5.0/docs/api/java/text/MessageFormat.html The reason this is a problem is we're trying to share a translation memory database between Stripes and GWT and it seems like the strings are represented differently. Any idea why the StripesResources.properties doesn't following the standard MessageFormat format conventions where: foo2=Foo''s should be printed like: Foo's Thanks in advance. Phil ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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/devconf _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
