0% found this document useful (0 votes)
21 views3 pages

Components of A JSF Application 2. How JSF Works Behind The Scenes 3. JSF Versions 4. Application Server Support

The document discusses Java Server Faces (JSF), including its core components, how it works behind the scenes, supported versions and application servers. It also provides examples of JSF forms with input fields for name and age, and a response page that displays the input values.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Components of A JSF Application 2. How JSF Works Behind The Scenes 3. JSF Versions 4. Application Server Support

The document discusses Java Server Faces (JSF), including its core components, how it works behind the scenes, supported versions and application servers. It also provides examples of JSF forms with input fields for name and age, and a response page that displays the input values.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 3

JAVA SERVER FECES

TOPICS

1. Components of a JSF Application

2. How JSF Works Behind the Scenes

3. JSF Versions

4. Application Server Support

<!DOCTYPE html >

<html lang ="en"

xmlns="http://www.w3.org/1999/xhtml"

xmlns:h="http://xmlns.jcp.org/jsf/html"

xmlns:a="http://xmlns.jcp.org/jsf/passthrough">

<h:head>

<title> Hello- Input form</title>

</h:head>

<h:body>

<h:form>

<h:inputText id="name" value ="#{theUserName}" a:placeholder ="Care este


numele tau?"/>

<br>

</br>

<h:inputText id ="varsta" value="#{theAge}" a:placeholder="Varsta


ta"/>

<h:commandButton value ="Adauga" action ="raspuns"/>

</h:form>
</h:body>

</html>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:h="http://xmlns.jcp.org/jsf/html">

<h:head>

<title>Hello - Response</title>

</h:head>

<h:body>

Buna ziua, #{theUserName}

<h2> Bine ati venit pe site!</h2>

<h2>Varsta ta este: #{theAge}</h2>

</h:body>

</html>

HTLM Forms

JSF UI Components

JSF Page structure

Creating Forms with JSF

JSF Form UI Components

HTML components ==> xmlns:h="http://xmlns.jcp.org/jsf/html">

Core components ==> xmlns:h="http://xmlns.jcp.org/jsf/core">

Facelets components ==> xmlns:h="http://xmlns.jcp.org/jsf/facelets">

Composite components ==> xmlns:h="http://xmlns.jcp.org/jsf/composits">

?==>xmlns:a="http://xmlns.jcp.org/jsf/passthrough">

You might also like