For a long time, I’ve wondered why the OpenLaszlo selectionmanager has such a bizarre API for enabling/disabling range- and multi-selection. A quick introduction: the selectionmanager is a helper class that manages selection between a group of views. It’s very handy for building custom lists. Range-selection means shift-clicking to select a group of items. Multi-selection means [...]
Entries from September 2008
Selectionmanager and multi/range-select
September 11th, 2008 · 1 Comment
Tags: OpenLaszlo
Using the Value Attribute
September 10th, 2008 · 3 Comments
Whether you realize it or not, you often use a subclass of the basevaluecomponent in OpenLaszlo. A typical example is radiobutton (which is used with radiogroup). The example for radiogroup in the OpenLaszlo reference is pretty simple:
<canvas debug="true">
<radiogroup id="group1">
<radiobutton value="1" text="one"/>
[...]
Tags: LZX Tips