[richfaces-issues] [JBoss JIRA] Updated: (RF-1145) DataScroller. Parameters(both a4j and f) always null.
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Thu Oct 18 08:30:04 EDT 2007
[ http://jira.jboss.com/jira/browse/RF-1145?page=all ]
Ilya Shaikovsky updated RF-1145:
--------------------------------
Description:
<rich:datascroller id="scroller" pageIndexVar="pi" action="#{bean.action}">
<f:param name="index" assignTo="#{bean.property1}" value="#{pi}"/>
</rich:datascroller>
<rich:datascroller ajaxSingle="false" id="scroller" pageIndexVar="pi" action="#{bean.action}">
<a4j:actionparam name="index" assignTo="#{bean.property1}" value="#{pi}"></a4j:actionparam>
</rich:datascroller>
in seter:
System.out.println("Setting property1 to _> "+ property1);
in action
System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("index"));
Both sysouts prints null in log.
was:
<rich:datascroller id="scroller" pageIndexVar="pi" action="#{bean.action}">
<f:param name="index" assignTo="#{bean.property1}" value="#{pi}"/>
</rich:datascroller>
<rich:datascroller ajaxSingle="false" id="scroller" pageIndexVar="pi" action="#{bean.action}">
<a4j:actionparam name="index" assignTo="#{bean.property1}" value="#{pi}"></a4j:actionparam>
</rich:datascroller>
in seter:
System.out.println("Setting property1 to _> "+ property1);
in action
System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("pi"));
Both sysouts prints null in log.
> DataScroller. Parameters(both a4j and f) always null.
> -----------------------------------------------------
>
> Key: RF-1145
> URL: http://jira.jboss.com/jira/browse/RF-1145
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0, 3.1.2
> Reporter: Ilya Shaikovsky
> Assigned To: Anton Belevich
> Fix For: 3.2.0
>
>
> <rich:datascroller id="scroller" pageIndexVar="pi" action="#{bean.action}">
> <f:param name="index" assignTo="#{bean.property1}" value="#{pi}"/>
> </rich:datascroller>
> <rich:datascroller ajaxSingle="false" id="scroller" pageIndexVar="pi" action="#{bean.action}">
> <a4j:actionparam name="index" assignTo="#{bean.property1}" value="#{pi}"></a4j:actionparam>
> </rich:datascroller>
> in seter:
> System.out.println("Setting property1 to _> "+ property1);
> in action
> System.out.println(FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("index"));
> Both sysouts prints null in log.
--
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
More information about the richfaces-issues
mailing list