On Tue, May 13, 2008 at 7:10 PM, Ritz123 <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  Whats the consistent way of getting HttpServletResponse from the
>  RequestCycle?

((WebRequestCycle)RequestCycle.get()).getWebResponse().getHttpServletResponse();

>  Why doesnt the Response class have abstract or default implementation, that
>  would make life much easier.

because the "Web" or HTTP implementation is only one protocol that
wicket supports. i know a few people wrote up apache mina
implementation, and you can roll others. response is not meant to
represent directly the servlet response, only some abstract thing that
wicket is rendering into.

-igor


>  --
>  View this message in context: 
> http://www.nabble.com/consistent-way-of-getting-httpservletresponse--tp17222102p17222102.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