Package | Description |
---|---|
org.apache.tapestry5.alerts |
Support for a standard way of presenting alerts to the user, via the
AlertManager service combined with the
Alerts component. |
org.apache.tapestry5.internal.json |
[INTERNAL USE ONLY] support classes for the JSON module; API subject to change
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.internal.services.ajax |
[INTERNAL USE ONLY] AJAX support services; API subject to change
|
org.apache.tapestry5.json |
Repackaged, improved (and tested) version of code originally from json.org.
|
org.apache.tapestry5.services |
Core services
|
org.apache.tapestry5.services.ajax |
Utilities for handling Ajax-oriented requests, including partial render requests.
|
org.apache.tapestry5.services.javascript |
Support for Javascript (and CSS), including dynamically-added JavaScript and
services that manage dynamically-added links to JavaScript (and CSS) assets.
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
Alert.toJSON() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
StringToJSONObject.coerce(String input) |
Modifier and Type | Method and Description |
---|---|
void |
PartialMarkupDocumentLinker.commit(JSONObject reply)
Commits changes, adding one or more keys to the reply.
|
void |
JSONObjectEventResultProcessor.processResultValue(JSONObject value) |
void |
PartialMarkupRendererTerminator.renderMarkup(MarkupWriter writer,
JSONObject reply) |
void |
RenderCommandComponentEventResultProcessor.renderMarkup(MarkupWriter writer,
JSONObject reply,
PartialMarkupRenderer renderer)
As a filter, this class does three things:
It creates an outer element to capture the partial page content that will be rendered
It does setup and cleanup with the
AjaxFormUpdateController
It extracts the child markup and stuffs it into the reply's "content" property.
|
void |
PageRenderQueue.renderPartial(MarkupWriter writer,
JSONObject reply)
Performs a partial markup render, as configured via
PageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand) . |
void |
PageRenderQueueImpl.renderPartial(MarkupWriter writer,
JSONObject reply) |
void |
AjaxPartialResponseRenderer.renderPartialPageMarkup(JSONObject reply)
Used to render the partial response using a base reply object, to which any Tapestry-related
information (usually related to zone updates and initializations) will be added.
|
void |
AjaxPartialResponseRendererImpl.renderPartialPageMarkup(JSONObject reply) |
Modifier and Type | Method and Description |
---|---|
void |
JavaScriptSupportImpl.addInitializerCall(InitializationPriority priority,
String functionName,
JSONObject parameter) |
void |
JavaScriptSupportImpl.addInitializerCall(String functionName,
JSONObject parameter) |
void |
SingleZonePartialRendererFilter.renderMarkup(MarkupWriter writer,
JSONObject reply,
PartialMarkupRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
JSONObject.accumulate(String key,
Object value)
Accumulate values under a key.
|
JSONObject |
JSONObject.append(String key,
Object value)
Append values to the array under a key.
|
JSONObject |
JSONObject.copy()
Returns a new JSONObject that is a shallow copy of this JSONObject.
|
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key.
|
JSONObject |
JSONObject.in(String key)
Navigates into a nested JSONObject, creating the JSONObject if necessary.
|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
JSONObject |
JSONObject.putAll(Map<String,?> newProperties)
Invokes
put(String, Object) for each value from the map. |
Constructor and Description |
---|
JSONObject(JSONObject source,
String... propertyNames)
Construct a JSONObject from a subset of another JSONObject.
|
Modifier and Type | Method and Description |
---|---|
void |
PartialMarkupRenderer.renderMarkup(MarkupWriter writer,
JSONObject reply)
Implementations should perform work before or after passing the writer to the renderer.
|
void |
PartialMarkupRendererFilter.renderMarkup(MarkupWriter writer,
JSONObject reply,
PartialMarkupRenderer renderer)
Implementations should perform work before or after passing the writer to the renderer.
|
Modifier and Type | Method and Description |
---|---|
void |
JSONCallback.run(JSONObject reply)
Modify the reply, typically by adding additional keys.
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
ModuleConfigurationCallback.configure(JSONObject configuration)
Receives the current configuration, which can be copied or returned, or (more typically) modified and returned.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaScriptSupport.addInitializerCall(InitializationPriority priority,
String functionName,
JSONObject parameter)
Deprecated.
Deprecated in 5.4; refactor to use JavaScript modules instead
|
void |
JavaScriptSupport.addInitializerCall(String functionName,
JSONObject parameter)
Deprecated.
Deprecated in 5.4; refactor to use JavaScript modules instead
|
JSONObject |
ModuleConfigurationCallback.configure(JSONObject configuration)
Receives the current configuration, which can be copied or returned, or (more typically) modified and returned.
|
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.