[richfaces-issues] [JBoss JIRA] Closed: (RF-3656) panelMenuGroup and panelMenuItem don't escape bad XML characters in "label"

Tatyana Romanovich (JIRA) jira-events at lists.jboss.org
Thu Aug 7 10:45:50 EDT 2008


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

Tatyana Romanovich closed RF-3656.
----------------------------------



Verified in the RF-3.2.2.BETA3

> panelMenuGroup and panelMenuItem don't escape bad XML characters in "label"
> ---------------------------------------------------------------------------
>
>                 Key: RF-3656
>                 URL: https://jira.jboss.org/jira/browse/RF-3656
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0.SR1, 3.2.1
>         Environment: Facelets 1.1.14
>            Reporter: Andreas Heiduk
>            Assignee: Tsikhon Kuprevich
>             Fix For: 3.2.2
>
>
> PanelMenuGroup and PanelMenuItem render the "label" attribute as plain text without escaping characters like '&'. Getting the values from the model also doesn't work. The browser then gets the message  "XML Parsing Error: not well-formed". 
> Example using Facelets:
> 	<rich:panelMenu mode="ajax" width="200px">
> 		<rich:panelMenuGroup label="Drag &amp; Drop" expanded="true" >
> 			<rich:panelMenuItem label="Drag &amp; Drop" />
> 		</rich:panelMenuGroup>
> 	</rich:panelMenu>
> Output:
> .... <input name="panelMenuActionj_id3" type="hidden" />Foo & Bar</td><td><....

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list