[JBoss JIRA] Created: (RF-2238) a4j:outputPanel: layout none and children updates works incorrect
by Ilya Shaikovsky (JIRA)
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: Nick Belaevski
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
16 years, 8 months
[JBoss JIRA] Created: (RF-2716) rich:contextMenu reRender is broken
by Florian Marwede (JIRA)
rich:contextMenu reRender is broken
-----------------------------------
Key: RF-2716
URL: http://jira.jboss.com/jira/browse/RF-2716
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Florian Marwede
Setting: A rich:componentControl inside of an a4j:commandButton which opens a rich:contextMenu which rerenders a part of the page.
This issue IS working in 3.1.4 and IS NOT working in 3.2.0.
In the shown code sample everything works except for the reRender attribute of the rich:menuItem.
<h:form>
<a4j:outputPanel id="panels" styleClass="hCenter" layout="block">
...
<a4j:commandButton image="#{skinBean.splitIcon}"
title="Split view - Choose right side">
<rich:componentControl event="onclick" for="splitMenu"
operation="show">
<f:param value="${panel}" name="pane" />
<f:param value="${paneTitle}" name="paneTitle" />
</rich:componentControl>
</a4j:commandButton>
...
</a4j:outputPanel>
</h:form>
<h:form>
<rich:contextMenu attached="false" id="splitMenu" submitMode="ajax">
<rich:menuItem value="Ports" ajaxSingle="true" action="#{layoutBean.split}" reRender="panels">
<f:param name="left" value="{pane}"/>
<f:param name="right" value="portTree"/>
<f:param name="leftTitle" value="{paneTitle}"/>
<f:param name="rightTitle" value="Ports"/>
</rich:menuItem>
...
</rich:contextMenu>
</h:form>
Workaround: Call in "oncomplete" of rich:menuItem an ajax function (made with jsFunction) which does the reRendering.
--
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
16 years, 8 months