JSF - (Tag|Component) library

Java Conceptuel Diagram

About

JavaServer Faces technology supports various tag libraries to add components to a web page.

Tag

To support the JavaServer Faces tag library mechanism, Facelets uses XML namespace declarations.

Tag Type Namespace Prefix Example Description
Templating http://java.sun.com/jsf/facelets ui: ui:component, ui:insert Templating
HTML http://java.sun.com/jsf/html h: h:head, h:body, h:outputText, h:inputText
JSF http://java.sun.com/jsf/facelets f: f:actionListener, f:attribute Tags for JavaServer Faces custom actions that are independent of any particular render kit
Core http://java.sun.com/jsf/core c: c:forEach, c:catch Used to perform core actions that are not performed by HTML tags
Functions Tags http://java.sun.com/jsp/jstl/functions fn: fn:toUpperCase, fn:toLowerCase JSTL 1.2 Functions Tags
Primeface http://primefaces.org/ui p p:themeSwitcher, p:datatable Component Library

In addition, Facelets supports tags for composite components, for which you can declare custom prefixes.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:p="http://primefaces.org/ui">
..........





Discover More
Java Conceptuel Diagram
JSF - Facelet

The term Facelets refers to the view declaration language for JavaServer Faces technology. Facelets is a page declaration language that is used to build JavaServer Faces views using HTML style templates...
Java Conceptuel Diagram
JavaServer Faces (JSF)

The request: means to maintain the state for the time of a request session: means to maintain the state for the time of a session (between page views) none: means that the bean will be created but...
Java Conceptuel Diagram
Jsf - Panel

A Panel Grid Jsf tag renders an html table with specified no. of columns. Children of this element are rendered in cells of the columns of the table. Renders an HTML “table” element, conforming...
Card Puncher Data Processing
Xml - Namespace

namespace in XML are used to be able to have the same node name but in different namespace. A simple example would be to consider an XML document that contained references to: a customer and...



Share this page:
Follow us:
Task Runner