no.sesat.search.view.taglib
Class SearchTabIncludeTag

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.SearchTabIncludeTag
All Implemented Interfaces:
JspTag, SimpleTag

public final class SearchTabIncludeTag
extends AbstractVelocityTemplateTag

Imports a template into the jsp according to the SearchTab's includes. 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/fragments/layout/

Version:
$Id: SearchTabIncludeTag.java 7225 2009-04-09 00:32:20Z ssmiweve $

Constructor Summary
SearchTabIncludeTag()
           
 
Method Summary
 void doTag()
          Called by the container to invoke this tag.
 void setInclude(String include)
          Setter for the template attribute.
 
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

SearchTabIncludeTag

public SearchTabIncludeTag()
Method Detail

setInclude

public void setInclude(String include)
Setter for the template attribute.

Parameters:
include -

doTag

public void doTag()
           throws JspException,
                  IOException
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.

Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException


Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.