<a:Content>
a:Content is used to mark multiple named content areas as arguments to a component.
These content areas may subsequently be included by the subcomponent via a:IncludeContent.
E.g.:
<w:BasicPageWrapper>
<a:Content name="toc">
some toc content...
</a:Content>
<a:Content name="body">
the body content...
</a:Content>
</w:BasicPageWrapper>
Bindings |
name
|
Name of the Content. Must agree with the component's api.
|
String
(get)
|
templateName
|
Alternate for "name".
|
String
(get)
|
disabled
|
Should this content be made to appear not present to the subcomponent.
Used to conditionally / dynamically include content.
|
boolean
(get)
|
ariba.ui.aribaweb.core
Class AWContent
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.AWContent
- All Implemented Interfaces:
- AWBindable, AWCycleable, AWCycleableReference, AWElement, AWElementContaining, AWVisitable, AWObject, java.lang.Cloneable
public final class AWContent
- extends AWContainerElement
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 |
AWContent
public AWContent()
init
public void init(java.lang.String tagName,
java.util.Map bindingsHashtable)
- Specified by:
init
in interface AWBindable
- Overrides:
init
in class AWBindableElement
setContentElement
public void setContentElement(AWElement contentElement)
- Overrides:
setContentElement
in class AWContainerElement
nameInComponent
public java.lang.String nameInComponent(AWComponent component)
enabled
public boolean enabled(AWComponent component)
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 AWContainerElement
- 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 AWContainerElement
- 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 AWContainerElement
- 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.