Hi,

 

We are currently developing a Flex prototype using the cairngorm framework.

To manage the different pages of our application, we use a viewStack whose index is managed via a binding on a “getMainView” function :

 

<mx:ViewStack xmlns:mx=http://macromedia.com/2003/mxml xmlns:view=”com.protoflex.view.*” selectedChild=”{applicationViewHelper.getMainView( ProtoFlexModelLocator.workflowState);}” >

 

 

This function use a model locator variable (ProtoFlexModelLocator.workflowState) to return the right view to the viewStack.

Everything goes well until..

Here is my problem : I’m trying to save the workflowState to a SharedObject so the user will come back to the currently visited page if he quit and come back later.

To do so, i have made a public function get workflowState() and a public function set workflowState() so everytime the workflowState is changed, i stock it in a SharedObject. But now, it seems that the ViewStack is no more working, as if the getMainView function doesn’t trigger when the workflowState change.

 

Can you help me on this, or give me some clue on how to save a client context of a flex application?

 

Thanks a lot,

Regards

 

Antoine

 



--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to