[richfaces-issues] [JBoss JIRA] Updated: (RF-3314) CommandLink action within dataTable is not executed in request scope

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Dec 4 22:50:36 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-3314:
-------------------------------

    Attachment: rf3314.zip


Demo on how to solve the problem using keepAlive

> CommandLink action within dataTable is not executed in request scope
> --------------------------------------------------------------------
>
>                 Key: RF-3314
>                 URL: https://jira.jboss.org/jira/browse/RF-3314
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: myfaces 1.2.2
>            Reporter: Robert Stone
>            Assignee: Nick Belaevski
>         Attachments: rf3314.zip
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list