14.01.2013 Views

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

Oracle JHeadstart Developer's Guide - Downloads - Oracle

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.7.3. Understanding How <strong>JHeadstart</strong> Runtime Implements Shuttles<br />

A generated parent shuttle looks like this in the ADF Faces page:<br />

This shuttle element references the SubordinatesShuttle managed bean, which is defined<br />

as follows in the group beans faces-config:<br />

When the user has shuttled entries between the two lists and then submits the page, for<br />

example by pressing the Save button, the valueChangeListener method<br />

processValueChange fires during the Process Validations phase. This method registers<br />

the ParentShuttleBean instance as a “Model Updater” in JhsPageLifecycle. Just<br />

before the Model validation phase, JhsPageLifecycle calls the doModelUpdate()<br />

method on the registered “Model Updaters”. In method<br />

ParentShuttleBean.doModelUpdate() the action binding to call the process shuttle<br />

<strong>JHeadstart</strong> Developer’s <strong>Guide</strong> Generating Page Layouts 5 - 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!