Re: AbstractDefaultAjaxBehavior using onComponentRendered rendered many times

2010-01-14 Thread Pedro Santos
Hi Esteban, the wicket javascript will update your component html by the on retrieved by your component that has the script tag attached. So you get the problem describe. If you want to keep sending the java script by script tag, you can implement your onComponentRendered method like: if

AbstractDefaultAjaxBehavior using onComponentRendered rendered many times

2010-01-13 Thread Esteban Masoero
Hi: Using wicket 1.3.5, I have a MyAbstractExtensibleChoiceAutocompleteBehavior (that extends AbstractDefaultAjaxBehavior, and I think it is a modification of some wicket class) related to the autocomplete feature that inside onComponentRendered method does something like: