linkbutton.lzx
<library>
<include href="../views/mybutton.lzx"/>
<class name="linkbutton" height="20">
<attribute name="label" type="string" value="linkbutton
"/>
<attribute name="url" type="string" value="http://www.openlaszlo.org
"/>
<attribute name="targetframe" type="string" value="_blank
"/>
<attribute name="windowopts" type="string" value="toolbar=yes
"/>
<text fgcolor="#324FDB" text="${classroot.label}" width="${parent.width}"/>
<mybutton resource="transparent_rsc" width="${parent.width}" height="${parent.height}">
<handler name="onclick">
lz.Browser.loadURL( parent.url, parent.targetframe, parent.windowopts);
</handler>
</mybutton>
</class>
</library>
Cross References
Includes
Classes