[CMF-checkins] CVS: CMF/CMFCore/dtml - registryPredList.dtml:1.3
Florent Guillaume
fg@nuxeo.com
Sat, 29 Jun 2002 14:18:10 -0400
Update of /cvs-repository/CMF/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv6543/CMFCore/dtml
Modified Files:
registryPredList.dtml
Log Message:
Made content_type_registry deal correctly with TypeInfos that have a
title (Tracker #465).
=== CMF/CMFCore/dtml/registryPredList.dtml 1.2 => 1.3 ===
<dtml-with portal_types>
<select name="typeObjectName">
- <dtml-in listContentTypes>
+ <dtml-in allowedContentTypes>
<dtml-let item=sequence-item
- sel="item == typName and 'selected' or ''"
+ sel="item.getId() == typName and 'selected' or ''"
>
- <option &dtml-sel;> &dtml-sequence-item; </option>
+ <option value="&dtml-getId;" &dtml-sel;> &dtml-Type; </option>
</dtml-let>
</dtml-in>
</select>