Approved! I'd _really_ love to combine the .jsp and .java versions.
Can you file an improvement to combine them into a commmon baseclass?
On 8/5/10 1:16 PM, Henry Minsky wrote:
Change 20100805-hqm-I by [email protected] on 2010-08-05 16:09:26 EDT
in /Users/hqm/openlaszlo/trunk3
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Replace 'SOLO deploy' with 'Create w3c widget'
New Features:
Bugs Fixed: LPP-9148
Technical Reviewer: raju
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
generate w3c widget format files for solo deploy
Details:
Generates a config.xml file, which Opera can consume. Generates a wrapper named
index.html as the default start filename.
(this will override any existing index.html, in the archive)
NOTE: There's a sandbox security error in swf10 when running a widget, due to a
call to ExternalInterface.
Raju has some patch for this I believe.
Tests:
- generate widget the app console in the browser, using the "SOLO" button
from examples/contactlist/contactlist.lzx in SWF10, DHTML.
Download the generated .wgt file , and install in Opera, verify that it runs
- generate widget file for swf10 and dhtml, using the lzdeploy command line util
lzdeploy --runtime=swf10 --output swf10.wgt --title "My Contacts"
examples/contactlist/contactlist.lzx
lzdeploy --runtime=dhtml --output dhtml.wgt --title "My Contacts"
examples/contactlist/contactlist.lzx
install .wgt files in Opera, verify that it runs
Files:
M WEB-INF/lps/server/src/org/openlaszlo/utils/DeployMain.java
M WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLOSWF.java
M WEB-INF/lps/server/src/org/openlaszlo/utils/DeploySOLODHTML.java
M lps/admin/solo-deploy.jsp
M lps/admin/solo-dhtml-deploy.jsp
A lps/admin/widget-icon.png
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100805-hqm-I.tar
--
Regards,
Max Carlson
OpenLaszlo.org