-<page xmlns:ft="http://apache.org/cocoon/forms/1.0#template" xmlns:fi="http://apache.org/cocoon/forms/1.0#instance" xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
<title xmlns:bu="http://apache.org/cocoon/browser-update/1.0">Task list editor</title>
<style type="text/css"> /* The actions buttons, placed on the right */ .actions { float: right; padding-top: 0.2em; } /* A "section" contains a task, related actions and subtasks */ div.section { padding-top: 0.4em; padding-bottom: 0.4em; padding-left: 0.4em; border: 1px dotted black; margin-top: 0.4em; margin-bottom: -1px; } /* Indent sub-sections (recursively) */ div.section div.section { margin-left: 3em; border-right: none; } /* Change bg color depending on nesting depth */ div.section div.section { background-color: #F0F0F0; } div.section div.section div.section { background-color: #E0E0E0; } div.section div.section div.section div.section { background-color: #D0D0D0; } div.section div.section div.section div.section div.section { background-color: #C0C0C0; } </style>
-<content>
-<fi:form-template ajax="true" action="673928320b2872497e5c1b884d302a4a2e0d0746.continue" method="POST">
Project name:
-<bu:replace id="name">
-<fi:field id="name" state="active" required="true">
<fi:datatype type="string"/>
</fi:field>
</bu:replace>
<br/>
-<bu:replace id="tasks">
<div> </div>
</bu:replace>
-<bu:replace id="addsub">
-<fi:action id="addsub" state="active">
<fi:hint>Creates a task subtree</fi:hint>
<fi:label>Add subtasks</fi:label>
<fi:styling type="link"/>
</fi:action>
</bu:replace>
<br/>
-<bu:replace id="ok">
-<fi:action id="ok" state="active">
<fi:label>OK</fi:label>
</fi:action>
</bu:replace>
<br/>
<a href="do-taskTree.flow">Restart this sample</a>
-
<a href="./">Back to samples</a>
</fi:form-template>
</content>
</page>