Change 20080729-dda-j by [EMAIL PROTECTED] on 2008-07-29 16:52:27 EDT
in /Users/dda/laszlo/src/svn/openlaszlo/trunk-doc
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix quick index for small apps
New Features:
Bugs Fixed: LPP-6714
Technical Reviewer: ptw (pending)
QA Reviewer: promanik (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
The top level quick index is produced/digested from the laszlo-
explorer
nav.xml menu. It appears that laszlo-explorer may have changed
to use an
application runner script (loading.jsp) that has some smarts.
Small Applications are referred to in nav.xml using html names,
like
weather.html that shows the application running in a wrapper page
(weather.html).
To keep the app running transparent to the user, the change for
the quick index
uses the lzx names (e.g. weather.lzx), stealing these names from
the file shown
when source is displayed.
Another valid solution could be to modify Small App entries in
nav.xml so that they
have action="popup" (just as LZPIX has). This would be a simpler
solution, but
changes the behavior of the small apps in laszlo explorer. I
don't know the exact
consequences of this solution, so I didn't use it.
Tests:
To build, from the root svn directory: ant laszlo-explorer, then
open http://localhost:8080/trunk/quick-index.html in the browser
(don't open quick-index.html using file:..../quick-index.html)
It appears that this quick-index.html will overwrite the top level
index.html at some point during the release build.
Tried opening all small apps + sources.
Files:
M quick-index.xslt
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20080729-dda-j.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com