[
http://jira.jboss.com/jira/browse/RF-2716?page=all ]
Nick Belaevski reassigned RF-2716:
----------------------------------
Assignee: Ilya Shaikovsky (was: Nick Belaevski)
resolved, to 3.1.x?
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
Assigned To: Ilya Shaikovsky
Fix For: 3.2.0
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