Package de.innovationgate.wgpublisher.webtml

Examples of de.innovationgate.wgpublisher.webtml.BaseTagStatus


  }
 
 
  public boolean isfirstloop() {
     
      BaseTagStatus tag = getDesignContext().getTag();
        if (tag == null) {
            return false;
        }
     
    ForEach.Status targetTag = (ForEach.Status) tag.getAncestorTag(IterationTag.class);
    if (targetTag == null) {
      addwarning("Could not find ancestor iteration tag for method isfirstloop().");
      return false;
    }
    return targetTag.getIterationIndex() == 1;
View Full Code Here


    return targetTag.getIterationIndex() == 1;
  }
 
  public boolean islastloop() {
     
      BaseTagStatus tag = getDesignContext().getTag();
        if (tag == null) {
            return false;
        }
     
    ForEach.Status targetTag = (ForEach.Status) tag.getAncestorTag(IterationTag.class);
    if (targetTag == null) {
      addwarning("Could not find ancestor iteration tag for method islastloop().");
      return false;
    }
   
View Full Code Here

    return targetTag.isLastIteration();
  }
 
  public boolean isfirstloop(String tagId) {
     
      BaseTagStatus tag = getDesignContext().getTag();
        if (tag == null) {
            return false;
        }
         
    IterationTagStatus targetTag = (IterationTagStatus) tag.getTagStatusById(tagId, IterationTagStatus.class);
    if (targetTag == null) {
      addwarning("Could not find iteration tag with id '" + tagId + "'.");
      return false;
    }
    return targetTag.getIterationIndex() == 1;
View Full Code Here

    }
    return targetTag.getIterationIndex() == 1;
  }
 
  public boolean islastloop(String tagId) {
    BaseTagStatus tag = getDesignContext().getTag();
    if (tag == null) {
        return false;
    }
   
        IterationTagStatus targetTag = (IterationTagStatus) tag.getTagStatusById(tagId, IterationTagStatus.class);
    if (targetTag == null) {
      addwarning("Could not find iteration tag with id '" + tagId + "'.");
      return false;
    }
    return targetTag.isLastIteration();
View Full Code Here

TOP

Related Classes of de.innovationgate.wgpublisher.webtml.BaseTagStatus

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.