How to rewrite URL in JSF using PrettyFaces?

Pretty Faces is an open source solution to rewrite URL in JSF and J2EE frameworks. It makes the URL pretty and SEO-friendly. As an example, We could replace our JSF URLs from /faces/* to /* in 2 minutes. In this section, we have mentioned how to rewrite URL in JSF using Pretty Faces

By | 2017-06-08T22:47:32+00:00 February 28th, 2016|Categories: JSF|Tags: |0 Comments

JSF 2.0 Explicit Navigation

Explicit navigation in JSF is setting the navigation rule in the JSF-CONFIG.xml. We have described an example below to describe the explicit navigation. We created a landing page called index.xhtml which has two buttons, home and dashboard as shown below. When a user clicks the button home, the page moves to home.xhtml and when a user clicks the button dashboard, the page moves to dashboard page using the navigation rules mentioned in the faces-config.xml.

By | 2016-02-26T00:12:47+00:00 February 25th, 2016|Categories: JSF|0 Comments

How to create a Managed bean in JSF 2

Managed bean is similar to java bean class contains setter & getter methods and business logic. We can use the managed bean class property directly in the JSF pages. A normal java bean can be a managed bean by mentioned annotation @managedbean on top of the class. This section we have described an example of creating a simple managed bean with property and use the property in the XHTML file.

By | 2017-06-07T00:36:08+00:00 February 24th, 2016|Categories: JSF|Tags: |0 Comments

Install Web Tool Platform (WTP) and Enable Visual Editor for JSF in Eclipse

install wtp in eclipse WTP tool in Eclipse provides efficient way to develop JSF project in eclipse  The WTP plugin must be installed to visually editing the JSF pages. Below two items are covered in this section 1. Installing WTP 2. Enable Visual Editor for JSF Install WTP Tool 1. Open Eclipse >> Help >> Install New Software [...]

By | 2016-08-28T23:16:14+00:00 February 7th, 2016|Categories: Installation, JSF|Tags: , |0 Comments
Like us on Facebook.
Connect!