Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save obedmhg/04f71532861636c58d59e096caa1591a to your computer and use it in GitHub Desktop.
Save obedmhg/04f71532861636c58d59e096caa1591a to your computer and use it in GitHub Desktop.
CocaenateValuesPropertyDescriptor in action
<property name="pName" data-type="string" property-type="com.common.propertydescriptor.CocaenateValuesPropertyDescriptor">
<attribute name="separator" value=" - " />
<attribute name="properties" value="displayName,colorName,colorCode" />
</property>
<!-- If property sent in properties does not exist it will be concatenated as string, meaning that separator can be sent as property as
follows:
-->
<attribute name="properties" value="this, ,color, ,[,colorCode,], ,size,,[,sizeCode,]"/>
<!-- Or chars to group data as follows: -->
<attribute name="properties" value="this,color,[,colorCode,],size,[,sizeCode,]"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment