Hello friends
Need to set a RequiredFieldMandatory for Docbase Custom Attribute
For Few Attributes we set it in Artifacts , but for 2 attributes a and b ,we need to set a Mandatory Field to specific Group
Other group should not see the mandatory field, We need to customize the Properties Component
I was tried in this way, but its not working properly..
"a" is the custom attribute
DocbaseAttribute da=(DocbaseAttribute)getControl("a", DocbaseAttribute.class);
RequiredFieldValidator req=new RequiredFieldValidator(); req.setControlToValidate(da);
req.setErrorMessage(
req.setIndicator(" * ");
req.setVisible(true);
Pl give a idea how to Customize this
Regards
Mani
"Mandatory");