systemprop.lzx
<canvas debug="true" width="800">
<debug x="370" width="400" height="300"/>
<alert name="errormsg"/>
<simplelayout spacing="10"/>
<dataset name="envDset"/>
<list name="env" width="250" height="200">
<textlistitem name="ti" datapath="envDset:/*" text="$path{'name()'}">
<handler name="onselect">
canvas.display.setAttribute('text', datapath.xpathQuery('text()'))
</handler>
</textlistitem>
</list>
<text name="display" selectable="true" width="350" multiline="true" bgcolor="0xd0d0d0"/>
<security>
<allow>
<pattern>^SystemProp$</pattern>
</allow>
</security>
<javarpc name="systemprop" scope="none" remoteclassname="SystemProp">
<handler name="onload">
this.getProperties.invoke();
</handler>
<handler name="onerror" args="msg">
errormsg.setAttribute('text', 'error: ' + msg)
errormsg.open()
</handler>
<remotecall name="getProperties" funcname="getProperties" dataobject="envDset">
<handler name="ondata" args="d">
Debug.write('data:', d);
</handler>
</remotecall>
</javarpc>
</canvas>
Cross References
Named Instances