[JBoss JIRA] Created: (RF-9482) rich:calendar backed by String not using custom converter
by Nicola Jones (JIRA)
rich:calendar backed by String not using custom converter
---------------------------------------------------------
Key: RF-9482
URL: https://jira.jboss.org/browse/RF-9482
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 3.3.3.Final
Environment: Found in RichFaces 3.3.3Final
Reporter: Nicola Jones
When a rich:calendar is backed by a String property and has a custom converter to change the date pattern of the String to & from a user locale specific pattern, it fails to use the converter when determining or setting the current date.
datePattern set on the rich:calendar is a user specific format read from properties.
HtmlCalendar getCurrentDate returns the unconverted form property value i.e. not in the user's format.
UICalendar then calls getAsDate(currentDate) which detects that the value is a String and not a Date and attempts to convert it to a Date:
if (date instanceof String) {
DateTimeConverter converter = new DateTimeConverter();
converter.setPattern(this.getDatePattern());
this results in an exception because it's using the date pattern for the calendar which is different to the unconverted format of the current date.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-9867) rich:calendar localization for "today" button not working
by Karl Mueller (JIRA)
rich:calendar localization for "today" button not working
----------------------------------------------------------
Key: RF-9867
URL: https://jira.jboss.org/browse/RF-9867
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Environment: Windows Vista Build 6001
apache-tomcat-7.0.4
Sun jdk1.6.0_14
richfaces-4.0.0.20101110-M4
Mojarra JSF 2.0.3-FCS
Reporter: Karl Mueller
With RichFaces 3.3 calendar it was possible to localize the calendars label by defining labels.
I did define:
RICH_CALENDAR_TODAY_LABEL=Heute
RICH_CALENDAR_APPLY_LABEL=Anwenden
RICH_CALENDAR_CANCEL_LABEL=Abbruch
RICH_CALENDAR_CLOSE_LABEL=X
RICH_CALENDAR_OK_LABEL=Ok
RICH_CALENDAR_CLEAN_LABEL=Leeren
in our message.properties file. The current M4 release seems to ignore them, labels remain unchanged.
As other labels which are defined in our message.properties are properly shown on our xhtml pages I assume that it is not a problem with the properties resource file.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (RF-9849) Inplace select: attributes onblur, onfocus and onselect don't work
by Pavol Pitonak (JIRA)
Inplace select: attributes onblur, onfocus and onselect don't work
------------------------------------------------------------------
Key: RF-9849
URL: https://jira.jboss.org/browse/RF-9849
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone4
Environment: RichFaces 4.0.0-SNAPSHOT r.20127
Metamer 4.0.0-SNAPSHOT r.20127
Mojarra 2.0.2-FCS
GlassFish Server Open Source Edition 3.0.1
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 7.0.517.44 @ Linux x86_64
Reporter: Pavol Pitonak
Attributes onblur, onfocus and onselect of rich:inplaceSelect are not set anywhere.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months