[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1174) Change s:selectDate to default the date format pattern based on the Seam Locale

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Sep 6 19:06:26 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1174?page=all ]

Pete Muir closed JBSEAM-1174.
-----------------------------

    Resolution: Out of Date

s:selectDate has been deprecated.  Use rich:calendar instead.

> Change s:selectDate to default the date format pattern based on the Seam Locale
> -------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1174
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1174
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: JSF
>    Affects Versions: 1.2.1.GA
>            Reporter: Daniel Young
>
> If no pattern is specified, s:selectDate defaults the javascript CAL_DATE_FORMAT to "MM/dd/yyyy".  If you use this in conjunction with s:convertDateTime in a locale that uses "dd/MM/yyyy", there calendar behaves very strangely.
> It should be possible to use s:selectDate and s:convertDateTime together and not have to specify a date pattern.  It should default to the correct pattern for that locale.  Any application with a locale switcher really needs this behaviour.
> One open question would be whether to use the FULL, LONG, MEDIUM or SHORT pattern for the locale, perhaps this could be specified as a parameter.  The default is generally medium.

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

        



More information about the seam-issues mailing list