2 Replies Latest reply: Apr 10, 2013 11:03 PM by ankitgautam RSS

    Accessing parent component from Child

    ankitgautam

      1. I have two components A and B.

      2. I have added Component B into a group in component A, using AcomponentGroupId.addElement(B);

      3. In component B i have a delete button which deletes component B from component A.

      4. I am not able to remove the component B from A. All i need is the way to access the Component A's group or a Public function in it.

      or can we do it in any other way please help!

      I have tried using "parentDocument" but its not working.