cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

UIValidationStatus.ENABLE for Baseline

kmoreiradossant
1-Newbie

UIValidationStatus.ENABLE for Baseline

Hi all,

I am trying to enable the unlock and edit actions of a "baseline" through a expression robot on the workflow.


What happens is that when I perform the lock (of the baseline) with a user, just this user or the adminstrator can do the Unlock.

I know tha is a UI Validation because when I use the jcaDebugg tool I can see and use the unlock and edit actions menu.

The problem is that I am newbie with Java I would like a help with the code to be used on the expression robot.

I found the code bellow, but this do not validate on the expression robot.

public class SelectorValidator extends DefaultUIComponentValidator
{
@Override
public UIValidationResultSet performFullPreValidation (UIValidationKey validationKey,
UIValidationCriteria validationCriteria, Locale locale)
throws WTException {

UIValidationResultSet resultSet = new UIValidationResultSet();

UIValidationStatus status=UIValidationStatus.ENABLED;

UIValidationResult result=new UIValidationResultSet(validationkey,status);


resultSet.addResult(result);
return resultSet;

}
}

Please some one could help me with this?

0 REPLIES 0
Top Tags