cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Removing a selectionList
Date Fri, 23 Apr 2004 06:50:48 GMT
On 23.04.2004 02:03, Joe Latty wrote:

> I am using the on-value-changed event for a field to do some validation 
> . If the value has a direct code match I leave the value if, however, 
> there is more than one match I return a selectionlist and have the user 
> choose from the list.
> 
> This is all working well, however, when the user selects the correct 
> value I no longer want the selectionlist. Is there a way to remove the 
> selectionlist.


>                 event.source.setSelectionList(supplier, "value", "label");

setSelectionList(null) might work as temporary workaround.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message