[Seaside] dynamic selection - liveCallback question

Michel Bany m.bany at wanadoo.fr
Tue Jul 12 23:23:23 CEST 2005


Avi Bryant a écrit :

>
> On Jul 4, 2005, at 4:39 PM, Michel Bany wrote:
>
>> Jason Rogers a écrit :
>>
>>
>>> Actually, you only get a DOM if the response was sent back with a
>>> content-type header of "text/xml" or "application/xml" (the flat XML
>>> will be in the responseText as well).  Otherwise, you will only get a
>>> responseText.
>>>
>>>
>> Ah ! that's why responseXML was null.
>> And now ? should we use a separate parser or should we change  
>> Seaside to set content-type ?
>
>
> Definitely the latter, I think - only for the liveUpdate requests, of  
> course.
>
Careful ! When the liveUpdate http response contains the   entity 
some versions of msxml
do not recognize it and the DOM does not get parsed :(
We may want to use   instead of  



> Avi_______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
>



More information about the Seaside mailing list