Академический Документы
Профессиональный Документы
Культура Документы
3. Add the attribute with the name "brandingLogoCls" and value as the CSS class
name inside the line:
<af:pageTemplate viewId="/templates/IdmSignIn.jspx"
value="#{bindings.pageTemplateBinding}" id="pt1">
For example:
<af:pageTemplate viewId="/templates/IdmSignIn.jspx"
value="#{bindings.pageTemplateBinding}" id="pt1">
<f:attribute name="brandingLogoCls" value="MyCustomBrandingLogo"/>
3. Add the attribute with the name "brandingLogoCls" and value as the CSS class
name inside the line:
<af:pageTemplate viewId="/templates/IdmShell.jspx"
value="#{bindings.pageTemplateBinding}" id="pt1">
For example:
<af:pageTemplate viewId="/templates/IdmShell.jspx"
value="#{bindings.pageTemplateBinding}" id="pt1">
<f:attribute name="brandingLogoCls" value="MyCustomBrandingLogo"/>
3. In the same file, add the attribute with the name "brandingLogoCls" and value as
the CSS class name inside the following line:
<af:pageTemplate id="PANEL_PAGE" viewId="/templates/uself.jspx">
For example:
<af:pageTemplate id="PANEL_PAGE" viewId="/templates/uself.jspx">
<f:attribute name="brandingLogoCls" value="MyCustomBrandingLogo"/>
3. In the same file, add the attribute with the name "brandingLogoCls" and value as
the CSS class name inside the following line:
<af:pageTemplate id="PANEL_PAGE" viewId="/templates/self.jspx">
For example:
<af:pageTemplate id="PANEL_PAGE" viewId="/templates/self.jspx">
<f:attribute name="brandingLogoCls" value="MyCustomBrandingLogo"/>
Branding Customization
25-8 Oracle Fusion Middleware Developer's Guide for Oracle Identity Manager
Logo Mouse Over Text
To change the mouse over text for the branding logo image, perform one of the
following steps in the iam-consoles-faces.war/pages/Self.jspx file:
Inside the line <af:pageTemplate id="PANEL_PAGE"
viewId="/templates/self.jspx">, add as static text value:
<f:attribute name="brandingLogoText" value="My Company"/>
From the resource bundle, add the property, such as 'text_logo_mouseover', in the
corresponding bundle
(iam-consoles-faces.war/WEB-INF/lib/iam-consoles-faces.jar/oracle/iam/consol
es/faces/resources/Self_LOCALE.properties) and use it as shown:
<f:attribute name="brandingLogoText"
value="#{self.model.resources.self.text_logo_mouseover}"/>
25.1.5 Advanced Administration
Branding changes for the Advanced Administration are configured in
iam-consoles-faces.war/pages/Admin.jspx.
Branding Facet
Branding text can be changed by modifying the value of the resource bundle property
'header_branding_adv'. Admin.jspx refers to it in the following location:
<f:facet name="branding">
<af:outputText id="brandingTitle"
value="#{admin.model.resources.admin.header_branding_adv}"/>
</f:facet>
The admin resource bundle is located in
iam-consoles-faces.war/WEB-INF/lib/iam-consoles-faces.jar/oracle/iam/consoles/f
aces/resources/Admin_LOCALE.properties.
Logo Image
To change the logo image:
1. Copy the new image, for example new-logo.png, in the
oim.ear/iam-consoles-faces.war/images/ directory.
2. Add a stylesheet class after the following line in
iam-consoles-faces.war/pages/Admin.jspx:
<f:facet name="metaContainer">
For example:
<f:facet name="metaContainer">
<af:resource type="css">
.MyCustomBrandingLogo {
background-image:url('/oim/images/new-logo.png');
background-position:center;
background-repeat:repeat-n; display:block;
height:3.5em; width:119px;
}
</af:resource>