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.OptionsForm; 9 import com.mlw.fps.view.manager.ViewManager; 10 11 /*** Actions for the Options...s 12 * 13 * @author Matthew Wilson 14 * @version $Revision: 1.2 $ 15 */ 16 public class OptionsAction extends BaseAction 17 { 18 /*** Creates new WelcomeAction 19 */ 20 public OptionsAction() 21 { 22 } 23 24 /*** @see BaseAction 25 */ 26 public ActionForward executeAction(ActionMapping mapping, ActionForm form, ViewManager manager) 27 { 28 OptionsForm myForm = (OptionsForm)form; 29 30 if( myForm.getStyle()!=null ) 31 { 32 manager.setStyle(myForm.getStyle()); 33 } 34 35 return mapping.findForward("default"); 36 } 37 38 }

This page was automatically generated by Maven