1 5 6 package org.infohazard.maverick.ctl; 7 8 import org.apache.commons.beanutils.BeanUtils; 9 10 18 public class ThrowawayBean extends Throwaway 19 { 20 24 protected String perform() throws Exception  25 { 26 return SUCCESS; 27 } 28 29 39 public Object model() 40 { 41 return this; 42 } 43 44 46 protected final String rawPerform() throws Exception  47 { 48 BeanUtils.populate(this, this.getRequest().getParameterMap()); 49 BeanUtils.populate(this, this.getCtx().getControllerParams()); 50 51 return this.perform(); 52 } 53 } | Popular Tags |