Forum: Radiant CMS Problem with Content-Type in Site5

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dd316ebea31fcc5ca98b2f0f20d5d26b?d=identicon&s=25 Lluna (Guest)
on 2007-05-29 08:43
(Received via mailing list)
Hi all

I have a weird problem with a radiant extension in site5

I'm using Radiant 0.6.1 an I'm developing some extensions for a car
rental website, i have created some new pages ( Extending radiant page
model ) for managing a post from a form to query the car availability,
all works fine in my local environment.

Here is the problem: the result from the query is OK, the custom page
works fine BUT it's presented in plain text!, i have used
LiveHTTPHeaders and it's sending Content-Type: text/plain MIME content
and i don't know why.

The Layout has the Content-type set to text/html
The Page has the layout set
As i have to override the "process" method in my custom page  i use
"super(request, response)" when I'm done

Any clue?

This topic is locked and can not be replied to.