[JBoss JIRA] Created: (RF-949) can't use parameters using menu server mode
by Ilya Shaikovsky (JIRA)
can't use parameters using menu server mode
-------------------------------------------
Key: RF-949
URL: http://jira.jboss.com/jira/browse/RF-949
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Ilya Shaikovsky
Assigned To: Maksim Kaszynski
<rich:menuItem value="item" action="#{capitalsBean.action}" submitMode="server" reRender="test">
<f:param name="test" value="test" />
</rich:menuItem>
public String action() {
System.out.println("Action fired");
String sid=FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("test");
System.out.println(sid);
return null;
}
In ajax mode I can see in console:
Action fired
test
In server mode -
Action fired
null
--
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, 3 months