From 82b609b7092eb7d3794cf05925765e0dafe42e5d Mon Sep 17 00:00:00 2001 From: Keith Donald Date: Tue, 17 Mar 2009 20:12:16 +0000 Subject: [PATCH] getting started tutorial initial commit --- .../.classpath | 12 ++ .../.project | 42 ++++++ .../com.springsource.server.ide.jdt.core.xml | 2 + .../.settings/org.eclipse.jdt.core.prefs | 12 ++ ...clipse.jst.common.project.facet.core.prefs | 3 + .../org.eclipse.wst.common.component | 9 ++ ....eclipse.wst.common.project.facet.core.xml | 7 + .../org.eclipse.wst.validation.prefs | 6 + .../.settings/org.maven.ide.eclipse.prefs | 9 ++ ...ringframework.ide.eclipse.beans.core.prefs | 3 + ...org.springframework.ide.eclipse.core.prefs | 67 +++++++++ .../.springBeans | 13 ++ .../.springWebflow | 11 ++ .../build.xml | 10 ++ .../ivy.xml | 43 ++++++ .../pom.xml | 129 ++++++++++++++++++ .../gettingstarted/WelcomeController.java | 21 +++ .../src/main/webapp/WEB-INF/classes/log4j.xml | 41 ++++++ .../main/webapp/WEB-INF/spring/app-config.xml | 14 ++ .../main/webapp/WEB-INF/spring/mvc-config.xml | 50 +++++++ .../webapp/WEB-INF/spring/webflow-config.xml | 22 +++ .../src/main/webapp/WEB-INF/web.xml | 38 ++++++ .../src/main/webapp/WEB-INF/welcome.jsp | 12 ++ .../src/main/webapp/index.jsp | 4 + .../src/test/java/log4j.xml | 41 ++++++ 25 files changed, 621 insertions(+) create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.classpath create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.project create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/com.springsource.server.ide.jdt.core.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jdt.core.prefs create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jst.common.project.facet.core.prefs create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.component create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.validation.prefs create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.maven.ide.eclipse.prefs create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.beans.core.prefs create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.core.prefs create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.springBeans create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow create mode 100755 spring-webflow-samples/getting-started-with-spring-webflow/build.xml create mode 100755 spring-webflow-samples/getting-started-with-spring-webflow/ivy.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/pom.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/java/org/springframework/webflow/samples/gettingstarted/WelcomeController.java create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/classes/log4j.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/app-config.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/mvc-config.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/webflow-config.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/web.xml create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/index.jsp create mode 100644 spring-webflow-samples/getting-started-with-spring-webflow/src/test/java/log4j.xml diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.classpath b/spring-webflow-samples/getting-started-with-spring-webflow/.classpath new file mode 100644 index 00000000..1068d827 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.classpath @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.project b/spring-webflow-samples/getting-started-with-spring-webflow/.project new file mode 100644 index 00000000..ac331045 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.project @@ -0,0 +1,42 @@ + + + getting-started-with-spring-webflow + + + Servers + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.springframework.ide.eclipse.core.springbuilder + + + + + org.maven.ide.eclipse.maven2Builder + + + + + + org.maven.ide.eclipse.maven2Nature + org.springframework.ide.eclipse.core.springnature + org.eclipse.jdt.core.javanature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.wst.common.modulecore.ModuleCoreNature + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/com.springsource.server.ide.jdt.core.xml b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/com.springsource.server.ide.jdt.core.xml new file mode 100644 index 00000000..0a4413c5 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/com.springsource.server.ide.jdt.core.xml @@ -0,0 +1,2 @@ + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jdt.core.prefs b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 00000000..9ec44e3e --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,12 @@ +#Tue Mar 17 10:00:21 EDT 2009 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jst.common.project.facet.core.prefs b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jst.common.project.facet.core.prefs new file mode 100644 index 00000000..763a1503 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.jst.common.project.facet.core.prefs @@ -0,0 +1,3 @@ +#Tue Mar 17 09:59:19 EDT 2009 +classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.launching.macosx.MacOSXType\:\:JVM\ 1.5.0\ (MacOS\ X\ Default)/owners=jst.java\:5.0 +eclipse.preferences.version=1 diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.component b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.component new file mode 100644 index 00000000..34cef8b5 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.component @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.project.facet.core.xml b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 00000000..d24a733b --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.validation.prefs b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 00000000..6a3515d4 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,6 @@ +#Fri Jun 06 17:00:12 BST 2008 +DELEGATES_PREFERENCE=delegateValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator\=org.eclipse.wst.wsdl.validation.internal.eclipse.Validator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator\=org.eclipse.wst.xsd.core.internal.validation.eclipse.Validator; +USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator; +USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator;org.eclipse.wst.xsd.core.internal.validation.eclipse.XSDDelegatingValidator;org.eclipse.jst.jsf.validation.internal.JSPSemanticsValidator;org.eclipse.wst.dtd.core.internal.validation.eclipse.Validator;org.eclipse.wst.xml.core.internal.validation.eclipse.Validator;org.eclipse.wst.common.componentcore.internal.ModuleCoreValidator;org.eclipse.jst.jsf.validation.internal.appconfig.AppConfigValidator;org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator;org.eclipse.wst.html.internal.validation.HTMLValidator;org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator;org.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator;org.eclipse.wst.wsi.ui.internal.WSIMessageValidator; +USER_PREFERENCE=overrideGlobalPreferencesfalse +eclipse.preferences.version=1 \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.maven.ide.eclipse.prefs b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.maven.ide.eclipse.prefs new file mode 100644 index 00000000..0b751087 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.maven.ide.eclipse.prefs @@ -0,0 +1,9 @@ +#Tue Mar 17 14:28:16 EDT 2009 +activeProfiles= +eclipse.preferences.version=1 +fullBuildGoals=process-test-resources +includeModules=false +resolveWorkspaceProjects=true +resourceFilterGoals=process-resources resources\:testResources +skipCompilerPlugin=true +version=1 diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.beans.core.prefs b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.beans.core.prefs new file mode 100644 index 00000000..a7eb2b33 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.beans.core.prefs @@ -0,0 +1,3 @@ +#Wed Dec 17 01:09:03 EST 2008 +eclipse.preferences.version=1 +org.springframework.ide.eclipse.beans.core.ignoreMissingNamespaceHandler=false diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.core.prefs b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.core.prefs new file mode 100644 index 00000000..e096d67b --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.settings/org.springframework.ide.eclipse.core.prefs @@ -0,0 +1,67 @@ +#Tue Mar 17 10:00:21 EDT 2009 +eclipse.preferences.version=1 +org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true +org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder=false +org.springframework.ide.eclipse.core.builders.enable.osgibundleupdater=true +org.springframework.ide.eclipse.core.enable.project.preferences=false +org.springframework.ide.eclipse.core.validator.enable.com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.server.quickfix.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=false +org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.applicationSymbolicNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.applicationVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleActivationPolicyRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleActivatorRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleManifestVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleSymbolicNameRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.bundleVersionRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.exportPackageRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.importRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.parsingProblemsRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.server.ide.manifest.core.requireBundleRule-com.springsource.server.ide.manifest.core.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.AvoidDriverManagerDataSource-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ImportElementsAtTopRulee-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ParentBeanSpecifiesAbstractClassRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.RefElementRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.TooManyBeansInFileRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UnnecessaryValueElementRule-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UseBeanInheritance-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.legacyxmlusage.jndiobjectfactory-com.springsource.sts.bestpractices.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importBundleVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importLibraryVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.importPackageVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.server.quickfix.requireBundleVersionRule-com.springsource.sts.server.quickfix.manifestvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=false +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true +org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.springBeans b/spring-webflow-samples/getting-started-with-spring-webflow/.springBeans new file mode 100644 index 00000000..d7c9ec71 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.springBeans @@ -0,0 +1,13 @@ + + + 1 + + + + + + + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow b/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow new file mode 100644 index 00000000..2b9959e6 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/.springWebflow @@ -0,0 +1,11 @@ + + + 1 + + + + src/main/webapp/WEB-INF/rewards/newReward/newReward-flow.xml + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/build.xml b/spring-webflow-samples/getting-started-with-spring-webflow/build.xml new file mode 100755 index 00000000..a9eb10a3 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/build.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/ivy.xml b/spring-webflow-samples/getting-started-with-spring-webflow/ivy.xml new file mode 100755 index 00000000..9db05dad --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/ivy.xml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/pom.xml b/spring-webflow-samples/getting-started-with-spring-webflow/pom.xml new file mode 100644 index 00000000..26c5faa6 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/pom.xml @@ -0,0 +1,129 @@ + + + 4.0.0 + org.springframework.webflow.samples + getting-started-with-spring-webflow + Getting Started with Spring Web Flow + war + 1.0.0-SNAPSHOT + + 2.5.6.A + 2.0.6.RELEASE + + + + + javax.servlet + com.springsource.javax.servlet.jsp.jstl + 1.1.2 + + + org.apache.log4j + com.springsource.org.apache.log4j + 1.2.15 + + + org.apache.taglibs + com.springsource.org.apache.taglibs.standard + 1.1.2 + + + org.ognl + com.springsource.org.ognl + 2.6.9 + + + org.springframework + org.springframework.core + ${spring.version} + + + org.springframework + org.springframework.beans + ${spring.version} + + + org.springframework + org.springframework.context + ${spring.version} + + + org.springframework + org.springframework.web + ${spring.version} + + + org.springframework + org.springframework.web.servlet + ${spring.version} + + + org.springframework.webflow + org.springframework.js + ${webflow.version} + + + org.springframework.webflow + org.springframework.webflow + ${webflow.version} + + + + javax.servlet + com.springsource.javax.servlet + 2.4.0 + provided + + + javax.servlet + com.springsource.javax.servlet.jsp + 2.1.0 + provided + + + + org.junit + com.springsource.org.junit + 4.5.0 + test + + + + + com.springsource.repository.bundles.release + SpringSource Enterprise Bundle Repository - SpringSource Releases + http://repository.springsource.com/maven/bundles/release + + + com.springsource.repository.bundles.external + SpringSource Enterprise Bundle Repository - External Releases + http://repository.springsource.com/maven/bundles/external + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + org.apache.maven.plugins + maven-dependency-plugin + + + install + install + + sources + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/java/org/springframework/webflow/samples/gettingstarted/WelcomeController.java b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/java/org/springframework/webflow/samples/gettingstarted/WelcomeController.java new file mode 100644 index 00000000..6c13f5b8 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/java/org/springframework/webflow/samples/gettingstarted/WelcomeController.java @@ -0,0 +1,21 @@ +package org.springframework.webflow.samples.gettingstarted; + +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; +import org.springframework.web.servlet.RequestToViewNameTranslator; + +/** + * Handles requests for the application welcome page. + */ +@Controller +public class WelcomeController { + + /** + * Simply selects the welcome view to render by returning void and relying + * on the default {@link RequestToViewNameTranslator}. + */ + @RequestMapping(method = RequestMethod.GET) + public void welcome() { + } +} diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/classes/log4j.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/classes/log4j.xml new file mode 100644 index 00000000..e78930f7 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/classes/log4j.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/app-config.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/app-config.xml new file mode 100644 index 00000000..b9d03235 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/app-config.xml @@ -0,0 +1,14 @@ + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/mvc-config.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/mvc-config.xml new file mode 100644 index 00000000..c9d3ed20 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/mvc-config.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/webflow-config.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/webflow-config.xml new file mode 100644 index 00000000..2e993350 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/spring/webflow-config.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/web.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000..bbb23a4b --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,38 @@ + + + + + + Spring MVC Dispatcher Servlet + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + + /WEB-INF/spring/*.xml + + + 1 + + + + + Spring MVC Dispatcher Servlet + /app/* + + + + + Resources Servlet + org.springframework.js.resource.ResourceServlet + 0 + + + + + Resources Servlet + /resources/* + + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp new file mode 100644 index 00000000..4d1d253b --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/WEB-INF/welcome.jsp @@ -0,0 +1,12 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ page session="false" %> + + + Getting Started with Spring Web Flow + + +

+ Congratulations! You're running Spring! +

+ + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/index.jsp b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/index.jsp new file mode 100644 index 00000000..48d7ee1b --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/main/webapp/index.jsp @@ -0,0 +1,4 @@ +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> +<%@ page session="false" %> + + \ No newline at end of file diff --git a/spring-webflow-samples/getting-started-with-spring-webflow/src/test/java/log4j.xml b/spring-webflow-samples/getting-started-with-spring-webflow/src/test/java/log4j.xml new file mode 100644 index 00000000..e78930f7 --- /dev/null +++ b/spring-webflow-samples/getting-started-with-spring-webflow/src/test/java/log4j.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file