1 25 29 package org.jresearch.gossip.forms; 30 31 import javax.servlet.http.HttpServletRequest ; 32 33 import org.apache.struts.action.ActionMapping; 34 import org.jresearch.gossip.IConst; 35 36 40 public class SearchForm extends ListForm { 41 private String search; 42 43 private String type = IConst.VALUES.ANY; 44 45 53 public void reset(ActionMapping mapping, HttpServletRequest request) { 54 super.reset(mapping, request); 55 this.type = IConst.VALUES.ANY; 56 } 57 58 61 public String getSearch() { 62 return search; 63 } 64 65 69 public void setSearch(String search) { 70 this.search = search; 71 } 72 73 76 public String getType() { 77 return type; 78 } 79 80 84 public void setType(String type) { 85 this.type = type; 86 } 87 } 88 | Popular Tags |