You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "elmar kretzer (JIRA)" <de...@myfaces.apache.org> on 2010/03/31 09:14:27 UTC
[jira] Created: (TRINIDAD-1769) datepicker selects wrong day if
ENABLE_LIGHTWEIGHT_DIALOGS is true
datepicker selects wrong day if ENABLE_LIGHTWEIGHT_DIALOGS is true
------------------------------------------------------------------
Key: TRINIDAD-1769
URL: https://issues.apache.org/jira/browse/TRINIDAD-1769
Project: MyFaces Trinidad
Issue Type: Bug
Environment: Trinidad 1.2.13 / MyFaces 1.2.X / Tomcat
Reporter: elmar kretzer
The date-picker-popup of the inputDate-component
sets the wrong day into the <input>-element.
E.g.: Select October and click "26". Then
"25.10.2007" is set into the <input>-element.
This error occurs with the following months:
- April
- May
- June
- July
- August
- September
- October
It is related to Ticket https://issues.apache.org/jira/browse/TRINIDAD-790
The provided fix in the ticket does not work if
<context-param>
<param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
<param-value>true</param-value>
</context-param>
and your timezone has a DST offset.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (TRINIDAD-1769) datepicker selects
wrong day if ENABLE_LIGHTWEIGHT_DIALOGS is true
Posted by "Mathias Walter (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851770#action_12851770 ]
Mathias Walter edited comment on TRINIDAD-1769 at 3/31/10 8:22 AM:
-------------------------------------------------------------------
This issue duplicates TRINIDAD-1384. Try the proposed patch of TRINIDAD-1384 and let us know if this patch solves your problem.
was (Author: tolot27):
This issue duplicates TRINIDAD-1384. Try the proposed patch of TRINIDAD-1384 and let us know if that solves your problem.
> datepicker selects wrong day if ENABLE_LIGHTWEIGHT_DIALOGS is true
> ------------------------------------------------------------------
>
> Key: TRINIDAD-1769
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1769
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: Trinidad 1.2.13 / MyFaces 1.2.X / Tomcat
> Reporter: elmar kretzer
>
> The date-picker-popup of the inputDate-component
> sets the wrong day into the <input>-element.
> E.g.: Select October and click "26". Then
> "25.10.2007" is set into the <input>-element.
> This error occurs with the following months:
> - April
> - May
> - June
> - July
> - August
> - September
> - October
> It is related to Ticket https://issues.apache.org/jira/browse/TRINIDAD-790
> The provided fix in the ticket does not work if
> <context-param>
> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
> <param-value>true</param-value>
> </context-param>
> and your timezone has a DST offset.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1769) datepicker selects wrong day if
ENABLE_LIGHTWEIGHT_DIALOGS is true
Posted by "elmar kretzer (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851778#action_12851778 ]
elmar kretzer commented on TRINIDAD-1769:
-----------------------------------------
No - it did not solve the problem.
I already sent an mail to dev@myfaces.apache.org for reopening the ticket.
See http://www.mail-archive.com/dev@myfaces.apache.org/msg44715.html
As i could not reopen the ticket i created a new one.
It seems like the calendar was only fixed for popup.
If the calendar is used as LIGHTWEIGHT_DIALOG it's not working.
> datepicker selects wrong day if ENABLE_LIGHTWEIGHT_DIALOGS is true
> ------------------------------------------------------------------
>
> Key: TRINIDAD-1769
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1769
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: Trinidad 1.2.13 / MyFaces 1.2.X / Tomcat
> Reporter: elmar kretzer
>
> The date-picker-popup of the inputDate-component
> sets the wrong day into the <input>-element.
> E.g.: Select October and click "26". Then
> "25.10.2007" is set into the <input>-element.
> This error occurs with the following months:
> - April
> - May
> - June
> - July
> - August
> - September
> - October
> It is related to Ticket https://issues.apache.org/jira/browse/TRINIDAD-790
> The provided fix in the ticket does not work if
> <context-param>
> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
> <param-value>true</param-value>
> </context-param>
> and your timezone has a DST offset.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1769) datepicker selects wrong day if
ENABLE_LIGHTWEIGHT_DIALOGS is true
Posted by "elmar kretzer (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851814#action_12851814 ]
elmar kretzer commented on TRINIDAD-1769:
-----------------------------------------
Hi Mathias - you got it.
I was still hanging on ticket 790. I will check the patch from 1384.
And i guess it will work fine.
Thx for your help!
By the way - is there any reason why the patch for 1384 is not yet implemented in the current version?
> datepicker selects wrong day if ENABLE_LIGHTWEIGHT_DIALOGS is true
> ------------------------------------------------------------------
>
> Key: TRINIDAD-1769
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1769
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: Trinidad 1.2.13 / MyFaces 1.2.X / Tomcat
> Reporter: elmar kretzer
>
> The date-picker-popup of the inputDate-component
> sets the wrong day into the <input>-element.
> E.g.: Select October and click "26". Then
> "25.10.2007" is set into the <input>-element.
> This error occurs with the following months:
> - April
> - May
> - June
> - July
> - August
> - September
> - October
> It is related to Ticket https://issues.apache.org/jira/browse/TRINIDAD-790
> The provided fix in the ticket does not work if
> <context-param>
> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
> <param-value>true</param-value>
> </context-param>
> and your timezone has a DST offset.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TRINIDAD-1769) datepicker selects wrong day if
ENABLE_LIGHTWEIGHT_DIALOGS is true
Posted by "Mathias Walter (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851796#action_12851796 ]
Mathias Walter commented on TRINIDAD-1769:
------------------------------------------
Elmar, you refering to TRINIDAD-790 again. Did you realy try the patch of TRINIDAD-1384?
The time zone is handled differently for popups and lightweight dialogs. The patch of TRINIDAD-1384 should address this and should solve your problem (for me it does!). If not, please attach a very small test case.
> datepicker selects wrong day if ENABLE_LIGHTWEIGHT_DIALOGS is true
> ------------------------------------------------------------------
>
> Key: TRINIDAD-1769
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1769
> Project: MyFaces Trinidad
> Issue Type: Bug
> Environment: Trinidad 1.2.13 / MyFaces 1.2.X / Tomcat
> Reporter: elmar kretzer
>
> The date-picker-popup of the inputDate-component
> sets the wrong day into the <input>-element.
> E.g.: Select October and click "26". Then
> "25.10.2007" is set into the <input>-element.
> This error occurs with the following months:
> - April
> - May
> - June
> - July
> - August
> - September
> - October
> It is related to Ticket https://issues.apache.org/jira/browse/TRINIDAD-790
> The provided fix in the ticket does not work if
> <context-param>
> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
> <param-value>true</param-value>
> </context-param>
> and your timezone has a DST offset.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.