Update of
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2625/src/test/java/org/xdoclet/plugin/struts/complete
Modified Files:
ImNotAnAction.java InheritedForm.java SimpleAction.java
SimpleDynaform.java SimpleForm.java SimpleValidatorForm.java
SimpleValidatorFormWithNoFields.java TestTiles1.java
TestTiles2.java TestTiles3.java
Log Message:
(XDP-84) Added the possibility to specify 'type' attribute of <action-mappings>
element in struts-config.xml
Index: SimpleValidatorForm.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleValidatorForm.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SimpleValidatorForm.java 2 Jul 2005 13:16:30 -0000 1.4
--- SimpleValidatorForm.java 10 Aug 2005 15:21:12 -0000 1.5
***************
*** 1 ****
! /*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.complete;
/**
* @struts.form name="/simpleValidatorForm"
* @author Alexandre Martins
*/
public class SimpleValidatorForm extends
org.apache.struts.validator.ValidatorForm {
/**
*
*/
private static final long serialVersionUID = 1L;
private Integer id;
private String name;
public Integer getId() {
return id;
}
/**
* @struts.validator type="required" msgkey="MSGS.ID"
* @struts.validator-var name="anyVar" value="anyVarValue"
*/
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
/**
* @struts.validator type="required" msgkey="MSGS.NAME"
*/
public void setName(String name) {
this.name = name;
}
}
--- 1,42 ----
! /*
! * Copyright (c) 2003-2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.plugin.struts.complete;
!
! /**
! * @struts.form name="/simpleValidatorForm"
! * @author Alexandre Martins
! */
! public class SimpleValidatorForm extends
org.apache.struts.validator.ValidatorForm {
! /**
! *
! */
! private static final long serialVersionUID = 1L;
! private Integer id;
! private String name;
!
! public Integer getId() {
! return id;
! }
!
! /**
! * @struts.validator type="required" msgkey="MSGS.ID"
! * @struts.validator-var name="anyVar" value="anyVarValue"
! */
! public void setId(Integer id) {
! this.id = id;
! }
!
! public String getName() {
! return name;
! }
!
! /**
! * @struts.validator type="required" msgkey="MSGS.NAME"
! */
! public void setName(String name) {
! this.name = name;
! }
! }
\ No newline at end of file
Index: ImNotAnAction.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/ImNotAnAction.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ImNotAnAction.java 22 Jan 2005 15:33:18 -0000 1.2
--- ImNotAnAction.java 10 Aug 2005 15:21:12 -0000 1.3
***************
*** 1 ****
! /*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.complete;
public class ImNotAnAction {
}
\ No newline at end of file
--- 1,9 ----
! /*
! * Copyright (c) 2003-2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.plugin.struts.complete;
!
! public class ImNotAnAction {
! }
\ No newline at end of file
Index: TestTiles2.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/TestTiles2.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestTiles2.java 2 Jul 2005 13:16:30 -0000 1.1
--- TestTiles2.java 10 Aug 2005 15:21:12 -0000 1.2
***************
*** 1,4 ****
/*
! * Copyright (c) 2004
* XDoclet Team
* All rights reserved.
--- 1,4 ----
/*
! * Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
***************
*** 11,13 ****
*/
public class TestTiles2 {
! }
--- 11,13 ----
*/
public class TestTiles2 {
! }
\ No newline at end of file
Index: SimpleValidatorFormWithNoFields.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleValidatorFormWithNoFields.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SimpleValidatorFormWithNoFields.java 2 Jul 2005 13:16:30 -0000
1.4
--- SimpleValidatorFormWithNoFields.java 10 Aug 2005 15:21:12 -0000
1.5
***************
*** 1,4 ****
/*
! * Copyright (c) 2003
* XDoclet Team
* All rights reserved.
--- 1,4 ----
/*
! * Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
***************
*** 11,14 ****
*/
public class SimpleValidatorFormWithNoFields extends
org.apache.struts.validator.ValidatorForm {
!
! }
--- 11,13 ----
*/
public class SimpleValidatorFormWithNoFields extends
org.apache.struts.validator.ValidatorForm {
! }
\ No newline at end of file
Index: SimpleForm.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleForm.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SimpleForm.java 2 Jul 2005 13:16:30 -0000 1.3
--- SimpleForm.java 10 Aug 2005 15:21:12 -0000 1.4
***************
*** 1 ****
! /*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.complete;
/**
* @struts.form name="/simpleForm"
* @author Alexandre Martins
*/
public class SimpleForm extends org.apache.struts.action.ActionForm {
/**
*
*/
private static final long serialVersionUID = 1L;
}
\ No newline at end of file
--- 1,17 ----
! /*
! * Copyright (c) 2003-2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.plugin.struts.complete;
!
! /**
! * @struts.form name="/simpleForm"
! * @author Alexandre Martins
! */
! public class SimpleForm extends org.apache.struts.action.ActionForm {
! /**
! *
! */
! private static final long serialVersionUID = 1L;
! }
\ No newline at end of file
Index: SimpleAction.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SimpleAction.java 24 Jan 2005 04:32:49 -0000 1.3
--- SimpleAction.java 10 Aug 2005 15:21:12 -0000 1.4
***************
*** 1,4 ****
/*
! * Copyright (c) 2005
* XDoclet Team
* All rights reserved.
--- 1,4 ----
/*
! * Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
***************
*** 8,25 ****
/**
* @struts.action
! * name="/simpleAction"
! * path="/simpleAction"
! * scope="request"
* roles="foo,bar,baz,blurge"
* parameter="glarch"
! *
* @struts.action-exception key="aKey" type="java.a.Type" path="error.jsp"
! *
* @struts.action-set-property property="aProperty" value="aValue"
! *
* @struts.action-forward name="success" path="success.jsp"
* @struts.action-forward name="input" path="input.jsp"
*/
public class SimpleAction extends org.apache.struts.action.Action {
!
! }
--- 8,24 ----
/**
* @struts.action
! * name="/simpleAction"
! * path="/simpleAction"
! * scope="request"
* roles="foo,bar,baz,blurge"
* parameter="glarch"
! *
* @struts.action-exception key="aKey" type="java.a.Type" path="error.jsp"
! *
* @struts.action-set-property property="aProperty" value="aValue"
! *
* @struts.action-forward name="success" path="success.jsp"
* @struts.action-forward name="input" path="input.jsp"
*/
public class SimpleAction extends org.apache.struts.action.Action {
! }
\ No newline at end of file
Index: InheritedForm.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/InheritedForm.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** InheritedForm.java 2 Jul 2005 13:16:30 -0000 1.4
--- InheritedForm.java 10 Aug 2005 15:21:12 -0000 1.5
***************
*** 1 ****
! /*
* Copyright (c) 2003
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.complete;
/**
* @struts.form name="/inherited-form"
extends="org.xdoclet.plugin.struts.complete.SimpleForm"
* @author Alexandre Martins
*/
public class InheritedForm extends SimpleForm {
/**
*
*/
private static final long serialVersionUID = 1L;
}
--- 1,17 ----
! /*
! * Copyright (c) 2003-2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.plugin.struts.complete;
!
! /**
! * @struts.form name="/inherited-form"
extends="org.xdoclet.plugin.struts.complete.SimpleForm"
! * @author Alexandre Martins
! */
! public class InheritedForm extends SimpleForm {
! /**
! *
! */
! private static final long serialVersionUID = 1L;
! }
\ No newline at end of file
Index: TestTiles1.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/TestTiles1.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestTiles1.java 2 Jul 2005 13:16:30 -0000 1.1
--- TestTiles1.java 10 Aug 2005 15:21:12 -0000 1.2
***************
*** 1,4 ****
/*
! * Copyright (c) 2004
* XDoclet Team
* All rights reserved.
--- 1,4 ----
/*
! * Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
***************
*** 8,12 ****
/**
* @author Eduardo Franceschi
! *
* @struts.tiles name="default_tile" path="/default.jsp"
* @struts.tiles-put name="prop1" value="value1"
--- 8,12 ----
/**
* @author Eduardo Franceschi
! *
* @struts.tiles name="default_tile" path="/default.jsp"
* @struts.tiles-put name="prop1" value="value1"
***************
*** 14,16 ****
*/
public class TestTiles1 {
! }
--- 14,16 ----
*/
public class TestTiles1 {
! }
\ No newline at end of file
Index: SimpleDynaform.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/SimpleDynaform.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SimpleDynaform.java 22 Jan 2005 15:33:18 -0000 1.2
--- SimpleDynaform.java 10 Aug 2005 15:21:12 -0000 1.3
***************
*** 1 ****
! /*
* Copyright (c) 2005
* XDoclet Team
* All rights reserved.
*/
package org.xdoclet.plugin.struts.complete;
/**
* @struts.dynaform name="/simpleDynaForm"
type="org.apache.struts.validator.DynaValidatorForm" validate="true"
* @author Alexandre Martins
*/
public class SimpleDynaform {
private Integer defaultField;
private String namedField;
private String unamedField;
/**
* @struts.dynaform-field
*/
public Integer getDefaultField() {
return defaultField;
}
public void setDefaultField(Integer defaultField) {
this.defaultField = defaultField;
}
/**
* @struts.dynaform-field name="fieldWithName" type="java.a.Type"
*/
public String getNamedField() {
return namedField;
}
public void setNamedField(String namedField) {
this.namedField = namedField;
}
/**
* @struts.dynaform-field name="" type=""
*/
public String getUnamedField() {
return unamedField;
}
public void setUnamedField(String unamedField) {
this.unamedField = unamedField;
}
}
\ No newline at end of file
--- 1,49 ----
! /*
! * Copyright (c) 2003-2005
! * XDoclet Team
! * All rights reserved.
! */
! package org.xdoclet.plugin.struts.complete;
!
! /**
! * @struts.dynaform name="/simpleDynaForm"
type="org.apache.struts.validator.DynaValidatorForm" validate="true"
! * @author Alexandre Martins
! */
! public class SimpleDynaform {
! private Integer defaultField;
! private String namedField;
! private String unamedField;
!
! /**
! * @struts.dynaform-field
! */
! public Integer getDefaultField() {
! return defaultField;
! }
!
! public void setDefaultField(Integer defaultField) {
! this.defaultField = defaultField;
! }
!
! /**
! * @struts.dynaform-field name="fieldWithName" type="java.a.Type"
! */
! public String getNamedField() {
! return namedField;
! }
!
! public void setNamedField(String namedField) {
! this.namedField = namedField;
! }
!
! /**
! * @struts.dynaform-field name="" type=""
! */
! public String getUnamedField() {
! return unamedField;
! }
!
! public void setUnamedField(String unamedField) {
! this.unamedField = unamedField;
! }
! }
\ No newline at end of file
Index: TestTiles3.java
===================================================================
RCS file:
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-struts/src/test/java/org/xdoclet/plugin/struts/complete/TestTiles3.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestTiles3.java 2 Jul 2005 13:16:30 -0000 1.1
--- TestTiles3.java 10 Aug 2005 15:21:12 -0000 1.2
***************
*** 1,4 ****
/*
! * Copyright (c) 2004
* XDoclet Team
* All rights reserved.
--- 1,4 ----
/*
! * Copyright (c) 2003-2005
* XDoclet Team
* All rights reserved.
***************
*** 15,17 ****
*/
public class TestTiles3 {
! }
--- 15,17 ----
*/
public class TestTiles3 {
! }
\ No newline at end of file
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits