Package | Description |
---|---|
org.apache.tapestry |
Tapestry is a comprehensive web application framework, written in Java.
|
org.apache.tapestry.components |
Basic, fundamental components used to construct more complex components, or pages.
|
org.apache.tapestry.describe |
Services related to describing objects and graphs of objects; primarily used by the
Exception page. |
org.apache.tapestry.engine |
Implementations of the
IEngine interface, including
the standard implementation:
BaseEngine . |
org.apache.tapestry.form |
Components for implementing basic HTML Forms.
|
org.apache.tapestry.form.translator | |
org.apache.tapestry.form.validator | |
org.apache.tapestry.html |
Components specific to the creation of HTML pages, including sophisticated
DHTML JavaScript effects.
|
org.apache.tapestry.link |
Components for creating links on the page that trigger application behavior
when clicked.
|
org.apache.tapestry.markup |
Implementations of
IMarkupWriter . |
org.apache.tapestry.parse |
Classes used when parsing templates, application and component specifications.
|
org.apache.tapestry.services.impl | |
org.apache.tapestry.util |
A general set of resuable classes and utilities for creating Internet and XML applications.
|
org.apache.tapestry.valid |
Components and classes that provide specialized, validating text fields.
|
org.apache.tapestry.wml |
Classes and components for main elements of the Wireless Markup Language (WML 1.2).
|
Modifier and Type | Interface and Description |
---|---|
interface |
NestedMarkupWriter
A writer that is created by, and nested within, another markup writer.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractPage.beginResponse(IMarkupWriter writer,
IRequestCycle cycle)
Deprecated.
To be removed in 4.0. Implement
PageRenderListener instead. |
void |
IPage.beginResponse(IMarkupWriter writer,
IRequestCycle cycle)
Invoked just before rendering of the page is initiated.
|
void |
FormBehavior.prerenderField(IMarkupWriter writer,
IComponent field,
org.apache.hivemind.Location location)
Pre-renders the specified field, buffering the result for later use by
FormBehavior.wasPrerendered(IMarkupWriter, IComponent) . |
void |
AbstractComponent.render(IMarkupWriter writer,
IRequestCycle cycle)
The main method used to render the component.
|
void |
IRender.render(IMarkupWriter writer,
IRequestCycle cycle)
The principal rendering/rewinding method.
|
void |
AbstractComponent.renderBody(IMarkupWriter writer,
IRequestCycle cycle)
Renders all elements wrapped by the receiver.
|
void |
IComponent.renderBody(IMarkupWriter writer,
IRequestCycle cycle)
Invoked to make the receiver render its body (the elements and components its tag wraps
around, on its container's template).
|
protected abstract void |
AbstractComponent.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle) to actually render the component
(with any parameter values already set). |
protected void |
BaseComponent.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the top level components contained by the receiver.
|
protected void |
AbstractComponent.renderInformalParameters(IMarkupWriter writer,
IRequestCycle cycle)
Converts informal parameters into additional attributes on the curently open tag.
|
void |
IRequestCycle.renderPage(IMarkupWriter writer)
Renders the given page.
|
void |
AbstractPage.renderPage(IMarkupWriter writer,
IRequestCycle cycle)
Invokes
PageBeginRenderListener.pageBeginRender(PageEvent)
Invokes AbstractPage.beginResponse(IMarkupWriter, IRequestCycle)
Invokes IRequestCycle.commitPageChanges() (if not rewinding)
Invokes AbstractComponent.render(IMarkupWriter, IRequestCycle)
Invokes PageEndRenderListener.pageEndRender(PageEvent) (this occurs even if a
previous step throws an exception) |
void |
IPage.renderPage(IMarkupWriter writer,
IRequestCycle cycle)
Invoked to render the entire page.
|
void |
IForm.rewind(IMarkupWriter writer,
IRequestCycle cycle)
Invoked by the
IRequestCycle to allow a form that uses the direct service, to respond
to the form submission. |
boolean |
FormBehavior.wasPrerendered(IMarkupWriter writer,
IComponent field)
Invoked by a form control component (a field) that may have been pre-rendered.
|
Modifier and Type | Method and Description |
---|---|
void |
BlockRenderer.render(IMarkupWriter writer,
IRequestCycle cycle) |
void |
ILinkComponent.renderAdditionalAttributes(IMarkupWriter writer,
IRequestCycle cycle)
Invoked (by the
ILinkRenderer ) to make the link render any
additional attributes. |
protected void |
Any.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Block.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Does nothing; the idea of a Block is to defer the rendering of the body of the block until an
RenderBlock forces it out. |
protected void |
Conditional.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders its wrapped components only if the condition is true (technically, if condition
matches invert).
|
protected void |
Delegator.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Gets its delegate and invokes
IRender.render(IMarkupWriter, IRequestCycle)
on it. |
protected void |
ElseBean.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ForBean.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Gets the source binding and iterates through its values.
|
protected void |
Foreach.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Deprecated.
Gets the source binding and iterates through its values.
|
protected void |
IfBean.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Insert.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Prints its value parameter, possibly formatted by its format parameter.
|
protected void |
InvokeListener.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
RenderBlock.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
If block is not null, then
Block.renderForComponent(IMarkupWriter, IRequestCycle, IComponent) is invoked. |
protected void |
RenderBody.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Finds this
RenderBody 's container, and invokes
IComponent.renderBody(IMarkupWriter, IRequestCycle)
on it. |
void |
Block.renderForComponent(IMarkupWriter writer,
IRequestCycle cycle,
IComponent invoker) |
protected void |
ForBean.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
IfBean.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ForBean.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
IfBean.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
HTMLDescriber.describeObject(java.lang.Object object,
IMarkupWriter writer) |
void |
HTMLDescriberImpl.describeObject(java.lang.Object object,
IMarkupWriter writer) |
void |
ReportStatusHub.fireReportStatus(IMarkupWriter writer)
Generates an HTML status report by invoking
ReportStatusListener.reportStatus(ReportStatusEvent) on each registered listener. |
void |
ReportStatusHubImpl.fireReportStatus(IMarkupWriter writer) |
RootDescriptionReciever |
RootDescriptionReceiverFactory.newRootDescriptionReceiver(IMarkupWriter writer) |
RootDescriptionReciever |
RootDescriptionReceiverFactoryImpl.newRootDescriptionReceiver(IMarkupWriter writer) |
void |
RenderBridge.render(IMarkupWriter writer,
IRequestCycle cycle) |
void |
DefaultRenderStrategy.renderObject(java.lang.Object object,
IMarkupWriter writer,
IRequestCycle cycle)
|
void |
LocationRenderStrategy.renderObject(java.lang.Object object,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
ObjectArrayRenderStrategy.renderObject(java.lang.Object object,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
PreformattedRenderStrategy.renderObject(java.lang.Object object,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
RenderStrategy.renderObject(java.lang.Object object,
IMarkupWriter writer,
IRequestCycle cycle) |
Constructor and Description |
---|
HTMLDescriptionReceiver(IMarkupWriter writer,
DescribableStrategy adapter) |
HTMLDescriptionReceiver(IMarkupWriter writer,
DescribableStrategy strategy,
HTMLDescriptionReceiverStyles styles) |
Modifier and Type | Class and Description |
---|---|
class |
NullWriter
A
IMarkupWriter that does absolutely nothing; this is used during the rewind
phase of the request cycle when output is discarded anyway. |
Modifier and Type | Method and Description |
---|---|
static IMarkupWriter |
NullWriter.getSharedInstance() |
Modifier and Type | Method and Description |
---|---|
void |
RequestCycle.renderPage(IMarkupWriter writer)
Renders the page by invoking
IPage.renderPage(IMarkupWriter, IRequestCycle) . |
Modifier and Type | Method and Description |
---|---|
void |
IPropertySelectionRenderer.beginRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Begins the rendering of the
PropertySelection . |
void |
RadioPropertySelectionRenderer.beginRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Writes the <table> element.
|
void |
SelectPropertySelectionRenderer.beginRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Writes the <select> element.
|
void |
IPropertySelectionRenderer.endRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Ends the rendering of the
PropertySelection . |
void |
RadioPropertySelectionRenderer.endRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Closes the <table> element.
|
void |
SelectPropertySelectionRenderer.endRender(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle)
Closes the <select> element.
|
protected FormSupport |
Form.newFormSupport(IMarkupWriter writer,
IRequestCycle cycle)
Returns a new instance of
FormSupportImpl . |
void |
Form.prerenderField(IMarkupWriter writer,
IComponent field,
org.apache.hivemind.Location location) |
void |
FormSupportImpl.prerenderField(IMarkupWriter writer,
IComponent field,
org.apache.hivemind.Location location) |
protected void |
ListEdit.render(IMarkupWriter writer,
IRequestCycle cycle,
java.util.Iterator i)
Deprecated.
|
protected void |
AbstractFormComponent.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Form.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Option.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the <option> element, or responds when the form containing the element is
submitted (by checking
Form.isRewinding() . |
protected void |
Radio.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the form element, or responds when the form containing the element
is submitted (by checking
Form.isRewinding() . |
void |
AbstractFormComponentContributor.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field) |
void |
FormComponentContributor.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field)
Invoked by a form component after it finishes rendering its tag (but before the tag is
closed) to allow this object to contribute to the component's rendering process.
|
void |
TranslatedFieldSupport.renderContributions(TranslatedField field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
TranslatedFieldSupportImpl.renderContributions(TranslatedField field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
ValidatableFieldSupport.renderContributions(ValidatableField field,
IMarkupWriter writer,
IRequestCycle cycle)
Called during render of the specified component.
|
void |
ValidatableFieldSupportImpl.renderContributions(ValidatableField component,
IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
AbstractFormComponent.renderDelegateAttributes(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
AbstractFormComponent.renderDelegatePrefix(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
AbstractFormComponent.renderDelegateSuffix(IMarkupWriter writer,
IRequestCycle cycle) |
protected abstract void |
AbstractFormComponent.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Button.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Checkbox.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
DatePicker.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Hidden.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ImageSubmit.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
LinkSubmit.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ListEdit.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle)
Deprecated.
|
protected void |
PropertySelection.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
RadioGroup.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Select.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Submit.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
TextArea.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
TextField.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Upload.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
AbstractFormComponent.renderIdAttribute(IMarkupWriter writer,
IRequestCycle cycle)
Invoked from
AbstractFormComponent.renderFormComponent(IMarkupWriter, IRequestCycle) (that is, an
implementation in a subclass), to obtain an id and render an id attribute. |
void |
IPropertySelectionRenderer.renderOption(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
Invoked for each element obtained from the
model . |
void |
RadioPropertySelectionRenderer.renderOption(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
Writes a row of the table.
|
void |
SelectPropertySelectionRenderer.renderOption(PropertySelection component,
IMarkupWriter writer,
IRequestCycle cycle,
IPropertySelectionModel model,
java.lang.Object option,
int index,
boolean selected)
Writes an <option> element.
|
void |
Form.rewind(IMarkupWriter writer,
IRequestCycle cycle)
Simply invokes
AbstractComponent.render(IMarkupWriter, IRequestCycle) . |
protected abstract void |
AbstractFormComponent.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Button.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Checkbox.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle)
In traditional HTML, many checkboxes would have the same name but different values.
|
protected void |
DatePicker.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Hidden.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
LinkSubmit.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ListEdit.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle)
Deprecated.
|
protected void |
PropertySelection.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
RadioGroup.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Select.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
TextArea.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
TextField.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Upload.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
void |
ValidatableFieldSupport.validate(ValidatableField component,
IMarkupWriter writer,
IRequestCycle cycle,
java.lang.Object value)
Called during rewind of the specified component.
|
void |
ValidatableFieldSupportImpl.validate(ValidatableField component,
IMarkupWriter writer,
IRequestCycle cycle,
java.lang.Object object) |
boolean |
Form.wasPrerendered(IMarkupWriter writer,
IComponent field) |
boolean |
FormSupportImpl.wasPrerendered(IMarkupWriter writer,
IComponent field) |
protected void |
FormSupportImpl.writeHiddenField(IMarkupWriter writer,
java.lang.String name,
java.lang.String id,
java.lang.String value)
Overwridden by
GoFormSupportImpl (WML). |
protected void |
FormSupportImpl.writeTag(IMarkupWriter writer,
java.lang.String method,
java.lang.String url) |
Constructor and Description |
---|
FormSupportImpl(IMarkupWriter writer,
IRequestCycle cycle,
IForm form) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTranslator.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field) |
void |
NumberTranslator.renderContribution(IMarkupWriter writer,
IRequestCycle cycle,
FormComponentContributorContext context,
IFormComponent field) |
Modifier and Type | Method and Description |
---|---|
protected void |
Body.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Describe.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ExceptionDisplay.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Frame.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Image.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the <img> element.
|
protected void |
InsertText.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Rollover.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Script.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Shell.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
void |
RequestDisplay.renderSystemProperties(IMarkupWriter writer) |
abstract void |
InsertTextMode.writeLine(int lineNumber,
java.lang.String line,
IMarkupWriter writer,
boolean raw)
Invoked by the
InsertText component to write the next line. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultLinkRenderer.afterBodyRender(IMarkupWriter writer,
IRequestCycle cycle,
ILinkComponent link)
Invoked after the body of the link is rendered, but before
ILinkComponent.renderAdditionalAttributes(IMarkupWriter, IRequestCycle) is invoked
(but only if the link is not disabled). |
protected void |
DefaultLinkRenderer.beforeBodyRender(IMarkupWriter writer,
IRequestCycle cycle,
ILinkComponent link)
Invoked after the href attribute has been written but before the body of the link is rendered
(but only if the link is not disabled).
|
void |
AbstractLinkComponent.renderAdditionalAttributes(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
AbstractLinkComponent.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
Renders the link by delegating to an instance of
ILinkRenderer . |
void |
DefaultLinkRenderer.renderLink(IMarkupWriter writer,
IRequestCycle cycle,
ILinkComponent linkComponent) |
void |
ILinkRenderer.renderLink(IMarkupWriter writer,
IRequestCycle cycle,
ILinkComponent linkComponent)
Renders the link, taking into account whether the link is
disabled . |
protected java.lang.String |
AbstractLinkComponent.writeEventHandler(IMarkupWriter writer,
PageRenderSupport pageRenderSupport,
java.lang.String name,
java.lang.String attributeName,
java.lang.Object value) |
protected void |
AbstractLinkComponent.writeEventHandlers(IMarkupWriter writer,
IRequestCycle cycle) |
Modifier and Type | Class and Description |
---|---|
class |
MarkupWriterImpl
Completely revised (for 4.0) implementation of
IMarkupWriter . |
class |
NestedMarkupWriterImpl
Nested implementation of
IMarkupWriter . |
Modifier and Type | Method and Description |
---|---|
IMarkupWriter |
MarkupWriterSource.newMarkupWriter(java.io.PrintWriter writer,
ContentType contentType)
Creates and returns a new instance of
IMarkupWriter . |
IMarkupWriter |
MarkupWriterSourceImpl.newMarkupWriter(java.io.PrintWriter writer,
ContentType contentType) |
Constructor and Description |
---|
NestedMarkupWriterImpl(IMarkupWriter parent,
MarkupFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
TextToken.render(IMarkupWriter writer,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
BaseTagWriter.render(IMarkupWriter writer,
IRequestCycle cycle) |
void |
LocalizedStringRender.render(IMarkupWriter writer,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
PageRenderSupportImpl.writeBodyScript(IMarkupWriter writer,
IRequestCycle cycle)
Writes a single large JavaScript block containing:
Any image initializations (via
PageRenderSupportImpl.getPreloadedImageReference(String) ). |
void |
PageRenderSupportImpl.writeInitializationScript(IMarkupWriter writer)
Writes any image initializations; this should be invoked at the end of the render, after all
the related HTML will have already been streamed to the client and parsed by the web browser.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderString.render(IMarkupWriter writer,
IRequestCycle cycle)
Renders the String to the writer.
|
protected void |
FieldLabel.renderComponent(IMarkupWriter writer,
IRequestCycle cycle)
|
protected void |
ValidField.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
void |
BaseValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
This implementation does nothing.
|
void |
DateValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
EmailValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
IValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by the field after it finishes rendering its tag (but before the tag is closed) to
allow the validator to provide a contribution to the rendering process.
|
void |
IntValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
NumberValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
PatternValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
StringValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
void |
UrlValidator.renderValidatorContribution(IFormComponent field,
IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
ValidField.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
void |
IValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked just before the <input> element is closed.
|
void |
ValidationDelegate.writeAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing.
|
void |
IValidationDelegate.writeLabelAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
Invoked just before the <label> element is closed.
|
void |
ValidationDelegate.writeLabelAttributes(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component)
Does nothing by default.
|
void |
IValidationDelegate.writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by a
FieldLabel just before writing the name of the form component. |
void |
ValidationDelegate.writeLabelPrefix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
If the form component is in error, places a <font color="red"< around it.
|
void |
IValidationDelegate.writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Invoked by a
FieldLabel just after writing the name of the form component. |
void |
ValidationDelegate.writeLabelSuffix(IFormComponent component,
IMarkupWriter writer,
IRequestCycle cycle)
Closes the <font> element,started by
ValidationDelegate.writeLabelPrefix(IFormComponent,IMarkupWriter,IRequestCycle) , if the form component
is in error. |
void |
IValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked before the field is rendered.
|
void |
ValidationDelegate.writePrefix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Does nothing.
|
void |
IValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Invoked after the form component is rendered, so that the delegate may decorate the form
component (if it is in error).
|
void |
ValidationDelegate.writeSuffix(IMarkupWriter writer,
IRequestCycle cycle,
IFormComponent component,
IValidator validator)
Default implementation; if the current field is in error, then a suffix is written.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Go.emitEventHandlers(IMarkupWriter writer,
IRequestCycle cycle)
This component doesn't support event handlers.
|
protected FormSupport |
Go.newFormSupport(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Card.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Do.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Image.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Input.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
OnEvent.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Option.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
PropertySelection.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Select.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Setvar.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Timer.renderComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
AbstractPostfield.renderFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
Postfield.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
SelectionField.rewindFormComponent(IMarkupWriter writer,
IRequestCycle cycle) |
protected void |
GoFormSupportImpl.writeHiddenField(IMarkupWriter writer,
java.lang.String name,
java.lang.String id,
java.lang.String value) |
protected void |
GoFormSupportImpl.writeTag(IMarkupWriter writer,
java.lang.String method,
java.lang.String url) |
Constructor and Description |
---|
GoFormSupportImpl(IMarkupWriter writer,
IRequestCycle cycle,
IForm form) |