Example usage for javax.el ValueExpression getValue

List of usage examples for javax.el ValueExpression getValue

Introduction

In this page you can find the example usage for javax.el ValueExpression getValue.

Prototype

public abstract Object getValue(ELContext context);

Source Link

Usage

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getDir() {
    if (dir != null) {
        return dir;
    }/*www .ja  v a  2s .co m*/
    ValueExpression vb = getValueExpression("dir");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getLang() {
    if (lang != null) {
        return lang;
    }//from   w  w w.  ja va 2 s.c o  m
    ValueExpression vb = getValueExpression("lang");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getStyle() {
    if (style != null) {
        return style;
    }/*w  w w.  ja v a 2  s .c  om*/
    ValueExpression vb = getValueExpression("style");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getTitle() {
    if (title != null) {
        return title;
    }/*from   www  .  j  a  va2s  . com*/
    ValueExpression vb = getValueExpression("title");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getAccept() {
    if (accept != null) {
        return accept;
    }/*from w ww  .  ja  va2s .co  m*/
    ValueExpression vb = getValueExpression("accept");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getTarget() {
    if (target != null) {
        return target;
    }/*from ww w .  ja  v  a 2  s  . c  om*/
    ValueExpression vb = getValueExpression("target");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getEnctype() {
    if (enctype != null) {
        return enctype;
    }/*w w  w .jav a 2s . c  o m*/
    ValueExpression vb = getValueExpression("enctype");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return "application/x-www-form-urlencoded";
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getOnreset() {
    if (onreset != null) {
        return onreset;
    }/*from  w  ww .  j  a  va 2s  .c  o  m*/
    ValueExpression vb = getValueExpression("onreset");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getOnclick() {
    if (onclick != null) {
        return onclick;
    }/*from  ww w .  j  a v a 2 s . c om*/
    ValueExpression vb = getValueExpression("onclick");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}

From source file:org.jbuilt.components.html.raw.base.AbstractCommandComponent.java

public String getOnkeyup() {
    if (onkeyup != null) {
        return onkeyup;
    }//from  w  ww  .  java2s.c o m
    ValueExpression vb = getValueExpression("onkeyup");
    if (vb != null) {
        return (String) vb.getValue(getFacesContext().getELContext());
    }
    return null;
}