Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2013-01-31 17:57:33 +0000
committerChristopher Frost2013-01-31 17:57:33 +0000
commit1ee6cc1635385822da0684ee81c5afe184a6893d (patch)
tree0dfe760ad2fa933102beb99a6a39eb347a46ddd2 /formtags/par
parent931e3cbd7a09011c541e2bdf83d7759f73edfc47 (diff)
downloadorg.eclipse.virgo.samples-1ee6cc1635385822da0684ee81c5afe184a6893d.tar.gz
org.eclipse.virgo.samples-1ee6cc1635385822da0684ee81c5afe184a6893d.tar.xz
org.eclipse.virgo.samples-1ee6cc1635385822da0684ee81c5afe184a6893d.zip
329368 Formtags war, shared libs and shared service are now working and the par is almost there.
Diffstat (limited to 'formtags/par')
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/CountryEditor.java (renamed from formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/CountryEditor.java)4
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/FormController.java (renamed from formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/FormController.java)2
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/ListController.java (renamed from formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/ListController.java)2
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/validation/CountryValidator.java (renamed from formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/validation/CountryValidator.java)2
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/validation/UserValidator.java (renamed from formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/validation/UserValidator.java)2
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/META-INF/MANIFEST.MF1
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/applicationContext.xml2
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/formtags-servlet.xml8
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/css/style.css2
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.virgo.ide.runtime.core.par.xml6
-rw-r--r--formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.wst.common.project.facet.core.xml1
11 files changed, 17 insertions, 15 deletions
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/CountryEditor.java b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/CountryEditor.java
index d63f057..55fa95c 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/CountryEditor.java
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/CountryEditor.java
@@ -9,7 +9,7 @@
* VMware Inc. - initial contribution
*******************************************************************************/
-package org.eclipse.virgo.samples.formtags.formtags.web;
+package org.eclipse.virgo.samples.formtags.par.web;
@@ -44,7 +44,7 @@ public class CountryEditor extends PropertyEditorSupport {
/**
- * Creates a new instance of the {@link org.eclipse.virgo.samples.formtags.formtags.web.CountryEditor} class.
+ * Creates a new instance of the {@link org.eclipse.virgo.samples.formtags.par.web.CountryEditor} class.
*
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/FormController.java b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/FormController.java
index 62e2882..80a9730 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/FormController.java
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/FormController.java
@@ -9,7 +9,7 @@
* VMware Inc. - initial contribution
*******************************************************************************/
-package org.eclipse.virgo.samples.formtags.formtags.web;
+package org.eclipse.virgo.samples.formtags.par.web;
import org.eclipse.virgo.samples.formtags.par.domain.Colour;
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/ListController.java b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/ListController.java
index 211447a..09cfa91 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/web/ListController.java
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/ListController.java
@@ -8,7 +8,7 @@
* Contributors:
* VMware Inc. - initial contribution
*******************************************************************************/
-package org.eclipse.virgo.samples.formtags.formtags.web;
+package org.eclipse.virgo.samples.formtags.par.web;
import org.eclipse.virgo.samples.formtags.par.service.UserManager;
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/validation/CountryValidator.java b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/validation/CountryValidator.java
index 63d6f0b..fc82866 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/validation/CountryValidator.java
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/validation/CountryValidator.java
@@ -9,7 +9,7 @@
* VMware Inc. - initial contribution
*******************************************************************************/
-package org.eclipse.virgo.samples.formtags.formtags.validation;
+package org.eclipse.virgo.samples.formtags.par.web.validation;
import org.eclipse.virgo.samples.formtags.par.domain.Country;
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/validation/UserValidator.java b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/validation/UserValidator.java
index 6156a14..d4540ee 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/formtags/validation/UserValidator.java
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/java/org/eclipse/virgo/samples/formtags/par/web/validation/UserValidator.java
@@ -9,7 +9,7 @@
* VMware Inc. - initial contribution
*******************************************************************************/
-package org.eclipse.virgo.samples.formtags.formtags.validation;
+package org.eclipse.virgo.samples.formtags.par.web.validation;
import org.eclipse.virgo.samples.formtags.par.domain.User;
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/META-INF/MANIFEST.MF b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/META-INF/MANIFEST.MF
index 07e4d16..b90d0d7 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/META-INF/MANIFEST.MF
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/META-INF/MANIFEST.MF
@@ -8,6 +8,7 @@ Import-Package: org.eclipse.virgo.samples.formtags.par.domain,
org.eclipse.virgo.web.dm;version="[3.0,5.0)",
javax.servlet.jsp.jstl.core;version="[1.1.2,1.2.1)",
javax.servlet.http
+Bundle-Classpath: .,WEB-INF/classes
Import-Bundle: com.springsource.org.apache.taglibs.standard;version="1.1.2"
Import-Library: org.springframework.spring;version="[2.5.6.A,5.0.0)"
Web-ContextPath: formtags-par
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/applicationContext.xml b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/applicationContext.xml
index 1176f5d..03b0e87 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/applicationContext.xml
@@ -5,6 +5,6 @@
http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
- <reference id="userManager" interface="org.eclipse.virgo.samples.formtags.formtags.service.UserManager" />
+ <reference id="userManager" interface="org.eclipse.virgo.samples.formtags.par.service.UserManager" />
</beans:beans>
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/formtags-servlet.xml b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/formtags-servlet.xml
index 29ae38b..370f41d 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/formtags-servlet.xml
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/WEB-INF/formtags-servlet.xml
@@ -7,20 +7,20 @@
<property name="suffix" value=".jsp"/>
</bean>
- <bean name="/list.htm" class="org.eclipse.virgo.samples.formtags.formtags.web.ListController">
+ <bean name="/list.htm" class="org.eclipse.virgo.samples.formtags.par.web.ListController">
<property name="userManager" ref="userManager"/>
</bean>
- <bean name="/form.htm" class="org.eclipse.virgo.samples.formtags.formtags.web.FormController">
+ <bean name="/form.htm" class="org.eclipse.virgo.samples.formtags.par.web.FormController">
<property name="formView" value="form"/>
<property name="successView" value="redirect:list.htm"/>
<property name="userManager" ref="userManager"/>
<property name="validators">
- <bean id="userValidator" class="org.eclipse.virgo.samples.formtags.formtags.validation.UserValidator"/>
+ <bean id="userValidator" class="org.eclipse.virgo.samples.formtags.par.validation.UserValidator"/>
</property>
</bean>
- <bean name="/about.htm" class="org.eclipse.virgo.samples.formtags.formtags.web.ListController">
+ <bean name="/about.htm" class="org.eclipse.virgo.samples.formtags.par.web.ListController">
<property name="userManager" ref="userManager"/>
<property name="viewName" value="about"/>
</bean>
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/css/style.css b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/css/style.css
index 3b337a8..e504698 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/css/style.css
+++ b/formtags/par/org.eclipse.virgo.samples.formtags.web/src/main/webapp/css/style.css
@@ -2,7 +2,7 @@ body
{
margin: 0;
margin: 0 auto;
- background: #f4f4f4 url(images/bg.gif) top center repeat-y;
+ background-color: #f4f4f4;
}
#header
{
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.virgo.ide.runtime.core.par.xml b/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.virgo.ide.runtime.core.par.xml
index 8125842..4bfa96e 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.virgo.ide.runtime.core.par.xml
+++ b/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.virgo.ide.runtime.core.par.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<org.eclipse.virgo.ide.par:Par xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:org.eclipse.virgo.ide.par="http://eclipse.org/virgo/par.ecore">
- <bundle symbolicName="org.eclipse.virgo.samples.formtags.formtags.domain"/>
- <bundle symbolicName="org.eclipse.virgo.samples.formtags.formtags.service"/>
- <bundle symbolicName="org.eclipse.virgo.samples.formtags.formtags.web"/>
+ <bundle symbolicName="org.eclipse.virgo.samples.formtags.par.domain"/>
+ <bundle symbolicName="org.eclipse.virgo.samples.formtags.par.service"/>
+ <bundle symbolicName="org.eclipse.virgo.samples.formtags.par.web"/>
</org.eclipse.virgo.ide.par:Par>
diff --git a/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.wst.common.project.facet.core.xml b/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.wst.common.project.facet.core.xml
index 3342fa9..4dfacf4 100644
--- a/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.wst.common.project.facet.core.xml
+++ b/formtags/par/org.eclipse.virgo.samples.formtags/.settings/org.eclipse.wst.common.project.facet.core.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
+ <runtime name="Virgo Runtime"/>
<installed facet="org.eclipse.virgo.server.par" version="1.0"/>
</faceted-project>

Back to the top