[richfaces-issues] [JBoss JIRA] (RF-11830) Toolbar: attribute width is always generated

Pavol Pitonak (Created) (JIRA) jira-events at lists.jboss.org
Mon Dec 19 15:09:09 EST 2011


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

        


More information about the richfaces-issues mailing list