something i was exactly looking for is this:
http://digitarald.de/project/autocompleter/1-1/showcase/delicious-tags/
, i.e. the ability to autocomplete multiple fields. and i also wanted
to integrate it with wicket. if i understand correctly, what you've
done is analogous.

so, haven't myself implemented it yet, i'm interested in your work.
i'll also be waiting for someone else's advice on how to integrate
that code. let me know if i can help.

cheers,
francisco

On Tue, May 27, 2008 at 11:18 PM, Daniel Stoch <[EMAIL PROTECTED]> wrote:
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to