[JBoss JIRA] (RF-11831) Toolbar: col elements should use CSS for width
by Pavol Pitonak (Created) (JIRA)
Toolbar: col elements should use CSS for width
----------------------------------------------
Key: RF-11831
URL: https://issues.jboss.org/browse/RF-11831
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.Final
Reporter: Pavol Pitonak
Toolbar generates <col> elements with attribute "width" which should be replaced with CSS. Attribute width is obsolete in HTML5.
{code:xml}
<rich:toolbar height="26" itemSeparator="grid">
<rich:toolbarGroup>
<h:graphicImage value="/images/icons/create_doc.gif" styleClass="pic" alt="create_doc" />
<h:graphicImage value="/images/icons/create_folder.gif" styleClass="pic" alt="create_folder" />
<h:graphicImage value="/images/icons/copy.gif" styleClass="pic" alt="copy" />
</rich:toolbarGroup>
...
{code}
{code:xml}
<table border="0" cellpadding="0" cellspacing="0" class="rf-tb " height="26px" id="j_idt1923" width="100%">
<col width="1px" />
<col width="1px" />
<col width="1px" />
...
{code}
--
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
12 years, 11 months
[JBoss JIRA] (RF-11830) Toolbar: attribute width is always generated
by Pavol Pitonak (Created) (JIRA)
Toolbar: attribute width is always generated
--------------------------------------------
Key: RF-11830
URL: https://issues.jboss.org/browse/RF-11830
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.Final
Reporter: Pavol Pitonak
Toolbar generates width attribute even if width is set in CSS.
{code:xml}
<rich:toolbar id="menuBar" itemSeparator="disc" style="width: 80%;">
<rich:menuItem ... />
<rich:menuItem ... />
</rich:toolbar>
{code}
The code above generates the following markup (width is set twice):
{code:xml}
<table border="0" cellpadding="0" cellspacing="0" class="rf-tb " id="menuForm:menuBar" style="width: 80%;" width="100%">
...
</table>
{code}
Only CSS should be used.
--
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
12 years, 11 months
[JBoss JIRA] (RF-11813) Drop down menu generates non-valid HTML
by Pavol Pitonak (Created) (JIRA)
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
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
12 years, 11 months