| org.araneaframework.http.UpdateRegionContext
All known Subclasses: org.araneaframework.http.filter.StandardUpdateRegionFilterWidget,
UpdateRegionContext | public interface UpdateRegionContext extends Serializable(Code) | | Update region filter, supporting updating of HTML page regions and sending
miscellaneous data back via AJAX requests.
author: Alar Kvell (alar@araneaframework.org) since: 1.1 |
Method Summary | |
void | addDocumentRegion(String documentRegionId, String widgetId) Notify that a document region is rendered by the specified widget. | void | addRenderedRegion(String documentRegionId) Adds the region which should be rendered and included in the current response. | void | disableOnce() Disable updateregion filter during this request only. |
UPDATE_REGIONS_KEY | final public static String UPDATE_REGIONS_KEY(Code) | | The request key for update regions that should be processed by this
UpdateRegionContext .
|
addDocumentRegion | void addDocumentRegion(String documentRegionId, String widgetId)(Code) | | Notify that a document region is rendered by the specified widget. The list
of document regions is cleared before every full render. Updateregion tags
should always call this, so that when updateregion filter is invoked, it is
known which widget to render for a particular document region.
Parameters: documentRegionId - document region id Parameters: widgetId - id of the widget that will render the document region |
addRenderedRegion | void addRenderedRegion(String documentRegionId)(Code) | | Adds the region which should be rendered and included in the current response.
Parameters: documentRegionId - fully qualified update region id |
disableOnce | void disableOnce()(Code) | | Disable updateregion filter during this request only. Already rendered data
will be discarded. In client-side, transactionId will be set inconsistent
and page will be forced to reload in order to perform full render.
|
|
|