[
https://issues.jboss.org/browse/RF-11830?page=com.atlassian.jira.plugin.s...
]
Brian Leathem resolved RF-11830.
--------------------------------
Resolution: Done
Moved the width and height attributes into the style attibute.
Note, if the component width is set via the style attribute, the width will still be set
twice, but now both occurrences will be within the style attribute, with appropriate
cascading behavior.
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
Assignee: Brian Leathem
Priority: Trivial
Fix For: 4.1.1.Final
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