IntelliJ Java IDE
The moose likes JSF and the fly likes doubt abt  a4j:region Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "doubt abt  a4j:region" Watch "doubt abt  a4j:region" New topic
Author

doubt abt a4j:region

mara thamizhan
Ranch Hand

Joined: Jul 05, 2006
Posts: 74
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

Joined: Jun 25, 2001
Posts: 12513

"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.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: doubt abt a4j:region
 
Threads others viewed
a4j:command link in h:datatable refreshed datatable even when not reRendered
Confused about a4j:loadbundle
Question on rendering
A4j issue
Updating Backing Bean Properties using commandLink
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture