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

Andreas Heiduk (JIRA) jira-events at lists.jboss.org
Fri Jun 6 13:18:20 EDT 2008


panelMenuGroup and panelMenuItem don't escape bad XML characters in "label"
---------------------------------------------------------------------------

                 Key: RF-3656
                 URL: http://jira.jboss.com/jira/browse/RF-3656
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.1, 3.2.0.SR1
         Environment: Facelets 1.1.14
            Reporter: Andreas Heiduk


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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list