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.

After turning off the generation of these files, customize them as follows:<br />

• Open branding.jspx and brandingAppContextual.jspx in<br />

ViewController\public_html\common\regions.<br />

• Copy your own logo image(s) to ViewController\images (for example, use<br />

SRBranding.gif from the <strong>Oracle</strong> SR Demo).<br />

• Change brandingAppContextual.jspx and branding.jspx to refer to your own<br />

image instead of the <strong>JHeadstart</strong> image, or remove the image reference if you<br />

don't want an image in that facet.<br />

5.9.2. Rearranging the Overall Page Layout Using Generator Templates<br />

While ADF Faces skinning is a nice feature, it does not allow you to perform more<br />

"radical" layout customizations that include rearranging the overall page layout. For<br />

example, in many web sites, the menu is shown in a nested structure at the left side of<br />

the page, as shown in the example layout below.<br />

Customizations like this can easily be achieved by creating a set of custom Velocity<br />

templates and configure the <strong>JHeadstart</strong> Application Generator to use this custom set of<br />

templates. For more information, see Section 4.7 Using Generator Templates.<br />

The basic idea is that instead of the ADF Faces PanelPage component, you create your<br />

own page structure, for example like this:<br />

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

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

Saved successfully!

Ooh no, something went wrong!