The authentication strategy shouldn't have anything to do with it. The cookie handling like we did before should work unaltered. Btw, the strategy is used for all components, not just pages.
If you really want, you can use the request to get the request or session to read the cookies there. WebRequest gets you HttpServletRequest, and HttpServletRequest gets you the HttpSession if you need it. Eelco On 2/10/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > But actually that wasnt the intend. Before the authentication strategy > the cookie value was assigned to the form component automatically at > the beginning of the request (and I think it still is) and hence the > information was exactly where you would expect it. I dont know much > about the authentication strategies but if only the page class is > available than IMO the authentication strategy needs some > improvements. Though the request and the cookie is available through > RequestCylcle.get() it IMO is a bad solution as it is like going back > from Java to C. As I mentioned, I dont know the new authentication > strategies but IMO it must make sure that the persisted form component > value (and cookies are just one option) are available. > > Juergen > > > On 2/10/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > you can access the request cycle > > RequestCycle.get() > > and from there access the request and the cookies. > > > > -Igor > > > > > > On 2/10/06, Mark Derricutt <[EMAIL PROTECTED]> wrote: > > > On 2/11/06, Juergen Donnerstag < [EMAIL PROTECTED]> wrote: > > > > > > > But you don't persist the form. What you did is almost what > > > > setPersistent() as well. As I mentioned, only the values of the > > > > formcomponent, not the form is stored in the cookies. > > > > > > Ok, got that. But I still don't see a means to read those cookie > > > values from an Authentication strategy. Only the page's .class seems > > > to be passed in, not the Page itself. You can access the Session, but > > > that doesn't seem to provide access to the request/cookie information > > > either. > > > > > > -- > > > i like my video games - mamma said they are gonna melt my brains > > > i like my video games - i don't care what daddy said; they're my reality > > > - henning pauly > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > files > > > for problems? Stop! Download the new AJAX search engine that makes > > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > > _______________________________________________ > > > Wicket-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
