Files
struts/apps/showcase/src/main/webapp/WEB-INF/validation/nonFieldValidatorsExample.jsp
T
2015-05-28 21:26:48 +02:00

44 lines
933 B
Plaintext

<%--
nonFieldValidatorsExample.jsp
@author tm_jee
@version $Date$ $Id$
--%>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>Struts2 Showcase - Validation - Non Field Validator Example</title>
<s:head/>
</head>
<body>
<div class="page-header">
<h1>Non Field Validator Example</h1>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<!-- START SNIPPET: nonFieldValidatorsExample -->
<s:actionerror/>
<s:form method="POST" action="submitNonFieldValidatorsExamples" namespace="/validation">
<s:textfield name="someText" label="Some Text"/>
<s:textfield name="someTextRetype" label="Retype Some Text"/>
<s:textfield name="someTextRetypeAgain" label="Retype Some Text Again"/>
<s:submit label="Submit" cssClass="btn btn-primary"/>
</s:form>
<!-- END SNIPPET: nonFieldValidatorsExample -->
</div>
</div>
</div>
</body>
</html>