|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Indicates a region that should be considered for incremental DOM update (AJAX) without requiring update of its surrounding content.
RefreshRegions, by default, wrap their content in a div (with an id). If, on subsequent renderings, the contents of a refresh regions has changed (and any parent regions enclosing it have not) then only the changes for this regions need be sent to the client.
Bindings | |||
---|---|---|---|
tagName
|
By default we use an div with an inline display style to as the container for the refresh region. Span has a problem if the content contains block elements on IE, so it's not recommended for use. |
String (get) |
|
elementId
|
String (set) |
||
useId
|
id to use for refresh region (instead of a dynamically constructed elementId. Used by BasicPageWrapper to force stable cross-page RefreshRegions ids (to enable incremental refresh even when page structure may have caused elementId misalignment). |
String (get) |
|
style
|
Inline styles for the refresh region. |
String (get) |
|
class
|
The default class (rr) keeps the default container type (div) from disturbing the content surrounding the AWRefreshRegion. |
String (get) |
|
isScope
|
Indicates that this AWRefreshRegion wraps other AWRefreshRegion(s). Causes this AWRefreshRegion to render itself if any of its child AWRefreshRegion's are rendered. Example:
If the table AWRefreshRegion does not have isScope="$true", then if the tr AWRefreshRegion changed, the following HTML would be rendered:
Alternatively, if the AWRefreshRegion does have isScope="$true", then the HTML output would be:
|
String (get) |
|
alwaysRender
|
Causes the contents of this AWRefreshRegion to always be rendered regardless of whether or not the contents have changed since the last rendering. |
boolean (get) |
|
dropAction
|
Action to invoke. |
AWResponseGenerating (get) |
|
dragAction
|
Action to invoke. |
void (get) |
|
disabled
|
If set to true, causes the AWRefreshRegion to act like an AWGenericContainer. |
boolean (get) |
|
omitTags
|
Disable refresh region (don't render surrounding tags, but render content) |
boolean (get) |
|
ignore
|
Indicates that this AWRefreshRegion should be ignored during incremental updates. (This binding is passed through to the HTML and is used to indicate to the client update code that this AWRefreshRegion should be ignored during incremental updates.) |
boolean (get) |
|
forceRefreshOnChange
|
If true, we will force an FPR if this region changes across pages (useful, for instance, on global-scoped JavaScript / VBScript (see AWClientsideScript...) |
boolean (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.core.AWRefreshRegion
public final class AWRefreshRegion
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent |
---|
AWComponent.RenderingFilter, AWComponent.RenderingListener |
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
---|
AWResponseGenerating.ResponseSubstitution |
Constructor Summary | |
---|---|
AWRefreshRegion()
|
Method Summary | |
---|---|
java.lang.Object |
getClassName()
|
AWResponseGenerating |
invokeAction(AWRequestContext requestContext,
AWComponent component)
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. |
boolean |
isClassicRefreshRegion()
|
boolean |
isSender()
|
void |
popBuffer()
|
void |
pushBuffer()
|
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
void |
sleep()
|
java.lang.String[] |
supportedBindingNames()
|
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
---|
getFieldValue, isKindOfClass, setFieldValue |
Field Detail |
---|
public static final AWBinding NullActionBinding
public boolean _isDisabled
public boolean _dragEnabled
public AWEncodedString _elementId
public java.lang.String _tagName
public AWBinding _classBinding
public boolean _hasValueBinding
public boolean _hasRequiresRefreshBinding
Constructor Detail |
---|
public AWRefreshRegion()
Method Detail |
---|
public java.lang.String[] supportedBindingNames()
supportedBindingNames
in class AWComponent
public void sleep()
public void pushBuffer()
public void popBuffer()
public boolean isSender()
public void renderResponse(AWRequestContext requestContext, AWComponent component)
AWCycleable
AWRequestContext.response()
renderResponse
in interface AWCycleable
renderResponse
in class AWComponent
requestContext
- the context for the current request.component
- the current parent componentpublic AWResponseGenerating invokeAction(AWRequestContext requestContext, AWComponent component)
AWCycleable
AWRequestContext.request()
AWRequest.senderId()
) and,
if so, handle the action and return the result.
invokeAction
in interface AWCycleable
invokeAction
in class AWComponent
requestContext
- the context for the current request.component
- the current parent component
public java.lang.Object getClassName()
public boolean isClassicRefreshRegion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |