• 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

Ajax and JSF

 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,
I was looking at AJAX and JSF today just doing some simple examples.
I am wondering what is going on under the hood.
This is my understanding:
AJAX ads some magic so that when events are fired from the GUI for AJAX enabled components the JSF 6 phase lifecycle still happens but only for the AJAX enabled components not for the entire page.

So, say in the restore view, apply request values, process validations, update model values etc the only components and values that are considered or those from the ajax component.
Because of this, the request / response is quicker?

Is this true?

If not enlighten me...

Thanks.
 
Saloon Keeper
Posts: 27762
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
That's a pretty accurate assessment.

A fringe benefit is that the user doesn't have the visual "hit" of a page reload. Only selected parts of the page are updated.
 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Holloway wrote:That's a pretty accurate assessment.

A fringe benefit is that the user doesn't have the visual "hit" of a page reload. Only selected parts of the page are updated.



Thanks.
reply
    Bookmark Topic Watch Topic
  • New Topic