[richfaces-issues] [JBoss JIRA] Created: (RF-9013) Toggle panel: not valid markup

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Thu Aug 5 05:35:49 EDT 2010


Toggle panel: not valid markup
------------------------------

                 Key: RF-9013
                 URL: https://jira.jboss.org/browse/RF-9013
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-output
    Affects Versions: 4.0.0.Milestone1
         Environment: v.4.0.0-SNAPSHOT SVN r.18474 
            Reporter: Pavol Pitonak


<rich:togglePanel id="panel1" activeItem="item1">
    <rich:togglePanelItem id="item1" name="item1">
        <p>content of panel 1</p>
     </rich:togglePanelItem>
     ...
</rich:togglePanel>

The code above creates the following markup:
<div id="form:panel1" lang="null" onclick="null" ondblclick="null" onmousedown="null" onmousemove="null" onmouseout="null" onmouseover="null" onmouseup="null" title="null" style="null" styleClass="null" dir="null">
    <input type="hidden" value="item1" id="form:panel1-value" name="form:panel1-value" />
    <div id="form:item1" lang="null" onclick="null" ondblclick="null" onmousedown="null" onmousemove="null" onmouseout="null" onmouseover="null" onmouseup="null" title="null" style="null" styleClass="null" dir="null"> 
        <p>content of panel 1</p>
    </div>
    ...
</div>

Notice that all not-used attributes are rendered as <attribute>="null" which causes the markup not being valid, e.g. styleClass="null" or dir="null".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list