[TYPO3-ect] xaJax - Further development

Franz Holzinger franz at fholzinger.com
Mon Mar 26 18:40:24 CEST 2007


Hello Elmar,


>> b)
>> $reqURI = t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT') . '?' .
>> t3lib_div::getIndpEnv('QUERY_STRING');
>> $reqURI .= '&no_cache=1';
>> $reqURI = htmlentities($reqURI,ENT_QUOTES,$TSFE->renderCharset);
>> $this->xajax->setRequestURI($reqURI);
>>
>> Gives an error with the Internet Explorer. The no_cache parameter does
>> not get passed to the server. Therfore the whole page is fetched from
>> cache and returned. This causes an error message windows in the MS
>> Internet Explorer.
>> It seams that the JavaScript does not work because it does not accept the
>> <script type="text/javascript">
>> var
>> xajaxRequestUri="http://p13490.jambage.com/index.php?id=1395&amp;no_cache=1";
>> This is not understood by the JavaScript engine of the Internet
>> Explorer. It always looses the no_cache=1 parameter.
>>
>> Where
>> $reqURI = tx_ttproducts_javascript::jsspecialchars($reqURI);
>> has worked fine.
>>
> as I mentioned in my first posting from this year I have added CDATA
> comments, that cover this problem and should enable the solution you need.
> 
> http://lists.netfielders.de/pipermail/typo3-team-extension-coordination/2007-January/001151.html
> http://svn.t3.digitaldistrict.de/cgi-bin/trac.cgi/changeset/6208
> 
> Doesn't it work with this?

This still does not work with MS Internet Explorer 6. The problem of not
passed no_cache=1 parameter remains.

- Franz

---------------------


<script type="text/javascript">
/*<![CDATA[*/
var
xajaxRequestUri="http://thehomepage.com/index.php?id=1395&amp;no_cache=1";
var xajaxDebug=false;
var xajaxStatusMessages=true;
var xajaxWaitCursor=true;
var xajaxDefinedGet=0;
var xajaxDefinedPost=1;
var xajaxLoaded=false;
function shoppingguide_showList(){return
xajax.call("myextension_showList", arguments, 1);}
/*]]>*/
	</script>


More information about the TYPO3-team-extension-coordination mailing list