3 Replies Latest reply on Jan 27, 2008 9:48 PM by Daniel Hinojosa

    Component access another component

    Gerson M Newbie

      Is there a way to access a variable context defined in a component A's fields/methods from the component B's method?

      It might look like this:

      @Name("componentA")
      public class ComponentA{
      
       @Out
       private String fieldX;
      
      }
      
      @Name("ComponentB")
      public class ComponentB{
      
       public void method(){
      
       // set a new value to #{componentA.fieldX}
      
       }
      }