no.sesat.search.view.taglib
Class SearchTabMainTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
no.sesat.search.view.taglib.AbstractVelocityTemplateTag
no.sesat.search.view.taglib.SearchTabMainTag
- All Implemented Interfaces:
- JspTag, SimpleTag
public final class SearchTabMainTag
- extends AbstractVelocityTemplateTag
Import's the SearchTab's main template from the appropriate layout.
Will use the "front" template if the layout defines it and the query is empty.
The template may be either a velocity template or a JavaServer page.
If the extension is not specified it defaults to ".vm".
A relative path is relative to templates/pages/
- Version:
- $Id: SearchTabMainTag.java 7225 2009-04-09 00:32:20Z ssmiweve $
|
Method Summary |
void |
doTag()
Called by the container to invoke this tag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchTabMainTag
public SearchTabMainTag()
doTag
public void doTag()
throws JspException
- Called by the container to invoke this tag.
The implementation of this method is provided by the tag library developer,
and handles all tag processing, body iteration, etc.
Calling this tag also has the side effect of setting the layout in use into the context's attributes.
- Specified by:
doTag in interface SimpleTag- Overrides:
doTag in class SimpleTagSupport
- Throws:
JspException
Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.