View Javadoc
1 package com.mlw.fps.controller.stats; 2 3 import org.apache.struts.action.ActionForm; 4 import org.apache.struts.action.ActionForward; 5 import org.apache.struts.action.ActionMapping; 6 7 import com.mlw.fps.controller.BaseAction; 8 import com.mlw.fps.view.form.AdvancedSortInfoForm; 9 import com.mlw.fps.view.manager.ViewManager; 10 /*** 11 * 12 * @author Matthew Wilson 13 * @version $Revision: 1.3 $ 14 */ 15 public class PlayerStatsAction extends BaseAction 16 { 17 /*** Creates new PlayerStatsAction 18 */ 19 public PlayerStatsAction() 20 { 21 } 22 23 public ActionForward executeAction(ActionMapping mapping, ActionForm form, ViewManager manager) 24 { 25 if( form instanceof AdvancedSortInfoForm ) 26 { 27 AdvancedSortInfoForm myForm = (AdvancedSortInfoForm)form; 28 if( myForm.getAction() != null ) 29 { 30 return mapping.findForward(myForm.getAction()); 31 } 32 } 33 34 return mapping.findForward("default"); 35 } 36 }

This page was automatically generated by Maven