org.opengts.war.track.taglib
Class TrackTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.opengts.war.track.taglib.TrackTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, Constants

public class TrackTag
extends javax.servlet.jsp.tagext.BodyTagSupport
implements Constants

See Also:
Serialized Form

Field Summary
static java.lang.String SECTION_BANNER_IMAGE
           
static java.lang.String SECTION_BANNER_IMAGE_HEIGHT
           
static java.lang.String SECTION_BANNER_IMAGE_SOURCE
           
static java.lang.String SECTION_BANNER_IMAGE_WIDTH
           
static java.lang.String SECTION_BANNER_STYLE
           
static java.lang.String SECTION_BANNER_WIDTH
           
static java.lang.String SECTION_BODY_ONLOAD
           
static java.lang.String SECTION_BODY_ONUNLOAD
           
static java.lang.String SECTION_CONTENT_BODY
           
static java.lang.String SECTION_CONTENT_CLASS_CELL
           
static java.lang.String SECTION_CONTENT_CLASS_MESSAGE
           
static java.lang.String SECTION_CONTENT_CLASS_TABLE
           
static java.lang.String SECTION_CONTENT_ID_MESSAGE
           
static java.lang.String SECTION_CONTENT_MENUBAR
           
static java.lang.String SECTION_CONTENT_MESSAGE
           
static java.lang.String SECTION_CSSFILE
           
static java.lang.String SECTION_JAVASCRIPT
           
static java.lang.String SECTION_MENU
           
static java.lang.String SECTION_MENU_JAVASCRIPT
           
static java.lang.String SECTION_MENU_STYLE
           
static java.lang.String SECTION_NAVIGATION
           
static java.lang.String SECTION_PAGE_NAME
           
static java.lang.String SECTION_PAGE_URL
           
static java.lang.String SECTION_REQUEST_CONTEXT
           
static java.lang.String SECTION_REQUESTPROPS
           
static java.lang.String SECTION_STYLESHEET
           
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface org.opengts.war.track.Constants
_DEFAULT_BASE_URI, COMMAND_LOGOUT, DEFAULT_ATTACH_URI, DEFAULT_BASE_URI, DEFAULT_DEMO_LOGIN_URI, DEFAULT_MARKER_URI, FORM_COMMAND, FORM_COMMAND_CSV, FORM_MONTH_CHG, LAST_GEOCODE_ADDRESS, LAST_GEOCODE_CACHE, LAST_GEOCODE_LATITUDE, LAST_GEOCODE_LONGITUDE, LAST_REVERSEGEOCODE, PAGE_ACCOUNT_INFO, PAGE_ACCOUNT_NEW, PAGE_ALERT_PANEL, PAGE_CODE_INFO, PAGE_CORRIDOR_INFO, PAGE_DEVICE_ALERTS, PAGE_DEVICE_INFO, PAGE_DEVICE_PROPS, PAGE_DRIVER_INFO, PAGE_ENTITY_INFO, PAGE_GROUP_INFO, PAGE_HTML_WRAP, PAGE_J1587_SHOW, PAGE_LAF_INFO, PAGE_LOGIN, PAGE_MAP_DEVICE, PAGE_MAP_FLEET, PAGE_MENU_REPORT, PAGE_MENU_RPT_DEVDETAIL, PAGE_MENU_RPT_GRPDETAIL, PAGE_MENU_RPT_GRPSUMMRY, PAGE_MENU_RPT_IFTA, PAGE_MENU_RPT_PERFORM, PAGE_MENU_RPT_SYSADMIN, PAGE_MENU_TOP, PAGE_OFFLINE, PAGE_PASSWD, PAGE_PASSWD_EMAIL, PAGE_REPORT_SHOW, PAGE_ROLE_INFO, PAGE_RPTJOB_ADMIN, PAGE_RULE_INFO, PAGE_SYSADMIN_ACCOUNTS, PAGE_SYSADMIN_DEVICES, PAGE_SYSADMIN_INFO, PAGE_SYSPROP_ADMIN, PAGE_USER_INFO, PAGE_WORKORDER_INFO, PAGE_WORKZONE_INFO, PAGE_ZONE_INFO, PARM_ACCOUNT, PARM_ACCOUNT_A, PARM_DEVICE, PARM_DEVICE_COMMAND, PARM_ENCPASS, PARM_GROUP, PARM_LOCALE, PARM_MAP_LIMIT, PARM_MAP_LIMIT_TYPE, PARM_PASSWORD, PARM_PASSWORD_A, PARM_REGION, PARM_REQSTATE, PARM_RESTOREPW, PARM_RULE, PARM_SA_RELOGIN, PARM_SA_RELOGIN_ACCT, PARM_SA_RELOGIN_SESS, PARM_SA_RELOGIN_USER, PARM_USER, PARM_USER_A, PARM_USEREMAIL
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
TrackTag()
           
 
Method Summary
 int doAfterBody()
          Invoked after body content is evaluated
 int doEndTag()
           
 void doInitBody()
          Invoked before the body of the tag is evaluated but after body content is set
 int doStartTag()
           
 java.lang.String getArg()
          Gets the "arg" attribute
 java.lang.String getDefault()
          Gets the "default" attribute
 java.lang.String getOptions()
          Gets the "option" attribute
 RTProperties getProperties()
          Returns an RTProperties instance based on the supplied options
 java.lang.String getSection()
          Gets the "section" attribute
 boolean hasDefault()
          Returns true if a default is defined
 void release()
           
 void setArg(java.lang.String arg)
          Sets the "arg" attribute
 void setBodyContent(javax.servlet.jsp.tagext.BodyContent body)
           
 void setDefault(java.lang.String dft)
          Sets the "default" attribute
 void setOptions(java.lang.String opt)
          Sets the "option" attribute
 void setSection(java.lang.String s)
          Sets the "section" attribute
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

