public static Map < String , List < String > > getEvaluatedNavigationParameters ( FacesContext facesContext , Map < String , List < String > > parameters ) { Map < String , List < String > > evaluatedParameters = null ; if ( parameters != null && parameters . size ( ) > 0 ) { evaluatedParameters = new HashMap < String , List < String > > ( ) ; for ( Map . Entry < String , List < String > > pair : parameters . entrySet ( ) ) { boolean containsEL = false ; for ( String value : pair . getValue ( ) ) { if ( _isExpression ( value ) ) { containsEL = true ; break ; } } if ( containsEL ) { evaluatedParameters . put ( pair . getKey ( ) , _evaluateValueExpressions ( facesContext , pair . getValue ( ) ) ) ; } else { evaluatedParameters . put ( pair . getKey ( ) , pair . getValue ( ) ) ; } } } else { evaluatedParameters = parameters ; } return evaluatedParameters ; }
Evaluate all EL expressions found as parameters and return a map that can be used for redirect or render bookmark links