[JBoss JIRA] Created: (RF-9013) Toggle panel: not valid markup
by Pavol Pitonak (JIRA)
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
14 years, 3 months
[JBoss JIRA] Created: (RF-8989) togglePanel: null values in html output
by Ilya Shaikovsky (JIRA)
togglePanel: null values in html output
---------------------------------------
Key: RF-8989
URL: https://jira.jboss.org/browse/RF-8989
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.0.0.Milestone1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
<rich:togglePanel switchType="client" activeItem="item1" id="panel1">
<rich:togglePanelItem name="item1">
<h:outputText value="Item1"/>
</rich:togglePanelItem>
<rich:togglePanelItem name="item2">
<h:outputText value="Item2"/>
</rich:togglePanelItem>
</rich:togglePanel>
<h:commandButton>
<rich:toggleControl forPanel="panel1" targetItem="item2"/>
</h:commandButton>
output:
<div lang="null" dir="null" styleclass="null" style="" title="null" onmouseup="null" onmouseover="null" onmouseout="null" onmousemove="null" onmousedown="null" ondblclick="null" onclick="null" id="panel1"><input type="hidden" name="panel1-value" id="panel1-value" value="item2"><div lang="null" dir="null" styleclass="null" style="display: none;" title="null" onmouseup="null" onmouseover="null" onmouseout="null" onmousemove="null" onmousedown="null" ondblclick="null" onclick="null" id="j_idt63">Item1</div><div lang="null" dir="null" styleclass="null" style="display: block;" title="null" onmouseup="null" onmouseover="null" onmouseout="null" onmousemove="null" onmousedown="null" ondblclick="null" onclick="null" id="j_idt65">Item2</div>
--
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
14 years, 3 months