cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Want to learn MUI.persist method #66

Closed whitehorse5353 closed 13 years ago

whitehorse5353 commented 13 years ago

when ever refresh the browser it goes to very fist page i want my last opened page...please help me out...i think if i use the persist it will get over i guess....

thanks by Lokesh R

cdotyone commented 13 years ago

MUI.Persist is a general class. It does not persist the entire interface. Persistence of the entire MochaUI interface is a goal, but not completed yet. This is dependent on the entire functionality being available through JSON (no html). I could technically persist the html also, but not something I want to do. MUI.Persist was put in place for when I complete the rest of the toolkit. It is usable. Look in /Tests/Core/Persist.json. There are some unit tests in there. You should be able to extract a useful test:function from there.

whitehorse5353 commented 13 years ago

so this time no possibilities for persist the entire page in while refresh right ?

mui-org commented 13 years ago

not yet, but it will be once 1.0 is done. check out issue 62. cook left some code there to save workspaces. might help you. I have not given it a deep look yet though.