1 /**
2 * Copyright 2005-2006 the original author or authors.
3 *
4 * Licensed under the Gnu General Pubic License, Version 2.0 (the
5 * "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/gpl-license.php
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the Gnu General Public License for more details.
14 */
15 package org.figure8.join.control.form;
16
17 import org.figure8.join.control.JoinForm;
18
19 import org.apache.struts.action.ActionMapping;
20
21 import javax.servlet.http.HttpServletRequest;
22 /**
23 * This is the default implementation of JoinForm that does absolutly nothing.
24 * @author <a href="mailto:laurent.broudoux@free.fr">Laurent Broudoux</a>
25 * @version $Revision: 1.1 $
26 *
27 * @struts.form name="defaultForm"
28 */
29 public class DefaultForm extends JoinForm{
30
31
32
33 /** Creates a new instance of DefaultForm */
34 public DefaultForm(){
35 }
36
37
38
39
40 /**
41 * Do nothing : default form is an empty attribute form.
42 * @param operation String representing the operation to invoke on Action
43 * @param mapping Mapping between forwards name and path for this action
44 * @param request The servlet container request wrapper
45 */
46 public void doValidate(String operation, ActionMapping mapping, HttpServletRequest request){
47
48 }
49 }