ariba.ui.aribaweb.core
Class AWParentTemplate
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWBaseElement
ariba.ui.aribaweb.core.AWParentTemplate
- All Implemented Interfaces:
- AWCycleable, AWCycleableReference, AWElement, AWVisitable, AWObject, java.lang.Cloneable
public final class AWParentTemplate
- extends AWBaseElement
This element serves to include the template defined by the parent component
at the point of reference. This allows for a component subclass' template to
look as follows:
:
preamble
postamble
:
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
Methods inherited from class ariba.ui.aribaweb.core.AWBaseElement |
appendTo, bareStringContent, clone, continueVisit, determineInstance, lineNumber, setLineNumber, setTemplateName, startVisit, templateName, toString, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AWParentTemplate
public AWParentTemplate()
determineInstance
public AWElement determineInstance(java.lang.String elementName,
java.util.Map bindingsHashtable,
java.lang.String templateName,
int lineNumber)
- Specified by:
determineInstance
in interface AWCycleableReference
- Overrides:
determineInstance
in class AWBaseElement
applyValues
public void applyValues(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should take any form values (or query string parameters) that it owns from the
AWRequestContext.request()
.
- Specified by:
applyValues
in interface AWCycleable
- Overrides:
applyValues
in class AWBaseElement
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
invokeAction
public AWResponseGenerating invokeAction(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should determine if it is the intended recipient of the current action
(by checking the
AWRequestContext.request()
AWRequest.senderId()
) and,
if so, handle the action and return the result.
- Specified by:
invokeAction
in interface AWCycleable
- Overrides:
invokeAction
in class AWBaseElement
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
- Returns:
- the response for the action
renderResponse
public void renderResponse(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should render its content to the
AWRequestContext.response()
- Specified by:
renderResponse
in interface AWCycleable
- Overrides:
renderResponse
in class AWBaseElement
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.