Map<String, List<String>> navCaseParams = navCase.getParameters(); if (navCaseParams != null && !navCaseParams.isEmpty()) { if (params == null) {
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
protected void addNavigationParams(final NavigationCase navCase, final Map<String, List<String>> existingParams) { Map<String, List<String>> navParams = navCase.getParameters(); if (navParams == null || navParams.isEmpty()) { return; } for (Map.Entry<String, List<String>> entry : navParams.entrySet()) { String navParamName = entry.getKey(); // only add the navigation params to the existing params collection // if the parameter name isn't already present within the existing // collection if (!existingParams.containsKey(navParamName)) { existingParams.put(navParamName, entry.getValue()); } } }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
@Override public Map<String, List<String>> getParameters() { return getWrapped().getParameters(); }
public URL getRedirectURL(FacesContext context) throws MalformedURLException { ExternalContext externalContext = context.getExternalContext(); return new URL(externalContext.getRequestScheme(), externalContext.getRequestServerName(), externalContext.getRequestServerPort(), context.getApplication().getViewHandler().getRedirectURL(context, getToViewId(context), _NavigationUtils.getEvaluatedNavigationParameters(context, getParameters()), isIncludeViewParams())); }
public URL getBookmarkableURL(FacesContext context) throws MalformedURLException { ExternalContext externalContext = context.getExternalContext(); return new URL(externalContext.getRequestScheme(), externalContext.getRequestServerName(), externalContext.getRequestServerPort(), context.getApplication().getViewHandler().getBookmarkableURL(context, getToViewId(context), _NavigationUtils.getEvaluatedNavigationParameters(context, getParameters()), isIncludeViewParams())); }
/** * <p class="changed_added_2_0">Construct an absolute URL suitable for a * bookmarkable link to this <code>NavigationCase</code> instance using {@link * javax.faces.application.ViewHandler#getBookmarkableURL} on the path * portion of the url. This URL may include view parameters specified * as metadata within the view.</p> * * @param context the {@link FacesContext} for the current request * @return the bookmarkable URL. * @throws MalformedURLException if the process of constructing the * URL causes this exception to be thrown. */ public URL getBookmarkableURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL(extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getBookmarkableURL(context, getToViewId(context), getParameters(), isIncludeViewParams())); }
/** * <p class="changed_added_2_0">Construct an absolute URL suitable for a * bookmarkable link to this <code>NavigationCase</code> instance using {@link * javax.faces.application.ViewHandler#getBookmarkableURL} on the path * portion of the url. This URL may include view parameters specified * as metadata within the view.</p> * * @param context the {@link FacesContext} for the current request * * @throws MalformedURLException if the process of constructing the * URL causes this exception to be thrown. */ public URL getBookmarkableURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL(extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getBookmarkableURL(context, getToViewId(context), getParameters(), isIncludeViewParams())); }
/** * <p class="changed_added_2_0"> * Construct an absolute URL suitable for a bookmarkable link to this * <code>NavigationCase</code> instance using * {@link javax.faces.application.ViewHandler#getBookmarkableURL} on the path portion of the * url. This URL may include view parameters specified as metadata within the view. * </p> * * @param context the {@link FacesContext} for the current request * @return the bookmarkable URL. * @throws MalformedURLException if the process of constructing the URL causes this exception to * be thrown. */ public URL getBookmarkableURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL( extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getBookmarkableURL( context, getToViewId(context), getParameters(), isIncludeViewParams())); }
/** * <p class="changed_added_2_0">Construct an absolute URL suitable for a * "redirect" to this <code>NavigationCase</code> instance using {@link * javax.faces.application.ViewHandler#getRedirectURL} on the path * portion of the url.</p> * * @param context the {@link FacesContext} for the current request * * @throws MalformedURLException if the process of constructing the * URL causes this exception to be thrown. */ public URL getRedirectURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL(extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getRedirectURL(context, getToViewId(context), SharedUtils.evaluateExpressions(context, getParameters()), isIncludeViewParams())); }
/** * <p class="changed_added_2_0">Construct an absolute URL suitable for a * "redirect" to this <code>NavigationCase</code> instance using {@link * javax.faces.application.ViewHandler#getRedirectURL} on the path * portion of the url.</p> * * @param context the {@link FacesContext} for the current request * @return the redirect URL. * @throws MalformedURLException if the process of constructing the * URL causes this exception to be thrown. */ public URL getRedirectURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL(extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getRedirectURL(context, getToViewId(context), SharedUtils.evaluateExpressions(context, getParameters()), isIncludeViewParams())); }
/** * <p class="changed_added_2_0"> * Construct an absolute URL suitable for a "redirect" to this <code>NavigationCase</code> * instance using {@link javax.faces.application.ViewHandler#getRedirectURL} on the path portion * of the url. * </p> * * @param context the {@link FacesContext} for the current request * @return the redirect URL. * @throws MalformedURLException if the process of constructing the URL causes this exception to * be thrown. */ public URL getRedirectURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL( extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getRedirectURL( context, getToViewId(context), evaluateExpressions(context, getParameters()), isIncludeViewParams())); }
/** * <p class="changed_added_2_0">Construct an absolute URL suitable for a * "redirect" to this <code>NavigationCase</code> instance using {@link * javax.faces.application.ViewHandler#getRedirectURL} on the path * portion of the url.</p> * * @param context the {@link FacesContext} for the current request * @return the redirect URL. * @throws MalformedURLException if the process of constructing the * URL causes this exception to be thrown. */ public URL getRedirectURL(FacesContext context) throws MalformedURLException { ExternalContext extContext = context.getExternalContext(); return new URL(extContext.getRequestScheme(), extContext.getRequestServerName(), extContext.getRequestServerPort(), context.getApplication().getViewHandler().getRedirectURL(context, getToViewId(context), SharedUtils.evaluateExpressions(context, getParameters()), isIncludeViewParams())); }