i have written a taglib class ;jboss is not calling release() (this method is 
in Tag class) which is a life cycle method in taglibs; 

in other servers this method is calling implicitly?why jboss is not calling? 

public class TagLib1 extends BodyTagSupport 
{ 

public TagLib1() 
{ 
name = null; 
id = null; 
border = null; 
cellpadding = null; 
cellspacing = null; 
width = null; 
addButtonName = null; 
frmName = null; 
NL = "\n"; 
elementsData = new StringBuffer(); 
} 


public int doAfterBody() 
throws JspException 
{ 
return 0; 
} 

public int doEndTag() 
throws JspException 
{ 
blah ..blah.. 
} 

public int doStartTag() 
throws JspException 
{ 
blah ..blah.. 
return 2; 
} 

public String getAddButtonName() 
{ 
return addButtonName; 
} 

public String getBorder() 
{ 
return border; 
} 

public String getCellpadding() 
{ 
return cellpadding; 
} 

public String getCellspacing() 
{ 
return cellspacing; 
} 

public StringBuffer getElementsData() 
{ 
return elementsData; 
} 

public String getFrmName() 
{ 
return frmName; 
} 

public String getId() 
{ 
return id; 
} 

public String getName() 
{ 
return name; 
} 

public String getWidth() 
{ 
return width; 
} 

public void release() 
{ 
name = null; 
id = null; 
border = null; 
cellpadding = null; 
cellspacing = null; 
width = null; 
addButtonName = null; 
elementsData = new StringBuffer(); 
} 

public void setAddButtonName(String addButtonName) 
{ 
this.addButtonName = addButtonName; 
} 

public void setBorder(String border) 
{ 
this.border = border; 
} 

public void setCellpadding(String cellpadding) 
{ 
this.cellpadding = cellpadding; 
} 

public void setCellspacing(String cellspacing) 
{ 
this.cellspacing = cellspacing; 
} 

public void setElementsData(StringBuffer elementsData) 
{ 
this.elementsData = elementsData; 
} 

public void setFrmName(String frmName) 
{ 
this.frmName = frmName; 
} 

public void setId(String id) 
{ 
this.id = id; 
} 

public void setName(String name) 
{ 
this.name = name; 
} 

public void setWidth(String width) 
{ 
this.width = width; 
} 

private String name; 
private String id; 
private String border; 
private String cellpadding; 
private String cellspacing; 
private String width; 
private String addButtonName; 
private String frmName; 
private String NL; 
private StringBuffer elementsData; 
}

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912101#3912101

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912101


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to