On Wed, December 23, 2009, nino martinez wael wrote:

> >From a very vague memory, it has a delimited number of choices in a
> string or something (in java script)..

Yes, there's a lot of JS stuff involved. But since the Choices
class is a FormComponent, should I not - if I attach an
OnChangeAjaxBehaviour to the component - be able to get the
selected option(s)? I mean, the OnChangeAjaxBehaviour performs
all the actions which would normally be performed at form
submit, so in principle I should be able to get access to this
information without having to fiddle with Javascript, or am I
wrong? 

I already subclassed Choices to add some of my own custom stuff,
so I could as well set a default model and implement things like
updateModel() and convertInput(), but having done so I find
myself unable to find out how to set the right stuff in my
code, the request parameters do not seem to contain anything
usable...

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Was ist ein Cluster?
Wenn vier Bratscher unisono spielen.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to