-
1. Re: Seam remoting not working
shane.bryzak Nov 29, 2006 5:38 PM (in response to crackersoul)Can you turn on debugging and see that the request and response packets are correct? Instructions here:
http://docs.jboss.com/seam/1.1CR1/reference/en/html/remoting.html#d0e5505 -
2. Re: Seam remoting not working
crackersoul Nov 30, 2006 11:13 PM (in response to crackersoul)Here's what I get from the debug window:
Thu Nov 30 2006 21:08:17 GMT-0700 (MST): Request packet:
William
btw, I noticed that in section 7.8 (of seam_reference.pdf for 1.0.1.GA) there's a loading message that's supposed to appear in the top-right corner of the screen (does that really mean window?) I don't see any loading message in the window or on the screen.
Thanks for the help... -
3. Re: Seam remoting not working
crackersoul Nov 30, 2006 11:15 PM (in response to crackersoul)Oops, I guess I need to wrap that pointy stuff in a code block. Here's the debug output:
Thu Nov 30 2006 21:08:17 GMT-0700 (MST): Request packet: <envelope><header><context></context></header><body><call component="helloAction" method="sayHello" id="0"> <params><param><str>William</str></param></params><refs></refs></call></body></envelope>
-
4. Re: Seam remoting not working
shane.bryzak Dec 3, 2006 5:58 PM (in response to crackersoul)It looks like you're not getting any response packet sent back by the server. Is it producing a stack trace?
-
5. Re: Seam remoting not working
crackersoul Dec 3, 2006 7:38 PM (in response to crackersoul)Hi Shane,
I just figured it out. I had this:<h:form> <button onclick="javascript:sayHello()">Say Hello</button> </h:form>
After staring at that for awhile, I decided to do this:<h:form> <h:commandButton type="button" value="Say hello..." onclick="sayHello();"/> </h:form>
Which works. Alternatively, I can take the original button out of the h:form and that also works.
Thanks for taking the time to help me out. -
6. Re: Seam remoting not working
shane.bryzak Dec 3, 2006 9:40 PM (in response to crackersoul)Of course, default button behaviour is to submit the form.