J1.5 talk

Difference between revisions of "Adding AJAX to your component"

From Joomla! Documentation

(New page: This is a very interesting approach. I would like to have some more information concerning this approach and I'm willing to help to improve the article)
 
m (→‎Content-Type Header: new section)
Line 1: Line 1:
 
This is a very interesting approach. I would like to have some more information concerning this approach and I'm willing to help to improve the article
 
This is a very interesting approach. I would like to have some more information concerning this approach and I'm willing to help to improve the article
 +
 +
== Content-Type Header ==
 +
 +
As I tried that in a component in Joomla 1.5, I needed to to set the content-type of the response to xml: header("Content-type: text/xml");
 +
Joomla does't seem to check the type of content in the output buffer to make the correct settings (which is good).

Revision as of 08:53, 14 June 2011

This is a very interesting approach. I would like to have some more information concerning this approach and I'm willing to help to improve the article

Content-Type Header[edit]

As I tried that in a component in Joomla 1.5, I needed to to set the content-type of the response to xml: header("Content-type: text/xml"); Joomla does't seem to check the type of content in the output buffer to make the correct settings (which is good).