|
|
|
Was this checked in? The bind to the xpathQuery is still running red.
I checked it in yesterday, maybe the nightly build hasn't built if you're using that...
revision 4860 was the change it was done in. Please tell me if it's still broken.. When I ran this test with my fix, the databound text shows up with a yellow background. Test Case:
<?xml version="1.0" encoding="UTF-8" ?> <canvas debug="true" width="950" > <include href="lz/tree.lzx" /> <dataset name="mydata" /> <tree datapath="mydata:/basket" open="$path{'@isopen'}" text="$path{'@name'}" multiselect="true"> <tree id="xxx" datapath="*" text="$path{'@name'}" isleaf="$path{'@isleaf'}" /> </tree> </canvas> => runtime Flash swf8 with debugger results in 100% CPU and no more interaction is this related with this task? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<canvas debug="true">
<debug y="150"/>
<include href="lzunit"/>
<simplelayout axis="y" spacing="20"/>
<!-- tests with embedded dataset were OK
<dataset name="ds">
<slideshow>
<metainformation>
<title>Refresher (Lab)</title>
<subtitle>Contacts Error Dialog</subtitle>
<classname>Building OpenLaszlo Applications</classname>
<summary>
Build a custom error alert dialog box.
</summary>
</metainformation>
</slideshow>
</dataset>
-->
<dataset name="ds" src="samplexml.xml" type="http" request="true" trimwhitespace="true" />
<datapointer name="dp" xpath="ds:/slideshow/metainformation" />
<text id="testQuery" fontsize="24" width="500" bgcolor="yellow" text="${dp.xpathQuery('title/text()')}" />
<text id="testDatapath" fontsize="24" width="500" bgcolor="aqua" datapath="ds:/slideshow[1]/metainformation[1]/subtitle[1]/text()"/>
<TestSuite>
<TestCase>
<method name="testXPathQuerying">
assertEquals("Refresher (Lab)", testQuery.text);
assertEquals("Contacts Error Dialog", testDatapath.text);
</method>
</TestCase>
</TestSuite>
</canvas>