diff --git a/spring-webflow-samples/phonebook/.settings/org.springframework.ide.eclipse.core.prefs b/spring-webflow-samples/phonebook/.settings/org.springframework.ide.eclipse.core.prefs
new file mode 100644
index 00000000..576a1f0b
--- /dev/null
+++ b/spring-webflow-samples/phonebook/.settings/org.springframework.ide.eclipse.core.prefs
@@ -0,0 +1,5 @@
+#Sun Apr 01 09:18:16 EDT 2007
+eclipse.preferences.version=1
+org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true
+org.springframework.ide.eclipse.core.builders.enable.beansvalidator=true
+org.springframework.ide.eclipse.core.builders.enable.webflowvalidator=true
diff --git a/spring-webflow-samples/phonebook/.springWebflow b/spring-webflow-samples/phonebook/.springWebflow
new file mode 100644
index 00000000..8303af2c
--- /dev/null
+++ b/spring-webflow-samples/phonebook/.springWebflow
@@ -0,0 +1,16 @@
+
+
+
+
+ src/main/webapp/WEB-INF/flows/search-flow.xml
+ search-flow
+ 1:BeansModel|2:swf-phonebook|3:src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml
+ 1:BeansModel|2:swf-phonebook|3:src/main/webapp/WEB-INF/flows/search-flow-beans.xml
+
+
+ src/main/webapp/WEB-INF/flows/detail-flow.xml
+ detail-flow
+ 1:BeansModel|2:swf-phonebook|3:src/main/java/org/springframework/webflow/samples/phonebook/stub/services-config.xml
+
+
+
diff --git a/spring-webflow-samples/phonebook/src/main/java/org/springframework/webflow/samples/phonebook/SearchCriteriaValidator.java b/spring-webflow-samples/phonebook/src/main/java/org/springframework/webflow/samples/phonebook/SearchCriteriaValidator.java
index d7977c6f..080540a6 100644
--- a/spring-webflow-samples/phonebook/src/main/java/org/springframework/webflow/samples/phonebook/SearchCriteriaValidator.java
+++ b/spring-webflow-samples/phonebook/src/main/java/org/springframework/webflow/samples/phonebook/SearchCriteriaValidator.java
@@ -28,7 +28,7 @@ public class SearchCriteriaValidator implements Validator {
public void validate(Object obj, Errors errors) {
SearchCriteria query = (SearchCriteria)obj;
if (!StringUtils.hasText(query.getFirstName()) && !StringUtils.hasText(query.getLastName())) {
- errors.reject("noCriteria", "Please provide some query criteria!");
+ errors.reject("noCriteria", "Please provide valid search criteria");
}
}
}
\ No newline at end of file
diff --git a/spring-webflow-samples/phonebook/src/main/webapp/WEB-INF/jsp/details.jsp b/spring-webflow-samples/phonebook/src/main/webapp/WEB-INF/jsp/details.jsp
index b5cecf43..ee27588e 100644
--- a/spring-webflow-samples/phonebook/src/main/webapp/WEB-INF/jsp/details.jsp
+++ b/spring-webflow-samples/phonebook/src/main/webapp/WEB-INF/jsp/details.jsp
@@ -1,4 +1,19 @@
-<%@ include file="includeTop.jsp" %>
+<%@ page contentType="text/html" %>
+<%@ page session="false" %>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+
+
+
+
@@ -10,7 +25,7 @@
Person Details |
-
|
+
|
| First Name |
@@ -48,4 +63,11 @@
-
\ No newline at end of file
+
+
+