[Laszlo-dev] For Review: Change 20081105-hqm-n Summary: make available raw data from data loads to user
Henry Minsky
hminsky at laszlosystems.com
Sun Nov 9 11:30:25 PST 2008
OK thanks I'll look at it.
On Wed, Nov 5, 2008 at 7:02 PM, Philip Romanik
<promanik at laszlosystems.com> wrote:
> Approved, but see below.
>
> I don't see the value for rawdata when I run the test; it's either empty or
> null. The example in the changeset doesn't run in dhtml. Also, I created a
> new jira bug:
>
> LPP-7301 - alldata test fails to run in swf9/dhtml
>
>
> Change 20081105-hqm-n by hqm at badtzmaru-7.local 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
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list