【问题标题】:Oracle ADF declarativeComponent backgroundOracle ADF 声明性组件背景
【发布时间】:2011-12-26 13:59:48
【问题描述】:

我有一个页面,它由两部分组成:上一个是,另一个是。 我遇到了以下问题: 如何将标准蓝灰色背景(如 af:decorativeBox 具有)应用于具有声明性组件的区域? 提前致谢!

编辑:

以下是标记示例:

<af:declarativeComponent id=".." .... />
<af:panelTabbed id="..." ...>
    <af:showDetailItem ... />
    ....
 </af:panelTabbed>

其中 declarativeComponent 包含简单的 panelStrecthLayout 以及各种 outputLabels、outputTexts 等。

panelTabbed 默认具有蓝灰色背景窗格,但 af:decalarativeComponent 没有。那么我如何在不修改 delcarativeComponent 引用的页面内容的情况下将相同的背景应用于 declarativeComponent 的内容(例如,包装到 decoratingBox 会产生预期的结果,但 declarativeComponent 不是 decoratingBox 的有效子项)

【问题讨论】:

    标签: jakarta-ee oracle-adf


    【解决方案1】:

    您的问题不清楚是否要在页面的下部或上部应用背景。另外,这取决于您使用的组件类型。如果它是面板组布局,那么您应该在内联样式中看到 background-color 属性。此外,我认为您也可以应用可能具有变化渐变的图像作为 panelGroupLayout 的背景

    【讨论】:

    • 请看问题说明。
    猜你喜欢
    • 2012-08-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多