/**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @exception JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    Boolean bool = null;
    String string = null;

    if ((bool = EvalHelper.evalBoolean("lang", getLangExpr(), this, pageContext)) != null)
      setLang(bool.booleanValue());

    if ((bool = EvalHelper.evalBoolean("locale", getLocaleExpr(), this, pageContext)) != null)
      setLocale(bool.booleanValue());

    if ((bool = EvalHelper.evalBoolean("xhtml", getXhtmlExpr(), this, pageContext)) != null)
      setXhtml(bool.booleanValue());
  }
示例#2
0
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @throws JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;

    if ((string = EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null) {
      setName(string);
    }
  }
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @exception JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;
    Object object = null;

    if ((object = EvalHelper.eval("collection", getCollectionExpr(), this, pageContext)) != null)
      setCollection(object);

    if ((string = EvalHelper.evalString("id", getIdExpr(), this, pageContext)) != null)
      setId(string);

    if ((string = EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null)
      setName(string);

    if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext)) != null)
      setProperty(string);

    if ((string = EvalHelper.evalString("scope", getScopeExpr(), this, pageContext)) != null)
      setScope(string);
  }
示例#4
0
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @throws JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;
    Boolean bool = null;

    if ((string = EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null) {
      setName(string);
    }

    if ((bool = EvalHelper.evalBoolean("ignore", getIgnoreExpr(), this, pageContext)) != null) {
      setIgnore(bool.booleanValue());
    }

    if ((string = EvalHelper.evalString("flush", getFlushExpr(), this, pageContext)) != null) {
      setFlush(string);
    }

    if ((string = EvalHelper.evalString("role", getRoleExpr(), this, pageContext)) != null) {
      setRole(string);
    }
  }
示例#5
0
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @throws JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;

    if ((string = EvalHelper.evalString("arg0", getArg0Expr(), this, pageContext)) != null) {
      setArg0(string);
    }

    if ((string = EvalHelper.evalString("arg1", getArg1Expr(), this, pageContext)) != null) {
      setArg1(string);
    }

    if ((string = EvalHelper.evalString("arg2", getArg2Expr(), this, pageContext)) != null) {
      setArg2(string);
    }

    if ((string = EvalHelper.evalString("arg3", getArg3Expr(), this, pageContext)) != null) {
      setArg3(string);
    }

    if ((string = EvalHelper.evalString("arg4", getArg4Expr(), this, pageContext)) != null) {
      setArg4(string);
    }

    if ((string = EvalHelper.evalString("bundle", getBundleExpr(), this, pageContext)) != null) {
      setBundle(string);
    }

    if ((string = EvalHelper.evalString("key", getKeyExpr(), this, pageContext)) != null) {
      setKey(string);
    }

    if ((string = EvalHelper.evalString("locale", getLocaleExpr(), this, pageContext)) != null) {
      setLocale(string);
    }

    if ((string = EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null) {
      setName(string);
    }

    if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext))
        != null) {
      setProperty(string);
    }

    if ((string = EvalHelper.evalString("scope", getScopeExpr(), this, pageContext)) != null) {
      setScope(string);
    }
  }
示例#6
0
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @throws JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;
    Boolean bool = null;

    if ((string = EvalHelper.evalString("action", getActionExpr(), this, pageContext)) != null) {
      setAction(string);
    }

    if ((string = EvalHelper.evalString("module", getModuleExpr(), this, pageContext)) != null) {
      setModule(string);
    }

    if ((string = EvalHelper.evalString("anchor", getAnchorExpr(), this, pageContext)) != null) {
      setAnchor(string);
    }

    if ((string = EvalHelper.evalString("forward", getForwardExpr(), this, pageContext)) != null) {
      setForward(string);
    }

    if ((string = EvalHelper.evalString("href", getHrefExpr(), this, pageContext)) != null) {
      setHref(string);
    }

    if ((string = EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null) {
      setName(string);
    }

    if ((string = EvalHelper.evalString("page", getPageExpr(), this, pageContext)) != null) {
      setPage(string);
    }

    if ((string = EvalHelper.evalString("paramId", getParamIdExpr(), this, pageContext)) != null) {
      setParamId(string);
    }

    if ((string = EvalHelper.evalString("paramName", getParamNameExpr(), this, pageContext))
        != null) {
      setParamName(string);
    }

    if ((string = EvalHelper.evalString("paramProperty", getParamPropertyExpr(), this, pageContext))
        != null) {
      setParamProperty(string);
    }

    if ((string = EvalHelper.evalString("paramScope", getParamScopeExpr(), this, pageContext))
        != null) {
      setParamScope(string);
    }

    if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext))
        != null) {
      setProperty(string);
    }

    if ((string = EvalHelper.evalString("scope", getScopeExpr(), this, pageContext)) != null) {
      setScope(string);
    }

    if ((bool = EvalHelper.evalBoolean("transaction", getTransactionExpr(), this, pageContext))
        != null) {
      setTransaction(bool.booleanValue());
    }

    if ((bool =
            EvalHelper.evalBoolean(
                "useLocalEncoding", getUseLocalEncodingExpr(), this, pageContext))
        != null) {
      setUseLocalEncoding(bool.booleanValue());
    }
  }
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @exception JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;
    Integer integer = null;
    Boolean bool = null;

    if ((string = EvalHelper.evalString("action", getActionExpr(), this, pageContext)) != null)
      setAction(string);

    if ((string = EvalHelper.evalString("module", getModuleExpr(), this, pageContext)) != null)
      setModule(string);

    if ((string = EvalHelper.evalString("anchor", getAnchorExpr(), this, pageContext)) != null)
      setAnchor(string);

    if ((string = EvalHelper.evalString("bundle", getBundleExpr(), this, pageContext)) != null)
      setBundle(string);

    if ((string = EvalHelper.evalString("forward", getForwardExpr(), this, pageContext)) != null)
      setForward(string);

    if ((string = EvalHelper.evalString("frameborder", getFrameborderExpr(), this, pageContext))
        != null) setFrameborder(string);

    if ((string = EvalHelper.evalString("frameName", getFrameNameExpr(), this, pageContext))
        != null) setFrameName(string);

    if ((string = EvalHelper.evalString("href", getHrefExpr(), this, pageContext)) != null)
      setHref(string);

    if ((string = EvalHelper.evalString("longdesc", getLongdescExpr(), this, pageContext)) != null)
      setLongdesc(string);

    if ((integer = EvalHelper.evalInteger("marginheight", getMarginheightExpr(), this, pageContext))
        != null) setMarginheight(integer);

    if ((integer = EvalHelper.evalInteger("marginwidth", getMarginwidthExpr(), this, pageContext))
        != null) setMarginwidth(integer);

    if ((string = EvalHelper.evalString("name", getNameExpr(), this, pageContext)) != null)
      setName(string);

    if ((bool = EvalHelper.evalBoolean("noresize", getNoresizeExpr(), this, pageContext)) != null)
      setNoresize(bool.booleanValue());

    if ((string = EvalHelper.evalString("page", getPageExpr(), this, pageContext)) != null)
      setPage(string);

    if ((string = EvalHelper.evalString("paramId", getParamIdExpr(), this, pageContext)) != null)
      setParamId(string);

    if ((string = EvalHelper.evalString("paramName", getParamNameExpr(), this, pageContext))
        != null) setParamName(string);

    if ((string = EvalHelper.evalString("paramProperty", getParamPropertyExpr(), this, pageContext))
        != null) setParamProperty(string);

    if ((string = EvalHelper.evalString("paramScope", getParamScopeExpr(), this, pageContext))
        != null) setParamScope(string);

    if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext)) != null)
      setProperty(string);

    if ((string = EvalHelper.evalString("scope", getScopeExpr(), this, pageContext)) != null)
      setScope(string);

    if ((string = EvalHelper.evalString("scrolling", getScrollingExpr(), this, pageContext))
        != null) setScrolling(string);

    if ((string = EvalHelper.evalString("style", getStyleExpr(), this, pageContext)) != null)
      setStyle(string);

    if ((string = EvalHelper.evalString("styleClass", getStyleClassExpr(), this, pageContext))
        != null) setStyleClass(string);

    if ((string = EvalHelper.evalString("styleId", getStyleIdExpr(), this, pageContext)) != null)
      setStyleId(string);

    if ((string = EvalHelper.evalString("title", getTitleExpr(), this, pageContext)) != null)
      setTitle(string);

    if ((string = EvalHelper.evalString("titleKey", getTitleKeyExpr(), this, pageContext)) != null)
      setTitleKey(string);

    if ((bool = EvalHelper.evalBoolean("transaction", getTransactionExpr(), this, pageContext))
        != null) setTransaction(bool.booleanValue());
  }
示例#8
0
  /**
   * Processes all attribute values which use the JSTL expression evaluation engine to determine
   * their values.
   *
   * @throws JspException if a JSP exception has occurred
   */
  private void evaluateExpressions() throws JspException {
    String string = null;
    Boolean bool = null;

    if ((string = EvalHelper.evalString("accessKey", getAccesskeyExpr(), this, pageContext))
        != null) {
      setAccesskey(string);
    }

    if ((string = EvalHelper.evalString("alt", getAltExpr(), this, pageContext)) != null) {
      setAlt(string);
    }

    if ((string = EvalHelper.evalString("altKey", getAltKeyExpr(), this, pageContext)) != null) {
      setAltKey(string);
    }

    if ((string = EvalHelper.evalString("bundle", getBundleExpr(), this, pageContext)) != null) {
      setBundle(string);
    }

    if ((string = EvalHelper.evalString("dir", getDirExpr(), this, pageContext)) != null) {
      setDir(string);
    }

    if ((bool = EvalHelper.evalBoolean("disabled", getDisabledExpr(), this, pageContext)) != null) {
      setDisabled(bool.booleanValue());
    }

    if ((string = EvalHelper.evalString("lang", getLangExpr(), this, pageContext)) != null) {
      setLang(string);
    }

    if ((bool = EvalHelper.evalBoolean("indexed", getIndexedExpr(), this, pageContext)) != null) {
      setIndexed(bool.booleanValue());
    }

    if ((string = EvalHelper.evalString("onblur", getOnblurExpr(), this, pageContext)) != null) {
      setOnblur(string);
    }

    if ((string = EvalHelper.evalString("onchange", getOnchangeExpr(), this, pageContext))
        != null) {
      setOnchange(string);
    }

    if ((string = EvalHelper.evalString("onclick", getOnclickExpr(), this, pageContext)) != null) {
      setOnclick(string);
    }

    if ((string = EvalHelper.evalString("ondblclick", getOndblclickExpr(), this, pageContext))
        != null) {
      setOndblclick(string);
    }

    if ((string = EvalHelper.evalString("onfocus", getOnfocusExpr(), this, pageContext)) != null) {
      setOnfocus(string);
    }

    if ((string = EvalHelper.evalString("onkeydown", getOnkeydownExpr(), this, pageContext))
        != null) {
      setOnkeydown(string);
    }

    if ((string = EvalHelper.evalString("onkeypress", getOnkeypressExpr(), this, pageContext))
        != null) {
      setOnkeypress(string);
    }

    if ((string = EvalHelper.evalString("onkeyup", getOnkeyupExpr(), this, pageContext)) != null) {
      setOnkeyup(string);
    }

    if ((string = EvalHelper.evalString("onmousedown", getOnmousedownExpr(), this, pageContext))
        != null) {
      setOnmousedown(string);
    }

    if ((string = EvalHelper.evalString("onmousemove", getOnmousemoveExpr(), this, pageContext))
        != null) {
      setOnmousemove(string);
    }

    if ((string = EvalHelper.evalString("onmouseout", getOnmouseoutExpr(), this, pageContext))
        != null) {
      setOnmouseout(string);
    }

    if ((string = EvalHelper.evalString("onmouseover", getOnmouseoverExpr(), this, pageContext))
        != null) {
      setOnmouseover(string);
    }

    if ((string = EvalHelper.evalString("onmouseup", getOnmouseupExpr(), this, pageContext))
        != null) {
      setOnmouseup(string);
    }

    if ((string = EvalHelper.evalString("property", getPropertyExpr(), this, pageContext))
        != null) {
      setProperty(string);
    }

    if ((string = EvalHelper.evalString("style", getStyleExpr(), this, pageContext)) != null) {
      setStyle(string);
    }

    if ((string = EvalHelper.evalString("styleClass", getStyleClassExpr(), this, pageContext))
        != null) {
      setStyleClass(string);
    }

    if ((string = EvalHelper.evalString("styleId", getStyleIdExpr(), this, pageContext)) != null) {
      setStyleId(string);
    }

    if ((string = EvalHelper.evalString("tabindex", getTabindexExpr(), this, pageContext))
        != null) {
      setTabindex(string);
    }

    if ((string = EvalHelper.evalString("title", getTitleExpr(), this, pageContext)) != null) {
      setTitle(string);
    }

    if ((string = EvalHelper.evalString("titleKey", getTitleKeyExpr(), this, pageContext))
        != null) {
      setTitleKey(string);
    }

    if ((string = EvalHelper.evalString("value", getValueExpr(), this, pageContext)) != null) {
      setValue(string);
    }
  }