Change 20071126-hqm-0 by [EMAIL PROTECTED] 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

Reply via email to