[daisy] [JIRA] Commented: (DSY-455) allow to define 'available document-types' in the siteconf

Reinhard Poetz (JIRA) issues at cocoondev.org
Thu Apr 19 06:52:20 CDT 2007


    [ http://issues.cocoondev.org//browse/DSY-455?page=comments#action_13129 ] 

Reinhard Poetz commented on DSY-455:
------------------------------------

It would be great if wildcard expressions were supported:

<documentType>XYZProject*</documentType> 

Since I prefix all my project specific document types with a unique name, it would make it easier for me to maintain the availableDocumentTypes list.

> allow to define 'available document-types' in the siteconf
> ----------------------------------------------------------
>
>          Key: DSY-455
>          URL: http://issues.cocoondev.org//browse/DSY-455
>      Project: Daisy
>         Type: New Feature
>     Reporter: Marc Portier
>     Priority: Minor

>
> Currently the siteconf.xml [1] allows to specify the default document-type:
>     <defaultDocumentType>SimpleDocument</defaultDocumentType>
> this puts the most-likely to be created document for that site on top of the list.
> In more general terms however the repository might contain a whole lot of document-types that really should be totally hidden from the list of available document-types within the context of a certain site.
> For this filtering to occur, I would suggest to define the complete list of available document-types in the siteconf.xml file.
> Something like
>   <availableDocumentTypes>
>     <documentType>OneType</documentType>
>     <documentType>AnotherType</documentType>
>     <documentType>AFinalType</documentType>
>   </availableDocumentTypes>
> This should define the ordered list as is, to be presented when users take the menu option 'new document'
> [1] http://cocoondev.org/daisydocs-2_0/374-cd/23-cd.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list