On Sat, 06 Sep 2008, Martin Grigorov wrote: > OnChangeAjaxBehavior applies only to AbstractTextComponent. Such > components are: TextField and TextArea. > HiddenField is not!
Hmm... not exactly. OnChangeAjaxBehavior is an AjaxFormComponentUpdatingBehavior, bound to onchange Javascript event, with some textcomponent-specific tuning (it reacts also to mouse cut and paste, and disables browser autocompletion, because it would not detect input produced by it). So it works e.g. with DropDownChoice as well. I think that the problem is more that the event from the hidden textfield is not fired, in which your solution > function change(){ > var change = document.forms[0].changed.value; > if(change != true) { > document.forms[0].changed.value = true; > document.forms[0].changed.myevent(); > } > } > } should help. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]