Update of /cvsroot/pfc-prolog/prolix/src/org/asturlinux/frade/prolix/web/formbeans
In directory sc8-pr-cvs1:/tmp/cvs-serv3987/prolix/web/formbeans
Added Files:
ResetProgramFormBean.java StepFormBean.java
Log Message:
Navigational classes to new page
--- NEW FILE: ResetProgramFormBean.java ---
/**
*
* Copyright 2003 Ivan Frade
*
* This file is part of Prolix.
*
* Prolix is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Prolix is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Prolix; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
**/
package org.asturlinux.frade.prolix.web.formbeans;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;
/**
* @struts:form name="resetProgramForm"
*/
public class ResetProgramFormBean extends ActionForm
{
/**
* Redefined methods
*/
public void reset(ActionMapping mapping, HttpServletRequest request)
{
}
public ActionErrors validate (ActionMapping mapping,
HttpServletRequest request)
{
ActionErrors errors = new ActionErrors();
return errors;
}
}
--- NEW FILE: StepFormBean.java ---
/**
*
* Copyright 2003 Ivan Frade
*
* This file is part of Prolix.
*
* Prolix is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Prolix is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Prolix; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
**/
package org.asturlinux.frade.prolix.web.formbeans;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.*;
/**
* @struts:form name="stepForm"
*/
public class StepFormBean extends ActionForm
{
/**
* Redefined methods
*/
public void reset(ActionMapping mapping, HttpServletRequest request)
{
}
public ActionErrors validate (ActionMapping mapping,
HttpServletRequest request)
{
ActionErrors errors = new ActionErrors();
return errors;
}
}
|