Smartforms - how to call 2nd secondary window page

Hi
How to call 2nd secondary window page from Ist Main window. The scenario is i have one main page. I have already called 2nd page thru command line and now want to call another page (i mean third page) from same main window. How do I do?
Thanx and regards,
Rajesh Vasudeva

Hi Rajesh,
Go for the below link>>>>>
[http://help.sap.com/search/highlightContent.jsp]
thnks.

Similar Messages

  • How to call java method on page load?

    How to call java method on page load?
    Thanks

    Hey Dan,
    Well, if you want to execute a java method when page is load, you need to put the clientlistener in af:document. Let me to show you an example (I can't find my post :P),
    JSPX page:
    <f:view>
    <af:document>
    <f:verbatim>
    <script>
        function loadPage(event) {
            alert('Hello World!');
    </script>
    </f:verbatim>
    <af:clientListener method="loadPage" type="load"/>
    </af:document>
    </f:view>If you try this code you can see that when the page has been load, you recieve the alert "Hello World!".
    Furthermore, this is the javascript AJAX function that let you to call a servlet:
    function ajaxFunction () {
        var httpRequest;
        if (window.XMLHttpRequest) {
            httpRequest = new XMLHttpRequest();
        } else if (window.ActiveXObject) {
            httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
            httpRequest.overrideMimeType('text/xml');
        httpRequest.onreadystatechange = function() { alertContents(httpRequest); };
        httpRequest.open('GET', '/appname/servletname', false);
        httpRequest.send('');
    function alertContents(httpRequest) {
        if (httpRequest.readyState == 4) {
            if (!httpRequest.status == 200) {
                alert('Request error. Http code: ' + httpRequest.status);
    }Where 'appname' is your application name and 'servletname' is the name of the servlet that you want to call. Obviously, you can call any URL ;)
    JVN

  • How to print 2nd Page/How to call 2nd page

    Hi
    Actually in my report there was only one page and I want to add 2nd page which I have added. Now system is not showing 2nd page in output. I put a break point in 2nd page and found that system is not going inside 2nd page. I mean not triggering 2nd page. Can any one help me on this.
    Thanx in advance
    Rajesh Vasudeva

    Hi Rajesh
    right click create-> flowlogic->command
    here chek goto new page and specify your second page name.
    Try this too.
    Instead of creating new page with another main window create a new page with secondary window and in first page main window -> general attributes set next page : first page itself and create a command as i showed the path and in that set second page.
    This will surely solve your problem
    Regards
    Swetha.

  • How to call a action on page load in jsf

    Hi all,
    i am having a JSF page where i want to display the records from the datatable. I have a method in bean which call database and gets the list of records. If i call this method from a link (action on this link) present on this page i can display the records on this page.
    But i want to display these records at the time of page load only. How we can do this? How to call a action at the time of page load?
    Thanks in adv.

    If i am calling the database class and get the list in constructor only i am able to display list in the datatable on page load. This works fine. But the requirment is that if there are no records in the list display a error page with message-No records found! . But how i can navigate from the constructor to error page?
    Like-
    class MyBeam{
    MyBean{
    private List requestVOList = null;
    MyDao dao = new MyDao() //for fetching list from DB
    List records = dao.getList()  //get list from dao class
    if(records==null)
        //Navigate to error page. How to do this navigation here?
    else
        requestVOList  = records;
    //setter/getters for requestVOList 
    }

  • How to call parameter of 101 page on page 1

    Greetings,
    i wanted to call parameter on login page "P101_USERNAME" on page 1 .
    Cust_user is a table from where i m authticating my username and password, Authtication is doing fine but i want the customer id of the specific customer in the cust_user table to display after login on page 1. for that i wrote query on page 1 "SELECT cust_id FROM cust_user WHERE UPPER (USERNAME) =UPPER(:P101_USERNAME), but it is displaying nothing , if i harcore the specific username instead of :p101_username it is working fine e.g "SELECT cust_id FROM cust_user WHERE UPPER (USERNAME) =UPPER('test'),
    Please gudie me how to get value of text field (p101_username login page ) on page 1, that is first page after login.

    Hi,
    i wanted to call parameter on login page "P101_USERNAME" on page 1 .Cust_user is a table from where i m authticating my username and password, Authtication is doing fine but i want the customer id of the specific customer in the cust_user table to display after login on page 1. for that i wrote query on page 1 "SELECT cust_id FROM cust_user WHERE UPPER (USERNAME) =UPPER(:P101_USERNAME), but it is displaying nothing , if i harcore the specific username instead of :p101_username it is working fine e.g "SELECT cust_id FROM cust_user WHERE UPPER (USERNAME) =UPPER('test'),
    Please gudie me how to get value of text field (p101_username login page ) on page 1, that is first page after login.>
    Use :APP_USER. If your authentication scheme is working right then the username should be in :APP_USER.
    Cheers,

  • How to call webservices from ADF page

    Hi,
    I am using ADFBC.
    I want to call webservices from ADF page.please give examples of sample program on how to call a web service from the ADF pages.please give examples.
    please help me.
    Thanks,

    http://marianne-horsch-adf.blogspot.com/2011/03/how-to-create-web-service-based-adf.html
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/70-dependent-listboxes-using-ws-286107.pdf
    http://www.oracleimg.com/technetwork/developer-tools/jdev/adfcomplexwstypes-101013.html
    http://technology.amis.nl/blog/9726/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components
    http://oracamp.com/passing-parameters-between-web-services-and-jsf-pages

  • How to call Servlet from jsp page and how to run this app using tomcat..?

    Hi ,
    I wanted to call servlet from jsp action i.e. on submit button of JSP call LoginServlet.Java file.
    Please tell me how to do this into jsp page..?
    Also i wanted to execute this application using tomcat.
    Please tell me how to do this...? what setting are required for this...? what will be url ..??
    Thanks.

    well....my problem is as follows:
    whenever i type...... http://localhost:8080/appName/
    i am getting 404 error.....it is not calling to login.jsp (default jsp)
    but when i type......http://localhost:8080/appName/login.do........it executes servlet properly.
    Basically this 'login.do' is form action (form action='/login.do').....and i wanted to execute this from login jsp only.(from submit button)
    In short can anyone please tell me how to diaplay jsp page using tomcat 5.5
    plz help me.

  • How to call operating system(windows) functions like sutdown,refresh,et

    Hello,
    I am new in Oracle D2k.I want to know that how to call windows XP/7 shell commands(operating system functions) or windows function key(like F5 for system refresh in windows xp/7) in an Oracle Form.
    Actually I have to make a trigger which can fire at pressing a particular key and execute appropriate action of Windows7 like shutdown,F5(function key of windows to system refresh).
    thank you
    regards
    aaditya.

    Just for future reference, regardless if you are posting in the Forms area of the forum or any other, terms like Forms 11g, Oracle 11g, etc are parts of product names. They are not version numbers although they do offer a slight hint. It is very important that when posting you include the complete version number of any products related to the problem or question you have. For example, you said you are using Oracle Forms 11g. Look at how many possible versions "Forms 11g" could possibly be:
    11.1.1.1
    11.1.1.2
    11.1.1.3
    11.1.1.4
    11.1.1.6
    11.1.2.0
    11.1.2.1
    With each new patch release and major release, a large number of bug fixes are included. In the case of new major releases, in addition to bug fixes, many new features are added. So knowing the version number is important.
    Beyond that, it would appear that you have many questions:
    1. How to copy and paste
    2. How to execute a system shutdown
    3. How to force the browser into full screen mode
    4. Refresh - this one is unclear. What do you mean by "refresh"?
    Let me answer those that I can:
    <blockquote>o Functions like cut/copy/paste are available directly from your Forms code. For these I would recommend referring to the Builder's Online Help. Look for CUT_REGION, COPY_REGION, PASTE_REGION. It might also be helpful to understand SELECT_ALL. For example you may want to code a Copy button like this:
    GO_ITEM('some_text_field);
    SELECT_ALL;
    COPY_REGION;o To execute a system shutdown on the client machine, you would first need to WebUtil enable your form. Refer to the Forms Builder Online Help for information about how to use WebUtil. You can also find lots of information in this forum about WebUtil. Once enabled, you can execute a Windows shutdown in various ways. Here one option:
    Declare
         my_cmd varchar2(255);
    Begin
         my_cmd := 'cmd /c start "" "' || '"shutdown -s -f -t 1"' || '"';
         WEBUTIL_HOST.HOST (my_cmd);
    End;Refer to the Microsoft documentation for more information: http://technet.microsoft.com/en-us/library/bb491003.aspx
    o I'm not sure what you are attempting to do with the F11. I understand that this function key sets the browser to full screen, but the form will not exactly adjust for this change in browser size. You can adjust the applet size dynamically, but not the form. For that you would need to code the behavior yourself. So, before I can offer something specific, it would be helpful to understand what you expectation is and if what you want is to set the browser to full screen, why not just allow the end user to do it? You could easily have a java script popup displayed before the form starts which might say something like "To maximize your browser, press F11"
    o Finally, "refresh". I don't know what you mean here. Refresh what? The Windows desktop, browser, Oracle Forms.....
    </blockquote>

  • How to call bean funtion once page is loaded?

    Hi guys,
    I am doing a user activation page. I need to call a bean function once the page is loaded. For example,
    http://www.abc.com/activate.jsp?code=12345678
    <c:if test="$"empty param.code">
    <!-- call activate function a bean -->
    </c:if>
    public class UserBean{
    private String code;
    public activateAction(){
    So how to call the above function? Thanks
    regards,
    kmthien

    Hi, how to pass in the parameter to the bean? I am
    using JSF framework !If you are using JSF, I have no clue. Never used it. Maybe ask in the JSF forum.
    If it works the same as normal JSP/JSTL, then that last bit of code should do it (though I misspelled the property name:
    <c:if test="${empty param.code}">
      <c:set target="${instanceOfUserBean}" property="actionActivated" value="true"/>
    </c:if>But like I said, if activateAction is a special method needed for JSF or something, ask in the JSF forum

  • How to call functions in windows or Solaris in servlet?

    Hello,
    Does anyone know if there is a way for servlets to call functions in windows or solaris shell command????
    Thanks :)

    Checkout the Runtime.exec family of methods.
    I would think carefully if calling a shell script or batch file from a J2EE web component is something you really want to do though.

  • Smartforms - How to call more form in one print propgram ?

    Hello expert,
    how is possible call in one time more forms.  The forms are the same, and I have to print ( and print preview ) all togehter
    and not one to one .
    What is the parameters to use ?
    tks,

    U loop ur internal table with 10 document no's in the internal table.
    Now, in the loop u call the Smartform FM..
    eg:
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
         EXPORTING  formname           = itab-form_name
                    variant            = ' '
                    direct_call        = ' '
         IMPORTING  fm_name            = fm_name
         EXCEPTIONS no_form            = 1
                    no_function_module = 2
                    OTHERS             = 3.
    LOOP at itab.
    call function fm_name   "smartform Function name
    endloop.
    or, u can also do this, by calling SSF_OPEN & SSF_Close.
    Hope it helps!!
    Rgds,
    Pavan

  • How to call and run HTML pages from an Applet?

    I want to run another HTML page when pressed a button in an Applet,how can i do it?

    Are you looking for this?
    applet.getAppletContext().showDocument("http://cullenwines.com.au", "_top");

  • How to call a popup window when click save button

    Hi, expert
    the scenario is :
    we we create a order , we click the 'save' button,
    then there will show a popup window,
    in the window, there are buttons like 'confirm' , 'cancel' and also show some info about the order.
    how can i do that.
    Thanks
    Oliver.

    Hi ,
    Try to redefine the method and use the IV_TEXT parameter in the CREATE_POPUP_2_CONFIRM method (usaully comes from the Component Controller ).
    Regards
    Vikranth

  • How to call view requests window from forms

    I have a custom form in which i am running a concurrent program using FND_REQUEST.SUBMIT_REQUEST. after I submit the request, I manually go to the view -> requests -> viewoutput to see the report output. Is there any function which can be used in the form to skip this manual step and go directly to the view requests screen?

    Hi,
    You can use fnd_function.execute to open any form from another form. For instance, using fnd_function.execute('FND_FNDCPQCR') should open the Requests form. You can play with the parameters of the form (or use a different function) until you get what you actually need.
    Hope it helps.

  • Smartforms secondary window displayed in PDF?

    hello every SDNer,
    i have a question, who can help me ?
    For 'Smartform', I will like certain secondary windows in the PDF file to appear but not  in other PDF files. How can I go about doing so? For example, SF_EXAMPLES_01, address secondary window appears   in this particular PDF file but not in the other PDF files . Is there any parameter it can be set as such?
    thanks in advance
    Yaning

    Hi,
    You can set a condition on the window.
    This will make sure that window contents are displayed only when the condition is satisfied.
    Regards,
    Ravi
    Note : Please mark the helpful answers

Maybe you are looking for