3 Replies Latest reply: Feb 13, 2013 11:24 AM by Obed Murillo RSS

    How to combine two String repository properties into one

    Obed Murillo
      Hi All,

      Does any of you know a way to combine two repository properties into one, something like this (this is just pseudocode that does not works)?

      <property name="firstName"..../>
      <property name="lastName"..../>
      <property name="nameToDisplay">
      <attribute name="propertiesToCombine" value="firstName,lastName"/>
      </property>

      I found this:

      <property name="siblings">
      <derivation method="union">
      <expression>brothers</expression>
      <expression>sisters</expression>
      </derivation>
      </property>

      at http://docs.oracle.com/cd/E26180_01/Platform.94/RepositoryGuide/html/s0612derivationmethods01.html#s0612union01 but just works with list not with Strings :(

      I want to accomplish this without extending GSAPropertyDescriptor

      I want to do this because the display Name of an item descriptor that I have needs to have the combination of properties that I already have.

      Regards,
      Obed

      Edited by: obedmhg on Feb 11, 2013 10:39 AM