18.2.2. Seam.Component
The Seam.Component Javascript object provides a number of client-side methods for working
with your Seam
components. The two main methods, newInstance() and getInstance() are documented in the
following sections
however their main difference is that newInstance() will always create a new instance of a
component
type, and getInstance() will return a singleton instance.
Seam.Component.newInstance()
...
var customer = Seam.Component.newInstance("customer");
I think this has been deprecated?
Image image = (Image)Component.getInstance("image", true);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014809#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...