|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.tiles.taglib.InsertTag.InsertHandler
protected class InsertTag.InsertHandler
Real handler, after attribute resolution. Handle include sub-component.
Field Summary | |
---|---|
protected Controller |
controller
|
protected ComponentContext |
currentContext
|
protected String |
page
|
protected String |
role
|
protected ComponentContext |
subCompContext
|
Constructor Summary | |
---|---|
InsertTag.InsertHandler(Map attributes,
String page,
String role,
Controller controller)
Constructor. |
|
InsertTag.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)
Deprecated. This method will be removed in a release after Struts 1.2. |
void |
putAttribute(String name,
Object value)
Add attribute to sub context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String page
protected ComponentContext currentContext
protected ComponentContext subCompContext
protected String role
protected Controller controller
Constructor Detail |
---|
public InsertTag.InsertHandler(Map attributes, String page, String role, Controller controller)
public InsertTag.InsertHandler(String page, String role, Controller controller)
Method Detail |
---|
public int doStartTag() throws JspException
doStartTag
in interface InsertTag.TagHandler
JspException
public void putAttribute(String name, Object value)
putAttribute
in interface InsertTag.TagHandler
public int doEndTag() throws JspException
doEndTag
in interface InsertTag.TagHandler
JspException
protected void processException(Throwable ex, String msg) throws JspException
ex
- Exceptionmsg
- An additional message to show in console and to propagate if we can't output exception.
JspException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |