You can ignore all of the above. The problem, believe it or not, is when the
deletedMessage contains an expression of the current instance of the EntityHome.
In the code below, if my deletedMessage in public String getDeletedMessage()
contains #{myEntity.myProperty}, then the factory to get the row data is run
again (to evaluate "myEntity") with a null value for "instance"...but if I
leave it as a String with no EL in it, then it's fine.
Am I outjecting to the correct scope of CONVERSATION? What could be wrong with
putting EL of the current instance in the message?
@Factory(value="myEntity",scope=ScopeType.CONVERSATION)
| public MyEntity returnMyEntity() { return getInstance(); }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018013#4018013
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018013
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user