oracle adf - Display image in screen(view) background -
i want display image @ background of panelpage top view in adf mobile. want set image @ background.
my amx file :
<?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> i set image url, not effected. if set background color, effected.
if using skinning on ios
- image file in /app/applicationcontroller/public_html/resources
- css file located @ /app/applicationcontroller/public_html/resources/css
- in .css file
.panel-page-custom { background-image: url("../bg.png"); }
- in amx page
amx:panelpage styleclass=panel-page-custom
Comments
Post a Comment