How to Bookmark URL in JSF using GET method and ViewParam – example

How to Bookmark URL in JSF using GET method and ViewParam – Example By default, JSF makes POST request to the server. The HTTP method POST is useful for INSERT and UPDATE operation. For example, GMAIL signup form. When a user fills and submits the form. A new user will get inserted into the database. [...]

By | 2017-10-15T00:34:47+00:00 October 14th, 2017|Categories: JSF|Tags: , , , , , , |0 Comments

JSF Dynamic Navigation and how to use wildcard in navigation

JSF Dynamic Navigation and how to use wildcard in navigation     In this section, I have explained an example of JSF dynamic navigation and how to use a wildcard character in the URL Navigation.   I have created a JSF page called index.Xhtml has two set of links, home & dashboard. The URL navigation occurs [...]

By | 2017-10-12T23:43:23+00:00 October 12th, 2017|Categories: JSF|Tags: , , |0 Comments

JSF Internationalization Example

JSF Internationalization Example JSF reads the language-specific property file automatically depends on the default language sets in the browser. We need to create a property file for each language our project is supporting. For example, if your project supports two locals, French, German and the default English locale. Click ISO 631-1CODES to find the locale [...]

By | 2017-10-01T19:29:10+00:00 October 1st, 2017|Categories: JSF|Tags: , , , , |0 Comments

JSF Resource Bundle Example

JSF Resource Bundle Example In JSF, we can create a property file and dump all the projects specific messages that we want to display in the browser in one place. Either it's a simple welcome message or an error message your Java class is returning to the browser. Place all the message in a name-value [...]

By | 2017-10-01T12:54:12+00:00 October 1st, 2017|Categories: JSF|Tags: , |0 Comments

What is a Backing bean in JSF

What is a Backing bean in JSF   Backing bean in JSF is a subtype of managed Bean but contain properties of all or some of UI component in a JSF page. The backing bean is useful for UI component validations, conversion, event handling etc. In other words, backing bean properties binds to UI components [...]

By | 2017-09-30T17:35:53+00:00 September 30th, 2017|Categories: JSF|Tags: |0 Comments

What is Managed Bean in JSF page

What is Managed Bean in JSF page   What if you want your JSF page to access the properties or custom methods present in a Java Bean class. In this case, the bean class should be managed by the JSF page. That means, the JSF page can able read the JAVA BEAN property to display [...]

By | 2017-09-30T16:40:08+00:00 September 30th, 2017|Categories: JSF|Tags: |0 Comments

How to access Enum variables EL Expression language in JSF

How to access Enum variables in JSF using Expression Language       I this section, I have explained how to access Enum variables in JSF using Expression language.     Below is the list of Enum Variables ( String constants )   [crayon-59e81acddf0f3338679998/]   This is a Managed Bean returns the ENUM Variables in [...]

By | 2017-09-30T14:03:39+00:00 September 30th, 2017|Categories: JSF|Tags: , |0 Comments

JSF Value Expression Example

JSF Value Expression Example     In JSF page, Using EL expressions we can refer the Java bean properties and methods. Either we display a Java bean variable in UI or call a Java bean method on a button click. The EL expression supports both. The syntax of EL/Value expression is #{object.value} As we already [...]

By | 2017-09-30T13:03:03+00:00 September 30th, 2017|Categories: JSF|Tags: , |0 Comments

What is a Java Bean?

What is a Java Bean?     What if you want to create your own Java Object with a set of properties. Let's take an example, A User Sign-Up form. The Sign-up form contains many properties, username, password, sex, Date of Birth, Country, Alternate email address, etc. We know these set of properties belonging to [...]

By | 2017-09-23T21:07:43+00:00 September 23rd, 2017|Categories: Java, JSF|Tags: , , |0 Comments
Like us on Facebook.
Connect!