Package | Description |
---|---|
org.apache.tapestry5 |
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
|
org.apache.tapestry5.beanvalidator |
Support for JSR-303 Bean Validation via the Hibernate validator implementation
|
org.apache.tapestry5.corelib.base |
Base components intended to be extended by other components rather than
used directly in templates.
|
org.apache.tapestry5.corelib.components |
The set of core components available in all Tapestry applications
|
org.apache.tapestry5.corelib.internal |
[INTERNAL USE ONLY] support classes for the Tapestry-core module; API subject to change
core components.
|
org.apache.tapestry5.internal.beanvalidator |
[INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to change
|
org.apache.tapestry5.internal.dynamic |
[INTERNAL USE ONLY] support classes for the
Dynamic component; API subject to change |
org.apache.tapestry5.internal.parser |
[INTERNAL USE ONLY] support classes for component template rendering; API subject to change
|
org.apache.tapestry5.internal.renderers |
[INTERNAL USE ONLY] support classes for component template rendering; 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.internal.services.javascript |
[INTERNAL USE ONLY] JavaScript support implementations; API subject to change
|
org.apache.tapestry5.internal.structure |
[INTERNAL USE ONLY] page structure implementation details; API subject to change.
|
org.apache.tapestry5.internal.test |
[INTERNAL USE ONLY] testing support implementation classes; API subject to change
|
org.apache.tapestry5.internal.translator |
[INTERNAL USE ONLY] translator implementation classes; API subject to change.
|
org.apache.tapestry5.internal.util |
[INTERNAL USE ONLY] various utility classes; API subject to change.
|
org.apache.tapestry5.runtime |
Contains interfaces that are added to component classes at runtime.
|
org.apache.tapestry5.services |
Core services
|
org.apache.tapestry5.test |
Support for testing Tapestry pages
|
org.apache.tapestry5.upload.components |
Tapestry-upload module components
|
org.apache.tapestry5.validator |
Validators for use by Tapestry (and custom) form field components.
|
Modifier and Type | Method and Description |
---|---|
void |
Validator.render(Field field,
C constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport)
Hook used by components to allow the validator to contribute additional attributes or (more often) client-side
JavaScript (via the
FormSupport.addValidation(Field, String, String, Object) ). |
void |
Translator.render(Field field,
String message,
MarkupWriter writer,
FormSupport formSupport)
Hook used by components to allow the validator to contribute additional attributes or (more often) client-side
JavaScript (via the
FormSupport.addValidation(Field, String, String, Object) ). |
void |
FieldValidator.render(MarkupWriter writer)
|
void |
FieldTranslator.render(MarkupWriter writer)
|
void |
Renderable.render(MarkupWriter writer) |
void |
ComponentResources.renderInformalParameters(MarkupWriter writer)
Indentifies all parameters that are not formal parameters and writes each as a attribute/value pair into the
current element of the markup writer.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientConstraintDescriptor.applyClientValidation(MarkupWriter writer,
String message,
Map<String,Object> attributes)
Applies the validation
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractPropertyOutput.renderPropertyValue(MarkupWriter writer,
String overrideBlockId)
Invoked from subclasses to do the rendering.
|
protected abstract void |
AbstractTextField.writeFieldTag(MarkupWriter writer,
String value)
Invoked from
AbstractTextField.begin(MarkupWriter) to write out the element and attributes (typically, <input>). |
protected void |
AbstractLink.writeLink(MarkupWriter writer,
Link link,
Object... namesAndValues)
Writes an <a> element with the provided link as the href attribute.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PasswordField.writeFieldTag(MarkupWriter writer,
String value) |
protected void |
TextField.writeFieldTag(MarkupWriter writer,
String value) |
protected void |
TextArea.writeFieldTag(MarkupWriter writer,
String value) |
Constructor and Description |
---|
HiddenFieldPositioner(MarkupWriter writer,
HiddenFieldLocationRules rules) |
Modifier and Type | Method and Description |
---|---|
void |
BeanFieldValidator.render(MarkupWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
DynamicTemplateElement.render(MarkupWriter writer,
RenderQueue queue,
DynamicDelegate delegate)
The element should perform whatever rendering it wants.
|
Modifier and Type | Method and Description |
---|---|
void |
StartElementToken.render(MarkupWriter writer,
RenderQueue queue) |
void |
CommentToken.render(MarkupWriter writer,
RenderQueue queue) |
void |
CDATAToken.render(MarkupWriter writer,
RenderQueue queue) |
void |
DefineNamespacePrefixToken.render(MarkupWriter writer,
RenderQueue queue) |
void |
TextToken.render(MarkupWriter writer,
RenderQueue queue) |
void |
AttributeToken.render(MarkupWriter writer,
RenderQueue queue) |
void |
DTDToken.render(MarkupWriter writer,
RenderQueue queue) |
Modifier and Type | Method and Description |
---|---|
void |
AvailableValuesRenderer.render(AvailableValues values,
MarkupWriter writer) |
void |
ComponentResourcesRenderer.render(ComponentResources object,
MarkupWriter writer) |
void |
EventContextRenderer.render(EventContext object,
MarkupWriter writer) |
void |
ListRenderer.render(List list,
MarkupWriter writer) |
void |
LocationRenderer.render(Location location,
MarkupWriter writer) |
void |
ObjectArrayRenderer.render(Object[] array,
MarkupWriter writer) |
void |
RequestRenderer.render(Request request,
MarkupWriter writer) |
Modifier and Type | Class and Description |
---|---|
class |
MarkupWriterImpl |
Modifier and Type | Method and Description |
---|---|
MarkupWriter |
MarkupWriterFactoryImpl.newMarkupWriter(ContentType contentType) |
MarkupWriter |
MarkupWriterFactoryImpl.newMarkupWriter(Page page) |
MarkupWriter |
MarkupWriterFactoryImpl.newMarkupWriter(String pageName) |
MarkupWriter |
MarkupWriterFactoryImpl.newPartialMarkupWriter(ContentType contentType) |
MarkupWriter |
MarkupWriterFactoryImpl.newPartialMarkupWriter(Page page) |
MarkupWriter |
MarkupWriterFactoryImpl.newPartialMarkupWriter(String pageName) |
Modifier and Type | Method and Description |
---|---|
ValidationDecorator |
ValidationDecoratorFactoryImpl.newInstance(MarkupWriter writer) |
void |
FieldTranslatorImpl.render(MarkupWriter writer) |
void |
PageRenderQueue.render(MarkupWriter writer)
Render to the markup writer, as setup by the
PageRenderQueue.initializeForCompletePage(org.apache.tapestry5.internal.structure.Page) or
PageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand) methods. |
void |
PageRenderQueueImpl.render(MarkupWriter writer) |
void |
CompositeFieldValidator.render(MarkupWriter writer) |
void |
FieldValidatorImpl.render(MarkupWriter writer) |
void |
MarkupRendererTerminator.renderMarkup(MarkupWriter writer) |
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 |
PageNameMetaInjector.renderMarkup(MarkupWriter writer,
MarkupRenderer delegate) |
void |
PageMarkupRendererImpl.renderPageMarkup(Page page,
MarkupWriter writer) |
void |
PageMarkupRenderer.renderPageMarkup(Page page,
MarkupWriter writer)
Initializes the rendering using the
MarkupRenderer pipeline. |
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 |
RenderQueueImpl.run(MarkupWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
SingleZonePartialRendererFilter.renderMarkup(MarkupWriter writer,
JSONObject reply,
PartialMarkupRenderer renderer) |
void |
AjaxFormUpdateControllerImpl.setupBeforePartialZoneRender(MarkupWriter writer) |
void |
AjaxFormUpdateController.setupBeforePartialZoneRender(MarkupWriter writer)
Called before starting to render a zone's content; initializes
the
FormSupport and ValidationTracker environmentals
and starts a heartbeat. |
Modifier and Type | Method and Description |
---|---|
void |
AddBrowserCompatibilityStyles.renderMarkup(MarkupWriter writer,
MarkupRenderer renderer) |
void |
ConfigureHTMLElementFilter.renderMarkup(MarkupWriter writer,
MarkupRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
void |
ComponentPageElementImpl.render(MarkupWriter writer,
RenderQueue queue)
Pushes the SetupRender phase state onto the queue.
|
void |
BlockImpl.render(MarkupWriter writer,
RenderQueue queue)
Pushes all the elements of the body of this block onto the queue in appropriate order.
|
void |
ExpansionPageElement.render(MarkupWriter writer,
RenderQueue queue) |
void |
InternalComponentResourcesImpl.render(MarkupWriter writer,
RenderQueue queue) |
void |
InternalComponentResourcesImpl.renderInformalParameters(MarkupWriter writer) |
Modifier and Type | Method and Description |
---|---|
void |
CaptureRenderedDocument.renderMarkup(MarkupWriter writer,
MarkupRenderer renderer) |
Modifier and Type | Method and Description |
---|---|
void |
StringTranslator.render(Field field,
String message,
MarkupWriter writer,
FormSupport formSupport)
Does nothing.
|
void |
NumericTranslator.render(Field field,
String message,
MarkupWriter writer,
FormSupport formSupport) |
Modifier and Type | Method and Description |
---|---|
void |
StringRenderable.render(MarkupWriter writer) |
void |
RenderableAsBlock.render(MarkupWriter writer,
RenderQueue queue)
|
Constructor and Description |
---|
SelectModelRenderer(MarkupWriter writer,
ValueEncoder encoder,
boolean raw) |
Modifier and Type | Method and Description |
---|---|
void |
Component.afterRender(MarkupWriter writer,
Event event)
Generally used to write the close tag matching any open tag written by
Component.beginRender(org.apache.tapestry5.MarkupWriter, Event) . |
void |
Component.afterRenderBody(MarkupWriter writer,
Event event)
Invoked just after rendering the body of the component.
|
void |
Component.afterRenderTemplate(MarkupWriter writer,
Event event)
Invoked after rendering the template for a component (only for components with a template).
|
void |
Component.beforeRenderBody(MarkupWriter writer,
Event event)
Invoked just before rendering the body of component.
|
void |
Component.beforeRenderTemplate(MarkupWriter writer,
Event event)
This phase is only invoked for components with templates.
|
void |
Component.beginRender(MarkupWriter writer,
Event event)
Invoked to allow a component to render its tag (start tag and attributes).
|
void |
Component.cleanupRender(MarkupWriter writer,
Event event)
Generally used to perform final cleanup of the component after rendering.
|
void |
RenderCommand.render(MarkupWriter writer,
RenderQueue queue)
Invoked on an object to request that it render itself.
|
void |
Component.setupRender(MarkupWriter writer,
Event event)
Invoked before rendering a component (or its template).
|
Modifier and Type | Method and Description |
---|---|
MarkupWriter |
MarkupWriterFactory.newMarkupWriter(ContentType contentType)
Deprecated.
use
MarkupWriterFactory.newMarkupWriter(Page) instead which doesn't rely on the content type alone. |
MarkupWriter |
MarkupWriterFactory.newMarkupWriter(Page page)
Obtains a markup writer that will render the content for the provided page.
|
MarkupWriter |
MarkupWriterFactory.newMarkupWriter(String pageName)
Obtains a markup writer that will render the content for the provided logical page name.
|
MarkupWriter |
MarkupWriterFactory.newPartialMarkupWriter(ContentType contentType)
Deprecated.
use
MarkupWriterFactory.newPartialMarkupWriter(Page) instead which doesn't rely on the content type alone. |
MarkupWriter |
MarkupWriterFactory.newPartialMarkupWriter(Page page)
Obtains a markup writer that will render the content for the provided page,
configured for partial page rendering (i.e., for a response to an Ajax request).
|
MarkupWriter |
MarkupWriterFactory.newPartialMarkupWriter(String pageName)
Obtains a markup writer that will render the content for the provided logical page name,
configured for partial page rendering (i.e., for a response to an Ajax request).
|
Modifier and Type | Method and Description |
---|---|
ValidationDecorator |
ValidationDecoratorFactory.newInstance(MarkupWriter writer)
Deprecated.
Creates a new decorator for the indicated writer.
|
void |
DefaultObjectRenderer.render(Object object,
MarkupWriter writer) |
void |
ObjectRenderer.render(T object,
MarkupWriter writer)
Renders the object out as markup.
|
void |
MarkupRenderer.renderMarkup(MarkupWriter writer)
Invoked to render some markup.
|
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.
|
void |
MarkupRendererFilter.renderMarkup(MarkupWriter writer,
MarkupRenderer renderer)
Implementations should perform work before or after passing the writer to the renderer.
|
Modifier and Type | Method and Description |
---|---|
protected MarkupWriter |
TapestryTestCase.createMarkupWriter()
Creates a new markup writer instance (not a markup writer mock).
|
protected MarkupWriter |
TapestryTestCase.mockMarkupWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
TapestryTestCase.train_renderInformalParameters(ComponentResources resources,
MarkupWriter writer,
Object... informals) |
Modifier and Type | Method and Description |
---|---|
void |
Upload.afterRender(MarkupWriter writer) |
protected void |
Upload.beginRender(MarkupWriter writer)
Render the upload tags.
|
Modifier and Type | Method and Description |
---|---|
void |
MaxLength.render(Field field,
Integer constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
MinLength.render(Field field,
Integer constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Max.render(Field field,
Long constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Min.render(Field field,
Long constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Regexp.render(Field field,
Pattern constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
Required.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
void |
None.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport)
Does nothing.
|
void |
Email.render(Field field,
Void constraintValue,
MessageFormatter formatter,
MarkupWriter writer,
FormSupport formSupport) |
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.