[
https://issues.jboss.org/browse/RF-11813?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-11813.
--------------------------------
Resolution: Done
Replaced span with div for emptyIcon place holder
Drop down menu generates non-valid HTML
---------------------------------------
Key: RF-11813
URL:
https://issues.jboss.org/browse/RF-11813
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.CR2
Reporter: Pavol Pitonak
Assignee: Brian Leathem
Priority: Trivial
Fix For: 4.1.1.Final
The following code snippet generates non-valid XHTML (it contains a div inside span):
{code:xml}
<rich:menuItem id="chart" action="chart?faces-redirect=true"
label="Chart" />
{code}
{code:xml}
<div class="rf-ddm-itm rf-ddm-itm-unsel " id="menuForm:chart">
<span class="rf-ddm-itm-ic ">
<div class="rf-ddm-emptyIcon"></div>
</span>
<span class="rf-ddm-itm-lbl ">Chart</span>
<script type="text/javascript">new
RichFaces.ui.MenuItem("menuForm:chart");</script>
</div>
{code}
Menu items with icon are OK.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira