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;
|
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
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 :
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;
|
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
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 :
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
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 :
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
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
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
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
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; }
|
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
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
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
16 matches
Mail list logo