]
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 & Drop" expanded="true"
>
<rich:panelMenuItem label="Drag & 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: