css - 更改 af 标题的颜色 :document in jsf page of ADF

标签 css jsf title oracle-adf

我使用带有标题的 af:document 创建了一个 jsf 页面(这是必需的),但默认情况下,由于默认皮肤,此磁贴带有黑色,但我需要它是红色的。

我尝试使用内联 CSS,但没有用。代码片段如下:

<f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <af:document title="#{bundle['XXSG_OSA_CANCEL_ORDER']}" id="d1"
                 inlineStyle="background-color:#F7F7F8;background-image:none;color:red;font-weight:normal;"
                 styleClass="color-set">
        <af:messages id="m1" inlineStyle="background-color:#F7F7F8;color:red;font-weight:normal;"/>
        <af:form id="f1" inlineStyle="background-color:#F7F7F8;">  

谁能告诉我是否有可以在 SKIN 中覆盖的键来更改 af:document 的标题?

在另一个页面中使用的(JSF 页面的)弹出代码:

<div id="j_id16" class="x1d3">
   <div class="x1ee" data-afr-panelwindowbackground="1" style="display: none;"></div>
   <div class="x1ee" data-afr-panelwindowbackground="1" style="display: none;"></div>
   <div class="x1ee" data-afr-panelwindowbackground="1" style="display: none;"></div>
   <div class="x1ee" data-afr-panelwindowbackground="1" style="display: none;"></div>
   <table summary="" role="presentation" class="x1dj" data-afr-shaddec="sd$4" cellspacing="0" cellpadding="0" border="0">
      <tbody>
         <tr>
            <td class="p_AFResizable x1d8" id="j_id16::_hse">&nbsp;</td>
            <td class="p_AFResizable x1da" id="j_id16::_hce">
               <table style="cursor:default" summary="" role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
                  <tbody>
                     <tr>
                        <td>
                           <div id="j_id16::_ticn" class="x1e6" style="display:none"></div>
                        </td>
                        <td class="x1dl" id="j_id16::tb" style="-moz-user-select: none;">
                           <div id="j_id16::_ttxt" class="x17g">Order Cancellation</div>
                        </td>
                        <td>
                           <div class="x1e8"><a aria-label="Close" href="#" onclick="return false" class="x17e" id="j_id16::close" title="Close"></a></div>
                        </td>
                     </tr>
                  </tbody>
               </table>
            </td>
            <td class="p_AFResizable x1dc" id="j_id16::_hee">&nbsp;</td>
         </tr>
         <tr>
            <td class="p_AFResizable x1dq" id="j_id16::_cse">&nbsp;</td>
            <td class="p_AFResizable x1dn" id="j_id16::contentContainer" tabindex="-1">
               <div id="j_id16::_ccntr" class="x1do" style="width:400px;height:300px;position:relative;overflow:hidden;">
                  <div id="j_id17" class="xt4 " style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px"><iframe id="j_id17::f" title="Content" src="/osaportal/faces/adf.dialog-request?_rtrnId=1496388287220&amp;_afrPage=s2" onload="AdfDhtmlInlineFramePeer.__iframeLoadHandler(event)" style="position:absolute;width:100%;height:100%" _adfloaded="1" data-afr-panelwindowid="j_id16" data-afr-rtnid="1496388287220" frameborder="0"></iframe></div>
               </div>
            </td>
            <td class="p_AFResizable x1ds" id="j_id16::_cee">&nbsp;</td>
         </tr>
         <tr>
            <td class="p_AFResizable x1du" id="j_id16::_fse">
               <div></div>
            </td>
            <td class="p_AFResizable x1dv" id="j_id16::_fce">
               <table summary="" role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
                  <tbody>
                     <tr>
                        <td class="p_AFResizable x1dy" id="j_id16::_fcc"></td>
                        <td valign="bottom" align="left">
                           <div class="p_AFResizable x1e3"><a tabindex="-1" class="x1e1" id="j_id16::_ree" title="Resize"></a></div>
                        </td>
                     </tr>
                  </tbody>
               </table>
            </td>
            <td class="p_AFResizable x1dw" id="j_id16::_fee">
               <div></div>
            </td>
         </tr>
      </tbody>
   </table>
</div>

最佳答案

您是在谈论窗口栏中标题的颜色(最小化/最大化图标所在的位置)吗? 我认为这是在客户端机器 Windows 操作系统级别控制的,而不是在 ADF 级别。

关于css - 更改 af 标题的颜色 :document in jsf page of ADF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44236348/

相关文章:

jquery - 如何引用同一元素中的另一个元素 <p :dataTable><p:column> using jQuery

powershell - PowerShell:按窗口标题杀死并显示消息提示

python - Pandas - 散点矩阵集标题

javascript - 加载ajax时如何显示图像

javascript - CSS标签:before with content styling not working unless id provided for elements

php - 提取部分 HTML 页面

jsf - 在验证器属性中找不到 EL 函数

html - 带有图像交换的 CSS 水平导航不起作用

java - 目标无法访问, 'null' 在 JSF 中返回 null

python - 跨越两个(或任意数量的)子图列的 Matplotlib 标题