3

我想在 PanelPage 的背景显示图像,这是 ADF 移动设备中最顶部的视图。我想在背景设置图像。

我的 AMX 文件是:

<?xml version="1.0" encoding="UTF-8" ?>
<amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
          xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt" >

 <amx:panelPage id="pp1" inlineStyle='background-image:url("image/custom_cell_image.png");'>

  <amx:facet name="header">
      <amx:outputText value="Requition Line" id="ot1"/>
    </amx:facet>
    <amx:facet name="primary">
      <amx:commandButton id="cb1" text="Requisition" inlineStyle="font-size:small;" action="__back"/>
    </amx:facet>
    <amx:facet name="footer">
      <amx:commandButton id="cb2" action="back" text="Approve" styleClass="adfmf-commandButton-default"/>
            <amx:commandButton text="Reject" id="cb3"/>
            <amx:commandButton text="Request More Info" id="cb4"/>
    </amx:facet>
    <amx:commandButton text="commandButton1" id="cb5"/>
  </amx:panelPage>
</amx:view>

我设置了图片网址,但不受影响。如果我设置背景颜色,那么它就会生效。

4

1 回答 1

0

如果在 iOS 上使用皮肤

  1. /app/ApplicationController/public_html/resources 中的图像文件
  2. 位于 /app/ApplicationController/public_html/resources/css 的 Css 文件
  3. 在 .css 文件中
.panel-page-custom {
    background-image: url("../bg.png");
}
  1. 在amx页面

amx:panelPage styleClass=面板页面自定义

于 2013-05-07T09:50:01.540 回答