O'Reilly logo

JSF 2.0 Cookbook by Anghel Leonard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using JSF ID Generator

In this recipe, we will demonstrate how to use JSF ID Generator. This is an Eclipse plug-in that generates customizable and unique component IDs for JSF tags. It is very useful when you write large JSF pages, and you are sick and tired of manually specifying the id attribute.

Getting ready

First, you have to download the JSF ID Generator plug-in from the address http://sourceforge.net/projects/jsfidgenerator/.

We start by installing the new plug-in in Eclipse. For this, follow the given steps:

  1. Create a folder named /links inside the eclipse folder.
  2. Create a new file inside the /links folder and name it as say jsf.link (notice that you can provide any other name, only the extension is mandatory).
  3. Assuming that we have copied ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required