Re: [Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Xavier Hanin

On 2/23/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Hi,

I'm trying to get "remember me" functionality on a login form working.
The Form#setPersistent() method is see in the wicket-examples Signin2 does
not seem to be available in Wicket 1.3

How do I do this, also is there any documentation on implementing
"remember me"?



According to the SigninPanel code in the examples, it seems that you have to
use setPersistent on the fields, not on the form.

And how do I delete the cookies created, if any?


According to the same example, I would say you have to call
getPage().removePersistedFormData(). But I haven't tested yet.

- Xavier

Thanks,


Peter.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Xavier Hanin

On 2/23/07, Peter Thomas <[EMAIL PROTECTED]> wrote:




On 2/23/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:
>
>
> On 2/23/07, Peter Thomas <[EMAIL PROTECTED] > wrote:
> >
> > Hi,
> >
> > I'm trying to get "remember me" functionality on a login form
> > working.  The Form#setPersistent() method is see in the wicket-examples
> > Signin2 does not seem to be available in Wicket 1.3
> >
> > How do I do this, also is there any documentation on implementing
> > "remember me"?
>
>
> There's an example here:
> http://wicketstuff.org/wicket13/signin2
>
> I haven't seen how it works yet, but I thought it might help :-)
>
> Xavier
>

There seems to be a problem with at least that particular 1.3 example -
only the *.html files show up in the source code browser / popup.



But you can easily check the code here:
http://svn.apache.org/repos/asf/incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/signin2/

- Xavier

-

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Xavier Hanin

On 2/23/07, Peter Thomas <[EMAIL PROTECTED]> wrote:




On 2/23/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:
>
>
> On 2/23/07, Peter Thomas <[EMAIL PROTECTED] > wrote:
> >
> > Hi,
> >
> > I'm trying to get "remember me" functionality on a login form
> > working.  The Form#setPersistent() method is see in the wicket-examples
> > Signin2 does not seem to be available in Wicket 1.3
> >
> > How do I do this, also is there any documentation on implementing
> > "remember me"?
>
>
> There's an example here:
> http://wicketstuff.org/wicket13/signin2
>
> I haven't seen how it works yet, but I thought it might help :-)
>
> Xavier
>

There seems to be a problem with at least that particular 1.3 example -
only the *.html files show up in the source code browser / popup.



Yes, I noticed the same thing with all examples for which I tried to
check the sources. But I'm brand new to wicket, so I didn't know if it
was normal or not.

Xavier

-

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Peter Thomas

On 2/23/07, Xavier Hanin <[EMAIL PROTECTED]> wrote:



On 2/23/07, Peter Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm trying to get "remember me" functionality on a login form working.
> The Form#setPersistent() method is see in the wicket-examples Signin2 does
> not seem to be available in Wicket 1.3
>
> How do I do this, also is there any documentation on implementing
> "remember me"?


There's an example here:
http://wicketstuff.org/wicket13/signin2

I haven't seen how it works yet, but I thought it might help :-)

Xavier



There seems to be a problem with at least that particular 1.3 example - only
the *.html files show up in the source code browser / popup.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Xavier Hanin

On 2/23/07, Peter Thomas <[EMAIL PROTECTED]> wrote:


Hi,

I'm trying to get "remember me" functionality on a login form working.
The Form#setPersistent() method is see in the wicket-examples Signin2 does
not seem to be available in Wicket 1.3

How do I do this, also is there any documentation on implementing
"remember me"?



There's an example here:
http://wicketstuff.org/wicket13/signin2

I haven't seen how it works yet, but I thought it might help :-)

Xavier

 And how do I delete the cookies created, if any?


Thanks,

Peter.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] setPersistent on Form in 1.3 not there anymore?

2007-02-23 Thread Peter Thomas

Hi,

I'm trying to get "remember me" functionality on a login form working.  The
Form#setPersistent() method is see in the wicket-examples Signin2 does not
seem to be available in Wicket 1.3

How do I do this, also is there any documentation on implementing "remember
me"?  And how do I delete the cookies created, if any?

Thanks,

Peter.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user