Customizing Pages for Permissions and Runtime Editing 7-9
Figure 7–16 The Contacts Link Added in the Navigation Model
24. Choose the Page Link item and select the Add new node icon to add a link to the
navigation model.
25.
The navigation dialog opens, as shown in Figure 7–17
, with contacts entered in the Id field. In the URL Attributes pane, enter the Display Value as Contacts.
Figure 7–17 The Navigation Pane with the Id for Contacts and the Display Value
Specified as Contacts
26. Return to Application Navigator, select the Portal project and right-click Run to
launch the application in a web browser.
The application opens in a web browser with Contact Us as part of the navigation model, as shown in
Figure 7–18 . The page will be populated with content using
Oracle Composer, shown in Figure 7–19
. For more information about creating and adding Content Presenter task flows and
display templates, see Chapter 28, in Oracle Fusion Middleware Developers Guide for Oracle WebCenter.
7-10 Oracle Fusion Middleware Tutorial for Oracle WebCenter Developers
Figure 7–18 The MyPortalApplication shown in a Web Browser with the Contact Us Link
Added to Navigation
Step 2: Edit Documents at Runtime
Now that we have customized our Contacts Page in our application, dragging and dropping the contacts.html document from our UCM repository on to the
panelCustomizable component in contacts.jspx and rendering it as a Content
Presenter task flow, we can move on to the task of enabling in-context HTML editing capability to our documents.
In-context document editing offers authenticated users easier access and control over document content. This feature is only available at runtime, however.
To edit documents at runtime:
1. In Application Navigator, select the Portal project and right-click Run to launch
the application in a web browser.
2. Once the application opens in a web browser with Contact Us as part of the
navigation model, click the Contact Us link in the banner to the right of the Menu link. The Contact Us page displays the page on which you can enter document
content, as shown in Figure 7–19
.
Figure 7–19 The Contact Us Page For Users to Enter Document Content
Customizing Pages for Permissions and Runtime Editing 7-11
3. Log in to the Home page as contentadmin with the password you entered when