Hi Janak Thanks for the quick feedback! That helps me a lot. Basically, all I had to do is revert to my ULC 6.0.5 code.
Thanks again, Etienne -----Original Message----- From: Janak Mulani [mailto:[EMAIL PROTECTED] Sent: Friday, November 03, 2006 12:11 AM To: Etienne Studer Cc: [email protected] Subject: RE: [ULC-developer] No coder registered for class com.ulcjava.base.client.UIButton Hi Etienne, There is already an issue: https://www.canoo.com/jira/browse/UBA-7066. At present, the ULC's serialization infrastructure support serialisation of ULC widgets from server to client but not the other way round. Instead of sending the UIButton instance, send its oid (UIProxy#getId()) to the server. On the server-side you can get the server side ULCProxy using the method ULCProxy#getSession().getRegistry().find(oid). I hope this helps. Thanks and regards, Janak -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Etienne Studer Sent: Friday, November 03, 2006 1:37 AM To: [email protected] Subject: [ULC-developer] No coder registered for class com.ulcjava.base.client.UIButton Hi In my extension, I get the exception below when trying to send a UIButton instance from the client to the server using invokeULC(). I'm not using any custom coders. What is going on here? Any workaround needed/available? Thanks, Etienne 2 02.11.2006 11:57:58.640 1,000 SEVERE Thread[ULC Communication Controller Thread,6,main] com.ulcjava.base.client.UISession$k_ run exception occured [com.ulcjava.base.client.ConnectorException: error while sending requests at com.ulcjava.base.development.DevelopmentConnector.sendRequests(Developme ntCo nnector.java:0) at com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:100) at java.lang.Thread.run(Thread.java:534) Caused by: com.ulcjava.base.shared.internal.IllegalArgumentException: No coder registered for class com.ulcjava.base.client.UIButton at com.ulcjava.base.shared.internal.UlcObjectOutputStream.a(UlcObjectOutput Stre am.java:71) at com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcOb ject OutputStream.java:66) at com.ulcjava.base.shared.internal.UlcObjectOutputStream.writeObject(UlcOb ject OutputStream.java:163) at com.ulcjava.base.shared.internal.Request.writeRequests(Request.java:26) at com.ulcjava.base.development.DevelopmentConnector.a(DevelopmentConnector .jav a:51) at com.ulcjava.base.development.DevelopmentConnector.sendRequests(Developme ntCo nnector.java:2) at com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:100) at java.lang.Thread.run(Thread.java:534) ] _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
