I've checked into CVS a number of changes to the Seam Remoting codebase to make 
it more consistent with its server-side counterpart.  Unfortunately because of 
these changes it means that if you're using the remoting features of Seam your 
Javascript code will need some refactoring.  Here's a summary:

1. SeamRemote has been removed, in its place are Seam.Component and 
Seam.Remoting

2. To execute a method of a Seam session bean component, use 
Seam.Component.getInstance("componentName").executeMethod().

3. To create a new instance of a Seam Entity or JavaBean component use 
Seam.Component.newInstance("componentName").

4. To create a new instance of a non-Seam component use 
Seam.Remoting.createType("fully.qualified.className")

5. In general, the SeamRemote.doSomething() methods have been replaced with 
Seam.Remoting.doSomething().



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937934#3937934

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937934


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to