I define a widget:
<wd:multivaluefield id="server">
<wd:datatype base="string"/>
<wd:selection-list src="cocoon:/serverlist" dynamic="true"/>
</wd:multivaluefield>I define an action widget:
<wd:action id="allservers" action-command="allservers">
<wd:label>All Servers</wd:label>
<wd:on-action>
<javascript>
var serverlist = event.source.parent.getWidget("server");
serverlist.value = ?????;
</javascript>
</wd:on-action>
</wd:action>I action widget should choose all the server entries in the multivaluedfield widget above.
I got java.lang.RuntimeException: Cannot set value of field "rechner" ... What is the correct way of setting a list? What is the expected datatype?
Thank you.
Michael Roth
Michael Roth
Technische Universit�t Wien
Zentraler Informatik Dienst - Zentrale Services
Wiedner Hauptstra�e 8-10, 1040 Wien
Tel.: 58801 42091 / Fax: 58801 42099
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
