cancel
Showing results for 
Search instead for 
Did you mean: 

one to one association.

joksy
Champ in-the-making
Champ in-the-making
Today it will came in my mind an idea, or better a need.

I have a two custom type says:


      <type name="my:typeA">
         <title>A</title>
         <parent>cm:content</parent>
         <properties>
            <property name="my:prop1">
               <type>d:text</type>
            </property>
         </properties>

         <associations>
            <association name="my:toTypeB">
               <target>
                  <class>my:TypeB</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </association>
         </associations>
      </type>

      <type name="my:typeB">
         <title>B</title>
         <parent>cm:content</parent>
         <properties>
            <property name="my:Bprop">
               <type>d:text</type>
            </property>
         </properties>
      </type>

An After creating Type A I associate to it a type B.
Now from the view point of the Object A i see in the details that is associate with Object B.

But I i need that also in the details of Object B is possible to know that b is associate with an Object A. is that possible??

How do i can for achieve this goal???

Thanks Best Regards.
1 REPLY 1