[jboss-user] [JBoss Seam] - a:support request causes

gena777 do-not-reply at jboss.com
Sun May 20 16:52:45 EDT 2007


Hi

i'm using an ajax4jsf enabled page, which works proper until i send even a   smallest  ajax event. Then i get a PersistentObjectException (detached entity...).  The conversation seems to be long running, the session has manual   flash mode. The entity, which is the cause of an exception is mapped as CascadeType.ALL (so auto merge should occur).


The workflow step is: An complex entity is loaded into the conversation to be changed. Any changes without an ajax (also cascaded deletions) can be persisted. 


Page snipplet, caused the error (but all ajax-enabled components produces this exception after first usage)


  | <h:inputText styleClass="large  #{rwo:hasMessages('model','ERROR')  ? 'rscInputFailed' : ''}"
  | 				       id="model"				       
  | 				       value="#{inOffer.item.model}" 
  | 				       required="true"
  | 				       requiredMessage="#{uib.ModelRequired}">				
  | 				<a:support event="onblur" requestDelay="100" reRender="model">
  |  				 <s:conversationId/>
  | 			  </a:support>
  | 			</h:inputText>		
  | 


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

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



More information about the jboss-user mailing list