|
From: Mikel L. <lar...@ei...> - 2004-05-27 11:38:16
|
> Hello everybody
> I want to display my OF process contained in a folder named "Processus" which contains
> folders.
> I know that in each of those folders i have an openflow object with its process and
> instances.
> i want to do this with a <dtml-tree tag.
> And after that to display the OpenFlowEditor graph corresponding to each process just by
> cliking in a process.
> thank u for help
You can try with a Page Template like this in your Processes Folder:
<tal:block repeat="folder python:here.superValues('Folder')">
<tal:block repeat="of python:folder.objectValues('OpenFlow')">
<a tal:attributes="href of/absolute_url"
tal:content="of/id">Workflow name</a>
<ul tal:repeat="pr python:of.objectValues('Process')">
<li><a tal:attributes="href pr/absolute_url"
tal:content="pr/id">Process ID</a></li>
</ul>
<hr/>
</tal:block>
</tal:block>
Mikel
|