You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Carlos (JIRA)" <de...@myfaces.apache.org> on 2007/04/30 13:18:15 UTC
[jira] Created: (TOMAHAWK-975) t:schedule HeaderDateFormat locale
problems
t:schedule HeaderDateFormat locale problems
-------------------------------------------
Key: TOMAHAWK-975
URL: https://issues.apache.org/jira/browse/TOMAHAWK-975
Project: MyFaces Tomahawk
Issue Type: Bug
Affects Versions: 1.1.5
Environment: tomcat 5,5 + linux with english locale --> Server
windows mozilla firefox , spanish locale --> navigator client
Reporter: Carlos
Hi, i'm using t:schedule from tomahawk and i've a problem:
property headerDateFormat takes the Locale from the Server (for example, English) and, if i want to use the context viewroot to format the date it's imposible.
For example: if my navigator's language is in spanish, t:schedule shows me the headerDateFormat in english beacause is the Locale from the Server where is my application.
I saw code from tomahawk t:schedule --> AbstractScheduleRenderer when i use the headerDateFormat property :
if ((pattern != null) && (pattern.length() > 0))
{
format = new SimpleDateFormat(pattern); --> it would be ok if --> new SimpleDateFormat(pattern, context.getViewRoot.getLocale());
}
Is there any possiblity without modifying AbstractScheduleRenderer code to localize the headerDateFormat property ?
Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TOMAHAWK-975) t:schedule HeaderDateFormat locale
problems
Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cagatay Civici resolved TOMAHAWK-975.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.6-SNAPSHOT
This issue is same as TOMAHAWK-986 and fixed in 1.1.6-SNAPSHOT
> t:schedule HeaderDateFormat locale problems
> -------------------------------------------
>
> Key: TOMAHAWK-975
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-975
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Affects Versions: 1.1.5
> Environment: tomcat 5,5 + linux with english locale --> Server
> windows mozilla firefox , spanish locale --> navigator client
> Reporter: Carlos
> Assigned To: Cagatay Civici
> Fix For: 1.1.6-SNAPSHOT
>
>
> Hi, i'm using t:schedule from tomahawk and i've a problem:
> property headerDateFormat takes the Locale from the Server (for example, English) and, if i want to use the context viewroot to format the date it's imposible.
> For example: if my navigator's language is in spanish, t:schedule shows me the headerDateFormat in english beacause is the Locale from the Server where is my application.
> I saw code from tomahawk t:schedule --> AbstractScheduleRenderer when i use the headerDateFormat property :
> if ((pattern != null) && (pattern.length() > 0))
> {
> format = new SimpleDateFormat(pattern); --> it would be ok if --> new SimpleDateFormat(pattern, context.getViewRoot.getLocale());
> }
> Is there any possiblity without modifying AbstractScheduleRenderer code to localize the headerDateFormat property ?
> Thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.