You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin A <wm...@gmail.com> on 2011/09/26 16:14:30 UTC

set content type of response in wicket 1.5

Hello,

In Wicket 1.4 and before that there was a method setContentType(String str)
in the class Request. What's its equivalent in wicket 1.5?

Thanks

Re: set content type of response in wicket 1.5

Posted by Martin A <wm...@gmail.com>.
Ok, so it's been moved to WebResponse... I should have figured that out :)

Thanks

On Mon, Sep 26, 2011 at 5:24 PM, Martin Grigorov <mg...@apache.org>wrote:

> org.apache.wicket.request.http.WebResponse.setContentType(String)
>
> On Mon, Sep 26, 2011 at 4:21 PM, Martin A <wm...@gmail.com> wrote:
> > Yes, sorry, I meant Response, as it says in the title.
> >
> > Thanks
> >
> > On Mon, Sep 26, 2011 at 5:19 PM, Martin Grigorov <mgrigorov@apache.org
> >wrote:
> >
> >> I guess you mean Response because you can't write in the Request
> >>
> >> On Mon, Sep 26, 2011 at 4:14 PM, Martin A <wm...@gmail.com> wrote:
> >> > Hello,
> >> >
> >> > In Wicket 1.4 and before that there was a method setContentType(String
> >> str)
> >> > in the class Request. What's its equivalent in wicket 1.5?
> >> >
> >> > Thanks
> >> >
> >>
> >>
> >>
> >> --
> >> Martin Grigorov
> >> jWeekend
> >> Training, Consulting, Development
> >> http://jWeekend.com
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: set content type of response in wicket 1.5

Posted by Martin Grigorov <mg...@apache.org>.
org.apache.wicket.request.http.WebResponse.setContentType(String)

On Mon, Sep 26, 2011 at 4:21 PM, Martin A <wm...@gmail.com> wrote:
> Yes, sorry, I meant Response, as it says in the title.
>
> Thanks
>
> On Mon, Sep 26, 2011 at 5:19 PM, Martin Grigorov <mg...@apache.org>wrote:
>
>> I guess you mean Response because you can't write in the Request
>>
>> On Mon, Sep 26, 2011 at 4:14 PM, Martin A <wm...@gmail.com> wrote:
>> > Hello,
>> >
>> > In Wicket 1.4 and before that there was a method setContentType(String
>> str)
>> > in the class Request. What's its equivalent in wicket 1.5?
>> >
>> > Thanks
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: set content type of response in wicket 1.5

Posted by Martin A <wm...@gmail.com>.
Yes, sorry, I meant Response, as it says in the title.

Thanks

On Mon, Sep 26, 2011 at 5:19 PM, Martin Grigorov <mg...@apache.org>wrote:

> I guess you mean Response because you can't write in the Request
>
> On Mon, Sep 26, 2011 at 4:14 PM, Martin A <wm...@gmail.com> wrote:
> > Hello,
> >
> > In Wicket 1.4 and before that there was a method setContentType(String
> str)
> > in the class Request. What's its equivalent in wicket 1.5?
> >
> > Thanks
> >
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: set content type of response in wicket 1.5

Posted by Martin Grigorov <mg...@apache.org>.
I guess you mean Response because you can't write in the Request

On Mon, Sep 26, 2011 at 4:14 PM, Martin A <wm...@gmail.com> wrote:
> Hello,
>
> In Wicket 1.4 and before that there was a method setContentType(String str)
> in the class Request. What's its equivalent in wicket 1.5?
>
> Thanks
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org