Re: Bunch of issues...
Philip Luppens <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <19581028.1145308975026.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
> (sorry for posting this in dev, but I was told it's > better if i post this here) > > 1) Why does WW silently swallow OgnlExceptions that > should be reported? Already addressed in the Jira. https://issues.apache.org/struts/browse/WW-1277 > 2) How do I tell the datepicker what date format it > should use, and why is the default so stupid? By > default (ww:datepicker name="date" />), if I > initialise it to the current date (new Date()), it's > show as M-dd-yy. Soon as I pick a date in the picker, > it becomes MM-dd-yyyy. Pretty unpolished. Use format="%d-%m-%Y %H:%M" or whatever you need. > 5) What's the point of ww:date, if I know how to > format dates in i18n bundles, or did the author just > not know basic java? I wrote the tag because I needed a lot of date formatting in one of my latest projects. Found it really useful. You're welcome to use whatever basic java solution you can come up with. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=26282&messageID=51723#51723 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]