Seam includes a number of JSF controls that are useful for working with Seam. These are intended to complement the built-in JSF controls, and controls from other third-party libraries. We recommend the Ajax4JSF and ADF faces (now Trinidad) tag libraries for use with Seam. We do not recommend the use of the Tomahawk tag library.
Validate a JSF input field against the bound property using Hibernate Validator.
Validate all child JSF input fields against the bound propertys using Hibernate Validator.
Perform date or time conversions in the Seam timezone.
Assigns an enum converter to the current component. This is primarily useful for radio button and dropdown controls.
Creates a SelectItem from an enum value.
enumValue — the string representation of the enum value.
label — the label to be used when rendering the SelectItem.
"Decorate" a JSF input field when validation fails.
"Decorate" a JSF input field with the validation error message.
Render a HTML <span>.
Render a HTML <div>.
Cache the rendered page fragment using JBoss Cache. Note that <s:cache> actually uses the instance of JBoss Cache managed by the built-in pojoCache component.
key — the key to cache rendered content, often a value expression. For example, if we were caching a page fragment that displays a document, we might use key="Document-#{document.id}".
enabled — a value expression that determines if the cache should be used.
region — a JBoss Cache node to use (different nodes can have different expiry policies).
A link that supports invocation of an action with control over conversation propagation. Does not submit the form.
value — the label.
action — a method binding that specified the action listener.
view — the JSF view id to link to.
fragment — the fragment identifier to link to.
disabled — is the link disabled?
propagation — determines the conversation propagation style: begin, join, nest, none or end.
pageflow — a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
A button that supports invocation of an action with control over conversation propagation. Does not submit the form.
value — the label.
action — a method binding that specified the action listener.
view — the JSF view id to link to.
fragment — the fragment identifier to link to.
disabled — is the link disabled?
propagation — determines the conversation propagation style: begin, join, nest, none or end.
pageflow — a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
Displays a dynamic date picker component that selects a date for the specified input field. The body of the selectDate element should contain HTML elements, such as text or an image, that prompt the user to click to display the date picker.
for — The id of the input field that the date picker will insert the selected date into.
Customize the conversation propagation for a command link or button (or similar JSF control). Facelets only.
propagation — determines the conversation propagation style: begin, join, nest, none or end.
pageflow — a pageflow definition to begin. (This is only useful when propagation="begin" or propagation="join".)
Add the conversation id to an output link (or similar JSF control). Facelets only.
Add the task id to an output link (or similar JSF control), when the task is available via #{task}. Facelets only.