PDA

View Full Version : element creationComplete() funtion


kaydara
09-17-2009, 11:23 PM
Hi guys, we normally use the creationComplete() function when we want to get some data for our component, but what if i want that data reloaded everytime that component has the focus, imagina this component part of a viewstack, eveytime the child of the viewstack is changed the data from that children should be fetched.

is this possible ?

Inigoesdr
09-18-2009, 08:59 PM
Absolutely, just attach your refresh function to an event on the child. Which event you want will depend on what you want to trigger it, and which child you want to trigger it.