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.3. Defining Flex Items At Runtime<br />

You are now ready to run the generated application, and define some flex items at<br />

runtime. If you start the application again, you will notice an additional button with<br />

label “Customize Mode” in the upper right corner of each page.<br />

Note that if you have enabled role-based security in your application, you will only see<br />

the button when you log in as a user with a role as specified in the service-level property<br />

Admin Role. You can customize the appearance of the Customize Mode button, as well<br />

as the role required to see the button by modifying the menuGlobal.vm template.<br />

If you click the Customize Mode button on a page with a flex region defined, a link will<br />

appear at the location of the flex region.<br />

Clicking this link will launch a dialog window with pages where you can define the<br />

appearance of the Flex Region, and the Flex Items that should appear within the Flex<br />

Region. You just generated these dialog pages using the FlexRegionAppDef.<br />

12 - 8 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!