com.raritantechnologies.searchApp.taglibrary
Class TabbedPageLinks

java.lang.Object
  extended byBodyTagSupport
      extended bycom.raritantechnologies.searchApp.taglibrary.TabbedPageLinks
All Implemented Interfaces:
IConfigurable, ICustomTag

public class TabbedPageLinks
extends BodyTagSupport
implements ICustomTag, IConfigurable

Enables tab-selectable control of HTML or JSP pages. Renders a set of page link tabs. Use with the CustomTag class to add the paging tabs to a JSP page.

XML Configuration Template:
 <SystemObjects>
    <SystemObject type="TabbedPageLinks" name="[name of this display object]"
                     class="com.raritantechnologies.searchApp.taglibrary.TabbedPageLinks" 
                     tableProps="[ table attributes string ]"
                     tabImgURL="[ location of tab background image ]"
                     activeImgURL="[ location of tab image for active tab ]"
                     tabWidth="[ width of each tab image ]"
                     tabHeight="[ height of each tab image ]"
                     tabStyleName="[ name of css tab style ]"
                     target="[ target for tabs ]"
                     activeStyleName="[ name of css  style of active tab ]"
                     isVertical="true|false(default)" >

       <!-- One or more Page elements: -->
       <Page href="[ link url ]"    display="[ tab label text ]" />
       <Page href="[ another url ]" display="[ another tab label ]" />

       <Page etc. . . >

    </SystemObject>
 </SystemObjects>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan
See Also:
Serialized Form

Constructor Summary
TabbedPageLinks()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getBody(RaritanPageContext rpc)
          Returns the tag body.
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void initialize(java.util.Map initParams)
           
 void setActiveColor(java.lang.String activeColor)
           
 void setActiveImg(java.lang.String activeImg)
           
 void setActiveStyleName(java.lang.String activeStyleName)
           
 void setDefaultPage(java.lang.String defaultPage)
           
 void setIsVertical(boolean isVertical)
           
 void setIsVertical(java.lang.String isVerticalSt)
           
 void setPages(java.lang.String pages)
          set pages format = |display name=href|display name=href
 void setTabColor(java.lang.String tabColor)
           
 void setTabHeight(java.lang.String tabHeight)
           
 void setTabImgURL(java.lang.String tabImgURL)
           
 void setTableProps(java.lang.String tableProps)
           
 void setTabStyleName(java.lang.String tabStyleName)
           
 void setTabWidth(java.lang.String tabWidth)
           
 void setTarget(java.lang.String target)
           
 void setUseExternalStyle(boolean useExternalStyle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabbedPageLinks

public TabbedPageLinks()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

getBody

public java.lang.String getBody(RaritanPageContext rpc)
Description copied from interface: ICustomTag
Returns the tag body.

Specified by:
getBody in interface ICustomTag
Parameters:
rpc - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
Returns:
The tag body text string.

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable

initialize

public void initialize(java.util.Map initParams)
Specified by:
initialize in interface ICustomTag

setPages

public void setPages(java.lang.String pages)
set pages format = |display name=href|display name=href


setDefaultPage

public void setDefaultPage(java.lang.String defaultPage)

setTableProps

public void setTableProps(java.lang.String tableProps)

setTabImgURL

public void setTabImgURL(java.lang.String tabImgURL)

setTabStyleName

public void setTabStyleName(java.lang.String tabStyleName)

setTabWidth

public void setTabWidth(java.lang.String tabWidth)

setTabHeight

public void setTabHeight(java.lang.String tabHeight)

setUseExternalStyle

public void setUseExternalStyle(boolean useExternalStyle)

setTabColor

public void setTabColor(java.lang.String tabColor)

setIsVertical

public void setIsVertical(boolean isVertical)

setIsVertical

public void setIsVertical(java.lang.String isVerticalSt)

setActiveStyleName

public void setActiveStyleName(java.lang.String activeStyleName)

setActiveImg

public void setActiveImg(java.lang.String activeImg)

setActiveColor

public void setActiveColor(java.lang.String activeColor)

setTarget

public void setTarget(java.lang.String target)