[
https://jira.jboss.org/jira/browse/RF-3686?page=com.atlassian.jira.plugin...
]
Alex Kolonitsky resolved RF-3686.
---------------------------------
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Alex Kolonitsky)
to reduce the amount of jpa queries on s:convertEntity you need to use the same
EntityManager as the one which loads data into the rich:listShuttle
listShuttle and s:entityConverter
----------------------------------
Key: RF-3686
URL:
https://jira.jboss.org/jira/browse/RF-3686
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: JBoss 4.2 GA, Seam 2.0.2.SP1
Reporter: Marcell Barbacena
Assignee: Tsikhon Kuprevich
Fix For: 3.3.1
Using s:entityConverter with listShuttle is losing managed entity having to do lots of
queries after ajax event. Code:
<rich:listShuttle id="selectionId"
sourceValue="#{someAction.objectAvaliable}"
targetValue="#{bean.selected}" var="obj"
copyControlLabel="Copy" removeControlLabel="Remove"
copyAllControlLabel="Copy All" removeAllControlLabel="Remove All"
orderControlsVisible="false" fastOrderControlsVisible="false"
sourceCaptionLabel="Avaliable" targetCaptionLabel="Selected" >
<s:convertEntity />
<rich:column>
<f:facet name="header">
Number
</f:facet>
<h:outputText value="#{obj.numero}" />
</rich:column>
<a4j:support event="onlistchanged" reRender="counter"
action="#{someAction.touch}" />
</rich:listShuttle>
--
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