How to display a help page as part of a extension

Jdev team, Any extension developer,
I am in the process of building an extension for JDev 10.1.3.
I have seen showdialog extension sdk samples project, that has some code for displaying help but it doesn't work if I deploy.
Can anyone let me know the details how I can show a help page (a single html page with some images in the same directory) when user clicks "Help" button (as part of OnePageWizardDialog)
The complete set of details are highly appreciated.
Oracle's Java Help I believe is not required for simple non-index based html page display.

Hi Jimmy:
You can try something like this:
CREATE OR REPLACE PROCEDURE UPDATE_OLD_VALUES IS
CURSOR GET_OLD_DATA is SELECT ID, COS, PROD_A, PROD_B
FROM TEST
WHERE PROD_A IS NULL;
BEGIN
FOR x IN GET_OLD_DATA LOOP
INSERT INTO TEST (ID, COS, PROD_A, PROD_B)
VALUES (X.ID+1, X.COS, new_prod_a_value, X.PROD_B);
COMMIT;
END LOOP;
EXCEPTION
WHEN TOO_MANY_ROWS OR NO_DATA_FOUND THEN
NULL;
END;
Hope this works.
Abdel

Similar Messages

  • ADF how to display a processing page when executing large queries

    ADF how to display a processing page when executing large queries
    The ADF application that I have written currently has the following structure:
    DataPage (search.jsp) that contains a form that the user enters their search criteria --> forward action (doSearch) --> DataAction (validate) that validates the inputted values --> forward action (success) --> DataAction (performSearch) that has a refresh method dragged on it, and an action that manually sets the itterator for the collection to -1 --> forward action (success) --> DataPage (results.jsp) that displays the results of the then (hopefully) populated collection.
    I am not using a database, I am using a java collection to hold the data and the refresh method executes a query against an Autonomy Server that retrieves results in XML format.
    The problem that I am experiencing is that sometimes a user may submit a query that is very large and this creates problems because the browser times out whilst waiting for results to be displayed, and as a result a JBO-29000 null pointer error is displayed.
    I have previously got round this using Java Servlets where by when a processing servlet is called, it automatically redirects the browser to a processing page with an animation on it so that the user knows something is being processed. The processing page then recalls the servlet every 3seconds to see if the processing has been completed and if it has the forward to the appropriate results page.
    Unfortunately I can not stop users entering large queries as the system requires users to be able to search in excess of 5 million documents on a regular basis.
    I'd appreciate any help/suggestions that you may have regarding this matter as soon as possible so I can make the necessary amendments to the application prior to its pilot in a few weeks time.

    Hi Steve,
    After a few attempts - yes I have a hit a few snags.
    I'll send you a copy of the example application that I am working on but this is what I have done so far.
    I've taken a standard application that populates a simple java collection (not database driven) with the following structure:
    DataPage --> DataAction (refresh Collection) -->DataPage
    I have then added this code to the (refreshCollectionAction) DataAction
    protected void invokeCustomMethod(DataActionContext ctx)
    super.invokeCustomMethod(ctx);
    HttpSession session = ctx.getHttpServletRequest().getSession();
    Thread nominalSearch = (Thread)session.getAttribute("nominalSearch") ;
    if (nominalSearch == null)
    synchronized(this)
    //create new instance of the thread
    nominalSearch = new ns(ctx);
    } //end of sychronized wrapper
    session.setAttribute("nominalSearch", nominalSearch);
    session.setAttribute("action", "nominalSearch");
    nominalSearch.start();
    System.err.println("started thread calling loading page");
    ctx.setActionForward("loading.jsp");
    else
    if (nominalSearch.isAlive())
    System.err.println("trying to call loading page");
    ctx.setActionForward("loading.jsp");
    else
    System.err.println("trying to call results page");
    ctx.setActionForward("success");
    Created another class called ns.java:
    package view;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.model.generic.DCRowSetIteratorImpl;
    public class ns extends Thread
    private DataActionContext ctx;
    public ns(DataActionContext ctx)
    this.ctx = ctx;
    public void run()
    System.err.println("START");
    DCIteratorBinding b = ctx.getBindingContainer().findIteratorBinding("currentNominalCollectionIterator");
    ((DCRowSetIteratorImpl)b.getRowSetIterator()).rebuildIteratorUpto(-1);
    //b.executeQuery();
    System.err.println("END");
    and added a loading.jsp page that calls a new dataAction called processing every second. The processing dataAction has the following code within it:
    package view;
    import javax.servlet.http.HttpSession;
    import oracle.adf.controller.struts.actions.DataForwardAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    public class ProcessingAction extends DataForwardAction
    protected void invokeCustomMethod(DataActionContext actionContext)
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    super.invokeCustomMethod(actionContext);
    HttpSession session = actionContext.getHttpServletRequest().getSession();
    String action = (String)session.getAttribute("action");
    if (action.equalsIgnoreCase("nominalSearch"))
    actionContext.setActionForward("refreshCollection.do");
    I'd appreciate any help or guidance that you may have on this as I really need to implement a generic loading page that can be called by a number of actions within my application as soon as possible.
    Thanks in advance for your help
    David.

  • How to display a double page of a magazine with ibooks

    how to display a double page of a magazine with ibooks ?
    Thanks

    oiram osurac wrote:
    how to display a double page of a magazine with ibooks ?
    What is the title of the magazine you are talking about?

  • How to display a web page in kannada language

    Hi
    we are designing a web (html)page
    how to display that page in kannada language
    we downloaded "brhknd.ttf" font file.
    if this file is available in SYSTEMS-Control Panel-Font folder it is working .if it is not their in System's directory the web page is not displaying kannada language.
    All the client's machines wil not have this file.Plz help
    The '.ttf' file is available in the Application's folder which is uploaded on the server.
    can't the client's machine take that font file from server and display in kannada language?

    iam not sure whether this question related to java or
    not.Hi,
    You are correct. It's not related to java at all. Try to ask this in an html of web development forum (but I would be suprised if you could implement it)
    Kaj

  • How to display a website page in a JSP textarea ?

    Hi all...
    I am developing an application where i need to display a web page in a text area, the same
    way it gets displayed in a web browser (like IE, mozilla). After that i will read the page and will extract text from it for further processing.
    My JSP contains a text field where i can type the URL address (say http://www.yahoo.com)
    What i want is, when i will click a submit button, the web page at the given URL should be retrieved and should get displayed in the textarea that is present on the same page. (It should be displayed in the same way as it
    gets displayed on the browser.)
    Is that possible ? Can it be done using some other ways ?
    It is a small application that i am developing using struts 1.1.
    Can some one help in this regard ?
    Thanks in advance..
    Regards
    Prasad

    Thanks BalusC..
    I have used iframe now and it is working for the URL specified.
    But even then i have couple of doubts..
    1. How should i use the iframe if i want to navigate on the further web pages within the same frame ?
    (e.g. if with URL say http://www.yahoo.com, the home page is displayed in the frame, now if i click any link
    on the page the next navigation should occur within given frame only.)
    2. Can i read the page from the frame and write the text into some file say text file ?
    Hope you understand my problem...
    Thanks a lot..
    Prasad

  • How to display a IE page in a view ,not popup  ?

    Hi! All
    Question 1st:
    I have create a html page by webdynpro,
    I want display this page in a view ,
    but when run this code,
    the IE page popup ,
    can you help me set the IE page in current view ?
    public void wdDoInit()
       //@@begin wdDoInit()
       String text = "<html><head></head><body>this is my test</body><html>";
       try
           IWDCachedWebResource resource = WDWebResource.getWebResource
             text.getBytes("UTF-8"), WDWebResourceType.UNKNOWN
            resource.setResourceName("test.html");
            IWDWindow window =
    wdComponentAPI.getWindowManage().createNonModalExternalWindow(
            resource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal()), 
            resource.getResourceName());
            window.show();
        catch(Exception ex)
            wdComponentAPI.getMessageManager().reportException( new WDNonFatalException(ex), false );
    Question 2nd:
      I have create a value context attribute under context.
      it's  name is "mywindow"
      it's  type is "com.sap.tc.webdynpro.services.session.api.IWDWindow"
      Do you know how to display  "mywindow" in a view ?
      I try to put mywindow in a InputField or a IFrame,
      but all failed !
    Thanks!

    Hi,
    This is the code to open up a window
        IWDWindow win = wdComponentAPI.getWindowManager().createModalWindow(wdThis.wdGetAPI().getComponentInfo().findInWindows(<window_name>));
        wdContext.currentContextElement().set<window_context>(win);
        win.setWindowPosition(WDWindowPos.CENTER);
        win.setWindowSize(250,150);
        win.setTitle("New Window");
        win.show();
    This will open up as a pop-up. If you want to open a html page on the same window then put an iframe in your view and set its source property correspondingly.
    Regards,
    Murtuza

  • How to display static HTML pages in Oracle Forms 6i

    I want to display static HTML page in oracle Forms ? Can any body help please ? Its very urgent. Many thanks in advance.

    Suresh,
    there exist a Java Bean in teh Forms 6i demos that shows a static HTMl example. Note that the HTML that could be shown is somewhat basic, but it will give you an impression how it can work. The demos are at otn.oracle.com/products/forms --> samples --> 6i demos
    Frank

  • How to display the HTML pages in RRC/RQM dashboard using OpenSocial gadget

    Hi,
    I have a requirement as below:
    1. I have couple of HTML pages which are hosted in the sharepoint site and I would like to display the HTML pages
    2. I would like to have an OpenSocial gadget in the RRC/RQM dashboard that will display the HTML pages  which are hosted in my sharepoint site.
    Could you please suggest the best approach to create an OpenSocial gadget in the IBM's RRC/RQM dashboard whcih will display html contents of another URL ?
    Thanks.
    Knowledge is power.

    Hi Manoj,
    As I understand, you would like to display SharePoint page in another platform.
    Since the you are involving third party platform, you might still need to contact their support engineer about how to render other pages.
    From SharePoint side, by default, SharePoint won't let end user to display site page to other platform, you could add "<WebPartPages:AllowFraming runat="server"/>" in master page or single page layout. So that SharePoint ASP.Net
    page could be displayed on other platform.
    Here I'm talking about ASP.Net page, since HTML page in SharePoint cannot be displayed in browser as I tested, it will be downloaded directly. So I'd suggest you use ASP.Net page as workaround.
    https://social.msdn.microsoft.com/Forums/office/en-US/c8755a6b-f33a-43ed-97d9-8f03c336aa1d/how-to-display-sharepoint-url-in-iframe-in-aspnet-page?forum=sharepointdevelopment
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to display recently viewed pages?

    Im looking for advice/tutorial on how to display a vertical
    list (<ul>) inside a div which will display say the last few
    pages (via their title) which a user has viewed on my site. Just a
    simple vertical text based list rather like the list shown on the
    "Back" button in IE. Are we talking croutons?
    If a user leaves the site then goes back I want the list to
    be cleared again.
    Ok I know people may say, just use the back button but I
    thought it could be a handy feature on the page itself.

    Hi freidaf1,
    You should take a look at the Tile Tabs add-on:
    https://addons.mozilla.org/en-US/firefox/addon/tile-tabs/
    I believe it will do exactly what you are looking for. You could always open multiple windows, but I think this is a more elegant solution.
    Hopefully this helps!

  • How to attach a help page to custom form

    hi all
    i want to attach a online help page to the custom developed page
    when user clicks on help in the tool bar,the online help page should display.

    Hi ,
    In which format is this help page created...(html , a new form , a new canvas in a new window , or....)????
    Regards,
    Simon

  • How to create a Help page from a file

    Hello,
    I have a new APEX application and someone made a nice help document using MS Word.
    How could I inlcude that file into a Help Page, or some ideas on how this could be seen by the users?
    Thanks

    Hi,
    Apex has a facility whereby you can create a context sensitive help page facility.
    see http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/bldapp_hlp.htm#CHDCDBFB
    With your help document, save the section relevant to a page as a separate document and save it as a filtered web page. Edit this document in a plain text editor and cut and paste this into the help text for the page.
    When you select help from the navigation bar, then this help text will be shown for the current page. To make it even fancier, you can define the link for the navigation bar to show the help page as a popup, so that you don't loose the current context in the application.
    Regards
    Andre

  • How to Display F4 help as a list box

    Hello Experts,
    I have a I have added a Z field to the Shopping Cart: "ZZCBR_INDICATOR". This fields has a domain with 3 fixed values:
    Value / Description
    Y-YES
    N-No
    U-Unknown
    I created this Customer Fields (CUF) in a structure and appended the  structures into INCL_EEW_PD_HEADER_CSF_SC and INCL_EEW_PD_HEADER_CSF.
    The field is appearing correctly in the Shopping Cart and the values are saved. So far, so good.
    Here is my question:
    Can I make the field look like a traditional listbox ? Right now is appearing as an input field with binoculars to the side.
    I found a similar question in this forum and followed the following thread
    Re: How to display Customer Fields like a dropdown listbox ?
    I added the code that was given in that thread. I also set an external Break point to see whether the program was called, It dint call that program. please help me out on this.I am using SRM 5.00,  I really appreciate your help on this.
    Thanks And Regards
    Sanjeev
    Edited by: Sanjeev Gowda on Jul 23, 2009 5:40 PM
    Edited by: Sanjeev Gowda on Jul 23, 2009 5:51 PM

    I had to write the code in the begining of the form and i had wrote it at the end of the form.

  • How to display a JSF page inside center part of panel of another page?

    How can I display a second JSF page inside my center part of Stretch layout in my First page on click of a commandImageLink of First JSF page? Can anyone help me in this with some example?

    Here is a tutorial that will introduce you to the concepts of taskflows, page fragments and regions - http://www.oracle.com/technology/obe/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html

  • How to display the first page alone first and two pages (back and front) then ?

    Hi
    I use acrobat 9 (beginner).
    I have a document which should be displayed "as a book", ie two pages on the screen at the same time, the back of the first sheet and the front of the second one.
    The problem I have is to manage to display the cover sheet as a single page (alone) and then to have the dual page layout as described above.
    How could I do that ?
    Thanks for your help
    Regards
    Fanch

    Hi Bernd
    Thanks a lot.

  • How to display a HTML Page in Webdynpro (without IFrame)?

    Hi everyone,
    maybe this one is really simple. I have a RFC returning the URL to a HTML-Page in the backend.  Which of the standard UI-Elements should I use to display that page in my Webdynpro?
    My first guess was to use the IFrame. However, according to different sources this element is deprecated and buggy. So I'm hesitating.
    Are there any other possibilities? Or is it ok to use IFrame nevertheless?
    Many thanks,
    Xiaopeng
    Message was edited by: Xiaopeng Tan

    hi Ashutosh,
    I took a look at the help document. It states that "_self" is no longer supported. And I should use exit plugs instead and specify the URL there.
    But even that won't serve the purpose. I have other UI-elements (fields, tables) on the same screen where I want the page being embedded next to them as co-component. Using _SELF and clicking on the link would would remove all other components.

Maybe you are looking for

  • Error in saving .aspx pages after editing the XSLT

    Hi, I am developing a SharePoint 2010 web app and I had to do some modifications for a .aspx page which has a data form web part and I am encountering following issues: 1. After selecting the web part, when trying to modify the filter criteria of the

  • A/P Invoices FROM Purchase Order

    Hi,        how can I create a Purchase Invoice from purchase Order in DI API ? thanks Leonardo Correa

  • Cross Bean Access gives me NoClassDefFoundError error

    Hi Everyone, I am trying to access a CMP bean from a session bean and when I try to access it, I get the "NoClassDefFoundError". I am attaching the code here as a .zip file. please someone have a look at it and let me know where I went wrong, I looke

  • Molt: batch renaming utility

    Hi all, Recently I was looking for a batch renaming utility, and while I did find a few, none of them would really fill all the checkboxes of my requirements list. Either because they didn’t provide the "rules" I was looking for, or because they woul

  • The Adobe Illustrator CC 2014 quit unexpectedly in my 16bg ram Macbook pro???!

    Hello there i really coud use ur help here, i have a fu*in mac that i bought about 2000€ just to dont have problems with programs that i work, but its illustrator that it keeps quiting with about nothing example im doing a logo and i duplicate 2 shap