AjaxResponseRenderer
service instead of
returning an instance of MultiZoneUpdatepublic class MultiZoneUpdate extends Object
add(String, Object)
, and return the final result.
Remember that client-side element ids may not match server-side component ids, especially once Ajax is added to the
mix. Because of this, it is highly recommended that the client-side logic gather the actual component ids and include
those in the Ajax request, to ensure that the server generates updates that the client can process. Better yet, use
the Zone's id parameter to lock down the zone's id to a known, predictable value.Constructor and Description |
---|
MultiZoneUpdate(ClientBodyElement zone)
Deprecated.
Alternate constructor that takes a ClientBodyElement (typically, a
Zone ). |
MultiZoneUpdate(String zoneId,
Object renderer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MultiZoneUpdate |
add(ClientBodyElement zone)
Deprecated.
Adds the zone (represented by the
ClientBodyElement ) to the update. |
MultiZoneUpdate |
add(String zoneId,
Object renderer)
Deprecated.
Returns a new MultiZoneUpdate reflecting the mapping from the indicated zone to an object that
will render the content for that zone.
|
Map<String,Object> |
getZoneToRenderMap()
Deprecated.
Returns a mapping from client zone id to renderer object for that zone.
|
String |
toString()
Deprecated.
|
public MultiZoneUpdate(String zoneId, Object renderer)
public MultiZoneUpdate(ClientBodyElement zone)
Zone
).public MultiZoneUpdate add(ClientBodyElement zone)
ClientBodyElement
) to the update.public MultiZoneUpdate add(String zoneId, Object renderer)
zoneId
- client id of zone to updaterenderer
- object that can provide the content for the zonepublic Map<String,Object> getZoneToRenderMap()
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.