org.nfis.gdas.service
Class SetTextPropertyTagLib

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.nfis.gdas.service.SetTextPropertyTagLib
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class SetTextPropertyTagLib
extends javax.servlet.jsp.tagext.TagSupport

This class handles the setting and changing of language properties objects in the users session.

The Properties file referenced in the session by the TEXT key contains the text for the page.

For this class to work there:

See Also:
Serialized Form

Field Summary
static java.lang.String LANGUAGE
          The name of the parameter when requesting language be changed.
static java.lang.String TEXT
          The name of the text file stored in the users session.
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
SetTextPropertyTagLib()
           
 
Method Summary
 int doStartTag()
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LANGUAGE

public static final java.lang.String LANGUAGE
The name of the parameter when requesting language be changed. The value is "language".

See Also:
Constant Field Values

TEXT

public static final java.lang.String TEXT
The name of the text file stored in the users session. It is used to retrieve the text from the session or set it in the session using HttpSession.getAttribute(java.lang.String) or HttpSession.setAttribute(java.lang.String, java.lang.Object). The value is "text".

See Also:
Constant Field Values
Constructor Detail

SetTextPropertyTagLib

public SetTextPropertyTagLib()
Method Detail

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport