Right you are! Every browser I tested in appeared to do the right
thing, but that's because I wasn't testing across hosts :P. I'll send
out a change that fixes this issue shortly...
P T Withington wrote:
I'm saying if the embedded app url is a full url, it looks like your
code would generate:
"http://<wrapper url>/http://<app url>"
Am I confused?
On 2007-03-27, at 22:40 EDT, Max Carlson wrote:
http://host/... urls should work fine. The only URLs it leaves as-is
are those that begin with '/' Otherwise, it composes an absolute URL
based on window.location (up to the last slash) + the app load URL,
which should work every time!
P T Withington wrote:
Is your code going to work if the user tries to load an app with an
'http://host/...' url?
On 2007-03-27, at 03:54 EDT, Max Carlson wrote:
Change 20070327-maxcarlson-4 by [EMAIL PROTECTED] on 2007-03-27
00:13:50 PDT
in /Users/maxcarlson/openlaszlo/legals-clean
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Fix DHTML proxied loads in DHTML for apps not loaded from
.lzx urls
New Features:
Bugs Fixed: LPP-3776 - DHTML SOLO apps need to use embedDHTML url,
not page load URL for proxied loads...
Technical Reviewer: hminsky
QA Reviewer: promanik
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Tests: Saved the generated wrapper html from an lzx that does a data
load to a separate .html file. Confirmed that the data still loads.
<canvas>
<dataset name="catz" src="http:categories.xml" request="true"/>
...
Files:
M WEB-INF/lps/lfc/services/platform/dhtml/LzBrowser.js
M lps/includes/source/embednew.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20070327-maxcarlson-4.tar
--Regards,
Max Carlson
OpenLaszlo.org
--
Regards,
Max Carlson
OpenLaszlo.org