some experiments mit AJAX (dojo)

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1275 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2006-07-28 11:24:25 +00:00
parent 04fa445e54
commit 3d472a943d
3 changed files with 12 additions and 6 deletions

View file

@ -8,10 +8,12 @@
src="node.js"
tal:attributes="src string:${context/++resource++node.js}">
</script>
<metal:use use-macro="views/ajax.dojo/main"
tal:condition="nothing" />
</metal:js>
</head>
<body>
<div metal:fill-slot="body">
<div metal:define-macro="body">
@ -26,7 +28,7 @@
</tal:control>
<div metal:define-macro="formbody">
<h3 tal:condition="view/label"
metal:define-slot="heading">
<span tal:content="view/label"
@ -35,7 +37,7 @@
<p tal:define="status view/update"
tal:condition="status"
tal:content="status"
tal:content="status"
i18n:translate=""/>
<p tal:condition="view/errors" i18n:translate="">

View file

@ -3,6 +3,8 @@
i18n:domain="zope">
<head></head>
<body>
<div metal:fill-slot="body"
tal:define="target view/target">
@ -22,7 +24,7 @@
</tal:xedit>
</tal:target>
</div>
<div style="padding-right:20px">
<metal:create use-macro="views/target_macros/create" />
</div>
@ -40,8 +42,10 @@
</metal:search>
</metal:assign>
</div>
</div>
</body>
</html>

View file

@ -92,7 +92,7 @@
<span i18n:translate="">Title</span>
<input name="create.title" size="30"
tal:attributes="value nothing" />&nbsp;
<span i18n:translate="">Type</span>
<span>Type</span>
<select name="create.type">
<tal:types repeat="type view/targetTypes">
<option value=".loops/concepts/topic"