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=4047074#4047074

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047074
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to