You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/27 19:27:34 UTC

[jira] Commented: (WW-2129) Struts 2 Starter archetype from Maven repository not working correctly

    [ https://issues.apache.org/struts/browse/WW-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42038 ] 

James Holmes commented on WW-2129:
----------------------------------

I committed a fix (SVN revision 570187), but I'm not sure of all of the steps to get the fixed code into the proper Maven repository. I'll leave that for someone else who's more familiar with that.

> Struts 2 Starter archetype from Maven repository not working correctly
> ----------------------------------------------------------------------
>
>                 Key: WW-2129
>                 URL: https://issues.apache.org/struts/browse/WW-2129
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Misc
>    Affects Versions: 2.0.9
>         Environment: does not matter
>            Reporter: Kursat Tuncel
>            Priority: Trivial
>
> HelloWorld example (tutorial) build from Maven repository does not handle DateConverter properly.
> In IndexAction.java
> line 33
> @TypeConversion(converter = "com.fdar.apress.s2.DateConverter")
> should be changed to
> @TypeConversion(converter = "tutorial.DateConverter")
> This example does not work, because there is no com.fdar.apress.s2.DateConverter class, so TypeConversion does not apply and date field defaults to the format supported by default locale, which may be different than the expected format, yyyy/MM/dd , for example in Turkish locale, dd.MM.yyyy is default, so HelloWorld example keeps giving "Invalid date format" error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.