Antun’s Blog

Notes on OpenLaszlo, LZX and Rich Internet Application Development

Antun’s Blog header image 4

Entries from September 2008

Selectionmanager and multi/range-select

September 11th, 2008 · 1 Comment

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 [...]

[Read more →]

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"/>
[...]

[Read more →]

Tags: LZX Tips