Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is process and update and how it works in primefaces [duplicate]

Can you differentiate process and update.Since am new to JSF am little confused where to use.unnecessary use causing issue in my Application.

like image 972
user2006716 Avatar asked Mar 06 '13 07:03

user2006716


1 Answers

process in primefaces equals to execute in JSF

process : Determines id’s of components to be processed(sent/submitted to server).

update in primefaces equals to render in JSF

update : Determines id’s of components to be updated (refreshed with updated values from server).

If you want to learn about those two tags (and more) you should read this blog post :

Learning JSF2: Ajax in JSF – using f:ajax tag

After that you should know that primefaces process and update can also use a more powerful selectors, read more here

jQuery Selector API meets JSF

and

PrimeFaces Selectors - @(selector)

like image 79
Daniel Avatar answered Nov 04 '22 15:11

Daniel