aspose file tools*
The moose likes JSF and the fly likes jsf richfaces rich, a4j tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf richfaces rich, a4j tags" Watch "jsf richfaces rich, a4j tags" New topic
Author

jsf richfaces rich, a4j tags

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

I have not clearly understood the difference between

rich: and a4j: tags used in JSF richfaces. where we use which one and how. Any ideas, suggestions, links, resources, sample code highlyappreciated. tahnsk in advance.
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2864
    
  11

Hi ... you. Actually I don't know if I should call you gudim or gudi.

The rich: tags and a4j: tags are quite a bit different. The rich: tags provide GUI widgets like a calendar, menues, a pick list, suggestion boxes, modal dialogs, etc. The a4j: tags are involved with capturing events, creating AJAX requests, and rendering AJAX responses. There's really not much overlap between the two tag sets.

For links, I have the JBoss RichFaces Developer's Reference bookmarked, and I refer to it often. I also have the book "Practical RichFaces" by Max Katz, but I don't find that as useful as the online documentation. You can also Google for the Exadel RichFaces Demo pages, which show you some of the tags in action. I believe you have to register for the site, but it's free.

Greg
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

a4j and RichFaces started out as separate products. These days they are distributed as a unit. RichFaces functionality is built on the a4j infrastructure.

"a4j" stands for "AJAX for Java". Tags belonging to this namespace handle mostly low-level AJAX support. That is, they tend to be more functional than graphic. RichFaces is primarily about the UI. Aside from that, the only other difference is that the a4j tag chapters precede the rich tag chapeters in the RichFaces user's manual.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf richfaces rich, a4j tags