1 26 27 package org.objectweb.jonas.webapp.jonasadmin.service.jtm; 28 29 import javax.servlet.http.HttpServletRequest ; 30 31 import org.apache.struts.action.ActionErrors; 32 import org.apache.struts.action.ActionForm; 33 import org.apache.struts.action.ActionMapping; 34 35 public class ItemsXaResourceForm extends ActionForm { 36 37 39 private String action = null; 41 private String [] selectedItems = new String [0]; 42 43 45 51 public void reset(ActionMapping mapping, HttpServletRequest request) { 52 action = null; 53 selectedItems = new String [0]; 54 } 55 56 66 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 67 ActionErrors oErrors = new ActionErrors(); 68 return oErrors; 69 } 70 71 public String [] getSelectedItems() { 72 return selectedItems; 73 } 74 75 public void setSelectedItems(String [] selectedItems) { 76 this.selectedItems = selectedItems; 77 } 78 79 public String getAction() { 80 return action; 81 } 82 83 public void setAction(String action) { 84 this.action = action; 85 } 86 87 89 } | Popular Tags |