• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jsf richfaces rich, a4j tags

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic