/** * Get the value of the checkbox of the request parameter with the given name. * * @param sFieldName * Request parameter name. May be <code>null</code>. * @param bDefaultValue * the default value to be returned, if no request attribute is present * @return <code>true</code> if the checkbox is checked, <code>false</code> if * it is not checked and the default value otherwise. */ default boolean isCheckBoxChecked (@Nullable final String sFieldName, final boolean bDefaultValue) { if (StringHelper.hasText (sFieldName)) { // Is the checked value present? final String sRequestValue = getAsString (sFieldName); if (sRequestValue != null) return true; // Check if the hidden parameter for "checkbox is contained in the // request" is present? // If so it means the checkbox parameter is part of the request, but the // checkbox is not checked if (containsKey (RequestHelper.getCheckBoxHiddenFieldName (sFieldName))) return false; } // Neither nor - default! return bDefaultValue; }
if (!aRequestScope.params ().containsKey (sRequiredParam))
if (bAddedSpecialRequestParams && aParams.containsKey (sParamName)) continue;
if (aRequestScope.params ().containsKey (ForcedRedirectManager.REQUEST_PARAMETER_PRG_ACTIVE)) ret.addChild ((IHCNode) ForcedRedirectManager.getLastForcedRedirectContent (aDisplayPage.getID ()));
if (aWPEC.params ().containsKey (ForcedRedirectManager.REQUEST_PARAMETER_PRG_ACTIVE)) aPageContainer.addChild ((IHCNode) ForcedRedirectManager.getLastForcedRedirectContent (aDisplayPage.getID ()));
if (aWPEC.params ().containsKey (ForcedRedirectManager.REQUEST_PARAMETER_PRG_ACTIVE)) aPageContainer.addChild ((IHCNode) ForcedRedirectManager.getLastForcedRedirectContent (aDisplayPage.getID ()));