AnsweredAssumed Answered

Tabbed PropertySheet component

Question asked by dhalupa on Jul 31, 2007
Latest reply on Mar 4, 2010 by billerby
Hi there,

I would like to inform you that there is an extension of PropertySheetControl which enables PropertySheetItems to be renedered in tabs available. The layout itself is configurable through config file. For example, to acheive that cm:content type properties are shown in two distinct tabs you would put the following snippet to your web-client-config-custom file
<config evaluator="node-type" condition="content">
      <tab-panels>
         <!– tab-panel element also supports attributes label-id and description-id which
            should contain localized messages keys –>
         <tab-panel id="tab1" label="Test tab1" description="Test tab1">
            <!– name attribute should match property or association name of property-sheet component which is matched by enclosing evaluator –>
            <property name="name" />
            <property name="mimetype" />
            <property name="encoding" />
         </tab-panel>
         <tab-panel id="tab2" label="Test tab2" description="Test tab2">
            <property name="title" />
            <property name="description" />
            <property name="author" />
            <property name="size" />
         </tab-panel>
      </tab-panels>
   </config>
The extension, amp file and small installation guide are hosted on AlfrescoForge ( http://forge.alfresco.com/projects/tabbedpropsheet/ ). Hope that it will be usefull, and any suggestions and help is more than welcome

Kind regards,

Denis

Outcomes