Wednesday, December 16, 2015

PropertyDescriptor to Concatenate properties (ATG Oracle Commerce)

We have faced with a scenario where a property needed to contain it's value and also have concatenated other value.
There are not property descriptors to Concatenate Items, So I have created one, that works as follows:

It will concatenate n values that will be set as attribute tags as property, and will separate them by parameter called
separator.

An example for a property using this PropertyDescriptor is described below:
this means that it will use the value from the current property.

The class to make this happen is this:

I hope you find this useful for your project.
Post a Comment