1 Reply Latest reply on Jul 22, 2008 9:49 PM by Jacob Orshalick

    Component.getInstance or Context.get

    Marcell Newbie

      Hi,


      I am trying to retrieve a component programmatically and I want to know the best approach:



      Component.getInstance(ClassOrName, ScopeType.TYPE)



      or


      Contexts.getSCOPETYPEContext().get(ClassOrName)



      ty