Hi
I'd like initialize a MultiValueFiel with double-listbox style in an action.
this is the definition :
<wd:multivaluefield id="data">
<wd:label></wd:label>
<wd:datatype base="string">
</wd:datatype>
<wd:selection-list src="cocoon://MySelectionLists/data" dynamic="true"/>
</wd:multivaluefield>
And this the instance :
<wt:widget id="domaine">
<wi:styling list-type="double-listbox">
<wi:available-label>Select your data: </wi:available-label>
<wi:selected-label/>
</wi:styling>
</wt:widget>
First I'm trying with 1 value. I get it from the data base. I'm doing something like
this :
MultiValueField Act_data=(MultiValueField) form.getWidget("data");
Act_data.setValue(resultSet_data);
I obtein this error :
java.lang.RuntimeException: Cannot set the value of widget domaine
Any suggestions. (I'm using cocoon-2.1.4)
thanks
andoni bilbao
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]