ca.bc.gov.webade.tags
Class UserOrganizationSelectorTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byca.bc.gov.webade.tags.UserOrganizationSelectorTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Author:
jross
See Also:
Serialized Form

Field Summary
static java.lang.String PARAMETERS
          The request attribute containing the parameters of the original request.
static java.lang.String PATH
          The request attribute containing the original query to be forwarded to after the user selects a location.
static java.lang.String SAVE_AS_DEFAULT_PARAMETER
          The name of the request parameter that contains the indicator that defines to save the selected organization as the user's default organization.
static java.lang.String WEBADE_USER_CONTEXT_SWITCH_PARAMETER
          The attribute name for the form parameter used to allow a user with multiple client location codes to select one as his default when logging in to the application.
static java.lang.String WEBADE_USER_DEFAULT_ORGANIZATION_PARAMETER
          The name of the request parameter that contains the default organization of the current user as set in the WebADE datastore.
static java.lang.String WEBADE_USER_SELECT_BY_ALL_ORGANIZATIONS
          The value of the WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER request parameter indicating to only all organizations in the selected list.
static java.lang.String WEBADE_USER_SELECT_BY_GOVERNMENT_ORGANIZATION
          The value of the WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER request parameter indicating to only allow government organizations in the selected list.
static java.lang.String WEBADE_USER_SELECT_BY_NON_GOVERNMENT_ORGANIZATION
          The value of the WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER request parameter indicating to only allow non-government organizations in the selected list.
static java.lang.String WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER
          The name of the request parameter that contains the indicator that defines which organizations the user can select from when selecting a default organization.
 
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
UserOrganizationSelectorTag()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATH

public static final java.lang.String PATH
The request attribute containing the original query to be forwarded to after the user selects a location.

See Also:
Constant Field Values

PARAMETERS

public static final java.lang.String PARAMETERS
The request attribute containing the parameters of the original request.

See Also:
Constant Field Values

WEBADE_USER_CONTEXT_SWITCH_PARAMETER

public static final java.lang.String WEBADE_USER_CONTEXT_SWITCH_PARAMETER
The attribute name for the form parameter used to allow a user with multiple client location codes to select one as his default when logging in to the application.

See Also:
Constant Field Values

WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER

public static final java.lang.String WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER
The name of the request parameter that contains the indicator that defines which organizations the user can select from when selecting a default organization.

See Also:
Constant Field Values

WEBADE_USER_DEFAULT_ORGANIZATION_PARAMETER

public static final java.lang.String WEBADE_USER_DEFAULT_ORGANIZATION_PARAMETER
The name of the request parameter that contains the default organization of the current user as set in the WebADE datastore.

See Also:
Constant Field Values

SAVE_AS_DEFAULT_PARAMETER

public static final java.lang.String SAVE_AS_DEFAULT_PARAMETER
The name of the request parameter that contains the indicator that defines to save the selected organization as the user's default organization.

See Also:
Constant Field Values

WEBADE_USER_SELECT_BY_GOVERNMENT_ORGANIZATION

public static final java.lang.String WEBADE_USER_SELECT_BY_GOVERNMENT_ORGANIZATION
The value of the WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER request parameter indicating to only allow government organizations in the selected list.

See Also:
Constant Field Values

WEBADE_USER_SELECT_BY_NON_GOVERNMENT_ORGANIZATION

public static final java.lang.String WEBADE_USER_SELECT_BY_NON_GOVERNMENT_ORGANIZATION
The value of the WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER request parameter indicating to only allow non-government organizations in the selected list.

See Also:
Constant Field Values

WEBADE_USER_SELECT_BY_ALL_ORGANIZATIONS

public static final java.lang.String WEBADE_USER_SELECT_BY_ALL_ORGANIZATIONS
The value of the WEBADE_USER_SELECT_BY_ORGANIZATION_TYPE_PARAMETER request parameter indicating to only all organizations in the selected list.

See Also:
Constant Field Values
Constructor Detail

UserOrganizationSelectorTag

public UserOrganizationSelectorTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException
See Also:
TagSupport.doStartTag()