Hi,

Whats the consistent way of getting HttpServletResponse from the
RequestCycle?

In one of my compoents, I have tried both

((WebResponse)Component.getResponse()).getHttpServletResponse()
and
((WebResponse)RequestCycle.get().getResponse()).getHttpServletResponse()

but both of them fail because getResponse() returns StringResponse and not
WebResponse. I also see a bunch of ther Response subclasses. Wondering whats
the consistent way to get HttpServletResponse?

Why doesnt the Response class have abstract or default implementation, that
would make life much easier.
-- 
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]

Reply via email to