I get the following compiling http://localhost:8080/wafflecone/test/lfc/data/testproxyhost.lzx:

testproxyhost.lzx:5:34: attribute "proxyurl" not allowed at this point; ignored testproxyhost.lzx:5:34: found an unknown attribute named "proxyurl" on element dataset, check the spelling of this attribute name

And the following runtime warnings:
ERROR: testproxyhost.lzx:5: reference to undefined variable 'testdata'
ERROR: testproxyhost.lzx:5: undefined object does not have a property 'xml'
WARNING: testproxyhost.lzx:5: reference to undefined property 'xml'
ERROR: data source error for http://localhost:8080/wafflecone/test/lfc/data/nosuchfile.xml: HTTP Status code: 404:Not Found

Henry Minsky wrote:
Change 20070817-hqm-4 by [EMAIL PROTECTED] on 2007-08-17 22:42:46 EDT
    in /cygdrive/c/users/hqm/openlaszlo/wafflecone2
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: add option to set proxy host url for proxied HTTP data requests

New Features: add option to set proxy host url for proxied HTTP data requests

Bugs Fixed: LPP-4449

Technical Reviewer: pkang  (pending)
QA Reviewer: max (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

new API call to LzDataset, setProxyURL, allows you to specify an explicit proxy
host server to use for proxied data requests.

proxyurl can also be set as a dataset attribute



Tests:

test/lfc/data/proxydata.lzx


Files:
M      test/hello.lzx
M      WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as
M      WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js
M      WEB-INF/lps/lfc/data/LzDataRequest.lzs
M      WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
M      WEB-INF/lps/lfc/data/LzDataset.lzs
A      test/lfc/data/testproxyhost.lzx

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070817-hqm-4.tar



--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to