PAJES 2.3.9

org.pajes.html.validation
Class ValidationScript

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.pajes.servlet.PajeServlet
              extended byorg.pajes.servlet.StaticPajeServlet
                  extended byorg.pajes.html.validation.ValidationScript
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ValidationScript
extends StaticPajeServlet

Handles the return of the locale-specific JavaScript validation functions used by InputField sub-classes.

See Also:
Serialized Form

Constructor Summary
ValidationScript()
          Creates a new ValidationScript.
 
Method Summary
protected  byte[] getContent(javax.servlet.http.HttpServletRequest request)
          Retrieves the locale-specific JavaScript validation functions used by InputField sub-classes.
 
Methods inherited from class org.pajes.servlet.StaticPajeServlet
doGet, getContentType, getExpirationDate, getFilename, getLastModified, setHeaders
 
Methods inherited from class org.pajes.servlet.PajeServlet
createPaje, createPaje, createPaje, doPost, getAbsoluteHREF, getBaseHREF, getMaxFileUploadSize, getPajeFactory, getResource, getUploadedFile, getUploadedFileNames, handleException, init, log, log, service, setInputFieldsFromRequestAttributes, setInputFieldsFromRequestParameters, setMaxFileUploadSize, setPajeFactory
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationScript

public ValidationScript()
Creates a new ValidationScript.

Method Detail

getContent

protected byte[] getContent(javax.servlet.http.HttpServletRequest request)
                     throws java.io.IOException
Retrieves the locale-specific JavaScript validation functions used by InputField sub-classes.

Specified by:
getContent in class StaticPajeServlet
Parameters:
request - the request object.
Returns:
the byte array of the content this servlet will return.
Throws:
java.io.IOException - if an I/O error occurs.

PAJES 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.