Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.tonbeller.wcf.component

WCF Component interfaces.

See:
Description

Interface Summary
Component | A Component is created by a ComponentTag and stored into the users Session.
Form | Sends events to FormListeners, e.g.
FormListener | FormListeners are notified about form changes.
LifeCycle | Lifecycle of WCF Components
NestableComponent | A Component that may be nested inside another component.
Renderable | model of the RenderTag
RenderListener | Part of a component that wants to be informed about the rendering.
RoleExprHolder |
Visible | Components that implement this interface will not be rendered if `isVisible` returns false.

Class Summary
ComponentSupport | default implementation of a component
ComponentTag | initializes the component during doEndTag()
FormSupport | default implementation of `Form`.
NestableComponentSupport | default implementation of NestableComponent
RendererParameters | keeps track of stylesheet parameters for the RendererTag.
RendererParameterTag | Adds an XSL parameter for the transformation.
RendererTag | renders a Component via xsl stylesheet.
RoleExprTag | A conditional tag that evaluates its body if the roleExpr is successful

## Package com.tonbeller.wcf.component Description

WCF Component interfaces.

## Renderable

The RendererTag is associated with a Renderable instance (it will lookup the Renderable in the users session). It renders the Document retrieved by getDocument() via an XSLT stylesheet. There may be parameters for the stylesheed provided by the RendererParameterTag, local (valid for a single transformation) or global (valid for all transformations). If the Renderable happens to implement the Visible interface, it will be rendered only if isVisible() returns true.

## Component

A Component is created by a ComponentTag and rendered by a RenderTag. A Component produces a DOM that is rendered via XSL stylesheet.

An XmlComponent is a component that holds a DOM, NodeHandlers may be attached to the Elements of the XmlComponents DOM.

## Form

A `Form` instance is where `com.tonbeller.wcf.component.FormListeners` can be registered -- they receive events

- validate - the data entered by the user are validated and set into the model (OK Button)
- revert - the models current state shall be presented to the user (Cancel Button)

`Form` implements the `FormListener` interface, so forms may listen to each other. For example, the selection in a `TableComponent` is read when the user presses the OK button in a `FormComponent` To register the table's form is registered with the FormComponent do:

      FormComponent form = ...
      TableComponent table = ...
      form.getForm().addFormListener(table.getForm());

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES