1 10 package org.mmbase.applications.community.taglib; 11 12 import javax.servlet.jsp.JspTagException ; 13 14 import org.mmbase.bridge.Node; 15 import org.mmbase.bridge.Module; 16 17 import org.mmbase.bridge.jsp.taglib.NodeTag; 18 19 27 28 public class DeleteAllTag extends NodeTag { 29 30 public void setChannel(String c) throws JspTagException { 31 setNumber(c); 32 } 33 34 public int doEndTag() throws JspTagException { 35 Module community=getCloudContext().getModule("communityprc"); 36 Node node=getNodeVar(); 37 community.getInfo("CHANNEL-"+node.getNumber()+"-DELALLMESSAGES",pageContext.getRequest(),pageContext.getResponse()); 38 return super.doEndTag(); 39 } 40 } 41 | Popular Tags |