aspose file tools*
The moose likes JSF and the fly likes Creating custome tags in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Creating custome tags in JSF" Watch "Creating custome tags in JSF" New topic
Author

Creating custome tags in JSF

Varadhan Sesharaman
Ranch Hand

Joined: Apr 21, 2011
Posts: 30

Want to know the process of adding the custom tags in the JSF.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

Have you considered getting a good book on JSF.

Custom tags can be created in several different ways, and some of them are quite complex. It's a bit more than we can explain in a "help" forum.


Customer surveys are for companies who didn't pay proper attention to begin with.
Varadhan Sesharaman
Ranch Hand

Joined: Apr 21, 2011
Posts: 30

Thanks Tim for your reply

I am very much new to JSF can you please refer me a JSF book kind of a book for beginner .


Thanks once again
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16145
    
  21

I used Kito Mann's "JSF in Action" book, myself, but I don't have the latest edition. Creating custom JSF tags is not a simple process if you create a binary tag (these days you can create tags using just XML as well as custom Facelet tags). Mann's book wasn't exactly "cook book" on the process, but was good enough that an experienced person such as myself could understand what was involved.

If possible, though, avoid creating binary tags. They're more likely to break, because they depend on internal characteristics of JSF. For a lot of things, the XML custom tag feature is all that's really needed.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating custome tags in JSF