Documente Academic
Documente Profesional
Documente Cultură
• Overview
– Personalizations/Extensions, What’s the
difference?
– Where are personalizations/page meta data
stored
– Add new items to a page/region
– Identify available fields via ‘About page’
Overview cont..
• Overview cont…
– SPEL language for dynamic personalizations
– Using JDR utilities
– Custom Look & Feel (CLAF)
– Extending Business Components
– Deploying extensions
Personalizations/Extensions
OA.jsp?akRegionCode=
HR_PROCESS_PEOPLE_TOP_SS
&akRegionApplicationId=800
&language_code=US
&pDestination=HR_ACTIONS_SS&pCalledFrom=
&retainAM=Y&addBreadCrumb=Y
&pPersonId={!PersonId}
Personalizations
• Adding additional items to page/region
Personalizations
• Identify available fields via ‘About Page’
Personalizations
• Identifying available fields via About page
Personalizations
• Identifying available fields via About page
Personalizations
• Identifying available fields via About page
Personalizations
• Add new Region
Personalizations
• Add new Region
Personalizations
• Dynamic personalizations
– SPEL language
• Simplest Possible Expression Language
• Used to set (true/false, yes/no)
– Read Only
– Rendered
– Required
– Disabled
• ${oa.<viewObject>.<viewAttr>},
${oa.function.<functionName>},
${oa.FunctionSecurity.<FunctionName>}
Personalizations
• Components of LAF
– Style Sheets (XSS)
– Icons
– Renderers (.uit)
• Create Custom LAF using
– Base LAF
– Simple LAF
– Another Custom LAF
Custom Look & Feel (CLAF)
• Style Sheets
– Control Font and Color of HTML components
• OA_HTML/cabo/styles/<ClafId.xss>
• Icons
– Control LAF of Web Beans
• Renderers
– Controls how Web Beans lay out children and
generate HTML
– Defined declaratively (.uit extension)
• OA_HTML/cabo/templates/ClafID/ClafId.uit
Custom Look & Feel (CLAF)
• CLAF User Interface
Custom Look & Feel (CLAF)
• CLAF User Interface
Custom Look & Feel (CLAF)
• CLAF User Interface
Custom Look & Feel (CLAF)
• CLAF User Interface
Custom Look & Feel (CLAF)
• Adding custom renderers
– Edit $OA_HTML/cabo/lafs/ClafId.xml
<renderer name="pageLayout">
<template name="pageLayout.uit">
</template>
</renderer>
Custom Look & Feel (CLAF)
Custom Look & Feel (CLAF)
Extensions
• Extend EO/VO
– Review ‘About this Page’ for the page/region that you
want to add new fields
– Determine the VO that you will be extending
– Import the package that contains the VO into your
JDeveloper project
– Create new VOEx by extending the seeded VO
– Add new attribute to the VOEx
– Substitute seeded VO with VOEx in the JPX file
– Use JPXIMPORT.bat to import the JPX file to database
Extensions
• Extend EO/VO
Extensions
• Extend EO/VO
Extensions
• Extend EO/VO
Extensions
• Adding validation to enforce business rules
Extensions
• Adding validation to enforce business rules
Extensions
• Adding validation to enforce business rules
Extensions
• Deploying Extensions
– Do not replace the original object
– Extend and Substitute
– Move all the files and directories in your
custom package to the middle tier
– Run JpxImport utility to migrate the
substitutions
– Bounce Apache