you can trigger the data call on the creationComplete of the viewstack or individual containers (canvas')On 10/17/06, jnewport
[EMAIL PROTECTED] wrote:
I have done some digging and it appears it is that my dataprovider of
all the canvas's (Canvas1, Canvas2, etc...), which is the same for all
four canvas's isn't being created before my viewstack is created. Is
there a way to tell the Viewstack to wait to be created last and then
tell Canvas1 inside the Viewstack to be created 2nd?
I put another canvas in front of Canvas1 and so Canvas0 and now
Canvas1 correctly populates with the data.
J
--- In flexcoders@yahoogroups.com, jnewport [EMAIL PROTECTED] wrote:
Hello all.
I was wondering if I can get some help on a viewstack issue?
In my main app file I have an applicationcontrolbar, which contains a
combobox. The combobox is being used to navigate my viewstack. In my
viewstack I have four custom canvas components. So something like the
following (short hand).
VS
Canvas1
LineChartA/
/Canvas1
Canvas2
LineChartB/
/Canvas1
Canvas3
LineChartC/
/Canvas1
Canvas4
LineChartD/
/Canvas1
VS/
The viewstacks initial selectedIndex is set to 0 which is Canvas1.
The Canvas1 shows my LineChart without the linedata, so no actual
graph. If you use the comboBox navigation to go to any of the other 3
canvas's the graphs show. The LineChart is getting its data via binding.
I am assuming it has to do with the creation policy, but I have tried
using creationPolicy=all and creationIndex, but no luck. I have
tried swaping canvas1 and canvas2 in the view stack (so canvas2 is the
initial view), but then canvas2's graph is blank and canvas1 is
showing corretcly.
Any ideas?
Thanks, in advance.
J
-- diabetic? http://www.diabetesforums.comAlbert Einstein - It's not that I'm so smart, it's just that I stay with problems longer.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool
Software development
Software development services
Home design software
Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group
|
Yahoo! Groups Terms of Use
|
Unsubscribe
__,_._,___