Reply To: Ignore JSF resources

Splash Forums Rewrite Users Ignore JSF resources Reply To: Ignore JSF resources

#26280

You could also try to create a custom contraint for the parameter. This way you can write some custom code that checks whether the parameter has the “correct” format. Something like:

.where( "param1" ).constrainedBy( new Constraint<String>() {
  @Override
  public boolean isSatisfiedBy( Rewrite event, EvaluationContext context, String value ) {
    return !value.contains( "javax.faces" );
  }
} )