2 Replies Latest reply on Jun 22, 2009 12:23 PM by João Cordeiro

    Same component twice in a view

    João Cordeiro Newbie

      Hi there!


      Is there a way to force a component isntance name to be changed in runtime?


      Imagine that i have the following component:



      @Scope(ScopeType.PAGE)
      @Name("report")
      public class ReportBean implements Report



      At a certain point, i'm creating two instances of this bean in the same view, i wanted to know if it's possible to distinguish them by component name.


      Thanks