Change 20070807-maxcarlson-F by [EMAIL PROTECTED] on 2007-08-07 14:38:37 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Turn off history persistence by default

New Features:

Bugs Fixed: LPP-4442 - history mechanism seems to take effect on startup

Technical Reviewer: promanik
QA Reviewer: ben
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: history.lzx - Change example to use new setPersist(true) API (so persistence still works in swf)

LzHistory.as - Turn persistence off by default. Rename setHistory to __setHistory. Add more safety checking and warnings to save() method (using 3.4-style code would have hanged the browser before). Clean up existing persistent object, if any in __initPersist(). Add setPersist() API to turn persistence on/off.

LzHistory.js - Add setPersist() API with warning for DHTML (not yet implemented).

embednew.js - Make sure initial history event is sent even if the hash is empty.


Tests: silver/main.lzx?lzr=swf8 now has correct back-button behavior. http://localhost:8080/wafflecone/test/history/ works as before - with persistence across page reloads in swf via setPersist (true)

Files:
M      test/history/history.lzx
M      WEB-INF/lps/lfc/services/platform/swf/LzHistory.as
M      WEB-INF/lps/lfc/services/platform/dhtml/LzHistory.js
M      lps/includes/source/embednew.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070807- maxcarlson-F.tar

Reply via email to