you really should use an IDE

other then that you can do requestcycle.get() instead

-igor

On Mon, Apr 7, 2008 at 7:56 AM, Fabien D. <[EMAIL PROTECTED]> wrote:
>
>  Hi
>
>  I have a problem to set and use cookie !!
>
>  I have followed the example found in wickets example :
>
>  Cookie cookieUser = new Cookie("cookieUser", email);
>  Cookie cookiePassword = new Cookie("cookiePassword", mdp);
>  cookieUser.setMaxAge(3600);
>  cookiePassword.setMaxAge(3600);
>  ((WebResponse)getRequestCycle().getResponse()).addCookie(cookieUser);
>  ((WebResponse)getRequestCycle().getResponse()).addCookie(cookiePassword);
>
>  There is a problem during compilation :
>   cannot find symbol method getRequestCycle()...
>
>  I have a WebSession objet where i stock the user for right acces
>
>  In my WebApplication objet I have declared this :
>         public Session newSession (Request request, Response response){
>                 return new GestionSession(request);
>         }
>
>  Thank you in advance for your help
>  --
>  View this message in context: 
> http://www.nabble.com/Problems-with-cookie-tp16537484p16537484.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]
>
>

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

Reply via email to