// find the first request parameter that matches one of
// our parameterNames, in order, and has a value
if (parameters!=null) {
// we first check for the special sling parameters
RequestParameter specialParam = parameters.getValue(SlingPostConstants.RP_NODE_NAME);
if ( specialParam != null ) {
if ( specialParam.getString() != null && specialParam.getString().length() > 0 ) {
valueToUse = specialParam.getString();
doFilter = false;
}
}
if ( valueToUse == null ) {
specialParam = parameters.getValue(SlingPostConstants.RP_NODE_NAME_HINT);
if ( specialParam != null ) {
if ( specialParam.getString() != null && specialParam.getString().length() > 0 ) {
valueToUse = specialParam.getString();
}
}
}
if (valueToUse == null) {