[Laszlo-dev] For Review: Change 20070221-maxcarlson-H Summary: Updated: Rebuild history in SWF
J Crowley
jcrowley at laszlosystems.com
Thu Feb 22 11:40:31 PST 2007
Approved.
On Feb 21, 2007, at 9:48 PM, Max Carlson wrote:
> Change 20070221-maxcarlson-H by maxcarlson at max-carlsons-
> computer.local on 2007-02-21 18:42:12 PST
> in /Users/maxcarlson/openlaszlo/legals
>
> Summary: Updated: Rebuild history in SWF
>
> New Features: History now uses the #hash mark of the location bar
> instead of a hidden iframe
>
> Bugs Fixed: LPP-3577 - Rebuild history in SWF
>
> Technical Reviewer: jcrowley
> QA Reviewer: promanik
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details: rename index.html to index.jsp. Update wrapper to include
> current server root and use 4.0 embedding APIs.
>
> history.lzx - Clean up example, add button for history.clear()
>
> test6.jsp - Insert request.getContextPath() for embed tag url
>
> test8.jsp - Insert request.getContextPath() for embed tag url
>
> copy-of-hello.lzx - remove unused red box.
>
> LzHistory.as - Clean up initialization, history ow always on in swf
> (no extra wrapper magic or flags required), persistance via local
> shared object on by default, remove localconnection, history now
> reads/restores state by view id instead of view reference, add clear
> () api and restore state on app startup
>
> LaszloCanvas.lzs - Call LzHistory.__restorehistory() right before
> canvas.oninit (in SWF only)
>
> LaszloLibrary.lzs - Add callback for LzHistory.receiveHistory()
>
> embednew.js - Remove iframe embedding code, add history to
> setCanvasAttribute(), clean up documentation, add APIs for use by
> LzHistory.as. Add code to poll for hash mark changes. lzr=swf8
> will set dojo.flash.comm version number.
>
> flash.js - Coerce results to a string for IE in swf6 mode
>
> h2.html - Remove unused html file
>
>
> Tests: test/history/ now works again in swf. Also, history
> persists across application loads/running instances. Everything
> else works as it did before.
>
> Files:
> A + test/history/index.jsp
> D test/history/index.html
> M test/history/history.lzx
> M test/lfc/legals/testjscomm/test6.jsp
> M test/lfc/legals/testjscomm/test8.jsp
> M test/lfc/legals/testjscomm/copy-of-hello.lzx
> M WEB-INF/lps/lfc/services/LzHistory.as
> M WEB-INF/lps/lfc/views/LaszloCanvas.lzs
> M WEB-INF/lps/lfc/LaszloLibrary.lzs
> M lps/includes/source/embednew.js
> M lps/includes/source/flash.js
> D lps/includes/h2.html
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070221-
> maxcarlson-H.tar
More information about the Laszlo-dev
mailing list