[
https://jira.jboss.org/jira/browse/RF-3314?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-3314.
--------------------------------
Fix Version/s: 3.3.1
(was: Future)
Resolution: Won't Fix
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
It is possible to use either provided workaround (serializable data model) or JBoss Seam
providing such feature out of the box (conversations). Closing as "Won't
fix"
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: Tsikhon Kuprevich
Fix For: 3.3.1
Attachments: rf3314.zip, rf3314new.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