What is the difference between partialSubmit and autoSubmit in JSF?

I think I knew the difference, but now I'm confused .: P

Both of them seem to do the same thing, except that it is partialSubmitused on submit buttons to submit a form using AJAX, and it is autoSubmitused for editable components that present only their own content. Am I saying it right?

+5
source share
2 answers

They are both called by AJAX calls arising from custom properties of custom JSF components. autoSubmitessentially asynchronous post-contact content specific to this component, for maintaining server-managed bean values ​​with content inside the component on the client side.

A partialSubmitis another asynchronous AJAX call that will immediately return the component value for any component event, for example, lose focus on the inputText ICEFaces component.

, ViewState , , HAD , bean , , , , .

, JSF , PhaseListener, , .

http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html

+3

100% . partialTriggers .

autoSubmit partialSubmit - . partialSubmit true, , partialTriggers . autoSubmit , submit . , autoSubmit true, valueChangeEvent , , root . , . 4.4, " ".

+9

All Articles