1 25 26 package org.objectweb.jonas.webapp.jonasadmin.resource; 27 28 import javax.servlet.http.HttpServletRequest ; 29 30 import org.apache.struts.action.ActionErrors; 31 import org.apache.struts.action.ActionForm; 32 import org.apache.struts.action.ActionMapping; 33 34 public class ItemsDestinationsForm extends ActionForm { 35 36 38 private String [] selectedItems = new String [0]; 39 40 42 48 public void reset(ActionMapping mapping, HttpServletRequest request) { 49 selectedItems = new String [0]; 50 } 51 52 62 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 63 ActionErrors oErrors = new ActionErrors(); 64 return oErrors; 65 } 66 67 public String [] getSelectedItems() { 68 return selectedItems; 69 } 70 71 public void setSelectedItems(String [] selectedItems) { 72 this.selectedItems = selectedItems; 73 } 74 } 75 | Popular Tags |