SECTION_REQUESTPROPS

public static final java.lang.String SECTION_REQUESTPROPS
See Also:
Constant Field Values

SECTION_STYLESHEET

public static final java.lang.String SECTION_STYLESHEET
See Also:
Constant Field Values

SECTION_JAVASCRIPT

public static final java.lang.String SECTION_JAVASCRIPT
See Also:
Constant Field Values

SECTION_PAGE_NAME

public static final java.lang.String SECTION_PAGE_NAME
See Also:
Constant Field Values

SECTION_PAGE_URL

public static final java.lang.String SECTION_PAGE_URL
See Also:
Constant Field Values

SECTION_CSSFILE

public static final java.lang.String SECTION_CSSFILE
See Also:
Constant Field Values

SECTION_BODY_ONLOAD

public static final java.lang.String SECTION_BODY_ONLOAD
See Also:
Constant Field Values

SECTION_BODY_ONUNLOAD

public static final java.lang.String SECTION_BODY_ONUNLOAD
See Also:
Constant Field Values

SECTION_BANNER_IMAGE

public static final java.lang.String SECTION_BANNER_IMAGE
See Also:
Constant Field Values

SECTION_BANNER_IMAGE_SOURCE

public static final java.lang.String SECTION_BANNER_IMAGE_SOURCE
See Also:
Constant Field Values

SECTION_BANNER_IMAGE_WIDTH

public static final java.lang.String SECTION_BANNER_IMAGE_WIDTH
See Also:
Constant Field Values

SECTION_BANNER_IMAGE_HEIGHT

public static final java.lang.String SECTION_BANNER_IMAGE_HEIGHT
See Also:
Constant Field Values

SECTION_BANNER_WIDTH

public static final java.lang.String SECTION_BANNER_WIDTH
See Also:
Constant Field Values

SECTION_BANNER_STYLE

public static final java.lang.String SECTION_BANNER_STYLE
See Also:
Constant Field Values

SECTION_NAVIGATION

public static final java.lang.String SECTION_NAVIGATION
See Also:
Constant Field Values

SECTION_MENU_STYLE

public static final java.lang.String SECTION_MENU_STYLE
See Also:
Constant Field Values

SECTION_MENU_JAVASCRIPT

public static final java.lang.String SECTION_MENU_JAVASCRIPT
See Also:
Constant Field Values

SECTION_MENU

public static final java.lang.String SECTION_MENU
See Also:
Constant Field Values

SECTION_CONTENT_CLASS_TABLE

public static final java.lang.String SECTION_CONTENT_CLASS_TABLE
See Also:
Constant Field Values

SECTION_CONTENT_CLASS_CELL

public static final java.lang.String SECTION_CONTENT_CLASS_CELL
See Also:
Constant Field Values

SECTION_CONTENT_CLASS_MESSAGE

public static final java.lang.String SECTION_CONTENT_CLASS_MESSAGE
See Also:
Constant Field Values

SECTION_CONTENT_ID_MESSAGE

public static final java.lang.String SECTION_CONTENT_ID_MESSAGE
See Also:
Constant Field Values

SECTION_CONTENT_MENUBAR

public static final java.lang.String SECTION_CONTENT_MENUBAR
See Also:
Constant Field Values

SECTION_CONTENT_BODY

public static final java.lang.String SECTION_CONTENT_BODY
See Also:
Constant Field Values

SECTION_CONTENT_MESSAGE

public static final java.lang.String SECTION_CONTENT_MESSAGE
See Also:
Constant Field Values

SECTION_REQUEST_CONTEXT

public static final java.lang.String SECTION_REQUEST_CONTEXT
See Also:
Constant Field Values
Constructor Detail

TrackTag

public TrackTag()
Method Detail

getSection

public java.lang.String getSection()
Gets the "section" attribute

Returns:
The "section" attribute

setSection

public void setSection(java.lang.String s)
Sets the "section" attribute

Parameters:
s - The "section" attribute value

getOptions

public java.lang.String getOptions()
Gets the "option" attribute

Returns:
The "option" attribute

setOptions

public void setOptions(java.lang.String opt)
Sets the "option" attribute

Parameters:
opt - The "option" attribute value

getProperties

public RTProperties getProperties()
Returns an RTProperties instance based on the supplied options

Returns:
A RTProperties instance, or null if there are no properties

getArg

public java.lang.String getArg()
Gets the "arg" attribute

Returns:
The "arg" attribute

setArg

public void setArg(java.lang.String arg)
Sets the "arg" attribute

Parameters:
arg - The "arg" attribute value

getDefault

public java.lang.String getDefault()
Gets the "default" attribute

Returns:
The "default" attribute

hasDefault

public boolean hasDefault()
Returns true if a default is defined

Returns:
True is a default is defined

setDefault

public void setDefault(java.lang.String dft)
Sets the "default" attribute

Parameters:
dft - The "default" attribute value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspTagException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspTagException

setBodyContent

public void setBodyContent(javax.servlet.jsp.tagext.BodyContent body)
Specified by:
setBodyContent in interface javax.servlet.jsp.tagext.BodyTag
Overrides:
setBodyContent in class javax.servlet.jsp.tagext.BodyTagSupport

doInitBody

public void doInitBody()
                throws javax.servlet.jsp.JspException
Invoked before the body of the tag is evaluated but after body content is set

Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag
Overrides:
doInitBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Invoked after body content is evaluated

Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport