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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To achieve this, we must place the menu1 inside the menu3 facet of the <br />

element. Here are the steps to do this:<br />

• Create a custom template for pageMenu.vm, and rename the menu1 facet to<br />

menu3:<br />

• Create a custom template for menu1.vm, and rename the enclosing element from<br />

to <br />

Now configure <strong>JHeadstart</strong> to use your custom menu templates instead of the default<br />

templates. See chapter 4 “Using <strong>JHeadstart</strong>”, section “Customizing Using Generator<br />

Templates” for more information on how to do this. That’s all, regenerate your<br />

application and the menu1 will look like in the above screen shot.<br />

Note that the menu3 facet is also used to render a tree in case of a tree-form layout. So,<br />

this menu layout cannot be used in combination with tree layouts.<br />

9 - 4 Generating Menu Structures <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!