4 Replies Latest reply on Feb 12, 2007 3:24 PM by Tony Herstell

    doco - 18.2.2. Seam.Component

    Tony Herstell Master

      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);