You should modify DateConverter or change xwork.properties to use your own
class. If you don't have xwork-conversion.properties, you're not using
full-source. You should be able to override the default by adding your own
src/main/resources/xwork-conversion.properties with the following:

java.util.Date=org.appfuse.webapp.action.DateConverter

More on this at:

http://www.opensymphony.com/xwork/wikidocs/Type%20Conversion.html

Matt

On Tue, Jan 20, 2009 at 12:35 PM, mmaia <[email protected]> wrote:

>
> Hi,
>
> I'm usind appfuse with struts2. In some situations I need an insert to use
> a
> date+time patter wich I can see looking at DateUtil class that is already
> made in a method called: getDateTimePattern . Also sometimes I need the
> display tag to show Date and time and also would like to use
> getDateTimePattern instead of getDatePattern. How should it be done?
>
>
> tx in advance,
> regards.
> --
> View this message in context:
> http://www.nabble.com/DateUtil.-How-do-I-choose-to-use-date-or-dateTime-format--tp21570028s2369p21570028.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to