[ 
http://www.stripesframework.org/jira/browse/STS-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frederic Daoud closed STS-590.
------------------------------

    Resolution: Not a Bug

Closed as requested.

> stripes:input with formatType="datetime" and custom formatPattern fails
> -----------------------------------------------------------------------
>
>                 Key: STS-590
>                 URL: http://www.stripesframework.org/jira/browse/STS-590
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.5
>         Environment: Windows XP (dev), Linux Debian (live)
>            Reporter: Magnus Jäderberg
>            Priority: Minor
>
> I'm trying to use the stripes:input tag like this:
> <stripes:text formatType="datetime" formatPattern="yyyy-MM-dd HH:mm" 
> name="events[${loop.index}].date"/>
> When the form is displayed with data from the database everything is fine.
> When I submit the form it removes the HH:mm part of the formatPattern.
> I was unsure if my AJAX stuff was causing this so I did a debug output in the 
> ActionBean and it outputs:
> 15:47:05,593 DEBUG ManualEDIActionBean:55 -           DEBUG :: 2008-01-01 
> 10:00
> Which seems to be correct, But in the database the field value is now: 
> 2008-01-01 00:00
> Thanks for an awesome framework =)
> Regards,
> Magnus Jäderberg

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to