1 23 24 package org.infoglue.deliver.taglib.structure; 25 26 import javax.servlet.jsp.JspException ; 27 28 import org.infoglue.deliver.taglib.TemplateControllerTag; 29 30 public class IsCurrentSiteNodeTag extends TemplateControllerTag { 31 private static final long serialVersionUID = 4050206323348354355L; 32 33 private Integer siteNodeId; 34 35 public IsCurrentSiteNodeTag() 36 { 37 super(); 38 } 39 40 public int doEndTag() throws JspException 41 { 42 setResultAttribute(new Boolean (this.getController().getIsCurrentSiteNode(siteNodeId))); 43 return EVAL_PAGE; 44 } 45 46 public void setSiteNodeId(String siteNodeId) throws JspException 47 { 48 this.siteNodeId = evaluateInteger("IsCurrentSiteNodeTag", "siteNodeId", siteNodeId); 49 } 50 } 51 | Popular Tags |