Hi forks,

It is not critical but very interested points.
Anyone let me know why it is.

The blow example shows some warning messages in the debug window.

<canvas debug="true">
<dataset name="ds">
<data>
<d><n>A</n><v>1</v></d>
<d><n>B</n><v>2</v></d>
<d><n>C</n><v>3</v></d>
</data>
</dataset>
<handler name="oninit">
this.cb.list.setDatapath( "ds:/data/d" );
</handler>
<combobox name="cb" editable="false">
<textlistitem name="list" text="$path{'v/text()'}"
value="$path{'v/text()'}"/>
</combobox>
</canvas>

[Warning Messages]
WARNING: lz/textlistitem.lzx:34: reference to undefined property '_title'
WARNING: lz/textlistitem.lzx:34: undefined object does not have a
property 'setAttribute'

But when the datapath attribute has been added as following, the warning
messages does not show.
<textlistitem name="list" datapath="ds:/data/d" text="$path{'v/text()'}"
value="$path{'v/text()'}"/>
~~~~~~~~~~~~~~~~~~~

Thank you.
mt1

Reply via email to