[
http://jira.jboss.com/jira/browse/RF-1145?page=comments#action_12392542 ]
Daniel Kane commented on RF-1145:
---------------------------------
Just tested 3.1.3.CR4 , see code in the first message in related topic
http://jboss.com/index.html?module=bb&op=viewtopic&t=121482
Now result is not null . But setter's logging always shows me the previous value of
datascroller.
I.e. when I click [2] on datascroller, message from logger is "Page index set to
1". After that I click [1] and message is "Page index set to 2", and so
on.
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: Ilya Shaikovsky
Fix For: 3.2.0, 3.1.3
<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