Oracle ADF declarativeComponent 背景
我有一个页面,由两部分组成:上面的一个是,另一个是。 我遇到过以下问题: 我如何将标准蓝灰色背景(如 af:decorativeBox 具有)应用到具有 declarativeComponent 的区域? 提前致谢!
编辑:
以下是标记示例:
<af:declarativeComponent id=".." .... />
<af:panelTabbed id="..." ...>
<af:showDetailItem ... />
....
</af:panelTabbed>
其中 declarativeComponent 包含简单的 panelStrecthLayout 以及各种 outputLabels、outputTexts 等。
panelTabbed 默认情况下具有蓝灰色背景窗格,但 af:decalarativeComponent 没有。那么,我如何将相同的背景应用于 declarativeComponent 的内容,而不修改 delcarativeComponent 引用的页面内容(例如,包装到decorativeBox 将给出预期结果,但 declarativeComponent 不是decorativeBox 的有效子项)
I have a page which consists of two parts: upper one is and another one is .
I'v encountered following touble:
how can i apply standart blue-gray backgound (like a af:decorativeBox has) to region with declarativeComponent?
Thanks in advance!
Edit:
Here is example of markup:
<af:declarativeComponent id=".." .... />
<af:panelTabbed id="..." ...>
<af:showDetailItem ... />
....
</af:panelTabbed>
where declarativeComponent contains simple panelStrecthLayout with various outputLabels, outputTexts, etc.
panelTabbed by default have blue-gray colored backgroud pane but af:decalarativeComponent does not. So how can i apply same backgroud to content of declarativeComponent without modifying content of page which delcarativeComponent references (e.g. wrapping into decorativeBox will give expected result, but declarativeComponent is not valid child for decorativeBox)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的问题不清楚是否要在页面的下部或上部应用背景。另外,这取决于您使用的组件类型。如果它是面板组布局,那么您应该在内联样式中看到背景颜色属性。此外,我认为您也可以应用可能具有变化渐变的图像作为 panelGroupLayout 的背景
you question is not clear if you want to apply the background in lower or the upper part of the page. Plus it depends on the type of component you are using. If its a panel group layout then you should see the background-color property in the inline style. Further, I think you can apply an image as well which may have changing gradient as a background for a panelGroupLayout