diff --git a/examples/quickstart/src/main/webapp/static/jquery-validation/1.9.0/validate.css b/examples/quickstart/src/main/webapp/static/jquery-validation/1.9.0/validate.css
index d8a5d28e..fd4d7978 100644
--- a/examples/quickstart/src/main/webapp/static/jquery-validation/1.9.0/validate.css
+++ b/examples/quickstart/src/main/webapp/static/jquery-validation/1.9.0/validate.css
@@ -1,4 +1,4 @@
-label.error {
+span.error {
background:url("images/unchecked.gif") no-repeat 0px 0px;
padding-left: 16px;
padding-bottom: 2px;
diff --git a/examples/quickstart/src/test/functional/org/springside/examples/quickstart/functional/gui/TaskGuiFT.java b/examples/quickstart/src/test/functional/org/springside/examples/quickstart/functional/gui/TaskGuiFT.java
index 27df6e2c..f92c8a86 100644
--- a/examples/quickstart/src/test/functional/org/springside/examples/quickstart/functional/gui/TaskGuiFT.java
+++ b/examples/quickstart/src/test/functional/org/springside/examples/quickstart/functional/gui/TaskGuiFT.java
@@ -41,17 +41,17 @@ public class TaskGuiFT extends BaseSeleniumTestCase {
s.click(By.linkText("创建任务"));
Task task = TaskData.randomTask();
- s.type(By.id("task.title"), task.getTitle());
+ s.type(By.id("task_title"), task.getTitle());
s.click(By.id("submit_btn"));
assertTrue(s.isTextPresent("创建任务成功"));
//update
s.click(By.linkText(task.getTitle()));
- assertEquals(task.getTitle(), s.getValue(By.id("task.title")));
+ assertEquals(task.getTitle(), s.getValue(By.id("task_title")));
String newTitle = TaskData.randomTitle();
- s.type(By.id("task.title"), newTitle);
+ s.type(By.id("task_title"), newTitle);
s.click(By.id("submit_btn"));
assertTrue(s.isTextPresent("更新任务成功"));
}
diff --git a/examples/showcase/src/main/webapp/WEB-INF/views/account/userForm.jsp b/examples/showcase/src/main/webapp/WEB-INF/views/account/userForm.jsp
index f10d8b33..0f174082 100644
--- a/examples/showcase/src/main/webapp/WEB-INF/views/account/userForm.jsp
+++ b/examples/showcase/src/main/webapp/WEB-INF/views/account/userForm.jsp
@@ -14,6 +14,7 @@
//为inputForm注册validate函数
$("#inputForm").validate({
+ errorElement: "span",
rules: {
loginName: {
remote: "${ctx}/account/user/checkLoginName?oldLoginName=" + encodeURIComponent('${user.loginName}')
@@ -40,19 +41,19 @@
diff --git a/examples/showcase/src/main/webapp/WEB-INF/views/login.jsp b/examples/showcase/src/main/webapp/WEB-INF/views/login.jsp
index 78d8654a..dcc475de 100644
--- a/examples/showcase/src/main/webapp/WEB-INF/views/login.jsp
+++ b/examples/showcase/src/main/webapp/WEB-INF/views/login.jsp
@@ -61,7 +61,7 @@
diff --git a/examples/showcase/src/main/webapp/WEB-INF/views/story/webservice.jsp b/examples/showcase/src/main/webapp/WEB-INF/views/story/webservice.jsp
index da84eece..6a9adfcf 100644
--- a/examples/showcase/src/main/webapp/WEB-INF/views/story/webservice.jsp
+++ b/examples/showcase/src/main/webapp/WEB-INF/views/story/webservice.jsp
@@ -12,7 +12,7 @@
-