Hi Tobia,

though one may argue about overcrowding the flowscript I'll give it a
try :-)

Thx,
Florian


Tobia Conforto wrote:
> --- flowscript ---------------------------------------------------------
>
> var selist = ...
>
> var form = new Form("definitions/test2.xml");
>
> form.getChild('mySelectionList').setSelectionList(selist, 'value', 'label');
>
> form.getChild('changeSelectionListButton').addActionListener(function() {
>   // selist.blah() ...
>   // remember to call setSelectionList again here
> });
>
> form.showForm("templates/test2.xml");
>
>
> --- definition ---------------------------------------------------------
>
> <fd:field id="mySelectionList">
>   <fd:datatype base="string"/>
> </fd:field>
>
> <fd:action id="changeSelectionListButton">
>   <fd:label>Do it!</fd:label>
> </fd:action>
>
> ------------------------------------------------------------------------
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to