18 lines
678 B
XML
18 lines
678 B
XML
<tal:main define="tool context/getParentNode">
|
|
<html metal:use-macro="context/skyn/template/macros/main">
|
|
<metal:fill fill-slot="content"
|
|
tal:define="contentType request/type_name;
|
|
searchName request/search|python:''">
|
|
|
|
<div metal:use-macro="here/skyn/page/macros/prologue"/>
|
|
<tal:comment replace="nothing">Query result</tal:comment>
|
|
<div id="queryResult"></div>
|
|
|
|
<script type="text/javascript"
|
|
tal:define="ajaxUrl python: tool.getQueryUrl(contentType, searchName)"
|
|
tal:content="python: 'askQueryResult(\'queryResult\', \'%s\',\'%s\',\'%s\',0)' % (tool.absolute_url(), contentType, searchName)">
|
|
</script>
|
|
</metal:fill>
|
|
</html>
|
|
</tal:main>
|