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




--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to