Hi all,

I'm building a generic 'Search' form where the user dynamically constructs the search criteria by picking a constraint type and then filling out the fields associated with the selected constraint type. Depending on the select constraint type, one or more form fields are dynamically added to the form (or replaced, if the user changes the constraint type on an existing criteria) .

I'm having trouble with a dynamically added AutocompleteAjaxComponent field ; the markup looks ok and I can see no javascript/markup errors in the brower's error console but for some reason the generated callback URL

<PATH_TO_PAGE>?0-1.IBehaviorListener.0-form-filterEditingPanel-constraintList-0-constraintEditor-autocompleter&term=someUserInput

always yields a "302 Moved Temporarily" response instead of returning JSON data ...and thus the autocompleter obviously displays no choices.

I'm fairly sure this has something to do with the fact that the AutocompleteAjaxComponent is added dynamically to the form but how do I fix this ?

Thanks in advance,
Tobias

P.S. I'm using Wicket 1.5.7 / WiQuery 1.5.7

--
Tobias Gierke
Development

VOIPFUTURE GmbH   Wendenstraße 4   20097 Hamburg,  Germany
Phone +49 40 688 900 111 Mobile +49 172 323 06 11 Fax +49 40 688 900 199
Email jan.bast...@voipfuture.com   Web http://www.voipfuture.com
CEO Jan Bastian
        
Commercial Court AG Hamburg   HRB 109896, VAT ID DE263738086



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to