ariba.ui.meta.core
Class MetaIncludeComponent
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWBaseElement
ariba.ui.aribaweb.core.AWBindableElement
ariba.ui.aribaweb.core.AWContainerElement
ariba.ui.aribaweb.core.AWIncludeComponent
ariba.ui.meta.core.MetaIncludeComponent
- All Implemented Interfaces:
- AWBindable, AWCycleable, AWCycleableReference, AWElement, AWElementContaining, AWVisitable, AWObject, java.lang.Cloneable
public class MetaIncludeComponent
- extends AWIncludeComponent
MetaIncludeComponent is (along with MetaContext) the key element for binding MetaUI into
AribaWeb user interfaces.
MetaIncludeComponent dynamically switches in an AWComponent (or other AWElement) based on
the current MetaContext's 'component' property and sets its bindings from the 'bindings' property.
This alone enables almost any existing AW widget to be specified for use for a particular field
or layout using rules -- without any additional glue code or "adaptor components".
MetaIncludeComponent support additional, more sophisticated, component bindings: wrapping the main
component using 'wrapperComponent' and 'wrapperBindings', binding component content using the bindings
'awcontent' and 'awcontentElement', and event binding named Content templates using an 'awcontentLayouts'
map binding.
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.core.AWElement |
clone |
MetaIncludeComponent
public MetaIncludeComponent()
init
public void init(java.lang.String tagName,
java.util.Map bindingsHashtable)
- Specified by:
init
in interface AWBindable
- Overrides:
init
in class AWIncludeComponent
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 AWIncludeComponent
- 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 AWIncludeComponent
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
- Returns:
- the response for the action
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.