previous |
index
Conditional Rendering of Pages
Tab content is implemented using static inclusion of JSF pages:
index.jsp
- Static inclusion is accomplished with the JSP include directive
(not a JSF tag).
- Each page includes a picture and some text.
- Even though a four pages are included, only one is shown, through use of
the rendered attribute.
- Here is one of the conditionally rendered pages:
jefferson.jsp
- The rendered attribute is an HTML tag attribute that gets a
boolean property value from the
backing bean.
previous |
index