miércoles, 12 de marzo de 2014

Bibliotecas JSF - Core y HTML


Etiquetas de JSF

JSF provee en su API un conjunto estándar de Bibliotecas de Etiquetas, para enriquecer o alimentar nuestra interfaz: Podemos alimentar nuestra interfaz con Paneles, Campos de Entrada, Campos de Salida, Grilla de Datos, etc.
  • Core
  • Html
  • Composite
JSF provee en su API, para en caso que estas librerías no alcance la necesidad, desarrollar bibliotecas adicionales con sus respectivas etiquetas.

Referencia de Bibliotecas Core, Composite y HTML de JSF

Bibliografía http://www.jsftoolbox.com/

Biblioteca Core

Es una biblioteca que contiene típicamente componentes no visuales y auxiliares, ejemplo asociar un convertidor a un Componente de UIInput

Tag NameDescriptionSince
f:actionListenerThe ActionListener tag registers a javax.faces.event.ActionListener instance with the component.
f:ajaxJSF2 standardizes Asynchronous Javascript and XML (Ajax) functionality across JSF component libraries and introduces the f:ajax tag to provide Ajax capabilities in a standard way.JSF 2.0
f:attributeThe Attribute tag is a name/value pair that sets the value of a named attribute on the component associated with the enclosing tag.
f:convertDateTimeThe ConvertDateTime tag is useful for converting a date into a human-readable format and supports a range of formatting options.
f:convertNumberThe ConvertNumber tag registers a NumberConverter instance on the component associated with the enclosing tag.
f:converterThe Converter tag registers a Converter instance on the component associated with the enclosing tag.
f:event[ Documentation pending ]JSF 2.0
f:facetThe Facet tag registers a named facet on the component associated with the enclosing tag.
f:loadBundleThe LoadBundle tag loads a resource bundle for the Locale of the current view and stores it as a Map in request scope.
f:metadata[ Documentation pending ]JSF 2.0
f:paramThe Param tag sets a parameter for the component associated with the enclosing tag.
f:phaseListener[ Documentation pending ]JSF 2.0
f:selectItemThe SelectItem tag adds a child UISelectItem component to the component associated with the enclosing tag.
f:selectItemsThe SelectItems tag adds a child UISelectItems component to the component associated with enclosing tag.
f:setPropertyActionListener[ Documentation pending ]
f:subviewThe Subview tag creates a naming container (a container component with a unique identifier) that contains all JavaServer Faces core and custom tags on a nested page via "jsp:include" or any tag that dynamically includes another page from the same web application, such as JSTL's "c:import". The subview tag wraps JSF components contained in an included JSP or Facelets page that allows nested views.
f:validateBean[ Documentation pending ]JSF 2.0
f:validateDoubleRangeThe ValidateDoubleRange tag registers a DoubleRangeValidator instance on the component associated with the enclosing tag.
f:validateLengthThe ValidateLength tag registers a LengthValidator instance on the component associated with the enclosing tag.
f:validateLongRangeThe ValidateLongRange tag registers a LongRangeValidator instance on the component associated with the enclosing tag.
f:validateRegex[ Documentation pending ]JSF 2.0
f:validateRequired[ Documentation pending ]JSF 2.0
f:validatorThe Validator tag registers a named Validator instance on the component associated with the enclosing tag.
f:valueChangeListenerThe ValueChangeListener tag registers a ValueChangeListener instance on the component associated with the enclosing tag.
f:verbatimThe Verbatim tag creates an output component as a child of the component associated with the enclosing tag.
f:viewThe View tag is the container for all JavaServer Faces component tags used on a page.
f:viewParam[ Documentation pending ]

Biblioteca HTML

Son los Componentes de Presentación, son utilizados para dar forma a la interfaz JSF

JSF HTML Tag Library

This tag library contains JavaServer Faces component tags for all UIComponent + HTML RenderKit Renderer combinations defined in the JavaServer Faces Specification.

Tag NameDescriptionSince
h:bodyThis tag renders an HTML body element.JSF 2.0
h:button[ Documentation pending ]JSF 2.0
h:columnThe column tag renders a single column of data within a data table component.
h:commandButtonThe commandButton tag renders an HTML submit button that can be associated with a backing bean or ActionListener class for event handling purposes.
h:commandLinkThe commandLink tag renders an HTML anchor tag that behaves like a form submit button and that can be associated with a backing bean or ActionListener class for event handling purposes.
h:dataTableThe dataTable tag renders an HTML4 compliant table element that can be associated with a backing bean to obtain its data as well as for event handling purposes.
h:formThe form tag renders an HTML form element.
h:graphicImageThe graphicImage tag renders an HTML image tag.
h:headThis tag renders an HTML head element.JSF 2.0
h:inputHiddenThe inputHidden tag renders an HTML input element of the type "hidden".
h:inputSecretThe inputSecret tag renders an HTML input element of the type "password".
h:inputTextThe inputText tag renders an HTML input element of the type "text".
h:inputTextareaThe inputTextarea tag renders an HTML "textarea" element.
h:link[ Documentation pending ]JSF 2.0
h:messageThe message tag renders a message for a specific component.
h:messagesThe messages tag renders all Faces messages for the current view.
h:outputFormatThe outputFormat tag renders parameterized text and allows you to customize the appearance of this text using CSS styles.
h:outputLabelThe outputLabel tag renders an HTML "label" element.
h:outputLinkThe outputLink tag renders an HTML anchor tag with an "href" attribute.
h:outputScript[ Documentation pending ]JSF 2.0
h:outputStylesheet[ Documentation pending ]JSF 2.0
h:outputTextThe outputText tag renders basic text on your JSF page.
h:panelGridThe h:panelGrid tag renders an HTML4 compliant table element.
h:panelGroupThe panelGroup tag is a container component that renders its child components.
h:selectBooleanCheckboxThe SelectBooleanCheckbox tag renders an HTML input element of the type "checkbox".
h:selectManyCheckboxThe SelectManyCheckbox tag renders a list of HTML checkboxes.
h:selectManyListboxThe SelectManyListbox tag renders an HTML "select" list of any size with the "multiple" attribute present.
h:selectManyMenuThe SelectManyMenu tag renders an HTML "select" element with the "multiple" attribute present and the "size" attribute set to 1.
h:selectOneListboxThe SelectOneListbox tag renders an HTML "select" element of any size without the "multiple" attribute.
h:selectOneMenuThe SelectOneMenu tag renders an HTML "select" element with a "size" of 1 without the "multiple" attribute.
h:selectOneRadioThe SelectOneRadio tag renders a table of HTML "input" elements of the type "radio".

Composite (JSF 2)

Es la nueva Biblioteca de Composición de Interfaces.

Tag NameDescriptionSince
composite:actionSource[ Documentation pending ]
composite:attribute[ Documentation pending ]
composite:editableValueHolder[ Documentation pending ]
composite:extension[ Documentation pending ]
composite:facet[ Documentation pending ]
composite:implementation[ Documentation pending ]
composite:insertChildren[ Documentation pending ]
composite:insertFacet[ Documentation pending ]
composite:interface[ Documentation pending ]
composite:renderFacet[ Documentation pending ]
composite:valueHolder[ Documentation pending ]

No hay comentarios:

Publicar un comentario