post select validation is not getting called on click of custom action menu
I have created a customized menu using custom action. onclick of this action i want to perform some UI validation so for that i have created a validation service and implementing post select validation in java class. i have made an entry to register action into service.properties and service.properties.xconf as below
in service.propties i have added
wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/twx_custom_mashup/null/0=ext.example.rest.validator.MyValidator/duplicate
service.properties.xconf change:
<Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator">
<Option serviceClass="ext.example.rest.validator.MyValidator"
selector="twx_custom_mashup"
requestor="null"
cardinality="duplicate" />
</Service>
suggest me if i am doing anything wrong. if its ok its not making a call to validation service. appreciate any help on it in advance.
Thanks

