org.loom.tags.tabs
Class DefaultTabDecorator
java.lang.Object
org.loom.tags.tabs.DefaultTabDecorator
- All Implemented Interfaces:
- TagDecorator<TabTag>, TabDecorator
public class DefaultTabDecorator
- extends java.lang.Object
- implements TabDecorator
Render a tab
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTabDecorator
public DefaultTabDecorator()
beforeDoTag
public boolean beforeDoTag(TabTag tag)
throws java.io.IOException,
javax.servlet.jsp.JspException
- Specified by:
beforeDoTag in interface TagDecorator<TabTag>
- Returns:
- true to execute the tag afterwards, false to skip the tag. If false,
the afterDoTag method will not be triggered.
- Throws:
java.io.IOException
javax.servlet.jsp.JspException
afterDoTag
public void afterDoTag(TabTag tag)
throws java.io.IOException,
javax.servlet.jsp.JspException
- Specified by:
afterDoTag in interface TagDecorator<TabTag>
- Throws:
java.io.IOException
javax.servlet.jsp.JspException
printTabHeader
public void printTabHeader(WriterWrapper<?> out,
MessagesRepository repository,
TabTag tab)
throws java.io.IOException,
javax.servlet.jsp.JspException
- Specified by:
printTabHeader in interface TabDecorator
- Throws:
java.io.IOException
javax.servlet.jsp.JspException