Hi all,

I have a small question about managing stateValues on the canvas.

Just to explain, we have an application using state management and history not
via the LzHistory class but via canvas stateValue, and this value is used for
managing back button even once we left the page and go back to it.

The pont is that when the user comes back, he has to have exactly the same state
than before.

When the canvas is initialized (handler oninit referencing canvas), the
stateValue attribute is not set, I also tried with having a method called
onidle, does not change a thing, it is not set, the only way is to have a 100ms
timer called, and in that case I have the values I want.

When I have a handler onstateValue referencing canvas, it gets called, but the
entire point is that I would like to start processing everything on my page just
for what the user has, and not process the default page then notice I had a
state and at that time reprocess the data to reflect what he has to see. Even
more when there is no state, this event is not called.

Is there any specific time where the stateValue is set on the canvas, or is it
only on a "when I have the time" basis ?

Any idea or light would be more than appreciated.

Cheers,
-- 
Julien

Reply via email to