beehive/netui/test/webapps/drt/web/valFwdErr/test56/Jsp2.jsp

46 lines
1.4 KiB
Plaintext

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui" %>
<%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data" %>
<html>
<head>
<title>ValFwdErr Test56</title>
</head>
<body>
<h3 align="center">ValFwdErr Test56 - Jsp2.jsp</h3>
<hr width="95%"/>
<br/>
<center>
<h3><font color="blue">
Testing Validation Error Forward
</font></h3>
<br/>
<netui:form action="action2">
String 1:
<font color="blue">
<netui:textBox dataSource="actionForm.string1"/>
</font>
<br/>
String 2:
<font color="blue">
<netui:textBox dataSource="actionForm.string2"/>
</font>
<br/><br/>
<font color="green">
Don't change any values, just press Continue.
</font>
<br/><br/>
<netui:button type="submit">Continue...</netui:button>
</netui:form>
<font color="red">
You should see errors below from page 1 validation. If you don't
the test has failed.
</font>
<br/><br/>
<netui:errors/>
<hr width="95%"/>
</center>
</body>
</html>