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.

12.2.3. Generating the Flex Region Admin Pages<br />

• A SQL Script named FlexRegionDefsDataServiceName.sql is generated and<br />

executed against the default database connection of your ADF Business<br />

Components project. This script inserts rows in the<br />

JHS_FLEX_REGION_DEFINITIONS table for each Flex Region defined in the<br />

Application Definition. Note that if you do not want the JAG to auto-execute<br />

the script, you can uncheck the service-level checkbox “Run Generated SQL<br />

Scripts?”<br />

• The pages in a group with a Flex Region include ADF Faces elements that<br />

dynamically display the flex items that might be defined at runtime for this<br />

region. Of course, when you run the page just after you added the Flex<br />

Region, no flex items have been defined yet for this Flex Region and the page<br />

will look the same as it did without the flex items enabled.<br />

• An additional global button “Customize Mode” is generated into the page.<br />

Clicking this button will allow you to invoke the flex region admin pages you<br />

are about to generate.<br />

As explained above, a separate application definition FlexRegionAppDef.xml is<br />

generated that can be used to generate the Flex Region administration screens. This<br />

application definition is only generated when it does not exist yet, so after it has been<br />

generated, you can make any changes you want using the Application Definition Editor,<br />

without loosing these changes when you regenerate your “own” application definition.<br />

Before you generate the FlexRegionAppDef you might want to inspect the file locations<br />

properties, and change them if you have set other naming standards for these properties.<br />

12 - 6 Runtime Page Customizations <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!