Hi, I have just written a sample form which contains fields for address editing (post code, city, street, etc...). What I want to achieve is to autocomplete fields like city, street when user enters a proper post code. The standard AutoCompleteTextField component allows to autocomplete the field which it is attached to (in my example it is a post code field). I have realized that it is not so hard to extend this standard component to support autocompletion of other - related fields (components).
I have made a prototype of such component and it works ok. The main problem is that the AutoCompleteTextField and related classes (behavior, renderer) are not easily to extend (eg. it is necessary to make a few modifications in wicket-autocomplete.js but in AbstractAutoCompleteBehavior the standard js is added in renderHead method, so there is no way to replace it, etc.). So I must made a copy of these standard classes and then made modifications in them. My proposition is to extend the functionality of AutoCompleteTextField to support autocompletion of multiple fields (with backward compatibilty, I can share my prototype) or at least to make a small modification in actual classes (I can point these places which need modifications), to allow easily to extend this component. What do you think? -- Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]