[ 
https://issues.jboss.org/browse/RF-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jay Balunas updated RF-7916:
----------------------------

    Assignee:     (was: Andrey Markhel)


> Javascript error when having non escaped apostrophe in rich:calendar labels
> ---------------------------------------------------------------------------
>
>                 Key: RF-7916
>                 URL: https://issues.jboss.org/browse/RF-7916
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>    Affects Versions: 3.3.0
>         Environment: Seam 2.1.2, Richfaces 3.3.0
>            Reporter: Julien Kronegg
>            Priority: Minor
>             Fix For: Future_3.X
>
>   Original Estimate: 3 hours
>  Remaining Estimate: 3 hours
>
> Richfaces Calendar labels can be translated/i18n by adding the following 
> properties in the resource bundle (e.g. messages.properties):
>     RICH_CALENDAR_TODAY_LABEL
>     RICH_CALENDAR_CLEAN_LABEL
>     RICH_CALENDAR_APPLY_LABEL
>     RICH_CALENDAR_CLOSE_LABEL
>     RICH_CALENDAR_OK_LABEL
>     RICH_CALENDAR_CANCEL_LABEL
> The problem is that a Javascript error occurs when the property value contain 
> a non escaped apostrophe ('), for example with 
> RICH_CALENDAR_TODAY_LABEL=Aujourd'hui (french label for today):
>     Error: missing } after property list
>     Source Code:  labels:{apply:'Appliquer', today:'Aujourd'hui', 
> clean:'Effacer', cancel:'Annuler', ok:'Ok', close:'X'}, 
> Richfaces should escape automatically unescaped apostrophes.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to