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. Creating Shuttle Layouts<br />

5.7.1. Creating Parent Shuttles<br />

You can use <strong>JHeadstart</strong> to generate Shuttles. A shuttle is used to present a list of records<br />

to the user. The user can move records from the selected list to unselected and vice versa.<br />

Examples of the use of a shuttle:<br />

1. Defining employees as members of a department. The left part of the shuttle<br />

shows all employees in other departments. The right hand shows the employees<br />

that are selected as members of this department. See screenshot below.<br />

(<strong>JHeadstart</strong> calls this a parent-shuttle).<br />

2. Attaching roles to a user. The left hand of the shuttle shows all the roles not<br />

attached to the user currently. The right hand shows all the roles the user has<br />

already. (<strong>JHeadstart</strong> calls this an intersection-shuttle)<br />

Use a parent shuttle when you want to attach existing detail records to parents. For<br />

example, you want to attach employees to departments, or customers to sales<br />

representatives. A parent-shuttle does not create new records, but only updates links to<br />

parent records.<br />

With a parent shuttle you can maintain the relation between employees and<br />

departments.<br />

In this example we will create a parent shuttle to assign employees to departments.<br />

Steps to create a parent shuttle:<br />

1. Go to the Application Module and add another (top-level) usage of the<br />

EmployeesView. Call the usage “EmployeesShuttle”.<br />

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

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

Saved successfully!

Ooh no, something went wrong!