Creating a WebCenter Portal Application & Customising a page template

This post follows on from the previous one which is part of a series of explaining any non-obvious parts of the Oracle Tutorial.

I am using the Virtual Box development environment which makes things a lot easier because everything for WebCenter is pre-installed and configured. This can be found here.

In this post I will be following this tutorial.

This part of the tutorial is essentially all in JDeveloper and goes through setting up your first project. Section 3 is just a case of following the steps, there is nothing here that I feel is worth commenting on further.

Important note from this article is that when creating a new page template you also need to create a Page Definition as well. A page definition file is an XML file that specifies ADF bindings, page parameters, and permission settings. Various mappings and bindings used by pages and page templates are also specified. In this case, the myTemplatePageDef.xml file specifies the task flow for navigation rendering of the site, as well as parameters defining site structure paths.

The Application Sources folder is primarily a repository for page definition files, like the myTemplatePageDef.xml file, as well as for source code in a project.

Missing Step
In Step 3, item 12 there is a missing step on this page. The page shows the new template that has been created, however, it is not available. You first need to make it available before being able to select it in the Configuration tab.

To do this select the “Hidden” template, click the Edit menu and then select “Show”. This will make the template available and then it can be selected in the Configuration tab in the next step.

Also, on the step when we need to select the Default skin. I didn’t have an drop down to select from. This was because although my skin was available the default skin wasn’t. Making this available enabled the drop down. (You can enable this by clicking on “Skins” in the “Look and Layout” menu on the left and selecting the skin, clicking the Edit menu and selecting “Show”.

One comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s