Package com.agiletec.aps.tags

Examples of com.agiletec.aps.tags.URLTag


 
  @Override
  public int doEndTag() throws JspException {
    BodyContent body = this.getBodyContent();
    String value = body.getString();
    URLTag parentTag = null;
    try {
      Tag tag = this;
      do {
        tag = tag.getParent();
      } while (!(tag instanceof URLTag));
      parentTag = (URLTag) tag;
    } catch (RuntimeException e) {
      throw new JspException("Error nesting parameter in url tag.", e);
    }
    parentTag.addParameter(this.getName(), value);
    return EVAL_PAGE;
  }
View Full Code Here

TOP

Related Classes of com.agiletec.aps.tags.URLTag

Copyright © 2018 www.massapicom. 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.