[jboss-user] [JBoss Seam] - doco - 18.2.2. Seam.Component
tony.herstell@gmail.com
do-not-reply at jboss.com
Mon Feb 12 00:10:59 EST 2007
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#4014809
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014809
More information about the jboss-user
mailing list