no.sesat.search.view.taglib
Class SearchTabMainTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by no.sesat.search.view.taglib.AbstractVelocityTemplateTag
          extended by 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 $

Constructor Summary
SearchTabMainTag()
           
 
Method Summary
 void doTag()
          Called by the container to invoke this tag.
 
Methods inherited from class no.sesat.search.view.taglib.AbstractVelocityTemplateTag
findLayout, findLayout, forwardJsp, getSiteManually, importJsp, importVelocity
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchTabMainTag

public SearchTabMainTag()
Method Detail

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.