[
https://jira.jboss.org/jira/browse/RF-8537?page=com.atlassian.jira.plugin...
]
soso xuc commented on RF-8537:
------------------------------
the ids of components in the header of open and closed are the same.
PanelBarItem: problems with current markup which uses two spans for
label with the same values for hidden and shown state
-------------------------------------------------------------------------------------------------------------------------
Key: RF-8537
URL:
https://jira.jboss.org/jira/browse/RF-8537
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-output
Affects Versions: 3.3.3.CR1
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
<h:form>
<rich:panelBar height="400" width="500">
<a4j:support event="onitemchange" reRender="out">
<a4j:actionparam name="change" value="test"
assignTo="#{userBean.name}"></a4j:actionparam>
</a4j:support>
<rich:panelBarItem
label="Leverage the whole set of JSF benefits while working with AJAX">
test </rich:panelBarItem>
<rich:panelBarItem>
<f:facet name="label">
<h:outputText
value="Add AJAX capability to existing JSF applications
#{userBean.name}"
id="out" />
</f:facet>
test </rich:panelBarItem>
<rich:panelBarItem
label="Write your own custom rich components with built-in AJAX
support">
test </rich:panelBarItem>
</rich:panelBar>
</h:form>
cases:
1)
1.1 open page
1.2 click to the third bar header
RESULT - second header updated fine
2)
2.1 open page
2.2 click to the second header
RESULT update not occurs
Actually in 2) case update occurs but the hidden span updated.
I do not think from the beggining that usage of the two spans is optimal solution and
additional problem - the ids of the spans is the same.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira