InterviewSolution
| 1. |
What Is Partial Page Rendering? |
|
Answer» PPR is Partial Page Rendering, similarly to Ajax. It is used to dynamically refresh the part of page.It is done with the USE of partial triggers. For a component to trigger another component to refresh, the trigger component must cause a submit when an appropriate action TAKES place. Following three main component attributes are used to enable partial page rendering: autoSubmit: When the autoSubmit attribute of an input or select component is set to true, and an appropriate action takes place (such as a value change), the component automatically submits the form it is enclosed in. partialSubmit: When the partialSubmit attribute of a command component is set to true, clicking the button or link causes the page to be partially SUBMITTED. partialTriggers: All rendered COMPONENTS support the partialTriggers attribute. Use this attribute to list the IDS of components whose change events are to trigger this component to be refreshed. PPR is Partial Page Rendering, similarly to Ajax. It is used to dynamically refresh the part of page.It is done with the use of partial triggers. For a component to trigger another component to refresh, the trigger component must cause a submit when an appropriate action takes place. Following three main component attributes are used to enable partial page rendering: autoSubmit: When the autoSubmit attribute of an input or select component is set to true, and an appropriate action takes place (such as a value change), the component automatically submits the form it is enclosed in. partialSubmit: When the partialSubmit attribute of a command component is set to true, clicking the button or link causes the page to be partially submitted. partialTriggers: All rendered components support the partialTriggers attribute. Use this attribute to list the IDs of components whose change events are to trigger this component to be refreshed. |
|