View Javadoc

1   /***
2    * Copyright (C) 2005 The Java Community
3    *
4    * This program is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU General Public License as published by the Free Software
6    * Foundation; either version 2 of the License, or (at your option) any later
7    * version.
8    *
9    * This program is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12   * details.
13   *
14   * You should have received a copy of the GNU General Public License along with
15   * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16   * Place, Suite 330, Boston, MA 02111-1307 USA.
17   *
18   */
19  package org.bejug.javacareers.common.view.jsf.utils;
20  
21  import javax.faces.event.ActionEvent;
22  
23  import org.bejug.javacareers.jobs.view.jsf.util.Utils;
24  
25  /***
26   * @author : Peter Symoens (Last modified by $Author: schauwvliege $)
27   * @version $Revision: 1.8 $ - $Date: 2005/09/06 13:22:50 $:
28   */
29  public class LoginAction {
30  
31      /***
32       * @param actionEvent actionEvent
33       */
34      public void  processLogin(ActionEvent actionEvent){
35            Utils.setDefaultTargetUrl("/home.jsf");
36            Utils.redirectToLogin();
37  
38      }
39  }
40  
41  /***
42   * $Log: LoginAction.java,v $
43   * Revision 1.8  2005/09/06 13:22:50  schauwvliege
44   * Intro of interview
45   *
46   * Revision 1.7  2005/08/30 13:07:46  psong09
47   * renamed author: psong09
48   *
49   * Revision 1.6  2005/08/25 16:05:12  bavo_jcs
50   * Quickfix merge
51   *
52   * Revision 1.5  2005/08/25 15:46:28  bavo_jcs
53   * Quickfix
54   *
55   * Revision 1.4  2005/08/25 15:26:46  schauwvliege
56   * Someone catches exceptions that aren?t thrown
57   *
58   * Revision 1.3  2005/08/25 13:56:15  psong09
59   * caught JavacareersException
60   *
61   * Revision 1.2  2005/08/22 14:07:31  psong09
62   * JAVACAREERS_276
63   *
64   * Revision 1.1  2005/08/17 16:50:31  psong09
65   * JAVACAREERS-276
66   *
67   */