The set of core components available in all Tapestry applications
Class Summary Class Description ActionLinkComponent that triggers an action on the server with a subsequent full page refresh. AddRowLinkUsed inside an
AjaxFormLoopcomponent to spur the addition of a new row.
AjaxFormLoopA special form of the
Loopcomponent that adds Ajax support to handle adding new rows and removing existing rows dynamically.
AlertsRenders out an empty
Document.dtd(String, String, String)which can be useful when different component templates that render to the same document disagree about what the correct DOCTYPE is.
DynamicThe Dynamic component allows a component to render itself differently at different times, by making use of an external template file. ErrorProvides a client-side element to contain validation errors; this renders as a
ErrorsStandard validation error presenter. EventLinkA close relative of
ActionLinkexcept in two ways.
ExceptionDisplayIntegral part of the default
ExceptionReportpage used to break apart and display the properties of the exception.
<i>tag with the CSS class to select a FontAwesome 4.7.0 icon.
FormAn HTML form, which will enclose other components to render out the various types of fields. FormFragmentA FormFragment is a portion of a Form that may be selectively displayed. GlyphiconRenders a
<span>tag with the CSS class to select a Bootstrap Glyphicon.
GridA grid presents tabular data. GridCellPart of
Gridthat renders the markup inside a single data cell.
GridColumnsRenders out the column headers for the grid, including links (where appropriate) to control column sorting. GridPagerGenerates a series of links used to jump to a particular page index within the overall data set. GridRowsRenders out a series of rows within the table. HiddenUsed to record a page property as a value into the form. Html5DateFieldA component used to collect a provided date from the user using the native HTML5 date picker (<input type="date">) IfConditionally renders its body. LabelGenerates a <label> element for a particular field. LinkSubmitGenerates a client-side hyperlink that submits the enclosing form. LocalDateUsed to present a date, formatted in the time zone of the client browser. Loop<T>A basic looping component; loops over a number of items (provided by its source parameter), rendering its body for each one. OutputA component for formatting output. OutputRawUsed to output raw markup to the client. PageLinkGenerates a render request link to some other page in the application. PaletteMultiple selection component. PasswordFieldA version of
TextField, but rendered out as an <input type="password"> element.
ProgressiveDisplayA component used to implement the progressive enhancement web design strategy; the component renders itself with a simplified initial content (i.e., "loading ...") and an Ajax request then supplies the component's true body. PropertyDisplayOutputs a single property value. PropertyEditorUsed to edit a single property of a bean. RadioA radio button (i.e., <input type="radio">). RadioGroupA wrapper component around some number of
Radiocomponents, used to organize the selection and define the property to be edited.
RemoveRowLinkUsed inside a
AjaxFormLoopto remove the current row from the loop.
RenderObjectRenders out an object using the @
SelectSelect an item from a list of values, using an [X]HTML <select> element on the client side. SubmitCorresponds to <input type="submit"> or <input type="image">, a client-side element that can force the enclosing form to submit. SubmitNotifierA non visual component used to provide notifications to its container during a form submission. TextAreaTextArea component corresponds to a <textarea> element. TextFieldTextField component corresponds to
TextOutputOutputs paragraph oriented text, typically collected via a
TimeIntervalUsed to present an interval value using Moment.js's from() or fromNow() functions. TreeA component used to render a recursive tree structure, with expandable/collapsable/selectable nodes. TriggerTriggers an arbitrary event during rendering. UnlessA close relative of the
Ifcomponent that inverts the meaning of its test.
ZoneA Zone is portion of the output page designed for easy dynamic updating via Ajax or other client-side effects.