RE: Username gets cached

2011-08-09 Thread Hielke Hoeve
This is probably a browser 'feature' where certain form field get cached 
client-side. Very annoying especially since they can show unexpected 
behavior... autocomplete="off" is optional so not all browsers use it.

Hielke

-Original Message-
From: Anna Simbirtsev [mailto:asimbirt...@gmail.com] 
Sent: woensdag 3 augustus 2011 15:37
To: users@wicket.apache.org
Subject: Username gets cached

Hi,

On the login page I have a text field with wicket id username and Password text 
field with wicket id password.
If I have a password text field on a different page with different wicket id, 
it caches the values and populates the password field with password and the 
field before it with username.

How can I turn off auto populating the fields?

Thanks
Anna

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



Re: Username gets cached

2011-08-03 Thread Martin Funk
Looking at 1.5-RC5.1 I'd say

public final PasswordTextField setResetPassword(final boolean resetPassword)

will fix that.

But besides that I'd definitely investigate how the models of the two
PasswordTextFields are connected.

mf

2011/8/3 Anna Simbirtsev 

> I have autocomplete="off", it does not work.
>
> On Wed, Aug 3, 2011 at 10:12 AM, vineet semwal
> wrote:
>
> > try after doing autocomplete off on that textfield
> >
> > On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev 
> > wrote:
> > > No, I am not. The pages are not related.
> > >
> > > On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness <
> > > robert.mcguinness@gmail.com> wrote:
> > >
> > >> are you sharing the same model between pages?
> > >>
> > >> --
> > >> View this message in context:
> > >>
> >
> http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
> > >> Sent from the Users forum 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
> > >>
> > >>
> > >
> > >
> > > --
> > > Anna Simbirtsev
> > > (416) 729-7331
> > >
> >
> >
> >
> > --
> > thank you,
> >
> > regards,
> > Vineet Semwal
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
> --
> Anna Simbirtsev
> (416) 729-7331
>


Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
I have autocomplete="off", it does not work.

On Wed, Aug 3, 2011 at 10:12 AM, vineet semwal
wrote:

> try after doing autocomplete off on that textfield
>
> On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev 
> wrote:
> > No, I am not. The pages are not related.
> >
> > On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness <
> > robert.mcguinness@gmail.com> wrote:
> >
> >> are you sharing the same model between pages?
> >>
> >> --
> >> View this message in context:
> >>
> http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
> >> Sent from the Users forum 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
> >>
> >>
> >
> >
> > --
> > Anna Simbirtsev
> > (416) 729-7331
> >
>
>
>
> --
> thank you,
>
> regards,
> Vineet Semwal
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Anna Simbirtsev
(416) 729-7331


Re: Username gets cached

2011-08-03 Thread vineet semwal
try after doing autocomplete off on that textfield

On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev  wrote:
> No, I am not. The pages are not related.
>
> On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness <
> robert.mcguinness@gmail.com> wrote:
>
>> are you sharing the same model between pages?
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
>> Sent from the Users forum 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
>>
>>
>
>
> --
> Anna Simbirtsev
> (416) 729-7331
>



-- 
thank you,

regards,
Vineet Semwal

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



Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
No, I am not. The pages are not related.

On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness <
robert.mcguinness@gmail.com> wrote:

> are you sharing the same model between pages?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
> Sent from the Users forum 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
>
>


-- 
Anna Simbirtsev
(416) 729-7331


Re: Username gets cached

2011-08-03 Thread robert.mcguinness
are you sharing the same model between pages?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
Sent from the Users forum 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



Username gets cached

2011-08-03 Thread Anna Simbirtsev
Hi,

On the login page I have a text field with wicket id username and Password
text field with wicket id password.
If I have a password text field on a different page with different wicket
id, it caches the values and populates the password field with password and
the field before it with username.

How can I turn off auto populating the fields?

Thanks
Anna