Changeset 30033

Show
Ignore:
Timestamp:
02/11/08 17:51:52 (10 months ago)
Author:
gracinet
Message:

Use of layouts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • org.nuxeo.project.sample/trunk/src/main/resources/META-INF/MANIFEST.MF

    r28037 r30033  
    1313 OSGI-INF/search-contrib.xml, 
    1414 OSGI-INF/ui-types-contrib.xml, 
     15 OSGI-INF/layouts-contrib.xml, 
    1516 OSGI-INF/lifecycle-contrib.xml, 
    1617 OSGI-INF/actions-contrib.xml, 
  • org.nuxeo.project.sample/trunk/src/main/resources/OSGI-INF/ui-types-contrib.xml

    r29873 r30033  
    99      <icon>/icons/book.png</icon> 
    1010      <default-view>view_documents</default-view> 
    11       <layout> 
    12  
    13         <widget jsfcomponent="h:inputText" schemaname="dublincore" 
    14           fieldname="title" required="true" /> 
    15  
    16         <widget jsfcomponent="h:inputTextarea" schemaname="dublincore" 
    17           fieldname="description" /> 
    18  
    19         <widget jsfcomponent="h:inputText" schemaname="book" 
    20           fieldname="isbn" /> 
    21  
    22         <widget jsfcomponent="t:inputFileUpload" schemaname="file" 
    23           fieldname="content" /> 
    24  
    25         <!-- 
    26         <widget jsfcomponent="nxdir:selectOneListbox" 
    27           schemaname="dublincore" fieldname="language" 
    28           directory="languages"/> 
    29  
    30         <widget jsfcomponent="nxdir:selectManyListbox" 
    31           schemaname="dublincore" fieldname="subjects" 
    32           directory="subjects"/> 
    33         --> 
    34  
    35       </layout> 
     11      <layouts mode="any"> 
     12        <layout>heading</layout> 
     13        <layout>book</layout> 
     14        <layout>file</layout> 
     15      </layouts> 
    3616    </type> 
    3717