Hi,
 
Put the ViewHelper(s) at a higher level, I use TabNavigators and ViewStacks in several places in my UI, but I do not have a ViewHelper per tab/stack. Just one for the whole bunch.
 
Jimmy Gianninas
Software Developer - Optimal Payments Inc.
 


From: Michael Herron [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 200510:47 AM
To: [email protected]
Subject: [flexcoders] Cairngorm and deferred instantiation

Hi All

 

Apologies for the blank post. 

 

My problem is this:  When using a tab navigator/view stack or any other component that uses deferred instantiation, the required view helpers are not created at start up. That is, they are children of tab navigator and not loaded until required, i.e. until the user opens the required tab. When my commands are instantiated, they try touse the view locator to get the required view helpers. Of course, this causes problems. The only solutions I can see are:

 

·         Turn off deferred instantiation. Not an option I would like to use

·         Get the view helpers when required, in the execute, onResult and onFault methods, again not a nice option

 

Are there any other workarounds/solutions?

 

Cheers,

Mike

 




AVIS IMPORTANTWARNING

Les informations contenues dans le present document etses pieces jointes sont strictement confidentielles et reservees a l'usagede la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme.

The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information isstrictly prohibited. If you have received this document by mistake, pleasenotify the sender immediately and destroy this document and attachments without making any copy of any kind.


Reply via email to