Hey, there is an option in a Dashboard widget's config file to allow network access, and to allow access to the local filesystem.
I added a default to the osx template so that network access is allowed. This allows the Amazon app to run as a Dashboard widget and it can access XML data from Amazon directly, without needing a proxy server. yay. On Wed, Sep 29, 2010 at 6:40 PM, Max Carlson <[email protected]> wrote: > Approved! > > > On 9/29/10 4:26 PM, Henry Minsky wrote: > >> Change hqm-20100929-t2N by [email protected] on 2010-09-29 18:16:30 >> EDT >> in /Users/hqm/openlaszlo/trunk-clean >> for http://svn.openlaszlo.org/openlaszlo/trunk >> >> Summary: Add OSX Dashboard widget support >> >> New Features: >> >> Bugs Fixed: >> >> Technical Reviewer: max >> QA Reviewer: ptw >> Doc Reviewer: (pending) >> >> Documentation: >> >> Release Notes: >> >> Overview: >> >> Add support for generating OSX dashboard widget format for HTML5 apps >> >> >> Details: >> >> Write out Info.plist file and Default.png and Icon.png files into archive. >> >> Note: we could also support SWF apps maybe, if we use specify the optional >> plugin info in >> the plist file. >> >> The content in an OSX Dashboard zip file is written with an extra >> level of directory hierarchy, so the content all goes into a top level >> directory named<APP_SOURCE_DIR>.wdgt. This makes it suitable to directly >> install as a OSX Dashboard widget. >> >> Tests: >> >> + load >> http://localhost:8080/trunk-clean/examples/contactlist/contactlist.lzx?lzoptions=runtime(dhtml)<http://localhost:8080/trunk-clean/examples/contactlist/contactlist.lzx?lzoptions=runtime%28dhtml%29> >> >> + Click SOLO deploy button, select Apple Dashboard Widget as output format >> >> + download the zip file, and unzip into a directory named >> ~/Library/Widgets >> >> + double click the contactslist.wdgt file in the finder to install >> dashboard widget >> >> >> 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/DeployUtils.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 >> >> >> Changeset: >> http://svn.openlaszlo.org/openlaszlo/patches/hqm-20100929-t2N.tar >> > -- Henry Minsky Software Architect [email protected]
