[ http://issues.apache.org/jira/browse/MYFACES-323?page=all ]
Ethan Teh updated MYFACES-323:
------------------------------
Attachment: popcalendar.js
Here is the attached popcalendar.js that I have modified.
New function added:
function formatInt(str){
if(typeof str != "undefined"){
//truncate 0 for number less than 10
if (str.charAt(0)=="0"){
return str.charAt(1);
}
}
return str;
}
> inputCalendar fails after changing value on server
> --------------------------------------------------
>
> Key: MYFACES-323
> URL: http://issues.apache.org/jira/browse/MYFACES-323
> Project: MyFaces
> Type: Bug
> Components: Tomahawk
> Versions: 1.0.9 beta
> Environment: Tomcat 5.0.27 in JBuilder2005, WinXP, locale=hu_HU
> Reporter: Csaba Sebastian
> Assignee: Martin Marinschek
> Attachments: CalendarTest.java, calendarTest.jsp, faces-config.xml,
> popcalendar.js
>
> After a server function changes the value of the date binded to the
> inputCalendar component, the popup window fails: the month is set to the
> "undefined" string, and an "empty month" is show in the middle pane.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira