[jboss-user] [JBoss Seam] - Re: s:convertEntity - EntityManager is closed.

trouby do-not-reply at jboss.com
Wed Aug 1 07:31:13 EDT 2007


Here:
component.xml

  | <factory name="guiSystems"  value="#{guiSystemsQuery.resultList}" />
  | 	<framework:entity-query name="guiSystemsQuery" 
  | 		ejbql="select s from System s"
  | 		order="s.displayName asc"/>
  | 

in view:

  | <s:decorate template="layout/display.xhtml">
  |             	<ui:define name="label">Target-System</ui:define>
  |             	<h:selectOneMenu id="system" 
  |             		value="#{someList.acc.system}" required="false" disabled="true">
  | 					<s:selectItems value="#{guiSystems}" var="s"
  | 						label="#{s.displayName}" noSelectionLabel="-Select-" />
  | 					<s:convertEntity />
  | 				</h:selectOneMenu>
  | </s:decorate>
  | 

where 'someList' is a seam component that extends EntityQuery,
in someList I have a restriction such as:

  | lower(acc.system) = #{someList.acc.system}
  | 


I have a viewfile.page.xml file that has the parameters:

  | <param name="system" value="#{someList.acc.system}"/>
  | 

When I add this parameter, it result the exception,


Many Thanks!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069583#4069583

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069583



More information about the jboss-user mailing list