cancel
Showing results for 
Search instead for 
Did you mean: 

WCMS restrict allowed/displayes types in wizard&editor during select/create Component

former_member1010236
Participant
0 Kudos

Hi,

given the following:

   <relation code="XContainer2X" localized="false" autocreate="true">
         <deployment table="tabc2tab" typecode="9999" />
         <sourceElement type="XContainer" cardinality="many" navigable="false"/>
         <targetElement type="X" qualifier="xx" cardinality="many" collectiontype="list" />
   </relation>

 <itemtype code="XContainer" generate="true" extends="SimpleCMSComponent"      autocreate="true"
                   jaloclass="net....XContainer">
 </itemtype>

 <itemtype code="X" extends="SimpleCMSComponent" jaloclass="net....X">
 </itemtype>

 <itemtype code="YContainer" generate="true" extends="XContainer" autocreate="true"
                   jaloclass="net......XContainer">
             <description>This is container used to group ycomponents.</description>
 </itemtype>

 <itemtype code="Y" generate="true" extends="X" autocreate="true"
                   jaloclass="net.....Y">
 </itemtype>

How can I avoid tha that Both Container (X,Y) can see both Childs.

ContainerX should only be able to select X-Components during "select/create" Wizard/Editor and ContainerY should only be able to select Y-Components during "select/create" Wizard/Editor

is there any line I should add in the wizardConfig_X.xml and/or editorArea_X.xml?

Greatings David

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

editorArea Config :

 <parameter>
     <name>restrictToCreateTypes</name>
     <value>putTypesHere</value>
 </parameter>

Answers (0)