|
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
|
- RE: [flexcoders] Cairngorm and deferred instantiation Robert Stuttaford
- Re: [flexcoders] Cairngorm and deferred instantia... David Ringley
- RE: [flexcoders] Cairngorm and deferred instantia... Dimitrios Gianninas
- RE: [flexcoders] Cairngorm and deferred insta... Michael Herron
- RE: [flexcoders] Cairngorm and deferred i... Steven Webster
- RE: [flexcoders] Cairngorm and deferr... Michael Herron
- RE: [flexcoders] Cairngorm and d... Steven Webster
- RE: [flexcoders] Cairngorm a... Michael Herron

