1 package com.mlw.fps.controller.stats;
2
3 import org.apache.commons.logging.Log;
4 import org.apache.commons.logging.LogFactory;
5 import org.apache.struts.action.ActionForm;
6 import org.apache.struts.action.ActionForward;
7 import org.apache.struts.action.ActionMapping;
8
9 import com.mlw.fps.controller.BaseAction;
10 import com.mlw.fps.view.form.AdvancedSortInfoForm;
11 import com.mlw.fps.view.manager.ViewManager;
12
13 /***
14 *
15 * @author Matthew Wilson
16 * @version $Revision: 1.5 $
17 */
18 public class MapStatsAction extends BaseAction
19 {
20 private Log log = LogFactory.getLog(getClass());
21
22 /*** Creates new PlayerStats
23 */
24 public MapStatsAction()
25 {
26 }
27
28 public ActionForward executeAction(ActionMapping mapping, ActionForm form, ViewManager manager)
29 {
30 if( form instanceof AdvancedSortInfoForm )
31 {
32 AdvancedSortInfoForm myForm = (AdvancedSortInfoForm)form;
33 if( "byMap".equals(myForm.getAction()) )
34 {
35 return mapping.findForward("byMap");
36 }
37 else
38 {
39 //manager.getMapStatsManager().setMapStatsSortInfo( myForm );
40 }
41 }
42
43 return mapping.findForward("default");
44 }
45 }
This page was automatically generated by Maven