cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Roth <>
Subject [Woody] What is the java class type for a multivaluefield field?
Date Fri, 20 Feb 2004 12:48:57 GMT
I'm running woody+flow using cvs version 2.1.4 from end of January 2004.

I define a widget:

   <wd:multivaluefield id="server">
     <wd:datatype base="string"/>
       <wd:selection-list src="cocoon:/serverlist" dynamic="true"/>

I define an action widget:

   <wd:action id="allservers" action-command="allservers">
     <wd:label>All Servers</wd:label>
          var serverlist = event.source.parent.getWidget("server");
          serverlist.value = ?????;

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:
For additional commands, e-mail:

View raw message