[Zope-CMF] portal_workflow.getInfoFor

Jason Wehmhoener webmaster@saturn.deanza.fhda.edu
Sun, 29 Apr 2001 21:30:34 -0700


I would have thought that this code would display the title and the status
of each item in a folder, but for some reason the status never gets printed.

Any idea what I'm doing wrong?

<dtml-in expr="contentValues(filter=decodeFolderFilter(
         REQUEST.get('folderfilter', '')))"
         sort="id" size="19" start=qs skip_unauthorized>
  <dtml-let obj="_.getitem('sequence-item', 0 )"
            objState="portal_workflow.getInfoFor(obj, 'objState', '')">
    <dtml-var title><br>
    Status: <dtml-var objState><br>
  </dtml-let>
</dtml-in>

Thanks,
Jason