Package | Description |
---|---|
org.apache.tapestry |
Tapestry is a comprehensive web application framework, written in Java.
|
org.apache.tapestry.asset |
Implementations of
IAsset , as well as
the org.apache.tapestry.asset.AssetExternalizer , used to handle private assets. |
org.apache.tapestry.binding |
Implementations of
IBinding . |
org.apache.tapestry.callback |
Provides implementations of callbacks, objects that encapsulate a server request that is deferred,
typically to allow a user to login or otherwise authenticate before proceeding with
some other activity.
|
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.error | |
org.apache.tapestry.event |
Defines events and listener interfaces for Tapestry.
|
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.listener |
Support classes that allows an object
to expose listener methods instead of listener properties.
|
org.apache.tapestry.pageload |
Classes used when loading pages (and thier heirarchies of components) from thier
specifications, as well as organizaing thier templates.
|
org.apache.tapestry.parse |
Classes used when parsing templates, application and component specifications.
|
org.apache.tapestry.record |
Abstract and simple (memory-based) implementations of
IPageRecorder . |
org.apache.tapestry.resolver | |
org.apache.tapestry.script |
Parser and related classes for dynamically generating JavaScript for
inclusion in an HTML response.
|
org.apache.tapestry.services |
Interfaces for Tapestry-related HiveMind services.
|
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 | Method and Description |
---|---|
IRequestCycle |
AbstractPage.getRequestCycle() |
IRequestCycle |
IPage.getRequestCycle()
Returns the current
IRequestCycle . |
Modifier and Type | Method and Description |
---|---|
void |
IActionListener.actionTriggered(IComponent component,
IRequestCycle cycle)
Method invoked by the component (an
ActionLink or
Form , when its URL is triggered. |
void |
IExternalPage.activateExternalPage(java.lang.Object[] parameters,
IRequestCycle cycle)
Initialize the external page with the given array of parameters and request cycle.
|
void |
AbstractPage.attach(IEngine engine,
IRequestCycle cycle)
Called by the
engine to attach the page to itself. |
void |
IPage.attach(IEngine engine,
IRequestCycle cycle)
Attaches the page to the
engine . |
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.
|
protected void |
AbstractComponent.cleanupAfterRender(IRequestCycle cycle)
Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle) after the component renders. |
void |
IScript.execute(IRequestCycle cycle,
IScriptProcessor processor,
java.util.Map symbols)
Executes the script, which will read and modify the symbols
Map . |
void |
AbstractComponent.finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Invokes
AbstractComponent.finishLoad() . |
void |
BaseComponent.finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Loads the template for the component, then invokes
AbstractComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification) . |
void |
IComponent.finishLoad(IRequestCycle cycle,
IPageLoader loader,
IComponentSpecification specification)
Allows a component to finish any setup after it has been constructed.
|
static IForm |
TapestryUtils.getForm(IRequestCycle cycle,
IComponent component)
Gets the previously stored
IForm object. |
static PageRenderSupport |
TapestryUtils.getOptionalPageRenderSupport(IRequestCycle cycle)
Returns the
PageRenderSupport object if previously stored, or null otherwise. |
static PageRenderSupport |
TapestryUtils.getPageRenderSupport(IRequestCycle cycle,
IComponent component)
Gets the previously stored
PageRenderSupport object. |
java.lang.Object |
IEngine.getVisit(IRequestCycle cycle)
Deprecated.
To be removed in 4.1. Application state objects can now be injected.
|
protected void |
AbstractComponent.prepareForRender(IRequestCycle cycle)
Invoked by
AbstractComponent.render(IMarkupWriter, IRequestCycle) to prepare the component to render. |
static void |
TapestryUtils.removeForm(IRequestCycle cycle) |
static void |
TapestryUtils.removePageRenderSupport(IRequestCycle cycle) |
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 |
AbstractPage.renderPage(IMarkupWriter writer,
IRequestCycle cycle)
Invokes
PageBeginRenderListener.pageBeginRender(PageEvent)
Invokes AbstractPage.beginResponse(IMarkupWriter, IRequestCycle)
Invokes 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. |
static void |
TapestryUtils.storeForm(IRequestCycle cycle,
IForm form)
Store the IForm instance using
TapestryUtils.storeUniqueAttribute(IRequestCycle, String, Object) . |
static void |
TapestryUtils.storePageRenderSupport(IRequestCycle cycle,
PageRenderSupport support)
Stores the support object using
TapestryUtils.storeUniqueAttribute(IRequestCycle, String, Object) . |
static void |
TapestryUtils.storeUniqueAttribute(IRequestCycle cycle,
java.lang.String key,
java.lang.Object object)
Stores an attribute into the request cycle, verifying that no object with that key is already
present.
|
void |
IDirect.trigger(IRequestCycle cycle)
Invoked by the direct service to have the component peform
the appropriate action.
|
void |
AbstractPage.validate(IRequestCycle cycle)
By default, pages are not protected and this method does nothing.
|
void |
IPage.validate(IRequestCycle cycle)
Method invoked by the page, action and direct services to validate that the user is allowed
to visit the page.
|
Modifier and Type | Method and Description |
---|---|
void |
AssetService.service(IRequestCycle cycle)
Retrieves a resource from the classpath and returns it to the client in a binary output
stream.
|
void |
ContextAssetFactory.setRequestCycle(IRequestCycle cycle) |
Constructor and Description |
---|
ContextAsset(java.lang.String contextPath,
org.apache.hivemind.Resource resource,
org.apache.hivemind.Location location,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
ListenerMethodBinding.actionTriggered(IComponent component,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
DirectCallback.performCallback(IRequestCycle cycle)
Locates the
IDirect component that was previously identified (and whose page and id
path were stored). |
void |
ExternalCallback.performCallback(IRequestCycle cycle)
Invokes
IRequestCycle#setPage(String) to select the previously identified
IExternalPage as the response page and activates the page by invoking
activateExternalPage() with the callback parameters and request cycle. |
void |
ICallback.performCallback(IRequestCycle cycle)
Performs the call back.
|
void |
PageCallback.performCallback(IRequestCycle cycle)
Invokes
activate(String) to select the previously identified page as
the response page. |
Modifier and Type | Method and Description |
---|---|
protected void |
Foreach.cleanupAfterRender(IRequestCycle cycle)
Deprecated.
|
protected boolean |
IfBean.evaluateCondition(IRequestCycle cycle,
IForm form,
boolean cycleRewinding) |
ILink |
ILinkComponent.getLink(IRequestCycle cycle)
Invoked by the
ILinkRenderer (if the link is not disabled)
to provide a EngineServiceLink that the renderer can
convert into a URL. |
protected java.util.Iterator |
ForBean.getStoredData(IRequestCycle cycle,
java.lang.String name)
Returns a list of the values stored as Hidden fields in the form.
|
protected void |
Foreach.prepareForRender(IRequestCycle cycle)
Deprecated.
|
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 |
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) |
Modifier and Type | Class and Description |
---|---|
class |
RequestCycle
Provides the logic for processing a single request cycle.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEngine.activateExceptionPage(IRequestCycle cycle,
java.lang.Throwable cause) |
protected void |
AbstractEngine.cleanupAfterRequest(IRequestCycle cycle)
Invoked at the end of the request cycle to release any resources specific to the request
cycle.
|
IComponent |
IPageLoader.createImplicitComponent(IRequestCycle cycle,
IComponent container,
java.lang.String componentId,
java.lang.String componentType,
org.apache.hivemind.Location location)
Invoked to create an implicit component (one which is defined in the containing component's
template, rather that in the containing component's specification).
|
ComponentTemplate |
ITemplateSourceDelegate.findTemplate(IRequestCycle cycle,
IComponent component,
java.util.Locale locale)
Invoked by the
ITemplateSource when a template can't be found
by normal means (i.e., in the normal locations). |
IPage |
IPageSource.getPage(IRequestCycle cycle,
java.lang.String pageName,
IMonitor monitor)
Gets a given page for the engine.
|
java.lang.Object |
AbstractEngine.getVisit(IRequestCycle cycle)
Gets the visit object from the
ApplicationStateManager , which will create it as
necessary. |
protected void |
AbstractEngine.handlePageRedirectException(IRequestCycle cycle,
PageRedirectException exception)
Handles
PageRedirectException which involves executing
activate(IPage) on the target page (of the exception), until either a
loop is found, or a page succesfully activates. |
protected void |
AbstractEngine.handleRedirectException(IRequestCycle cycle,
RedirectException redirectException)
Invoked when a
RedirectException is thrown during the processing of a request. |
protected void |
AbstractEngine.handleStaleLinkException(IRequestCycle cycle,
StaleLinkException exception)
Invoked by
AbstractEngine.service(WebRequest, WebResponse) if a StaleLinkException is
thrown by the service . |
protected void |
AbstractEngine.handleStaleSessionException(IRequestCycle cycle,
StaleSessionException exception)
Invoked by
AbstractEngine.service(WebRequest, WebResponse) if a StaleSessionException is
thrown by the service . |
IPage |
IPageLoader.loadPage(java.lang.String name,
INamespace namespace,
IRequestCycle cycle,
IComponentSpecification specification)
Invoked by the
IPageSource to load a specific page. |
void |
IPageLoader.loadTemplateForComponent(IRequestCycle cycle,
ITemplateComponent component)
Invoked by a component (from within its
IComponent.finishLoad(IRequestCycle, IPageLoader, IComponentSpecification) method) to
load the template for the component. |
protected void |
AbstractEngine.redirect(java.lang.String pageName,
IRequestCycle cycle,
org.apache.hivemind.ApplicationRuntimeException exception)
Invoked, typically, when an exception occurs while servicing the request.
|
void |
AbstractEngine.renderResponse(IRequestCycle cycle)
Delegates to
ResponseRenderer.renderResponse(IRequestCycle) . |
void |
ActionService.service(IRequestCycle cycle)
Deprecated.
|
void |
DirectService.service(IRequestCycle cycle) |
void |
ExternalService.service(IRequestCycle cycle) |
void |
HomeService.service(IRequestCycle cycle) |
void |
IEngineService.service(IRequestCycle cycle)
Perform the service, interpreting the URL (from the
HttpServletRequest ) responding appropriately, and rendering a
result page. |
void |
PageService.service(IRequestCycle cycle) |
void |
ResetService.service(IRequestCycle cycle) |
void |
RestartService.service(IRequestCycle cycle) |
void |
ActionService.setRequestCycle(IRequestCycle requestCycle)
Deprecated.
|
void |
DirectService.setRequestCycle(IRequestCycle requestCycle) |
void |
ResetService.setRequestCycle(IRequestCycle requestCycle) |
protected void |
DirectService.triggerComponent(IRequestCycle cycle,
IDirect direct,
java.lang.Object[] parameters) |
Constructor and Description |
---|
EngineServiceLink(IRequestCycle cycle,
java.lang.String servletPath,
java.lang.String encoding,
org.apache.commons.codec.net.URLCodec codec,
WebRequest request,
java.util.Map parameters,
boolean stateful)
Creates a new EngineServiceLink.
|
Modifier and Type | Method and Description |
---|---|
void |
ExceptionPresenter.presentException(IRequestCycle cycle,
java.lang.Throwable cause)
Report the exception and provide some response to the user in lieu of the expected result
page.
|
void |
ExceptionPresenterImpl.presentException(IRequestCycle cycle,
java.lang.Throwable cause) |
void |
StaleLinkExceptionPresenter.presentStaleLinkException(IRequestCycle cycle,
StaleLinkException cause)
Reports the stale link exception.
|
void |
StaleLinkExceptionPresenterImpl.presentStaleLinkException(IRequestCycle cycle,
StaleLinkException cause) |
void |
StaleSessionExceptionPresenter.presentStaleSessionException(IRequestCycle cycle,
StaleSessionException cause)
Reports the stale session exception.
|
void |
StaleSessionExceptionPresenterImpl.presentStaleSessionException(IRequestCycle cycle,
StaleSessionException cause) |
Modifier and Type | Method and Description |
---|---|
IRequestCycle |
PageEvent.getRequestCycle() |
Constructor and Description |
---|
PageEvent(IPage page,
IRequestCycle cycle)
Constructs a new instance of the event.
|
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.
|
protected void |
Form.cleanupAfterRender(IRequestCycle cycle) |
protected void |
LinkSubmit.cleanupAfterRender(IRequestCycle cycle) |
protected void |
RadioGroup.cleanupAfterRender(IRequestCycle cycle) |
protected void |
Select.cleanupAfterRender(IRequestCycle cycle) |
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.
|
static IForm |
Form.get(IRequestCycle cycle)
Deprecated.
Use
TapestryUtils.getForm(IRequestCycle, IComponent) instead. |
static RadioGroup |
RadioGroup.get(IRequestCycle cycle) |
static Select |
Select.get(IRequestCycle cycle) |
protected ILink |
Form.getLink(IRequestCycle cycle,
java.lang.String actionId)
Builds the EngineServiceLink for the form, using either the direct or action service.
|
protected boolean |
ImageSubmit.isClicked(IRequestCycle cycle,
java.lang.String name) |
protected boolean |
LinkSubmit.isClicked(IRequestCycle cycle,
java.lang.String name)
Checks the submit name (
FormConstants.SUBMIT_NAME_PARAMETER ) to see if it matches
this LinkSubmit's assigned element name. |
protected boolean |
Submit.isClicked(IRequestCycle cycle,
java.lang.String name) |
protected FormSupport |
Form.newFormSupport(IMarkupWriter writer,
IRequestCycle cycle)
Returns a new instance of
FormSupportImpl . |
protected void |
Form.prepareForRender(IRequestCycle cycle) |
protected void |
ImageSubmit.prepareForRender(IRequestCycle cycle) |
protected void |
LinkSubmit.prepareForRender(IRequestCycle cycle) |
protected void |
RadioGroup.prepareForRender(IRequestCycle cycle) |
protected void |
Select.prepareForRender(IRequestCycle cycle) |
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 |
Form.trigger(IRequestCycle cycle)
Method invoked by the direct service.
|
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) |
Constructor and Description |
---|
FormComponentContributorContextImpl(java.util.Locale locale,
IRequestCycle cycle,
IFormComponent field) |
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.cleanupAfterRender(IRequestCycle cycle) |
protected void |
Script.cleanupAfterRender(IRequestCycle cycle) |
static Body |
Body.get(IRequestCycle cycle)
Deprecated.
To be removed in 4.1. Use
org.apache.tapestry.TapestryUtils#getPageRenderSupport(IRequestCycle)
instead. |
protected void |
Body.prepareForRender(IRequestCycle cycle) |
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) |
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).
|
protected void |
AbstractLinkComponent.cleanupAfterRender(IRequestCycle cycle) |
protected java.lang.String |
AbsoluteLinkRenderer.constructURL(ILinkComponent component,
IRequestCycle cycle) |
protected java.lang.String |
DefaultLinkRenderer.constructURL(ILinkComponent component,
IRequestCycle cycle)
Converts the EngineServiceLink into a URI or URL.
|
ILink |
AbstractLinkComponent.getLink(IRequestCycle cycle) |
ILink |
ActionLink.getLink(IRequestCycle cycle)
Deprecated.
|
ILink |
DirectLink.getLink(IRequestCycle cycle) |
ILink |
ExternalLink.getLink(IRequestCycle cycle) |
ILink |
GenericLink.getLink(IRequestCycle cycle) |
ILink |
PageLink.getLink(IRequestCycle cycle) |
ILink |
ServiceLink.getLink(IRequestCycle cycle) |
protected ILink |
AbstractLinkComponent.getLink(IRequestCycle cycle,
java.lang.String serviceName,
java.lang.Object parameter)
Deprecated.
To be removed in 4.1; links may now have the necessary engine service injected.
|
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 . |
void |
DirectLink.trigger(IRequestCycle cycle)
Invoked by the direct service to trigger the application-specific action by notifying the
listener . |
protected void |
AbstractLinkComponent.writeEventHandlers(IMarkupWriter writer,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
SyntheticListener.actionTriggered(IComponent component,
IRequestCycle cycle) |
void |
ListenerInvoker.invokeListener(IActionListener listener,
IComponent source,
IRequestCycle cycle)
Part of the pipeline for invoking the given listener object.
|
void |
ListenerInvokerTerminator.invokeListener(IActionListener listener,
IComponent source,
IRequestCycle cycle) |
void |
ListenerInvokerFilter.invokeListener(IActionListener listener,
IComponent source,
IRequestCycle cycle,
ListenerInvoker delegate) |
void |
ListenerMethodInvoker.invokeListenerMethod(java.lang.Object target,
IRequestCycle cycle) |
void |
ListenerMethodInvokerImpl.invokeListenerMethod(java.lang.Object target,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
IComponent |
PageLoader.createImplicitComponent(IRequestCycle cycle,
IComponent container,
java.lang.String componentId,
java.lang.String componentType,
org.apache.hivemind.Location location)
Invoked to create an implicit component (one which is defined in the containing component's
template, rather that in the containing component's specification).
|
IPage |
PageSource.getPage(IRequestCycle cycle,
java.lang.String pageName,
IMonitor monitor)
Gets the page from a pool, or otherwise loads the page.
|
IPage |
PageLoader.loadPage(java.lang.String name,
INamespace namespace,
IRequestCycle cycle,
IComponentSpecification specification) |
void |
PageLoader.loadTemplateForComponent(IRequestCycle cycle,
ITemplateComponent component) |
Modifier and Type | Method and Description |
---|---|
void |
TextToken.render(IMarkupWriter writer,
IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
void |
PageClientPropertyPersistenceScope.setRequestCycle(IRequestCycle requestCycle) |
Constructor and Description |
---|
PageRecorderImpl(java.lang.String pageName,
IRequestCycle requestCycle,
PropertyPersistenceStrategySource strategySource,
org.apache.hivemind.ErrorLog log) |
Modifier and Type | Method and Description |
---|---|
IComponentSpecification |
ISpecificationResolverDelegate.findComponentSpecification(IRequestCycle cycle,
INamespace namespace,
java.lang.String type)
Invoked by
PageSpecificationResolver to find the indicated component specification. |
IComponentSpecification |
ISpecificationResolverDelegate.findPageSpecification(IRequestCycle cycle,
INamespace namespace,
java.lang.String simplePageName)
Invoked by
PageSpecificationResolver to find the indicated page specification. |
void |
ComponentSpecificationResolver.resolve(IRequestCycle cycle,
INamespace containerNamespace,
java.lang.String type,
org.apache.hivemind.Location location)
Passed the namespace of a container (to resolve the type in) and the type to resolve,
performs the processing.
|
void |
ComponentSpecificationResolverImpl.resolve(IRequestCycle cycle,
INamespace containerNamespace,
java.lang.String type,
org.apache.hivemind.Location location)
Passed the namespace of a container (to resolve the type in) and the type to resolve,
performs the processing.
|
void |
ComponentSpecificationResolver.resolve(IRequestCycle cycle,
INamespace containerNamespace,
java.lang.String libraryId,
java.lang.String type,
org.apache.hivemind.Location location)
Like
#resolve(org.apache.tapestry.IRequestCycle, org.apache.tapestry.INamespace, java.lang.String, org.apache.tapestry.ILocation) ,
but used when the type has already been parsed into a library id and a simple type. |
void |
ComponentSpecificationResolverImpl.resolve(IRequestCycle cycle,
INamespace containerNamespace,
java.lang.String libraryId,
java.lang.String type,
org.apache.hivemind.Location location)
Like
#resolve(org.apache.tapestry.IRequestCycle, org.apache.tapestry.INamespace, java.lang.String, org.apache.tapestry.ILocation) ,
but used when the type has already been parsed into a library id and a simple type. |
void |
PageSpecificationResolver.resolve(IRequestCycle cycle,
java.lang.String prefixedName)
Resolve the name (which may have a library id prefix) to a namespace (see
PageSpecificationResolver.getNamespace() ) and a specification (see PageSpecificationResolver.getSpecification() ). |
void |
PageSpecificationResolverImpl.resolve(IRequestCycle cycle,
java.lang.String prefixedName)
Resolve the name (which may have a library id prefix) to a namespace (see
AbstractSpecificationResolver.getNamespace() ) and a specification (see AbstractSpecificationResolver.getSpecification() ). |
Modifier and Type | Method and Description |
---|---|
IRequestCycle |
ScriptSession.getRequestCycle()
Returns the current request cycle.
|
IRequestCycle |
ScriptSessionImpl.getRequestCycle() |
Modifier and Type | Method and Description |
---|---|
void |
ParsedScript.execute(IRequestCycle cycle,
IScriptProcessor processor,
java.util.Map symbols)
Creates the
ScriptSessionImpl and invokes
AbstractToken.writeChildren(java.lang.StringBuffer, org.apache.tapestry.script.ScriptSession) . |
Constructor and Description |
---|
ScriptSessionImpl(org.apache.hivemind.Resource scriptTemplateResource,
IRequestCycle cycle,
IScriptProcessor processor,
ExpressionEvaluator evaluator,
ValueConverter valueConverter,
java.util.Map symbols) |
Modifier and Type | Method and Description |
---|---|
IRequestCycle |
Infrastructure.getRequestCycle()
Returns the request cycle for the current thread.
|
IRequestCycle |
RequestGlobals.getRequestCycle() |
IRequestCycle |
RequestCycleFactory.newRequestCycle(IEngine engine)
Constructs the new instance using the request context.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
LinkFactory.extractListenerParameters(IRequestCycle cycle)
A secondary function of the service is to convert encoded (aka "squeezed") listener
parameters back into an array of Objects.
|
ComponentTemplate |
TemplateSource.getTemplate(IRequestCycle cycle,
IComponent component)
Locates the template for the component.
|
void |
ComponentTemplateLoader.loadTemplate(IRequestCycle requestCycle,
ITemplateComponent loadComponent) |
void |
ResponseRenderer.renderResponse(IRequestCycle cycle)
Renders the reponse, using the current active page defined by the request cycle.
|
void |
RequestGlobals.store(IRequestCycle cycle) |
Modifier and Type | Method and Description |
---|---|
IRequestCycle |
InfrastructureImpl.getRequestCycle() |
IRequestCycle |
RequestGlobalsImpl.getRequestCycle() |
IRequestCycle |
RequestCycleFactoryImpl.newRequestCycle(IEngine engine) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
LinkFactoryImpl.extractListenerParameters(IRequestCycle cycle) |
ComponentTemplate |
TemplateSourceImpl.getTemplate(IRequestCycle cycle,
IComponent component)
Reads the template for the component.
|
void |
ComponentTemplateLoaderImpl.loadTemplate(IRequestCycle requestCycle,
ITemplateComponent loadComponent) |
void |
ComponentTemplateLoaderLogic.loadTemplate(IRequestCycle requestCycle,
ITemplateComponent loadComponent,
ComponentTemplate template) |
void |
BaseTagWriter.render(IMarkupWriter writer,
IRequestCycle cycle) |
void |
LocalizedStringRender.render(IMarkupWriter writer,
IRequestCycle cycle) |
void |
ResponseRendererImpl.renderResponse(IRequestCycle cycle) |
void |
EngineServiceInnerProxy.service(IRequestCycle cycle) |
void |
EngineServiceOuterProxy.service(IRequestCycle cycle) |
void |
LinkFactoryImpl.setRequestCycle(IRequestCycle requestCycle) |
void |
RequestGlobalsImpl.store(IRequestCycle cycle) |
Constructor and Description |
---|
DefaultParserDelegate(IComponent component,
java.lang.String componentAttributeName,
IRequestCycle cycle,
ComponentSpecificationResolver resolver) |
Modifier and Type | Method and Description |
---|---|
IComponent |
ComponentAddress.findComponent(IRequestCycle cycle)
Finds a component with the current address using the given RequestCycle.
|
void |
PageRenderSupportImpl.writeBodyScript(IMarkupWriter writer,
IRequestCycle cycle)
Writes a single large JavaScript block containing:
Any image initializations (via
PageRenderSupportImpl.getPreloadedImageReference(String) ). |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseValidator.processValidatorScript(java.lang.String scriptPath,
IRequestCycle cycle,
IFormComponent field,
java.util.Map symbols)
Invoked (from sub-class implementations of
BaseValidator.renderValidatorContribution(IFormComponent, IMarkupWriter, IRequestCycle) to process
a standard validation script. |
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) |
Constructor and Description |
---|
GoFormSupportImpl(IMarkupWriter writer,
IRequestCycle cycle,
IForm form) |