[Laszlo-dev] For Review: Change 20071126-hqm-0 Summary: allow <data> tag as child of dataset class
Henry Minsky
henry.minsky at gmail.com
Mon Nov 26 13:18:04 PST 2007
Change 20071126-hqm-0 by hqm at IBM-2E06404CB67 on 2007-11-26 16:14:28 EST
in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/schema
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/schema
Summary: allow <data> tag as child of dataset class
New Features:
Bugs Fixed: LPP-5147
Technical Reviewer: ptw
QA Reviewer: max
Doc Reviewer:
Documentation:
Release Notes:
Details:
Data can be included inline in a subclass of dataset if the "datafromchild"
attribute is
set to true
<canvas debug="true" proxied="true" >
<class name="mydataset" extends="dataset" />
<mydataset name="ds" src="test.xml" request="true"/>
<text datapath="ds:/article/title/text()" />
<mydataset name="ds2" datafromchild="true">
<data><article><title>dog</title></article></data>
</mydataset>
<text x="400" datapath="ds2:/article/title/text()" />
</canvas>
I needed to update the schema to allow <data> tags as children of dataset.
Tests:
The test case in the bug report
Files:
M lfc.lzx
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071126-hqm-0.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20071126/b1e36ed9/attachment.html
More information about the Laszlo-dev
mailing list