Re: Replacing MessageFormat by OGNL. Is it a good idea?
Vlad <[email protected]> Wed, 20 Dec 2006 05:41:14 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <20461370.1166614931473.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Hi Philip, I forgot to add Locale parameter to the method and put into the stack. If I do so, I will just have to take care that XWork (or my) converters are aware of the current local. Even better. Then I have the same conversion rules for displaying values and texts. Otherwise, for example, date can be displayed differently, if I print it out using <ww:text> tag or using <ww:property> tag. Here I see one more advantage in using OGNL for localized messages. Vlad --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=54464&messageID=109098#109098 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]