Questo contenuto non è disponibile nella lingua selezionata.
24.2.3. Seam.Remoting
Most of the client side functionality for Seam Remoting is held within the
Seam.Remoting object. You should not need to directly call many of its methods, but there are several that are useful:
24.2.3.1. Seam.Remoting.createType() Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
If your application contains or uses JavaBean classes that are not Seam components, you may need to create these types on the client side to pass as parameters into your component method. Use the
createType() method to create an instance of your type. Pass in the fully-qualified Java class name as a parameter:
var widget = Seam.Remoting.createType("com.acme.widgets.MyWidget");
var widget = Seam.Remoting.createType("com.acme.widgets.MyWidget");