3 Replies Latest reply on May 11, 2010 2:59 AM by Sebastien V.

    detect initialization on viewStack change


      Hi There,


      I'm looking for a solution to detect if a viewStack element got selected, programatically?



      1. click on a button to change the index of the viewStack

      2. viewStack changes to the given component by the index

      3. detect within the component that it has been selected (not initialized, that happens only once )

      4. execute appropriate code for this changes


      I couldn't find any solution, yet, tried with firing event but it fires before initialization happens with registry pattern but detection of selection unresolved, yet.