Examples of ELContextTag


Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(
        "setActionListener must be inside of a ActionSource component.");
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();

    SetActionListener listener = new SetActionListener();
    if (_from != null)
    {
      if (TagUtils.isValueReference(_from))
      {
        String from = _from;
        if (parentELContext != null)
          from = parentELContext.transformExpression(from);

        listener.setValueBinding(SetActionListener.FROM_KEY,
                                 application.createValueBinding(from));
      }
      else
      {
        listener.setFrom(_from);
      }

      if (TagUtils.isValueReference(_to))
      {
        String to = _to;
        if (parentELContext != null)
          to = parentELContext.transformExpression(to);

        listener.setValueBinding(SetActionListener.TO_KEY,
                                 application.createValueBinding(to));
      }
      else
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(
        "returnActionListener must be inside of an ActionSource component.");
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();

    ReturnActionListener listener = new ReturnActionListener();
    if (_value != null)
    {
      String value = _value;
      if (TagUtils.isValueReference(value))
      {
        if (parentELContext != null)
          value = parentELContext.transformExpression(value);

        listener.setValueBinding(ReturnActionListener.VALUE_KEY,
                                 application.createValueBinding(value));
      }
      else
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "FILEDOWNLOADACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "SETACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "RETURNACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "FILEDOWNLOADACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "SETACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "RETURNACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "SETACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here

Examples of org.apache.myfaces.trinidad.webapp.ELContextTag

    {
      throw new JspException(_LOG.getMessage(
        "FILEDOWNLOADACTIONLISTENER_MUST_INSIDE_UICOMPONENT_TAG"));
    }

    ELContextTag parentELContext = (ELContextTag)
       findAncestorWithClass(this, ELContextTag.class);

    Application application =
      FacesContext.getCurrentInstance().getApplication();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.