Monday, May 6, 2013

PPR autoSubmit and partialSubmit

The autoSubmit attribute on an input component and the partialSubmit attribute on a command component are not the same thing. When partialSubmit is set to true, then only the components that have values for their partialTriggers attribute will be processed through the lifecycle. The autoSubmit attribute is used by input and select components to tell the framework to automatically do a form submit whenever the value changes. However, when a form is submitted and the autoSubmit attribute is set to true, a valueChangeEvent event is invoked, and the lifecycle runs only on the components marked as root components for that event, and their children.

Source: http://docs.oracle.com/cd/E16764_01/web.1111/b31973/af_ppr.htm
Related Posts Plugin for WordPress, Blogger...