Images on a Button in ADF pages

Hi,
We have 2 buttons created on Page when the page is auto generated from a Human Task.
The labels on the buttons are "Insert" and "Delete".
We need + (in green color) instead of Insert.
and X (In Red Color) instead of Delete.
The functionality of the buttons should be same but just to the user it should be visible as "+" and "X" instead of "Insert" and "Delete"
Thanks in Adv...

Hi,
You can download .png files(16X16 or 32X32) from any icon free sites. After that you create a folder in your viewController project for images and then place your downloaded images there. Now in the button property palette, go to "Icon" property and enter the path of images.
for e.g. I have created a folder for images called "Images" under my "Web Content" directory (to create a folder, simple right click on "Web Content" and click "New", from options edition choose "New Folder") and name it as "Images" and place all your images in that folder from your system folder path (like c:/yourApplication....)
for my button, in property palter icon value = "/images/plus_icon.png" and Text=null
Thanks & Regards,
Ravi Nuka.
Edited by: Ravi Nuka on Apr 2, 2013 5:43 PM

Similar Messages

  • In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF pa

    In the Firefox browser, when i click button in ADF page, then popup  the OAF page in iframe tag,and then when i  click the PPR bean in  OAF page, then Firefox  browser reload to ADF page. This is not the right response,browser should not reload the ADF page.It should stays in OAF page or goto another OAF page. and in other browser such ad IE,We get the right response.

    hello, normally such issues are caused by a firewall/security software which doesn't recognize & therefore blocks new firefox versions. please remove all program rules for firefox from your firewall and let it detect the new version of the browser again.
    [[Fix problems connecting to websites after updating Firefox]]

  • Is it possible to Forward to another adf page in ReturnListener method?

    There is button in the page. It is used to pop up a dialog. After the dialog is returned. The ReturnListener of the button is triggered. I want to forward to another adf page in the ReturnListener.
    I searched the forum and found the following page:
    Re: Forward to another adf page from inside onPageLoad event
    I tried all the methods mentioned above, but all of them failed.
    Is there any other solutions?
    Regards,
    Jason

    I had the same problem with a return listener on a commandmenuitem. The navigation doesn't work because there is no partial submit.
    The workaround is to construct a menu item from a commandlink and objectimage. It looks and works the same as the commandmenuitem but you can set partialsubmit=true.
    For example:
    <af:panelGroup layout="vertical">
    <af:panelHorizontal>
    <af:objectSpacer width="10" height="10"/>
    <af:commandLink id="linkButIcon" useWindow="true"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    partialSubmit="true">
    <af:objectImage source="/images/link.gif"/>
    </af:commandLink>
    </af:panelHorizontal>
    <af:commandLink id="linkButLink"
    useWindow="true"
    textAndAccessKey="#{res['esolve.toolbar.links']}"
    action="dialog:GoLinkedMatters"
    windowHeight="#{backing_app_ea_LinkedMatters.windowHeight}"
    windowWidth="#{backing_app_ea_LinkedMatters.windowWidth}"
    returnListener="#{backing_app_summary_DPSummary.linkedMattersReturn}"
    inlineStyle="font-size:8.0pt;"
    partialSubmit="true"/>
    </af:panelGroup>

  • Can't get rid of background image of toolbar buttons

    I am just a front-end developer and responsible for the front-end look of an ADF application that we are creating: We are using jDeveloper 11.1.1.4.0 (and we cannot upgrade due to being told no...so I cannot USE the skin editor which when I tried to use, migrates the files).
    I have created the necessary directories and files per tutorials I have been reading up on...
    skins directory - (new directory)
    skin.css (new file)
    Web-Inf -
    trinidad-skins.xml (new file and correctly configured)
    trinidad-config.xml (existing file but updated to use the new skin)
    Within the trinidad-skins.xml file I have the the new skin specified and is extending the "fusionFx-v1.desktop" default theme being used.
    Now the problem... I cannot get the background images to be overwritten or disabled for af|toolbar::item within the .css file
    I have looked up information about how to overwrite this and I tried to use the
    -tr-inhibit: background-image; within the .css declaration like this
    <code>
    af|toolbar::item {
    -tr-inhibit: background-image;
    </code>
    That was unsuccessful. I even just tried standard background {none;} and that was a no go as wel.
    What am I doing wrong here? This is driving me nuts... they made this skinning stuff way too complicated IMO. I don't see why I can't just add a class to the component within the property inspector of that component and then be able to reference it via normal css conventions... but nope BREAKS grrr... And I'm advanced level CSS coder! This stuff has me absolutely clueless and ready to just quit!
    Any suggestions or help is appreciated! And again... I cannot use the skin editor! Everytime I tried to, it prompted me to migrate the application and I cannot do this since there are about 5 other developers working on this application (we use clearcase for version control).
    Thanks,
    Michael

    I can't use the stand alone skin editor since it will want me to migrate the project files (developed in 11.1.1.4) and all files are source controlled via ClearCase.
    I have been experimenting...This is the code on the .jspx page
    <code>
    <af:panelGroupLayout id="header" styleClass="headerParent">
    <af:panelGroupLayout id="topLinkBar" layout="horizontal" styleClass="topLinkBar AFStretchWidth">
    <af:outputLabel value="#{customeradminportalviewcontrollerBundle.CUSTOMER_ACCOUNT}" styleClass="customerLabel"/>
    <af:outputText value="outputText2012" styleClass="customerOutput"/>
    <af:toolbox id="topLinkToolBox" styleClass="topLinkToolBox">
    <af:toolbar id="topLinkToolBar" styleClass="topLinkToolBar">
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.HELP}" id="ctb2"/>
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.POWER_INVOICE}" id="ctb1"/>
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.CONTRACT}" id="ctb3"/>
    <af:commandToolbarButton text="#{customeradminportalviewcontrollerBundle.SIGNOUT}" id="ctb4"/>
    </af:toolbar>
    </af:toolbox>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </code>
    Here is the CSS code
    <code>
    #topLinkToolBar af|commandToolbarButton {
    background-image: none;
    background-color: transparent;
    border: 0;
    </code>
    That WILL NOT get rid of the background images on the buttons! However if I do the !important hack within the CSS like this:
    <code>
    #topLinkToolBar af|commandToolbarButton {
    background-image: none!important;
    background-color: transparent!important;
    border: 0!important;
    </code>
    Then BOOM it works... I do NOT want to use the !important hack since that will cause problems in CSS inheritance and cascading...
    What am I doing wrong?
    Also how do I (if possible) target a specific ID used? For example the af:toolbar has an ID of "topLinkToolBar" how can I target that within the CSS? I know I can target it via class attribute like this:
    <code>
    af:toolbar.topLinkToolBar
    </code>
    but how would I do the same if I wanted to only apply to a component with a particular ID?
    Thank you everyone for all your patience, suggestions and help with this... I'm totally new to this type of environment and it's been a slow and frustrating learning experience!
    Michael

  • Open file from ADF pages gives a problem

    Hi all,
    I have created with Jdev 11g an ADF page.
    In that page is shown a table with the files that are stored in the database.
    I use this code to show the file:
        public void showFile(BlobDomain  b,String filename){
            FacesContext fc = FacesContext.getCurrentInstance(); 
            HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
            response.setHeader("Content-Disposition","attachment; filename=\""+filename+"\"");
            response.setHeader("cache-control", "no-cache");
            try {
                InputStream in;
                in = b.getInputStream();
                ServletOutputStream out = response.getOutputStream();
                writeInputStreamToOutputStream(in, out);
                fc.responseComplete(); 
            } catch (IOException e) {
                e.printStackTrace();
            } catch (Throwable e) {
                e.printStackTrace();
        }This works for the first time a file is opened. But when the user then selects a different row nothing is happening anymore.
    What can that be?

    Hi Simon,
    This is the button:
                      <af:commandButton text="Open file"
                                        binding="#{backingBeanScope.backing_pages_Meldingen.cb5}"
                                        id="cb5"
                                        disabled="false"
                                        action="#{backingBeanScope.backing_pages_Meldingen.openFile}"/>this is openfile:
        public String openFile() {
            BindingContainer bindings = this.getBindings();
            DCIteratorBinding iter = (DCIteratorBinding)bindings.get("XxahelpBezoekRapDocView1Iterator");
            Row currentRw = iter.getCurrentRow();
            showFile((BlobDomain)currentRw.getAttribute("Bijlage"),currentRw.getAttribute("Filename").toString());
            return null;
        }And how can I download in a popup??

  • Is it possible to call the Print Quote functionality from Custom ADF page

    Hi,
    We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
    Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
    Atleast advice on the direction to go forward is appreciated.
    Thanks
    Sai

    Hi ,
    Please check following thread on forum -
    Re: ADF: Calling OAF Page from ADF page
    Check this may also be useful-
    https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
    I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
    https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
    Thanks,
    Ashish

  • Problem with display of Buttons in ADF

    Hi All,
    I had a strange problem in display of the ADF Page in one of the server.I had two buttons inside ToolBars, The UI was coming fine in the two WLS, But when I deployed the application in third WLS, I was seeing that Buttons are coming in the top of screen,
    Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core">
    <af:panelStretchLayout id="psl1">
    <f:facet name="center">
    <af:panelGroupLayout id="pgl1">
    <af:panelBox text="Service Request#: #{bindings.srNumber.inputValue}" id="pb1">
    <af:spacer width="10" height="10" id="s1"/>
    <af:outputText value="Service Request#: #{bindings.srNumber.inputValue}"
    id="ot18" inlineStyle="font-weight:bold;"
    rendered="false"/>
    <af:spacer width="15" height="10" id="s2"/>
    <af:separator id="s3" rendered="false"/>
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.subject.inputValue}" label="Summary"
    required="true" columns="100" maximumLength="100" id="it3" showRequired="true">
    <f:validator binding="#{bindings.subject.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.description.inputValue}"
    label="Description" required="true" columns="100"
    maximumLength="1999" id="it2"
    rows="7" showRequired="true">
    <f:validator binding="#{bindings.description.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    <af:separator id="s4" rendered="false"/>
    </af:panelBox>
    <af:toolbar id="tb1">
    <af:group id="g1">
    <af:commandButton text="#{pageFlowScope.MySRBean.reopenSrBackButtonLabel}" id="cb2"
    action="backtodetails" accessKey="G"
    immediate="true" inlineStyle="border-style:outset; border-width:medium; outline-color:Gray;"/>
    <af:commandButton text="#{pageFlowScope.MySRBean.reopenSrConfirmReopenButtonLabel}" id="cb3"
    action="success"
    actionListener="#{pageFlowScope.MySRBean.reOpenSR}"
    accessKey="C" inlineStyle="border-style:outset; border-width:medium; outline-color:Gray;"/>
    </af:group>
    </af:toolbar>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </jsp:root>
    thanks
    Krishnaveni

    User, please always tell us your jdev version.
    The interesting part is what you did not tell us.
    Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code means hte code has once run OK and now after you did some changes doesn't any longer. Querstion: what did you change, not oly to the code but to the environment.
    Timo

  • Propagation of Credentials from ADF Pages to BPEL

    It is easy and straightforward to call web services from ADF pages. But I am a bit confused about the security issues around use of BPEL and OWSM with ADF.
    Suppose that I have authenticated against an LDAP to access an ADF page and the page make calls to a BPEL process through a button. As far as I know I should implement security in the web services through OWSM and in this case I can attach an agent to the web service to authenticate against LDAP. (or verify a SAML token)
    Problem: I can't pass credentials to the process from the page. the web service does not receive any SAML token, user name or pass word to authenticate.
    Also please read this for another view of the same problem:
    Security of Web Services, Agents and Sequantial Calling of Web Services
    How can I pass the SAML tokens(propagate identity) along the business process. If I insert SAML token as part of the agent's response steps, the response is not actually passed to the next service but the BPEL. Will the next service receive the SAML token?
    I really appreciate any comments and hints.
    Best Regards,
    Farbod

    Can message handler framework in BPEL Security extension help for this? Does enabling domain and process level security do the trick?
    Regards
    Farbod

  • How To Create On Submit Button For Master_detail Page ?

    I have adf page that is master And detail view.
    i want to have one submit button for master and detail block

    Duplicate of  How To Create On Submit Button For Master_detail Page ?
    Please don'r post your question multiple times.
    Timo

  • Facing issue in calling BPEL WebService from ADF page.

    Considering example:
    I have a Login Page (Login.jspx) with two input text, UserID & Password and one Login Button. On press of login Button It will call a BPEL service for validating the user and will return a String value with Success or Failure as value. Depending on this value I will decide inside Managed Bean response will go to which path.
    Took the reference of http://www.oracle.com/technology/obe/fusion_middleware/fusion/adf_wc/10_132_siebel_webcenter/siebel_webcenter.htm
    Using this I am able to call BPEL from my ADF page and able to show the result on different ADF page, but not able to take the BPEL returned value inside the managed bean.
    Please help me how to take BPEL output value inside my managed bean.

    Considering example:
    I have a Login Page (Login.jspx) with two input text, UserID & Password and one Login Button. On press of login Button It will call a BPEL service for validating the user and will return a String value with Success or Failure as value. Depending on this value I will decide inside Managed Bean response will go to which path.
    Took the reference of http://www.oracle.com/technology/obe/fusion_middleware/fusion/adf_wc/10_132_siebel_webcenter/siebel_webcenter.htm
    Using this I am able to call BPEL from my ADF page and able to show the result on different ADF page, but not able to take the BPEL returned value inside the managed bean.
    Please help me how to take BPEL output value inside my managed bean.

  • Anchored images outside of button frame

    Hi Experts
    I am trying to find a way of getting an image to become visible on rollover on a button I've created, without having the image positioned within the button frame. The images are large & I have several small buttons on the page, each linked to text frames with anchored text objects (the images.) Anchoring the images outside the text frame is no problem, but visibility is limited to the button frame.How do I link large images to small buttons that only activate on rollover? Any ideas? PLEASE help!

    Convert that image you want to appear to separate button, and attach show/hide buttons action to your real button. Use rollover as trigger for showing your image, and rollout for hiding it again....

  • How to draw a line on ADF page between two nodes  for mapping.

    Hi everyone,
    Does anyone have a solution that how can I wiring two points by drawing a line on ADF pages.
    My scenario is user want to do a mapping between two xml files. We will build an ADF faces page. This page have two parts, left part contains one tree(base on the source xml), right part is the destination tree(target xml). User can drag an node from left and drop to right. Meantime, a line will be created to connect two node, it would be perfect that when user scroll down the page, or extend the tree node, the line between source and target will be remain connection two node.
    Does anyone have a solution for this, thanks in advance.
    Hongfu.

    so you want to do something like. xsl mapper in soa
    http://www.haertfelder.com/images/pSoaBPEL3.png
    i can think of using javascript.. not sure... neeed extra programming..

  • How to add a BUTTON on a page

    Hello,
    1) I need to add BUTTON on a page, so that
    whenever a user clicks, it will display a report and also prints it.
    2) Are there any triggers associated to a page, like when page click etc. I have requirement, like whenever a user clicks the tab, a report has to be open in a new window !!!
    3) Finally, I need to display name,age,job etc on page, what is the best way !!!
    Any Suggestions !!!
    A.Kishore

    hai....
    edit that page,(ie)
    click CUSTOMIZE link and click the editdefault link in the blue banner
    then give the image u want,if any url
    then specify it..
    try this........
    null

  • How to add multiple forms in single adf page?

    Hi All,
    I have some requirement.I have created one adf page from this page i need to insert(create a user )into back-end.
    here my requirement i want to add more users at sometime.like in that page its need to create one button kind of this to add more user creation form in single page after filling all the details for each user finally i need to submit all user(heterogeneous) way of submitting forms. is it possible in adf? if possible how to go with this requirement.
    please guide me .and show me some solutions.
    Regards
    Siva

    HI Jobinesh ,
    I created same reign thing in .jsff page with the same functionality(instead of main.jsf i created test.jsff) . when i deployed in to OIM custom page i am getting below exception.
    /main.jsff
    Error:encountered deferred syntax #{in  template  text  intended  as a literal ,escape  it or set  directive  differedsyntaxAllowedasLiteral 
    ADF_FACES-60097 and ADF_FACES-60096
    can you please take a lookinto the error where i cam doing mistake.
    regards
    Siva                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Opening ADF page from java script

    I am trying to use window.open(url, winName) to open an ADF page from java script.
    I have set the same winName but when i call the window.open method every time it opens up a new window.
    The code is as below:
    <html>
    <head>
    </head>
    <body>
    <script>
    function openwin() {
    window.open("about:blank", "winDocPrint", "width=800,height=600,location=no");
    </script>
    <form action="http://127.0.0.1:7101/RegionRefresh-ViewController-context-root/faces/EnterAndDisplay?_afrLoop=3611588465186&_afrWindowMode=0&_adf.ctrl-state=zoaas2mc3_4" target="winDocPrint" onsubmit="openwin">
    <input type="submit" value="Print Comments Call ADF">
    </form>
    </body>
    </html>
    when I click the button first time, it opens a new window, and keeps opening a new windows on clicking the button again.
    I want it to use the same window that was opened first time.
    Any help would be appreciated.
    Thanks,
    Sandeep M.
    Edited by: user8895611 on Mar 25, 2010 11:44 PM

    Hi,
    you need to keep the window handle reference so you can access the same window
    http://www.irt.org/script/874.htm
    Frank

Maybe you are looking for