| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Sergey M. 18.04.2007 19:45
как минимум нужно сделать что-то вроде такого:#################################################################
@auto[][tField]
$tDecode[^self._getDecodeTable[]]
$tField[^request:query.match[^^(.*)(?:&|^^)JsHttpRequest=(?:(\d+)-)?([^^&]+)((?:&|^$).*)^$]]
$sId[$tField.2]
$sLoader[$tField.3]
$hData[
$.script[
$.ctype[text/javascript]
$.prefix[JsHttpRequest.dataReady^(]
$.postfix[^)]
]
$.xml[
$.ctype[text/plain]
$.prefix[]
$.postfix[]
]
$.form[
$.ctype[text/html]
$.prefix[<script type="text/javascript" language="JavaScript"><!--
top && top.JsHttpRequestGlobal && top.JsHttpRequestGlobal.dataReady^(
]
$.postfix[^)//--></script>]
]
$._default[
$.ctype[text/plain]
$.prefix[]
$.postfix[]
]
]
#end @auto[]
#################################################################
@printResponse[sText;uVar]
$result[$hData.$sLoader.prefix
{
'id':'$sId',
'js':^self._object2js[$uVar],
'text':'^taint[js][$sText]'
}
$hData.$sLoader.postfix
]
#end @printResponse[]