Re: Delaying AutoCompleteTextField by n characters?

2008-02-08 Thread Igor Vaynberg
you can use the iajaxcalldecorator to decorate the call and wrap it
around some javascript that does this...

-igor


On Feb 8, 2008 1:31 AM, Dmitry Kandalov <[EMAIL PROTECTED]> wrote:
> On Tuesday 05 February 2008 23:16:03 Igor Vaynberg wrote:
> > wicket has a throttle which works on time not on number of
> > characthers, for that you need to roll your own javascript
>
> How can I "roll" my javascript which doesn't use ajax before n characters for
> AutoCompleteTextField? I could only do it by copying three classes from
> extensions :(
>
>
> Dima
>
>
> -
> 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]



Re: Delaying AutoCompleteTextField by n characters?

2008-02-08 Thread Dmitry Kandalov
On Tuesday 05 February 2008 23:16:03 Igor Vaynberg wrote:
> wicket has a throttle which works on time not on number of
> characthers, for that you need to roll your own javascript

How can I "roll" my javascript which doesn't use ajax before n characters for 
AutoCompleteTextField? I could only do it by copying three classes from 
extensions :(


Dima

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



RE: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Michael Mehrle
Thanks again Igor - this seems to work.

Michael

-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 05, 2008 11:37 AM
To: users@wicket.apache.org
Subject: Re: Delaying AutoCompleteTextField by n characters?

wicket's ajax behaviors have setThrottleDelay() you can use

-igor


On Feb 5, 2008 11:34 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> I'd be happy with the throttle - how do I enable that?
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 05, 2008 11:16 AM
> To: users@wicket.apache.org
>
> Subject: Re: Delaying AutoCompleteTextField by n characters?
>
> wicket has a throttle which works on time not on number of
> characthers, for that you need to roll your own javascript
>
> -igor
>
>
> On Feb 4, 2008 3:54 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> > What is the preferred way of delaying the Javascript call to
> > getChoices() until a certain amount of characters have been types
in?
> I
> > guess I could just put in some kind of if condition that checks the
> > input string's length, but I was wondering if there's a more elegant
> way
> > of doing this.
> >
> > Thanks!
> >
> > Michael
> >
> >
> >
-
> > 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]
>
>
> -
> 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]


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



Re: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Igor Vaynberg
wicket's ajax behaviors have setThrottleDelay() you can use

-igor


On Feb 5, 2008 11:34 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> I'd be happy with the throttle - how do I enable that?
>
> -Original Message-
> From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 05, 2008 11:16 AM
> To: users@wicket.apache.org
>
> Subject: Re: Delaying AutoCompleteTextField by n characters?
>
> wicket has a throttle which works on time not on number of
> characthers, for that you need to roll your own javascript
>
> -igor
>
>
> On Feb 4, 2008 3:54 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> > What is the preferred way of delaying the Javascript call to
> > getChoices() until a certain amount of characters have been types in?
> I
> > guess I could just put in some kind of if condition that checks the
> > input string's length, but I was wondering if there's a more elegant
> way
> > of doing this.
> >
> > Thanks!
> >
> > Michael
> >
> >
> > -
> > 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]
>
>
> -
> 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]



RE: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Michael Mehrle
I'd be happy with the throttle - how do I enable that?

-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 05, 2008 11:16 AM
To: users@wicket.apache.org
Subject: Re: Delaying AutoCompleteTextField by n characters?

wicket has a throttle which works on time not on number of
characthers, for that you need to roll your own javascript

-igor


On Feb 4, 2008 3:54 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> What is the preferred way of delaying the Javascript call to
> getChoices() until a certain amount of characters have been types in?
I
> guess I could just put in some kind of if condition that checks the
> input string's length, but I was wondering if there's a more elegant
way
> of doing this.
>
> Thanks!
>
> Michael
>
>
> -
> 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]


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



Re: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Igor Vaynberg
wicket has a throttle which works on time not on number of
characthers, for that you need to roll your own javascript

-igor


On Feb 4, 2008 3:54 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> What is the preferred way of delaying the Javascript call to
> getChoices() until a certain amount of characters have been types in? I
> guess I could just put in some kind of if condition that checks the
> input string's length, but I was wondering if there's a more elegant way
> of doing this.
>
> Thanks!
>
> Michael
>
>
> -
> 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]



RE: Delaying AutoCompleteTextField by n characters?

2008-02-05 Thread Michael Mehrle
Anybody? Was hoping for a tip or two ;-)

Michael

-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 04, 2008 3:55 PM
To: users@wicket.apache.org
Subject: Delaying AutoCompleteTextField by n characters?

What is the preferred way of delaying the Javascript call to
getChoices() until a certain amount of characters have been types in? I
guess I could just put in some kind of if condition that checks the
input string's length, but I was wondering if there's a more elegant way
of doing this.

Thanks!

Michael


-
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]



Delaying AutoCompleteTextField by n characters?

2008-02-04 Thread Michael Mehrle
What is the preferred way of delaying the Javascript call to
getChoices() until a certain amount of characters have been types in? I
guess I could just put in some kind of if condition that checks the
input string's length, but I was wondering if there's a more elegant way
of doing this.

Thanks!

Michael


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