org.apache.struts.taglib.tiles
Class InsertTag.InsertHandler
java.lang.Object
org.apache.struts.taglib.tiles.InsertTag.InsertHandler
- InsertTag
- InsertTag.TagHandler
protected class InsertTag.InsertHandler
extends java.lang.Object
Real handler, after attribute resolution.
Handle include sub-component.
int | doEndTag() - Include requested page.
|
int | doStartTag() - Create a new empty context.
|
protected void | processException(Throwable ex, String msg) - This method will be removed in a release after Struts 1.2.
|
void | putAttribute(String name, Object value) - Add attribute to sub context.
|
page
protected String page
role
protected String role
InsertHandler
public InsertHandler(Map attributes,
String page,
String role,
Controller controller)
Constructor.
Create insert handler using Component definition.
InsertHandler
public InsertHandler(String page,
String role,
Controller controller)
Constructor.
Create insert handler to insert page at specified location.
processException
protected void processException(Throwable ex,
String msg)
throws JspException
This method will be removed in a release after Struts 1.2.
Process an exception.
Depending of debug attribute, print full exception trace or only
its message in output page.
ex
- Exceptionmsg
- An additional message to show in console and to propagate if we can't output exception.
Copyright B) 2000-2007 - The Apache Software Foundation