Currently browsing category

JSF, Page 6


JSF 2 Composite Component Example

Unlike action-based frameworks, such as Struts or Ruby on Rails, jsf is a component-based, which means you can implement components that you …


JSF 2 JavaScript Namespaces Example

Already you’ve seen the implementation of monitoring Ajax (request/response) using monitor JavaScript function. That method is fragile, however, because it can be overwritten by another JavaScript …


JSF 2 UI Fragment Example

Before JSF 2.0, you’ve used an <f:verbatim/> Tag for rendering a set of JSF components conditionally. The <f:verbatim/> tag creates an output component as …


JSF 2 Custom Tags Example

You’ve already seen how to lay out user interface elements with templates. In addition, facelets allows you to define a custom tags. A …


JSF 2 UI Param Example

When you invoke a template, you can supply arguments in two way: with ui:define and with the ui:param tags. As you have already seen; ui:define is …


JSF 2 UI Decorate Example

Unlike the ui:composition, the ui:decorate is more content-centric approach, in that you write your pages as usual, but you surround the contents with …


JSF 2 Include Example

Facelets was originally developed as an alternative to the JSP-based view handler in JSF1.x. In JSF 2.0 facelets replaces JSP as JSF’s …


JSF 2 Message and Messages Example

The <h:message/> and <h:messages/> can be used for displaying the error, fatal error, warning and information messages for single component and for the …


JSF 2 Resource Bundle Example

When you implement a web application, it’s good idea to collect message strings in a central location. This process makes it easier …

Pin It on Pinterest