org.apache.struts.taglib.tiles
protected class InsertTag.InsertHandler extends Object implements InsertTag.TagHandler
Field Summary | |
---|---|
protected Controller | controller |
protected ComponentContext | currentContext |
protected String | page |
protected String | role |
protected ComponentContext | subCompContext |
Constructor Summary | |
---|---|
InsertHandler(Map attributes, String page, String role, Controller controller)
Constructor.
| |
InsertHandler(String page, String role, Controller controller)
Constructor.
|
Method Summary | |
---|---|
int | doEndTag()
Include requested page. |
int | doStartTag()
Create a new empty context. |
protected void | processException(Throwable ex, String msg)
Process an exception.
|
void | putAttribute(String name, Object value)
Add attribute to sub context.
|
Deprecated: 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.Parameters: ex Exception msg An additional message to show in console and to propagate if we can't output exception.