Lecture 5 - Facelets + Data Tables Flashcards

1
Q

What is a Facelet?

A

A view handler for faces, replaces JSP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

To use Facelet tags, what namespace declaration is needed?

A

xmlns:ui=”jakarta.faces.facelets”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does ui:include do?

A

Includes contents from other xhtml pages (think of ejs)

Typically used in ui:insert tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a facelet template and how do we use it?

A

an xhtml page that uses ui:insert and ui:include tags.
NOTE: ui:composition is used both to define the template and utilize it
ui:composition will load in the template.
ui:define tags adds replacements for template’s ui:insert tags.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are does ui:decorate do?

A

Creates a wrapper around HTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly