Calling a form in a tab from another form in another tab, same page

I've created a page with three tabs and a different form for each tab, then
I've placed a button in each form to call the following form, using this code:
htp.formOpen('PORTALORACLE.wwa_app_module.link?
p_arg_names=_moduleid&p_arg_values=1544154288&
p_arg_names=_show_header&p_arg_values=YES&
p_arg_names=id_dip&p_arg_values='||to_char(v_id_dip)||'&p_arg_names=_id_dip_cond&p_arg_values==', 'post');
htp.formSubmit(NULL,'next form');
It works fine but loads a new page for each form instead of switching the tabs.
How can I get it works as intended?
thanks for the help
Alessio

If I have got your requirement correct, then this is what you are looking for :-
1> you have 3 forms, one in each tab
2> there is a button in a form in tab1 and when you click the button, the information entered in the form in tab1 will be passed to the form in say, tab3, and page with tab3 should be shown.
This is possible. You need to write some pl/sql code to get this done.
Portal provides a placeholder object called wwsto_api_session. The methods of this object will enable you to set and get values.
The general steps would be :-
1> for the form in tab1, write pl/sql button handler code for the button to set the form inputs into the wwsto_api_session object
2> Use form's Call/Go feature to call/go to the URL of the page's 3rd tab;
3> for the form in tab3, write pl/sql code in the additional pl/sql section (...before displaying the page) to get the values from the placeholder object and use it in the form.
The usage of wwsto_api_session placeholder object is available in the following Discussion Forum post :-
Re: session state security

Similar Messages

  • Calling a method of one class from another withing the same package

    hi,
    i've some problem in calling a method of one class from another class within the same package.
    for eg. if in Package mypack. i'm having 2 files, f1 and f2. i would like to call a method of f2 from f1(f1 is a servlet) . i donno exactly how to instantiate the object for f2. can anybody please help me in this regard.
    Thank u in advance.
    Regards,
    Fazli

    This is what my exact problem.
    i've created a bean (DataBean) to access the database. i'm having a servlet program (ShopBook). now to check some details over there in the database from the servlet i'm in need to use a method in the DataBean.
    both ShopBook.java and DataBean.java lies in the package shoppack.
    in ShopBook i tried to instantiate the object to DataBean as
    DataBean db = new DataBean();
    it shows the compiler error, unable to resolve symbol DataBean.
    note:
    first i compiled DataBean.java, it got compiled perfectly and the class file resides inside the shoppack.
    when i'm trying to compile the ShopBook its telling this error.
    hope i'm clear in explaining my problem. can u please help me?
    thank u in advance.
    regards,
    Fazli

  • How to connect text boxes so that text flows from different boxes to others, on same page or other pages?

    How do you connect Text Boxes?  So that text flows from one to the other, on same page or following pages?

    I am paying for Serif's Affinity Designer, which I don't need, so Serif has seed money for Affinity Publisher, which I am hoping will prove just as good as A.D.
    I like Serif's attitude to its customers.
    They acknowledge that their customers actually have jobs, and just want tools that don't stop them doing their work.
    Apple sells tools for Selfies, but I've yet to meet anyone who makes a living out of taking and distributing them.
    Peter

  • Need call a method of one iview from another iview

    Hi,
    There are 2 iviews in a component.
    1) FirstView - contains abc() method & xyz() methods
    2) SecondView (a popup) - asdf() method
    i want to call abc() method from asdf() method. i.e. i want to call a method of the firstview from the secondview.
    Note:
    1) i couldn't able to copy the code of abc() method to component controller, as it has the code which uses (iview) local attributes (this can be done by context mapping) & main reason is from the method it calls the xyz() method of the same view (again i couldn't call a method of iview from component controller).
    2) firstView contain 5 tabs, i want to be in the same tab from which secondview (popup) was called, if i use fire plugs between both view, the current tab will be chnaged (i suppose, not sure).
    3) can we use event handlers, if yes how can we do that.
    Please provide a better solution for calling a method of view from another view.
    Thanks
    Maha
    Edited by: Maha Hussain on Jan 13, 2009 12:40 PM

    Hi Maha,
    It is better to have such methods in the component controller to make it reusable and avoid writing same code again and again.
    You can have that method in component controller and call that method on click on a button from Iview1 and can pass the parameters in the mthgod only.
    for example.
    Say Method abc() which is currently in Iview1 and you are passing values from context say aa bb cc to the method now what i am suggesting is
    have that method abc(String aa, String bb, String cc) ;
    and call it on click on button in Iview1 and pass the required parameters.
    Hope this will help
    Regards
    Narendra

  • How to call a sp that returns multi_columns from another sp

    Hi,
    Can anybody help me to solve this problem? I called a sp which
    returns ename, sal using a weak ref cursor from another sp. Is
    it possible to do this? or I did something wrong? The error
    messages are:
    ERROR at line 1:
    ORA-00904: invalid column name
    ORA-06512: at "SCOTT.TESTPKG", line 14
    ORA-06512: at line 1
    below is my code:
    create or replace package testpkg AS           //12/19/01
    TYPE sumCur IS REF CURSOR;
    TYPE estType IS REF CURSOR;
         function totalNo (
              dno IN NUMBER)
              RETURN estType;
         procedure test(
              sum_cv IN OUT NOCOPY sumCur);
    END;
    CREATE OR REPLACE PACKAGE BODY testpkg AS
         function totalNo (
              dno IN NUMBER)
              RETURN estType IS est_cv estType;
              BEGIN
              OPEN est_cv FOR SELECT ename, sal FROM emp
    where deptno = dno and job = 'MANAGER';
              RETURN est_cv;
         END totalno;          
         procedure test(
              sum_cv IN OUT NOCOPY sumCur) AS
              sql_statement VARCHAR2(100);
         BEGIN
              sql_statement :='SELECT dname, totalNo(deptno)
    from dept ';
              OPEN sum_cv FOR sql_statement ;
         END test;     
    END;
    Thanks

    The error that you are getting is because totalNo(deptno) needs
    to be testpkg.totalNo(deptno), but that is not the only error.
    Maybe you can use something like this:
    SQL> CREATE OR REPLACE PACKAGE testpkg
      2  AS
      3    TYPE sumcur       IS         REF CURSOR;
      4    FUNCTION totalno
      5      (dno         IN            NUMBER)
      6      RETURN                     VARCHAR2;
      7    PROCEDURE test
      8      (sum_cv      IN OUT        sumcur);
      9  END testpkg;
    10  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY testpkg
      2  AS
      3    FUNCTION totalno
      4      (dno         IN            NUMBER)
      5      RETURN                     VARCHAR2
      6    IS
      7      est_cv                     VARCHAR2 (30);
      8    BEGIN
      9      SELECT ename || ' ' || TO_CHAR (sal)
    10      INTO   est_cv
    11      FROM   emp
    12      WHERE  deptno = dno
    13      AND    job = 'MANAGER';
    14      RETURN est_cv;
    15    END totalno;
    16    PROCEDURE test
    17      (sum_cv      IN OUT        sumcur)
    18    AS
    19      sql_statement              VARCHAR2 (100);
    20    BEGIN
    21      sql_statement :=
    22         ' SELECT dname, testpkg.totalno (deptno)'
    23      || ' FROM dept';
    24      OPEN sum_cv FOR sql_statement;
    25    END test;
    26  END testpkg;
    27  /
    Package body created.
    SQL> VARIABLE g_ref REFCURSOR
    SQL> EXEC testpkg.test (:g_ref)
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
    DNAME
    TESTPKG.TOTALNO(DEPTNO)
    ACCOUNTING
    CLARK 2450
    RESEARCH
    JONES 2975
    SALES
    BLAKE 2850
    DNAME
    TESTPKG.TOTALNO(DEPTNO)
    OPERATIONS

  • How to call main method in one class from another class

    Suppose i have a code like this
    class Demo
    public static void main(String args[])
    System.out.println("We are in First class");
    class Demo1
    public static void main(String args[])
    System.out.println("We are in second class");
    In the above program how to call main method in demo calss from Demo1 class......???????

    No, i dont know how to call other than main methods from other classes
    And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch).........

  • Calling a PL/SQL Procedure from button and then return to same page

    I have a button called "Process" that I want to call the database stored procedure "BUILD_WORKDAYS" with parameters P14_PROCESS_YEAR as an input parameter. I have the button on the page but is this a PL/SQL Page Process or a PL/SQL Branch? I have tried a number of combination but don't seem to be able to get the database procedure to execute. What should the syntax be?
    Thanks

    "I have a button called "Process" that I want to call the database stored procedure "BUILD_WORKDAYS" with parameters P14_PROCESS_YEAR as an input parameter"
    Assuming you are starting with an empty Apex page:
    1) Create a region of some type or other, say HTML.
    2) Create a button of type "Create a button in region position" in this region. Sounds like you've already done this and called it PROCESS.
    3) Create a process of type PL/SQL, On Submit After Computations and Validations.
    4) Call it "Execute BUILD_WORKDAYS" (or whatever you like)
    5) The PL/SQL for the process is:
    BUILD_WORKDAYS(:P14_PROCESS_YEAR);
    6) Specify a success and failure message.
    7) In the final step of the Create Page Process wizard, select your button from the "When button pressed" select list.
    8) Then create an unconditional branch branching to the same page.
    That should be it.
    Andy

  • Using VO as form and table on same page

    Hi,
    We are facing some issues while using same view object on one page. The view object is dropped as input form and as table on same page. There are few fields in the input form that have autosubmit property set to true. Now while entering the data into form, after clicking any autosubmit field, if we refresh the page, then new row gets created in table with value of the auto submit field. This is in cache only and not created in DB. We tried by exposing two instances of same view object in application module but still same issue. Finally we created two view object, one which is EO based and another ready only through query. Its working fine now. But is there any other possible solution, without creating two view objects?
    Jdev: 11.1.1.6.
    Thanks

    Hey Ami,
    I've tried understanding your problem but i'm not sure if i could.
    The problem is that you can insert via the form but it doesn't update the table ?
    Is that it ?
    Regards,
    Frederico.

  • How to display mutiple form contents on the same page

    I have multiple forms for a same page,when i press submit in one form it has to go to next form,where both form contents should display on the same page.Can anyone post example code for this?
    Thnx in advance.

    I have multiple forms for a same page,when i press
    submit in one form it has to go to next form,where
    both form contents should display on the same
    page.Can anyone post example code for this?that's not how it works. when you press submit, the form data is submitted to the server. you can then forward the user to a page with another form, but what you're talking about doesn't make sense

  • Form Confirmation on the same page

    Hi,
    Using Apex 4.1 and 11G
    I've been using ATDs excellent solution for confirmation of a form within the same page using a hidden page mode - How to POP up dialog box to Confirm Changes during CREATE / APPLY CHAGES
    It works perfectly when imported into APEX 4.2 EA2 and also when I import into my own development env as a seperate application.
    But within my own application it is not behaving correctly. The first submit (which doesn't invoke any database actions) posts back to the same page and shows the correct "Save" region . . . . but none of the fields show up. I though initially I was hitting a problem with the fact that Save State before branching is now deprecated . . . . and this is switched on in in the branching of the original app from ATD. But I'm not so sure because the button isn't even invoking validation as it is set to do.
    I'm totally new to this and stumped - could there be something at an application level that disrupting this? Any help would be greatly appreciated.
    Thanks

    Have you tried using this plugin:
    http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/skillbuilders-save-before-exit_43.html
    there, you can define exceptions easily.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Calling One Jax/rpc web service from another.

    We have a number of services residing in the same Oracle 10.1.3 app server container. These are deployed as Jax RPC Web Services
    I am trying to figure out what are the different options to have once web service invoke an operation on another (without directly linking to the Java code). The reason we want to keep separation as far as possible is that these services may later migrate to different app servers and in the spirit of SOA all we want to change when a service migrates is address and would like everything else to remain the same.
    So for example, if Web Service A needs to invoke an operation X in web service B,
    One way to do this seems to be to generate a proxy for web service B, include the proxy in Web Service A and then simply do B.X() from Web Service A.
    Is this is the best way to do it ?
    Are there other alternative approaches available ? Such as using the built in ESB features of Oracle App Server 10.1.3?
    Any pointers will be greatly appreciated.
    Thanks
    RR

    Hi all,
    I've managed to get this working by using the following property settings:
    System.getProperties().setProperty("http.proxyHost", "Proxy_Hostname");
    System.getProperties().setProperty("http.proxyPort", "8080");
    System.getProperties().setProperty("http.nonProxyHosts", "localhost,hostbox09");
    And solving the authentication problem using this property setting on the java cmd line:
    -Dweblogic.net.proxyAuthenticatorClassName=com.mycompany.MyProxyAuthenticator
    This class is an impl class of weblogic.common.ProxyAuthenticator interface.
    The other thing to note is that MyProxyAuthenticator needs to be in the server pre_classpath.
    Then I just call JAX-RPC or JAX-WS web service client calls as normal.
    Regards,
    Paul

  • How to call a method in one JSP from another JSP?

    say that I have 2 JSPs.
    JSP one has a button.
    JSP two has some method that, say, find the square root of the number passed from JPS one.
    How to - when click - the button on page one call the method on page two?
    Please note that I can not use object binding, but I want passing the actual parameter and call the method on page two.
    Please note that this is an update of a previous post on the same topic called "Object scope".
    Thank you all very much.

    No, i dont know how to call other than main methods from other classes
    And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch).........

  • Ideas in calling a non RFC enabled FM from another system

    Hi guys,
    I have a request to check the status of the background jobs in miscellaneous systems in the landscape. I'll probably use FM BP_FIND_JOBS_WITH_PROGRAM. The thing is this function is not Remote-Enabled and I need one which is. My idea was to create one RFC-enabled with more or less the same parameters, inside just calling the standard one. I'm not really convinced this is the best approach so that's why I'm asking: is there a better way to do this, any ideas?
    Best regards,
    George

    Function module BP_FIND_JOBS_WITH_PROGRAM either does not exist or is not RFC-enabled.
    No proxies for non RFC-enabled functions.
    Even if it was allowed, then I would have to find out how to consume web services from my ABAP report and everything... sounds interesting but as with all programs this needs to be delivered on time.

  • Calling One Jax RPC Web Service from another in Oracle AS 10.1.3

    We have a number of services residing in the same Oracle 10.1.3 app server container. These are deployed as Jax RPC Web Services
    I am trying to figure out what are the different options to have once web service invoke an operation on another (without directly linking to the Java code). The reason we want to keep separation as far as possible is that these services may later migrate to different app servers and in the spirit of SOA all we want to change when a service migrates is address and would like everything else to remain the same.
    So for example, if Web Service A needs to invoke an operation X in web service B,
    One way to do this seems to be to generate a proxy for web service B, include the proxy in Web Service A and then simply do B.X() from Web Service A.
    Is this is the best way to do it ?
    Are there other alternative approaches available ? Such as using the built in ESB features of Oracle App Server 10.1.3?
    Any pointers will be greatly appreciated.
    Thanks
    RR

    Found document of 10.1.3.1.0 how to Creating a Custom Identity Service Plug-in
    Oracle® BPEL Process Manager Administrator's Guide
    10g (10.1.3.1.0)
    Part Number B28982-03
    http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/plugin.htm
    But may be no help.

  • ¿Can I call a function in a frame from another frame?

    In a Canvas HTML5 document. I use javascript and easeljs.
    I declare a function in frame 1:
    function ponerBicho() {
        this.bichofuncion.cabeza.nariz.gotoAndStop(1);
    then I call it in frame 9 (in the same timeline):
    ponerBicho.call(this);
    this.stop();
    It dont works.
    But if I put the declaration in the same frame, frame 9, it works.
    function ponerBicho() {
        this.bichofuncion.cabeza.nariz.gotoAndStop(1);
    ponerBicho.call(this);
    this.stop();
    Where is the problem?
    I really appreciate your help.
    (Im begineer )

    It works. Thank you very much, Nipun. 
    Suggestion: Adobe should do a good manual for Canvas's use from the beginning. As those who exist of ActionScript. It is very hard for not programmers to have to learn javascript + createjs out of Flash.

Maybe you are looking for

  • Result Set not updateable!

    Hi everyone. I'm using JDBC 2.0 to write a class in Java that connects to a mySQL database (through the Connector/J driver). When I try to execute the code below it throws an exception that my ResultSet in not updatable. I understand that this might

  • How to configure ALE/IDOC in  nace for V3.

    Hi, Please let me  know how to configure ALE/IDOC output type in Nace and how to configure the message outputs.         I require the steps to configure the above.          Screen shots will also be helpful. Regards,

  • Why don't Yahoo embedded videos work

    videos from youtube, hulu, netflix, etc. work but not yahoo embedded ones. I have the latest version of firefox and adobe flashplayer on windows 7 64 bit. i have tried installing/uninstalling flashplayer and firefox. i also tried loading it in safe m

  • Combine With Similar Request

    Hi, My requirement is like this i want Current year in 1st criteria and previous year data in other criteria with labels(distinguishing current year and previous year). To do the needful for the requirement I got, I am using union of two different cr

  • Apps in iTunes that show 'Free' or 'Paid'

    Wouldn't it be a good idea we were able to see if an app was free or paid for? Couldn't they just add another row in iTunes Sync?