/**
 * 
 */
package com.ampiere.web.struts.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * @author Shinjirito
 *
 */
public abstract class PopupBaseAction extends Action {
	/**
	 * 
	 */
	public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
		return doExecute(mapping, form, request, response, null, false);
	}

    abstract public ActionForward doExecute(ActionMapping mapping, ActionForm baseForm,
            HttpServletRequest request, HttpServletResponse response, ActionErrors errors,
            boolean mochaFlag) throws Exception;
}
