<%--
    index.jsp

    @author tm_jee
    @version $Date: 2007-01-15 08:58:24 -0500 (Mon, 15 Jan 2007) $ $Id: index.jsp 496318 2007-01-15 13:58:24Z husted $
--%>

<%@taglib prefix="s" uri="/struts-tags" %>

<html>
    <head>
        <title>Showcase - Validation</title>
    </head>
    <body>
        <h1>Validation Examples</h1>
        
        <s:url id="quizBasic" namespace="/validation" action="quizBasic" method="input"/>
        <s:url id="quizClient" namespace="/validation" action="quizClient" method="input"/>
        <s:url id="quizClientCss" namespace="/validation" action="quizClientCss" method="input"/>
        <s:url id="quizAjax" namespace="/validation" action="quizAjax" method="input"/>
        <s:url id="fieldValidatorUrl" action="showFieldValidatorsExamples" namespace="/validation" />
        <s:url id="nonFieldValidatorUrl" action="showNonFieldValidatorsExamples" namespace="/validation" />
        <s:url id="visitorValidatorUrl" action="showVisitorValidatorsExamples" namespace="/validation" />
        <s:url id="clientSideValidationUrl" action="clientSideValidationExample" namespace="/validation" />
        <s:url id="backToShowcase" action="showcase" namespace="/" />
        <s:url id="storeMessageAcrossRequestExample" value="/validation/storeErrorsAcrossRequestExample.jsp" />
        
        <ul>
            <li><s:a href="%{fieldValidatorUrl}">Field Validators</s:a></li>
            <li><s:a href="%{clientSideValidationUrl}">Field Validators with client-side JavaScript</s:a></li>
            <li><s:a href="%{nonFieldValidatorUrl}">Non Field Validator</s:a></li>
            <li><s:a href="%{storeMessageAcrossRequestExample}">Store across request using MessageStoreInterceptor (Example)</s:a></li>
            <li>(broken) <s:a href="%{quizAjax}">Validation (ajax)</s:a></li>
            <li><s:a href="%{quizBasic}">Validation (basic)</s:a></li>
            <li><s:a href="%{quizClient}">Validation (client)</s:a></li>
            <li><s:a href="%{quizClientCss}">Validation (client using css_xhtml theme)</s:a></li>
            <li><s:a href="%{visitorValidatorUrl}">Visitor Validator</s:a></li>
            <li><s:a href="%{backToShowcase}">Back To Showcase</s:a>
        </ul>
    </body>
</html>

