Hi Tom,

Thanks, I think your addition will help me too, yet, I think you refer to 
another issue which is whther the TabBar can accept user interaction, which is 
an issue I havn't  take  care of yet.
I could leverage the model.doneStartUp flag to start manipulating the view 
data, but I think when initializing a view component properties, it is more 
intuitive to first try binding the component to a specific function or property 
from the model or an helper function, this is a matter of personal taste, but 
also can help initializing components while configuration data is being 
retrieved from the server:

For example, if my app needs to get 10 configuration files that needs to be 
loaded before the user can start interaction, I'll show him a modal screen 
showing the process, but for the sake not delaying the user after the services 
were loaded by initializing complex component with the retrieved data, the 
binding can cause the components to initialize before all the services were 
loaded.

Best regards,
Almog Kurtser.

----- Original Message ----
From: Tom Chiverton <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 20, 2007 11:58:12 AM
Subject: Re: [flexcoders] Cairngorm - what's you best practice on handling 
inital data from the server ?


On Monday 19 Nov 2007, mydarkspoon wrote:
> However, in the view I have a TabBar, that needs to manipulate the
 XML
> config file from the model, meaning that it has to know when this xml
> is retrieved.
> I found few approaches to this:

Have your app. start up result handler set something like
 model.doneStartUp, 
and bind your TabNavigator's enabled property to that ?

-- 
Tom Chiverton
Helping to advantageously introduce visionary e-tailers
on: http://thefalken.livejournal.com

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office
 address is at St James's Court Brown Street Manchester M2 2JF.  A list of
 members is available for inspection at the registered office.  Any
 reference to a partner in relation to Halliwells LLP means a member of
 Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above
 and may be confidential or legally privileged.  If you are not the
 addressee you must not read it and must not use any information contained in
 nor copy it nor inform any person other than Halliwells LLP or the
 addressee of its existence or contents.  If you have received this email in
 error please delete it and notify Halliwells LLP IT Department on 0870
 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links









      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to