This content has been marked as final.
Show 2 replies
-
1. Re: JavaScript Object Undefined in JMS ObjectMessage Topic C
shane.bryzak Dec 9, 2006 5:16 PM (in response to jasonshaffer)You're right about getValue(), I'll update the documentation when I get a chance. As for the undefined Javascript error, are you importing the Game object in the page?
Assuming the Seam component name is "game":<script type="text/javascript" src="seam/remoting/interface.js?game"/>
-
2. Re: JavaScript Object Undefined in JMS ObjectMessage Topic C
jasonshaffer Dec 10, 2006 10:39 AM (in response to jasonshaffer)Shane,
That was the problem. I really appreciate your help.
It might not be a bad idea to include a "don't forget to import objects contained in the ObjectMessage if you want to reference them in your JavaScript" note in section 10.10.2.
Thanks,
Jason