Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.bugbase.actions
Class SelectLanguageAction  view SelectLanguageAction download SelectLanguageAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byopenfuture.bugbase.actions.BugBaseAction
          extended byopenfuture.bugbase.actions.SelectLanguageAction
All Implemented Interfaces:
openfuture.bugbase.model.JspConstants

public class SelectLanguageAction
extends BugBaseAction
implements openfuture.bugbase.model.JspConstants

Action class setting the locale of the current session.

Created: Mon Jan 08 23:34:31 2001

Version:
$Revision: 1.4 $

Field Summary
 
Fields inherited from class openfuture.bugbase.actions.BugBaseAction
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Fields inherited from interface openfuture.bugbase.model.JspConstants
ATTACHMENT_DIR, ATTACHMENT_URL, BUG_REPORT, BUGBASE_SERVLET, LOCALES, LOGIN_MANAGER, MAILSERVER, MD_PROVIDER, NEXT_PAGE, PACKAGES, PROJECT, QUERY, QUERYSTRING, REPORTS, RESULT, SENDMAIL, SERVLET_CLIENT, SERVLETPATH, USER, USER_ID
 
Constructor Summary
SelectLanguageAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Set the locale in the session context.
 
Methods inherited from class openfuture.bugbase.actions.BugBaseAction
checkLogin, findNextPage, getClient, getContext, getErrors, getLoginManager, getMapping, getMasterDataProvider, getProject, getQueryString, getServletPath, getSession, getUser, initialize, saveOriginalRequest, setClient, setContext, setErrors, setLoginManager, setMapping, setProject, setSession, setUser
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectLanguageAction

public SelectLanguageAction()
Method Detail

perform

public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Set the locale in the session context. The following attributes are set in the servlet's context:

As a result, the page determined by findNextPage() 55 is returned.