Change 20081105-hqm-n by [EMAIL PROTECTED] on 2008-11-05 14:19:33 PST
    in /Users/hqm/openlaszlo/trunk4
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: make available raw data from data loads to user

New Features:

Bugs Fixed: LPP-4450

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

Documentation:

Release Notes:

Details:


+ When a datarequest returns, make LzHTTPDataProvider grab the "rawdata" from the HTTPLoader
and copy it to the datarequest

+ added a 'rawdata' attribute to LzDataset, and copy the rawdata from the datarequest to the dataset


Tests:

test/lfc/data/alldata.lzx

test case to show that raw data is available, even if data does not parse as XML

bad.xml:
This is not really XML, or if it were, it would be <egad>badly formatted XML</egad

bad.lzx:
<canvas debug="true">
    <dataset name="bad" src="http:bad.xml" request="true"/>
    <datapointer xpath="bad:/">
        <handler name="onerror" args="msg">
            Debug.write('Got error: ' msg, 'rawdata', bad.rawdata );
        </handler>
    </datapointer>
</canvas>

Files:
M      WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
M      WEB-INF/lps/lfc/data/LzDataset.lzs


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081105-hqm-n.tar

Reply via email to