Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt abt a4j:region

 
mara thamizhan
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dudes,
I'm working on JSF,Hibernate,& Spring in my project.
I'm loading data for my JSF through my backing bean.
When using ajax in my JSF, I don't get what is the use of this a4j:region
and what is the difference between h:commandButton and link and a4j:commandbutton and link.
Also when i want to pass parameters to my backingbean which will be better a4j:parameter or h:paramname
Come dudes I'm waiting for your reply.

Regards.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Dudes"? :roll:

I've got a suspicion that you didn't read our rules on using real names (http://www.javaranch.com/name.jsp), but I'll let someone else worry about that.

The a4j tags are for AJAX-enabled RichFaces support. An a4j:region is simply a block of page source that can be made the target of an AJAX operation such as partial page refresh. Except for the AJAX, it's a lot like the HTML <span> tag.

Likewise the aj4 command and link tags are like their core JSF equivalents, except that they provide attributes that permit them to be used to perform AJAX operations.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic