[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-05 Thread rlhr
Hello, So I got time to do more testing. Now the interface generated for the SelectItem is fine and got all the methods defined. Seam.Remoting.type.javax$faces$model$SelectItem = function() { | this.value = undefined; | this.label = undefined; | this.disabled = undefined; |

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-04 Thread rlhr
Thanks, I'll try it when I get today's build. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963232#3963232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963232 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-03 Thread rlhr
That's really cool. I'm in the middle of something else right now and broke my app, but I still my be able to try your change today and give you some feedback. Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962768#3962768 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-03 Thread rlhr
I finally got the opportunity to test the code you checked in. I downloaded jboss-seam-CVS.20060803.zip (which was created after your post). The interface created for the SelectItem class is: Seam.Remoting.type.javax$faces$model$SelectItem = function() { | this.value = undefined; |

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-03 Thread sbryzak2
There should be getters and setters, I'll try and find time today to fix this for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963052#3963052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963052

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-03 Thread sbryzak2
This has been fixed in CVS - you'll now get correctly generated getter/setter methods for non-component types. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963065#3963065 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread sbryzak2
What Javascript do you have on the client? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962365#3962365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962365 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread sbryzak2
Your javascript looks ok. Is SelectItem an interface? If it is, then there are still some outstanding issues with how remoting deals with interfaces. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962369#3962369 Reply to the post :

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread rlhr
This is the javax.faces.model.SelectItem class that also implements java.io.Serializable View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962373#3962373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962373

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread sbryzak2
What does /peanutcafe/seam/remoting/interface.js?myManager produce for the SelectItem class? Looking at the MyFaces implementation of SelectItem, it seems that they are using a non-standard naming convention for their javabean fields... ie. _value instead of just value. This might be what's

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread sbryzak2
What you could do is implement your own javascript stub and register it with Seam.Remoting.registerType(), but it would be interesting to see what actual XML is being sent in response to your remoting call. You can enable debugging mode with Seam.Remoting.setDebug(true) which will show you the

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread rlhr
Here are the XML packets: Wed Aug 02 2006 14:56:54 GMT+0200 (Romance Daylight Time): Request packet: | envelope | header | contextconversationId10/conversationId/context | /header | body | call component=myManager method=getMyList id=1 | params | param

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread rlhr
So after registering myManager, I registered this classe: Seam.Remoting.type.javax$faces$model$SelectItem = function() { | this._value = null; | this._label = null; | Seam.Remoting.type.javax$faces$model$SelectItem.prototype.getValue = function() { return this._value; } |

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread sbryzak2
rlhr wrote : | | | | Wed Aug 02 2006 14:56:55 GMT+0200 (Romance Daylight Time): Response packet: | | envelope | | header | | contextconversationId12/conversationId/context | | /header | | body | | result id=1 | | value | | bag

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread rlhr
Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962612#3962612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962612 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob

2006-08-02 Thread sbryzak2
I've checked in some changes to CVS which hopefully should fix your issue. It would be great if you could try this out for me and let me know if it works for you. One other neat thing that is now supported is explicit importing of non-component classes, so for example you can now