[ http://jira.jboss.com/jira/browse/RF-3314?page=comments#action_12412840 ] Kito Mann commented on RF-3314: -------------------------------
This also occurs with RichFaces 3.1.5 and 3.2SR1. > CommandLink action within dataTable is not executed in request scope > -------------------------------------------------------------------- > > Key: RF-3314 > URL: http://jira.jboss.com/jira/browse/RF-3314 > Project: RichFaces > Issue Type: Bug > Affects Versions: 3.2.0 > Environment: myfaces 1.2.2 > Reporter: Robert Stone > Assigned To: Nick Belaevski > Fix For: Future > > > When clicking on links within datatable action/actionListener/actionparam is > not executed when bean is placed in request scope. Code works with backing > bean in the session scope. > <rich:dataTable id="seachResultsTable" > var="seachResult" > value="${modalForm.searchResults}"> > <rich:column> > <a4j:commandLink > value="#{seachResult}" event="onclick" > id="selectSearchValue" > reRender="modalMasterValue"> > <a4j:actionparam > name="searchFor" value="#{seachResult}" > > assignTo="#{modalMaster.searchFor}" /> > </a4j:commandLink> > <rich:componentControl > for="modalSearchPanel" operation="hide" > event="onclick" /> > </rich:column> > </rich:dataTable> > Backing beans Spring configuration (works if the second bean is moved to the > session scope): > <bean id="modalMaster" class="view.bean.ModalMasterBean" scope="request"> > <property name="searchFor" value="... enter search"/> > </bean> > <bean id="modalForm" class="view.bean.ModalFormBean" scope="request" /> -- 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 _______________________________________________ richfaces-issues mailing list [email protected] https://lists.jboss.org/mailman/listinfo/richfaces-issues
