1 25 26 package org.objectweb.jonas.webapp.jonasadmin.catalina; 27 28 import java.util.ArrayList ; 29 30 import javax.servlet.http.HttpServletRequest ; 31 32 import org.apache.struts.action.ActionErrors; 33 import org.apache.struts.action.ActionForm; 34 import org.apache.struts.action.ActionMapping; 35 36 39 public class ItemsConnectorsForm extends ActionForm { 40 41 43 private String action = null; 45 private String [] selectedItems = new String [0]; 46 private ArrayList selectedConnectorItem = new ArrayList (); 47 48 50 56 public void reset(ActionMapping mapping, HttpServletRequest request) { 57 selectedItems = new String [0]; 58 } 59 60 70 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 71 ActionErrors oErrors = new ActionErrors(); 72 return oErrors; 73 } 74 75 public String [] getSelectedItems() { 76 return selectedItems; 77 } 78 79 public void setSelectedItems(String [] selectedItems) { 80 this.selectedItems = selectedItems; 81 } 82 83 public String getAction() { 84 return action; 85 } 86 87 public void setAction(String action) { 88 this.action = action; 89 } 90 91 public ArrayList getSelectedConnectorItem() { 92 return selectedConnectorItem; 93 } 94 95 public void setSelectedConnectorItem(ArrayList selectedConnectorItem) { 96 this.selectedConnectorItem = selectedConnectorItem; 97 } 98 99 101 } | Popular Tags |