Professional Documents
Culture Documents
1. Oracle is pleased to allow its business partner (“Partner”) to download the Materials found on this area of the Site. The Materials
provided on or through this area of the Site are confidential to Oracle and protected by intellectual property laws, and provided to Partner
under and pursuant to the terms, conditions and restrictions of Partner’s agreement with Oracle to participate in the applicable beta
program pertaining to the Software (as defined below) (“Beta Trial License Agreement”), as well as any additional terms, conditions and
restrictions set forth in any area of this Site or in any Materials provided on or through this Site. In the event of any conflict or
inconsistency between the terms, conditions and restrictions set forth in the Beta Trial License Agreement and those set forth in any area
of this Site on in any Materials provided on or through this Site, the former shall have precedence with respect to Partner’s access and
use of the Site and Materials, provided, however, that notwithstanding anything to the contrary in the Beta Trial License Agreement,
Partner will restrict access to and disclosure of Materials only to its employees who require access to Materials in connection with the
Beta Trial License Agreement.
2. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective
owners.
3. Oracle disclaims any warranties or representations as to the accuracy or completeness of any Materials. Materials are provided "as
is" without warranty of any kind, either express, implied or statutory, including without limitation the implied warranties of merchantability,
satisfactory quality, fitness for a particular purpose, accuracy, timeliness and non-infringement of third-party rights. The information
contained herein is subject to change without notice.
4. Under no circumstances shall Oracle be liable for any loss, damage, liability or expense incurred or suffered which is claimed to have
resulted from use of these Materials. As a condition of use of the Materials, Partner agrees to indemnify Oracle from and against any and
all actions, claims, losses, damages, liabilities and expenses (including reasonable attorneys' fees) arising out of Partner’s use of the
Materials.
Page Templates
Presenter name | Oracle Platform Technology Services
Agenda
Create Page
Portal Resource
(EAR, MAR)
Create Page
Portal Resource
Deploy, Run
(EAR, MAR)
Resources
Preference
Bean
Create, Upload Template
Change Default
Edit Template
• Create under
/oracle/webcenter/portalapp/pagetemplates
</af:pageTemplateDef>
</jsp:root>
Portal resource
• is packed in an EAR file
• that contains a MAR file
• that contains all the corresponding files under /oracle folder
• Create under
/oracle/webcenter/portalapp/pages
• Choose a template
Page Content
</f:facet>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>
• Change in page.jspx
<af:pageTemplate value="#{bindings.pageTemplateBinding.templateModel}" id="pt1">
• Change in pageDef.xml
<page viewId="${preferenceBean.defaultPageTemplate} "
id="pageTemplateBinding" Refresh="ifNeeded"/>
• Choose template
• You can choose default
(application page) template
• Choose page style
• Formatted output
<span style="font-size:24px;font-color:red;"> … </span>
<span class="DropDown"> … </span>
<af:resource type="javascript"
source="http://www.google.com/jsapi"/>
<af:resource type="javascript">
google.load("jquery", "1.4");
</af:resource>
• Use <script> if you need to execute code in the <body>
section
<af:resource type="css">
.DropDown {
padding-left:10px;
padding-right:12px;
background-image:url("${contextRoot}/afr/dropdown_n.png");
background-position:right;
background-repeat:no-repeat;
cursor:pointer;
}
</af:resource>
<c:set var="contextRoot"
value="${facesContext.externalContext.requestContextPath}"
scope="session"/> Session variable
• EL expressions provide
• Iteration
• Navigation
• Attribute access
for the navigation model data structure.
<c:set var="rootNodes"
value="${navigationContext.navigationModel['/oracle/webcenter/portalapp/
navigations/MainNavigation'].listModel['startNode=/, includeStartNode=false']}"
scope="session"/> Get root nodes from the model