[
http://jira.jboss.com/jira/browse/RF-2238?page=all ]
Maksim Kaszynski resolved RF-2238.
----------------------------------
Resolution: Rejected
You need to rerender panel itself
a4j:outputPanel: layout none and children updates works incorrect
-----------------------------------------------------------------
Key: RF-2238
URL:
http://jira.jboss.com/jira/browse/RF-2238
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
<h:selectBooleanCheckbox value="#{bean.enabled}" >
<a4j:support reRender="list" event="onchange"
ajaxSingle="true"/>
</h:selectBooleanCheckbox>
<a4j:outputPanel layout="none">
<rich:orderingList value="#{capitalsBean.capitals}" var="cap"
converter="converter" rendered="#{bean.enabled}"
id="list">
<rich:column>
<f:facet name="header">
<h:outputText value="test"/>
</f:facet>
<h:outputText value="#{cap.name}"/>
<f:facet name="footer">
<h:outputText value="test"/>
</f:facet>
</rich:column>
</rich:orderingList>
</a4j:outputPanel>
bean - session scoped
if I will not use layout none and assign an id to the panel and upt it to reRender -
works ok.
If initial value of "enabled" property is true - nothing updated after ajax
request.
if false - all is rendered.
Should works ok for both cases. Layout none - designed for such "direct"
definitions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira