[
http://jira.jboss.com/jira/browse/RF-3246?page=all ]
Ludovic Dussart updated RF-3246:
--------------------------------
Fix Version/s: 3.2.1
ComponentControl do not submit f:params to ContextMenu
------------------------------------------------------
Key: RF-3246
URL:
http://jira.jboss.com/jira/browse/RF-3246
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: JSG 1.2_04
Reporter: Ludovic Dussart
Priority: Blocker
Fix For: 3.2.1
ComponentControl do not transmit the f:parameters to the contextMenu.
<rich:componentControl event="onclick" for="menu1"
operation="show" rendered="#{ligne.zoneA.rendererMenu}">
<f:param value="#{ligne.zoneA.dropValue}"
name="zone"/>
<f:param value="#{ligne.id}" name="ligne"/>
</rich:componentControl>
<rich:contextMenu attached="false" id="menu1"
submitMode="ajax">
<rich:menuItem value="Supprimer"
actionListener="#{craBean.processMenu}" reRender="ZoneDrop1">
<a4j:actionparam name="delete" assignTo="#{craBean.paramMenu}"
value="{zone}"/>
<a4j:actionparam name="numeroLigne" assignTo="#{craBean.idLine}"
value="{ligne}"/>
</rich:menuItem>
...
</rich:contextMenu>
NB : This code works with RF 3.1.4 but not with 3.2.0 and 3.2.0SR1
Log :
09:39:49,640 ERROR [STDERR] 25 avr. 2008 09:39:49
javax.faces.event.MethodExpressionActionListener processAction
GRAVE: Received 'java.lang.NullPointerException' when invoking action listener
'#{craBean.processMenu}' for component 'j_id_jsp_388773205_5pc4'
09:39:49,656 ERROR [STDERR] 25 avr. 2008 09:39:49
javax.faces.event.MethodExpressionActionListener processAction
GRAVE: java.lang.NullPointerException
...
--
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