atg.droplet
Class For
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.nucleus.TimedOperationService
atg.nucleus.servlet.ServletService
atg.nucleus.servlet.HttpServletService
atg.servlet.DynamoServlet
atg.droplet.For
- All Implemented Interfaces:
- NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, ParameterServlet, java.util.EventListener, javax.servlet.Servlet
public class For
- extends DynamoServlet
This servlet renders its output parameter
howMany times. The howMany parameter must be a
String representation of an int.
Each iteration will set the parameters index and count to
the current loop index (0-based) and count (1-based), respectively.
- howMany
- The parameter that defines the number of times to render the output
parameter.
- output
- This parameter is rendered the number of times specified by the howmany
parameter.
- index
- This parameter is set to the number of the current iteration of
the loop. Its value for the first iteration of the loop is 0.
- count
- This parameter is set to the number of the current iteration of
the loop. Its value for the first iteration of the loop is 1.
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
DEFAULT_LOG_TRACE_STATUS |
Constructor Summary |
For()
|
Methods inherited from class atg.nucleus.GenericService |
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
INDEX
public static final java.lang.String INDEX
- See Also:
- Constant Field Values
COUNT
public static final java.lang.String COUNT
- See Also:
- Constant Field Values
OUTPUT
public static final java.lang.String OUTPUT
- See Also:
- Constant Field Values
HOW_MANY
public static final java.lang.String HOW_MANY
- See Also:
- Constant Field Values
INDEX_NAME
public static final java.lang.String INDEX_NAME
- See Also:
- Constant Field Values
HOW_MANY_OLD
public static final java.lang.String HOW_MANY_OLD
- See Also:
- Constant Field Values
For
public For()
service
public void service(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
throws javax.servlet.ServletException,
java.io.IOException
- Description copied from class:
DynamoServlet
- This method provides the default implementation of service,
by dispatching to conventionally named methods which begin
with "do".
- Overrides:
service
in class DynamoServlet
- Parameters:
pReq
- the request to be processedpRes
- the response object for this request
- Throws:
javax.servlet.ServletException
- an application specific error occurred
processing this request
java.io.IOException
- an error occurred reading data from the request
or writing data to the response.