Hi,
in an on-action-javascript in my forms definition I want to get access
to the bizData provided with the showForm()-function.
In the end I want to be able to change the entries in a selection list
on an ActionEvent. What I have so far:
var selist = new Packages.java.util.ArrayList();
selist.add(new Packages.demo.SelistTupel("deutsch","de"));
selist.add(new Packages.demo.SelistTupel("english","en"));
selist.add(new Packages.demo.SelistTupel("francaise","fr"));
var form = new Form("definitions/test2.xml");
form.showForm("templates/test2.xml",{"selist":selist});
My definition:
<fd:field id="mySelectionList">
<fd:datatype base="string"/>
<fd:selection-list type="flow-jxpath" list-path="selist"
value-path="value" label-path="label" nullable="true" null-text="-- no
selection --"/>
</fd:field>
<fd:action id="changeSelectionListButton">
<fd:label>Do it!</fd:label>
<fd:on-action>
<fd:javascript>
// manipulate the "selist" object used by the selection-list
// :-?
</fd:javascript>
</fd:on-action>
</fd:action>
Help, I have no clue at the moment...
Thx,
Florian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]