mirror of
https://github.com/apache/struts.git
synced 2026-08-11 17:46:57 +00:00
WW-1340 Update Javadocs, constants, and such. No functional changes.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@432886 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -20,6 +20,7 @@ package mailreader2;
|
||||
|
||||
import com.opensymphony.util.BeanUtils;
|
||||
import com.opensymphony.xwork2.ActionSupport;
|
||||
import com.opensymphony.xwork2.ModelDriven;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.apache.struts.apps.mailreader.dao.ExpiredPasswordException;
|
||||
@@ -50,7 +51,32 @@ import java.util.Map;
|
||||
* avoids creating unnecessary local properties. Pick your poison.</p>
|
||||
*/
|
||||
public class MailreaderSupport extends ActionSupport
|
||||
implements SessionAware, ApplicationAware {
|
||||
implements SessionAware, ApplicationAware, ModelDriven {
|
||||
|
||||
private AppService appService;
|
||||
|
||||
public AppService getAppService() {
|
||||
return appService;
|
||||
}
|
||||
|
||||
public void setAppService(AppService appService) {
|
||||
this.appService = appService;
|
||||
}
|
||||
|
||||
private AppData appData = new AppData();
|
||||
|
||||
public Object getModel() {
|
||||
return appData;
|
||||
}
|
||||
|
||||
public void setAppData(AppData appData) {
|
||||
this.appData = appData;
|
||||
}
|
||||
|
||||
public AppData getAppData() {
|
||||
return appData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return CANCEL so apropriate result can be selected.
|
||||
|
||||
Reference in New Issue
Block a user