| |||||||
FRAMES NO FRAMES |
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"
%>
<anyxmlelement xmlns:f="http://java.sun.com/jsf/core"
/>
The core JavaServer Faces custom actions that are independent of any particular RenderKit.
Tag Library Information | |
Display Name | None |
Version | 1.2 |
Short Name | f |
URI | http://java.sun.com/jsf/core |
Tag Summary | |
actionListener | Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action. |
attribute | Add an attribute to the UIComponent associated with the closest parent UIComponent custom action. |
convertDateTime | Register a DateTimeConverter instance on the UIComponent associated with the closest parent UIComponent custom action. |
convertNumber | Register a NumberConverter instance on the UIComponent associated with the closest parent UIComponent custom action. |
converter | Register a named Converter instance on the UIComponent associated with the closest parent UIComponent custom action. |
ajax | Register an AjaxBehavior instance on one or more UIComponents implementing the ClientBehaviorHolder interface. This tag may be nested witin a single component (enabling Ajax for a single component), or it may be "wrapped" around multiple components (enabling Ajax for many components). |
event | Allow JSF page authors to install
|
facet | Register a named facet on the UIComponent associated with the closest parent UIComponent custom action. |
metadata | Declare the metadata facet for this view. This must be
a child of the The implementation must allow templating for this element according to the following pattern. viewId XHTML page, page01.xhtml
Note line 4. The page author must ensure that
the The template page, template.xhtml
The page author is not required to use
templating, but if they do, it must be done as shown above, (or with
|
loadBundle | Load a resource bundle localized for the Locale of the current view, and expose it as a java.util.Map in the request attributes of the current request under the key specified by the value of the "var" attribute of this tag. The Map must behave such that if a get() call is made for a key that does not exist in the Map, the literal string ???KEY??? is returned from the Map, where KEY is the key being looked up in the Map, instead of a MissingResourceException being thrown. If the ResourceBundle does not exist, a JspException must be thrown. |
param | Add a child UIParameter component to the UIComponent associated with the closest parent UIComponent custom action. |
viewParam | Used inside of the metada facet of a view, this tag
causes a UIViewParameter to be attached as metadata for the current view.
Because |
phaseListener | Register a PhaseListener instance on the UIViewRoot in which this tag is nested. |
selectItem | Add a child UISelectItem component to the UIComponent associated with the closest parent UIComponent custom action. |
selectItems | Add a child UISelectItems component to the UIComponent associated with the closed parent UIComponent custom action. When iterating over the select items,
Version 2 of the specification introduces several new attributes, described below. These are: var, itemValue, itemLabel, itemDescription, itemDisabled, and itemLabelEscaped. |
setPropertyActionListener |
Register an ActionListener instance on the UIComponent associated with the closest parent UIComponent custom action. This actionListener will cause the value given by the "value" attribute to be set into the ValueExpression given by the "target" attribute. The implementation of this tag creates a special
The
|
subview | Container action for all JavaServer Faces core and custom component actions used on a nested page via "jsp:include" or any custom action that dynamically includes another page from the same web application, such as JSTL's "c:import". |
validateDoubleRange | Register a DoubleRangeValidator instance on the UIComponent associated with the closest parent UIComponent custom action. |
validateLength | Register a LengthValidator instance on the UIComponent associated with the closest parent UIComponent custom action. |
validateLongRange | Register a LongRangeValidator instance on the UIComponent associated with the closest parent UIComponent custom action. |
validateBean | A validator that delegates the validation of the local value to the Bean Validation API. The validationGroups attribute serves as a filter that instructs the Bean Validation API which contraints to enforce. If there are any constraint violations reported by Bean Validation, the value is considered invalid. |
validateRegex | A validator that uses the pattern attribute to validate the wrapping component. The entire pattern is matched against the String value of the component. If it matches, it's valid. |
validateRequired | A validator that enforces the presence of a value. It has the same affect as setting the required attribute on a UIInput to true. |
validator | Register a named Validator instance on the UIComponent associated with the closest parent UIComponent custom action. Usage outside of an
If this element is nested within
a |
valueChangeListener | Register an ValueChangeListener instance on the UIComponent associated with the closest parent UIComponent custom action. |
verbatim | Create and register a child UIOutput component associated with the closest parent UIComponent custom action, which renders nested body content. |
view | Container for all JavaServer Faces core and custom component actions used on a page. |
Tag Library Validator | |
com.sun.faces.taglib.jsf_core.CoreValidator | This tag library validator verifies certain semantic restrictions on the use of JavaServer Faces component actions, including the requirement that component tags nested inside a JSTL conditional tag must have a value specified for the "id" attribute. |
Listeners |
com.sun.faces.config.ConfigureListener |
| |||||||
FRAMES NO FRAMES |