The problem seems to occur only when an argument of a "remote" procedure call
is an instance of an entity created on the client side by : var customer =
Seam.Component.newInstance("customer");
eg :
the entity object :
anonymous wrote : @Entity
| @Name("testObject")
| @Scope(CONVERSATION)
| public class TestObject {
| @Id
| private String stringId;
|
| public String getStringId() {
| return stringId;
| }
|
| public void setStringId(String stringId) {
| this.stringId = stringId;
| }
| }
in a seam component :
anonymous wrote : @Stateful
| @Name("testManager")
| @Scope(ScopeType.CONVERSATION)
| public class TestManager implements Manager {
| public void testOnly(TestObject test) {
| System.out.println("!!!!!!!!!!!!!!!!!!");
| System.out.println(test);
| }
| }
in js code :
anonymous wrote : function sayHelloCallback(result) { }
| testManager = Seam.Component.getInstance("testManager") ;
| testObject = Seam.Component.newInstance("testObject") ;
| testManager.testAttachTest(testObject,sayHelloCallback) <-- error
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059953#4059953
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059953
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user