Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Phil Kulak
You rock, dude. :) On 10/3/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > i hust committed a change which will provide you access to the > original response object (created by wicketservlet and which will > allways be a webresponse), no matter whether the repsone has been > temporariily being

Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Juergen Donnerstag
i hust committed a change which will provide you access to the original response object (created by wicketservlet and which will allways be a webresponse), no matter whether the repsone has been temporariily being replaced or not. requestcycle.getOriginalResponse Juergen On 10/4/05, Juergen Donne

Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Juergen Donnerstag
you can not gurantee, and we never did, that the respsone will alwyas be webresponse. Currently the component which handle uses StringRepsonse for temporary storage and of course any user can use its own response object. only at the end of the cycle you can be sure: onEndRequests. Juergen On 10

Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Phil Kulak
No, you can't actually. Sometimes it's a StringResponse. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _

Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Juergen Donnerstag
I think you can always get the webresponse through webrequestcycle.getwebresponse Juergen On 10/3/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > But I'm not storing form component values, I'm storing a session hash. > > On 10/3/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > you may use FormCo

Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Phil Kulak
But I'm not storing form component values, I'm storing a session hash. On 10/3/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > you may use FormComponent.setPersistent(boolean) to automatically > store and load FormComponent values from Cookies. That is all you must > do. > > Juergen > > On 10/

Re: [Wicket-user] How to set and get cookies?

2005-10-03 Thread Juergen Donnerstag
you may use FormComponent.setPersistent(boolean) to automatically store and load FormComponent values from Cookies. That is all you must do. Juergen On 10/3/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > I used to just get the HttpServletResponse and HttpServletRequest, but > it looks like that's no

[Wicket-user] How to set and get cookies?

2005-10-03 Thread Phil Kulak
I used to just get the HttpServletResponse and HttpServletRequest, but it looks like that's no longer possible since the response won't necessarily be a WebResponse. Is there a better way to do this? --- This SF.Net email is sponsored by: Power