Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2009-08-06 Thread Loren Cole
I ran into this problem on firefox 3.0 using wicket 1.3.5.

Firefox wanted autocomplete="off", instead of autocomplete="false" which is
what AutoCompleteTextField was using.  W3schools doesn't specify a value for
this attribute, so I'm assuming it's not all ironed out yet.

I fixed it with the following, but haven't tested on ie.

myAutocompleteTextField.add(new AttributeModifier("autocomplete", new
Model("off")));

-
Loren


On Thu, Apr 17, 2008 at 2:13 PM, Ryan Sonnek  wrote:

> Glad you liked it...That's actually my blog.  =)
>
> you may want to check out the updated version of the autocomplete wicket
> components...
> http://jroller.com/wireframe/entry/from_components_to_behaviors
>
>
> On Thu, Apr 17, 2008 at 10:59 AM, ak  wrote:
>
> >
> > Thank you Ryan and Gerolf.
> >
> > I also came across this useful post for anyone reading this thread ...
> > http://www.jroller.com/wireframe/entry/wicket_autocomplete_text_field
> >
> > -Andy
> > --
> > View this message in context:
> >
> http://www.nabble.com/Override-IE-AutoComplete-with-Wicket%27s-AutoCompleteTextField-tp16733561p16745438.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>


Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-17 Thread Ryan Sonnek
Glad you liked it...That's actually my blog.  =)

you may want to check out the updated version of the autocomplete wicket
components...
http://jroller.com/wireframe/entry/from_components_to_behaviors


On Thu, Apr 17, 2008 at 10:59 AM, ak <[EMAIL PROTECTED]> wrote:

>
> Thank you Ryan and Gerolf.
>
> I also came across this useful post for anyone reading this thread ...
> http://www.jroller.com/wireframe/entry/wicket_autocomplete_text_field
>
> -Andy
> --
> View this message in context:
> http://www.nabble.com/Override-IE-AutoComplete-with-Wicket%27s-AutoCompleteTextField-tp16733561p16745438.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-17 Thread ak

Thank you Ryan and Gerolf. 

I also came across this useful post for anyone reading this thread ...
http://www.jroller.com/wireframe/entry/wicket_autocomplete_text_field

-Andy
-- 
View this message in context: 
http://www.nabble.com/Override-IE-AutoComplete-with-Wicket%27s-AutoCompleteTextField-tp16733561p16745438.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-16 Thread Gerolf Seitz
On Wed, Apr 16, 2008 at 11:12 PM, Ryan Sonnek <[EMAIL PROTECTED]> wrote:

> the wicketstuff-scriptaculous project adds an attribute
> "autocomplete='off'"
> to prevent browsers from adding their specific autocomplete suggestions.
>

and so does the AutoCompleteTextField

  Gerolf


>
> On Wed, Apr 16, 2008 at 4:10 PM, ak <[EMAIL PROTECTED]> wrote:
>
> >
> > Hello,
> >
> > I have implemented wicket AutoCompleteBehavior on TextField. All seems
> to
> > work fine until I stumbled upon this issue. Example when I type 'A', I
> see
> > IE's auto complete overlapping my wicket implementation of autocomplete
> > behaviour with previously recorded value(example 'Apple'). However, I
> > expect
> > the user to enter couple of words to kickin behind the scene's logic.
> But
> > right now say if a user selects from IE's autocomplete then my code
> fails.
> > Do you know if I can override IE's autocomplete from my code or any
> better
> > way to solve this issue. I want the user to select only from the values
> > shown using wicket's autocomplete.
> >
> > Your thoughts are much appreciated!
> > Andy
> > --
> > View this message in context:
> >
> http://www.nabble.com/Override-IE-AutoComplete-with-wicket%27s-AutoCompleteTextField-tp16733561p16733561.html
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-16 Thread Ryan Sonnek
the wicketstuff-scriptaculous project adds an attribute "autocomplete='off'"
to prevent browsers from adding their specific autocomplete suggestions.

On Wed, Apr 16, 2008 at 4:10 PM, ak <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> I have implemented wicket AutoCompleteBehavior on TextField. All seems to
> work fine until I stumbled upon this issue. Example when I type 'A', I see
> IE's auto complete overlapping my wicket implementation of autocomplete
> behaviour with previously recorded value(example 'Apple'). However, I
> expect
> the user to enter couple of words to kickin behind the scene's logic. But
> right now say if a user selects from IE's autocomplete then my code fails.
> Do you know if I can override IE's autocomplete from my code or any better
> way to solve this issue. I want the user to select only from the values
> shown using wicket's autocomplete.
>
> Your thoughts are much appreciated!
> Andy
> --
> View this message in context:
> http://www.nabble.com/Override-IE-AutoComplete-with-wicket%27s-AutoCompleteTextField-tp16733561p16733561.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>