--- In [email protected], "Hans Omli" <[EMAIL PROTECTED]> wrote:
>
> I need to maintain the state of a handful of components across
sessions in
> an AIR/Flex app. I've written a HistoryManager, but it doesn't go
down to
> the level of selected item, which nodes are opened/closed, scroll
position,
> and so on. The data for all components is dynamic, so I also need
to check
> if selected items, opened nodes, or otherwise still exist.
> Anyone come up with an elegant way to accomplish this?
>
I have a similar need. My generated Flex components will sometimes be
embedded in a JSP IFRAME. The component can be a viewstack, with
multiple views. When they perform an action on one, it may switch to
another, depending on the user gesture.. When the JSP page does its
periodic refresh, my flex component reloads and they have to start
from square one again. I want to do whatever it takes to maintain
state, and I haven't see examples like this, although I am sure other
people have had this need before me...
I am using PureMVC, so if I could even set up a multiple-command
sequence to get me back to where I was, I can do that if neccessary,
but there has to be a better way.
Let me know if you find out.