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

    Component access another component

    gersonk

      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}
      
       }
      }