Examples of IterationTagStatus


Examples of de.innovationgate.wgpublisher.webtml.utils.IterationTagStatus

        }
      }
     
      attValue = this.getHasnextpage();
      if (attValue != null) {
        IterationTagStatus iterationTag = (IterationTagStatus) this.getTagStatusById(attValue, IterationTagStatus.class);
        if (iterationTag == null) {
          this.addWarning("Could not find iteration tag: " + this.getHasnextpage());
          return false;
        }
        if (!iterationTag.hasNextPage()) {
          return false;
        }
      }
   
      attValue = this.getHaspreviouspage();
      if (attValue != null) {
          IterationTagStatus iterationTag = (IterationTagStatus) this.getTagStatusById(attValue, IterationTagStatus.class);
        if (iterationTag == null) {
          this.addWarning("Could not find iteration tag: " + attValue);
          return false;
        }
        if (!iterationTag.hasPreviousPage()) {
          return false;
        }
      }
     
      attValue = this.getIscontextvalid();
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.IterationTagStatus

  /**
   * @see Base#tmlStartTag(TMLContext)
   */
  public void tmlStartTag() throws TMLException {

    IterationTagStatus iterationTag = (IterationTagStatus) getStatus().getAncestorTag(IterationTag.class);
    if (iterationTag == null) {
        addWarning("tml:between has no parent iteration tag.");
        return;
    }
   
    if (iterationTag.isLastIteration()) {
      this.setEvalBody(false);
    }

  }
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.