Package | Description |
---|---|
org.apache.tapestry |
Tapestry is a comprehensive web application framework, written in Java.
|
org.apache.tapestry.bean |
Contains useful helper beans, an implementation of
the
IBeanProvider interface, and
several interfaces and classes related to initializing helper beans. |
org.apache.tapestry.binding |
Implementations of
IBinding . |
org.apache.tapestry.components |
Basic, fundamental components used to construct more complex components, or pages.
|
org.apache.tapestry.engine |
Implementations of the
IEngine interface, including
the standard implementation:
BaseEngine . |
org.apache.tapestry.enhance |
Classes used for performing dynamic bytecode enhancement of component and page classes.
|
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.pages |
Basic pages used for errors, stale links and stale sessions.
|
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).
|
org.apache.tapestry.wml.pages |
Modifier and Type | Interface and Description |
---|---|
interface |
IAction
Deprecated.
To be removed in 4.1 with no replacement.
|
interface |
IDirect
Interface that defines classes that may be messaged by the direct
service.
|
interface |
IExternalPage
Defines a page which may be referenced externally via a URL using the
ExternalService . |
interface |
IForm
A generic way to access a component which defines an HTML form (or, perhaps, other similar
constructs, such as a WML
Go ). |
interface |
IPage
A root level component responsible for generating an entire a page within the application.
|
interface |
ITemplateComponent
Extra interface implemented by
BaseComponent and inherited by
BasePage , used to allow them to add contents from their
templates. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractComponent
Abstract base class implementing the
IComponent interface. |
class |
AbstractPage
Abstract base class implementing the
IPage interface. |
class |
BaseComponent
Base implementation for most components that use an HTML template.
|
Modifier and Type | Method and Description |
---|---|
IComponent |
IBeanProvider.getComponent()
Returns the
IComponent (which may be a
IPage ) for which
this bean provider is providing beans. |
static IComponent |
TapestryUtils.getComponent(IComponent container,
java.lang.String componentId,
java.lang.Class expectedType,
org.apache.hivemind.Location location)
Used by some generated code; obtains a component and ensures it is of the correct type.
|
IComponent |
AbstractComponent.getComponent(java.lang.String id) |
IComponent |
IComponent.getComponent(java.lang.String id)
Retrieves an contained component by its id.
|
IComponent |
AbstractComponent.getContainer() |
IComponent |
IComponent.getContainer()
Returns the component which embeds the receiver.
|
IComponent |
AbstractPage.getNestedComponent(java.lang.String path) |
IComponent |
IPage.getNestedComponent(java.lang.String path)
Returns a particular component from within the page.
|
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 |
AbstractComponent.addComponent(IComponent component) |
void |
IComponent.addComponent(IComponent component)
Adds a component to a container.
|
static void |
Tapestry.copyInformalBindings(IComponent source,
IComponent destination)
Copys all informal
bindings from a source component to the destination
component. |
static org.apache.hivemind.ApplicationRuntimeException |
Tapestry.createNoSuchComponentException(IComponent component,
java.lang.String id,
org.apache.hivemind.Location location) |
static org.apache.hivemind.ApplicationRuntimeException |
Tapestry.createRenderOnlyPropertyException(IComponent component,
java.lang.String propertyName) |
static BindingException |
Tapestry.createRequiredParameterException(IComponent component,
java.lang.String parameterName) |
static void |
Tapestry.fireObservedChange(IComponent component,
java.lang.String propertyName,
java.lang.Object newValue)
Method used by pages and components to send notifications about property changes.
|
static IComponent |
TapestryUtils.getComponent(IComponent container,
java.lang.String componentId,
java.lang.Class expectedType,
org.apache.hivemind.Location location)
Used by some generated code; obtains a component and ensures it is of the correct type.
|
static IForm |
TapestryUtils.getForm(IRequestCycle cycle,
IComponent component)
Gets the previously stored
IForm object. |
static PageRenderSupport |
TapestryUtils.getPageRenderSupport(IRequestCycle cycle,
IComponent component)
Gets the previously stored
PageRenderSupport object. |
boolean |
IRequestCycle.isRewound(IComponent component)
Checks to see if the current action id matches the target action id.
|
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 |
IRequestCycle.rewindPage(java.lang.String targetActionId,
IComponent targetComponent)
Deprecated.
To be removed in 4.1 with no replacement.
|
void |
AbstractComponent.setContainer(IComponent value) |
void |
IComponent.setContainer(IComponent value)
Sets the container of the component.
|
boolean |
FormBehavior.wasPrerendered(IMarkupWriter writer,
IComponent field)
Invoked by a form control component (a field) that may have been pre-rendered.
|
Constructor and Description |
---|
StaleLinkException(IComponent component,
java.lang.String targetActionId,
java.lang.String targetIdPath)
Constructor used when the action id is found, but the target id path
did not match the actual id path.
|
StaleLinkException(java.lang.String message,
IComponent component) |
Modifier and Type | Method and Description |
---|---|
IComponent |
BeanProvider.getComponent() |
Constructor and Description |
---|
BeanProvider(IComponent component) |
Modifier and Type | Method and Description |
---|---|
void |
ListenerMethodBinding.actionTriggered(IComponent component,
IRequestCycle cycle) |
IBinding |
AssetBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
BeanBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
BindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location)
Creates a new binding instance.
|
IBinding |
ComponentBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
HiveMindBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
ListenerBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
LiteralBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
MessageBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
OGNLBindingFactory.createBinding(IComponent root,
java.lang.String description,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
StateBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location) |
IBinding |
BindingSource.createBinding(IComponent component,
java.lang.String description,
java.lang.String reference,
java.lang.String defaultBindingType,
org.apache.hivemind.Location location)
Creates a new binding.
|
Constructor and Description |
---|
AssetBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
java.lang.String assetName) |
BeanBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
java.lang.String beanName) |
ComponentBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
java.lang.String componentId) |
ExpressionBinding(java.lang.String description,
org.apache.hivemind.Location location,
ValueConverter valueConverter,
IComponent root,
java.lang.String expression,
ExpressionEvaluator evaluator,
ExpressionCache cache)
Creates a
ExpressionBinding from the root object and an OGNL expression. |
ListenerMethodBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
java.lang.String methodName) |
MessageBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IComponent component,
java.lang.String key) |
Modifier and Type | Interface and Description |
---|---|
interface |
ILinkComponent
A component that renders an HTML <a> element.
|
Modifier and Type | Class and Description |
---|---|
class |
Any
A component that can substitute for any HTML element.
|
class |
Block
Prevents its contents from being rendered until triggered by an
RenderBlock component. |
class |
Conditional
A conditional element on a page which will render its wrapped elements zero or one times.
|
class |
Delegator
A component which delegates it's behavior to another object.
|
class |
ElseBean |
class |
ForBean |
class |
Foreach
Deprecated.
As of release 4.0, replaced by
ForBean |
class |
IfBean |
class |
Insert
Used to insert some text (from a parameter) into the HTML.
|
class |
InvokeListener
Invokes a listener method, passing listener parameters.
|
class |
RenderBlock
Renders the text and components wrapped by a
Block component. |
class |
RenderBody
Renders the text and components wrapped by a component.
|
Modifier and Type | Method and Description |
---|---|
IComponent |
Block.getInserter()
Deprecated.
Use
Block.getInvoker() instead. |
IComponent |
Block.getInvoker()
Returns the object which invoked this Block's
Block.renderForComponent(IMarkupWriter, IRequestCycle, IComponent) method. |
Modifier and Type | Method and Description |
---|---|
void |
Block.renderForComponent(IMarkupWriter writer,
IRequestCycle cycle,
IComponent invoker) |
Modifier and Type | Method and Description |
---|---|
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).
|
IComponent |
ActionServiceParameter.getComponent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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). |
boolean |
RequestCycle.isRewound(IComponent component) |
static java.lang.String |
EngineMessages.requestStateSession(IComponent component) |
void |
RequestCycle.rewindPage(java.lang.String targetActionId,
IComponent targetComponent)
Deprecated.
To be removed in 4.1 with no replacement.
|
static java.lang.String |
EngineMessages.wrongComponentType(IComponent component,
java.lang.Class expectedType) |
Constructor and Description |
---|
ActionServiceParameter(IComponent component,
java.lang.String actionId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IBinding |
InitialValueBindingCreator.createBinding(IComponent component) |
Modifier and Type | Method and Description |
---|---|
IComponent |
ObservedChangeEvent.getComponent() |
Constructor and Description |
---|
ObservedChangeEvent(IComponent component,
java.lang.String propertyName,
java.lang.Object newValue)
Creates the event.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IFormComponent
A common interface implemented by all form components (components that create interactive
elements in the rendered page).
|
interface |
TranslatedField |
interface |
ValidatableField
Implemented by form components that can need to be translated and validated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFormComponent
A base class for building components that correspond to HTML form elements.
|
class |
Button
Implements a component that manages an HTML <input type=button> form element.
|
class |
Checkbox
Implements a component that manages an HTML <input type=checkbox> form element.
|
class |
DatePicker
Provides a Form java.util.Date field component for selecting dates.
|
class |
Form
Component which contains form element components.
|
class |
Hidden
Implements a hidden field within a
Form . |
class |
ImageSubmit
Used to create an image button inside a
Form . |
class |
LinkSubmit
Implements a component that submits its enclosing form via a JavaScript link.
|
class |
ListEdit
Deprecated.
As of release 4.0, replaced by
ForBean |
class |
Option
A component that renders an HTML <option> form element.
|
class |
PropertySelection
A component used to render a drop-down list of options that the user may select.
|
class |
Radio
Implements a component that manages an HTML <input type=radio> form element.
|
class |
RadioGroup
A special type of form component that is used to contain
Radio components. |
class |
Select
Implements a component that manages an HTML <select> form element.
|
class |
Submit
Implements a component that manages an HTML <input type=submit> form element.
|
class |
TextArea
Implements a component that manages an HTML <textarea> form element.
|
class |
TextField
Implements a component that manages an HTML <input type=text> or <input
type=password> form element.
|
class |
Upload
Form element used to upload files.
|
Modifier and Type | Method and Description |
---|---|
void |
Form.prerenderField(IMarkupWriter writer,
IComponent field,
org.apache.hivemind.Location location) |
void |
FormSupportImpl.prerenderField(IMarkupWriter writer,
IComponent field,
org.apache.hivemind.Location location) |
boolean |
Form.wasPrerendered(IMarkupWriter writer,
IComponent field) |
boolean |
FormSupportImpl.wasPrerendered(IMarkupWriter writer,
IComponent field) |
Modifier and Type | Method and Description |
---|---|
IBinding |
TranslatorBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
ValidatorFactory.constructValidatorList(IComponent component,
java.lang.String specification)
Constructs a new (immutable) List of
Validator , or returns a previously constructed
List. |
java.util.List |
ValidatorFactoryImpl.constructValidatorList(IComponent component,
java.lang.String specification) |
IBinding |
ValidatorsBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location) |
Constructor and Description |
---|
BeanValidatorWrapper(IComponent component,
java.lang.String name) |
Modifier and Type | Class and Description |
---|---|
class |
BasePage
Base class for HTML pages.
|
class |
Body
The body of a Tapestry page.
|
class |
Describe
Component that makes use of
HTMLDescriber to produce HTML
output that describes an object. |
class |
ExceptionDisplay
Component used to display an already formatted exception.
|
class |
Frame
Implements a <frame> within a <frameset>.
|
class |
Image
Used to insert an image.
|
class |
InsertText
Inserts formatted text (possibly collected using a
TextArea
component. |
class |
RequestDisplay
Supports the
Exception page by displaying the request,
session, servlet context and servlet object for the current request. |
class |
Rollover
Combines a link component (such as
DirectLink ) with an
<img> and JavaScript code to create a rollover effect that works with both Netscape
Navigator and Internet Explorer. |
class |
Script
Works with the
Body component to add a script (and perhaps some initialization) to the
HTML response. |
class |
Shell
Component for creating a standard 'shell' for a page, which comprises the <html> and
<head> portions of the page.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLinkComponent
Base class for implementations of
ILinkComponent . |
class |
ActionLink
Deprecated.
To be removed in 4.1
|
class |
DirectLink
A component for creating a link using the direct service; used for actions that are not dependant
on dynamic page state.
|
class |
ExternalLink
A component for creating a link to
IExternalPage using the
ExternalService . |
class |
GenericLink
An implementation of
ILinkComponent
that allows
the exact HREF to be specified, usually used for client side
scripting. |
class |
PageLink
A component for creating a navigation link to another page, using the page service.
|
class |
ServiceLink
A component for creating a link for an arbitrary
engine service . |
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) |
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).
|
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).
|
void |
EstablishDefaultParameterValuesVisitor.visitComponent(IComponent component) |
void |
IComponentVisitor.visitComponent(IComponent component) |
void |
VerifyRequiredParametersVisitor.visitComponent(IComponent component) |
void |
ComponentTreeWalker.walkComponentTree(IComponent component) |
Modifier and Type | Class and Description |
---|---|
class |
Exception
Default exception reporting page.
|
class |
StaleLink
Stores a message (taken from the
StaleLinkException )
that is displayed as part of the page. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ComponentPropertySource.getComponentProperty(IComponent component,
java.lang.String propertyName)
Returns the property value for a particular named meta-data property of the component.
|
java.lang.String |
ComponentPropertySource.getLocalizedComponentProperty(IComponent component,
java.util.Locale locale,
java.lang.String propertyName)
Like
ComponentPropertySource.getComponentProperty(IComponent, String) , but the property name will be
localized to the component's current locale (determined from its page). |
org.apache.hivemind.Messages |
ComponentMessagesSource.getMessages(IComponent component) |
ComponentTemplate |
TemplateSource.getTemplate(IRequestCycle cycle,
IComponent component)
Locates the template for the component.
|
Modifier and Type | Method and Description |
---|---|
IBinding |
BindingSourceImpl.createBinding(IComponent component,
java.lang.String bindingDescription,
java.lang.String reference,
java.lang.String defaultPrefix,
org.apache.hivemind.Location location) |
java.lang.String |
ComponentPropertySourceImpl.getComponentProperty(IComponent component,
java.lang.String propertyName) |
java.lang.String |
ComponentPropertySourceImpl.getLocalizedComponentProperty(IComponent component,
java.util.Locale locale,
java.lang.String propertyName) |
protected java.util.Properties |
ComponentMessagesSourceImpl.getLocalizedProperties(IComponent component)
Returns an instance of
Properties containing the properly localized messages for the
component, in the Locale identified by the component's containing page. |
org.apache.hivemind.Messages |
ComponentMessagesSourceImpl.getMessages(IComponent component) |
ComponentTemplate |
TemplateSourceImpl.getTemplate(IRequestCycle cycle,
IComponent component)
Reads the template for the component.
|
Constructor and Description |
---|
DefaultParserDelegate(IComponent component,
java.lang.String componentAttributeName,
IRequestCycle cycle,
ComponentSpecificationResolver resolver) |
LocalizedStringRender(IComponent component,
LocalizationToken token) |
Modifier and Type | Method and Description |
---|---|
IComponent |
ComponentAddress.findComponent(IRequestCycle cycle)
Finds a component with the current address using the given RequestCycle.
|
Constructor and Description |
---|
ComponentAddress(IComponent component)
Creates a new ComponentAddress object that carries the identification information of the
given component (the page name and the ID path).
|
Modifier and Type | Class and Description |
---|---|
class |
FieldLabel
Used to label an
IFormComponent . |
class |
ValidField
A
Form component that creates a text field that allows for validation of user input and
conversion between string and object values. |
Modifier and Type | Method and Description |
---|---|
IBinding |
ValidatorBindingFactory.createBinding(IComponent root,
java.lang.String bindingDescription,
java.lang.String expression,
org.apache.hivemind.Location location)
Creates and returns a
ValidatorBinding . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPostfield
A base class for building components that correspond to WML postfield elements.
|
class |
Card
A deck contains a collection of cards.
|
class |
Deck
Concrete class for WML decks.
|
class |
Do
The do element provides a general mechanism for the user to act upon the current card, in other
words a card-level user interface element.
|
class |
Go
The go element declares a go task, indicating navigation to a URI.
|
class |
Input
The Input element specifies a text entry object.
|
class |
OnEvent
The onevent element binds a task to a particular intrinsic event for the immediately enclosing element, ie,
specifying an onevent element inside an "XYZ" element associates an intrinsic event binding with the "XYZ" element.
|
class |
Postfield
The postfield element specifies a field name and value for transmission to an origin server
during a URL request.
|
class |
SelectionField
SelectionField specifies a postfield element and it is used to complement the
PropertySelection component. |
class |
Setvar
The setvar element specifies the variable to set in the current browser context as a side effect
of executing a task.
|
class |
Timer
The Timer element declares a card timer, which exposes a means of processing inactivity or idle
time.
|
Modifier and Type | Class and Description |
---|---|
class |
WMLException
Default exception reporting page for WML applications.
|
class |
WMLStaleLink
Stores a message (taken from the
StaleLinkException )
that is displayed as part of the page. |