When we click Submit button in CSC, I want to redirect to differrent panel

Hi All
There is one panel for member search in CSC. from some other form I want to redirect to this 'member search' panel. what should be done?
Thanks & Best regards,
Pratik

you can do this by incorporating the memberserach panel and the panel stack details in the atgSubmitAction, which can be triggered by any onClick event. For example if you have a button, onclicking the button if you want to submit and redirect tot he membersearch panel you can have somethng similar to below one
<dspel:input type="button" value="submitForm" name="submitButton" bean="TestFormHandler.submitForm" onclick="submitForm();"/>
and the javascript function for the submit action is something like below, replace the memberSearchPanelName and the memberSearchPanelStackName with corresponding panel and panel stack names for the member search form u have
<script type="text/javascript">
submitButton=function(){
var submitForm=dojo.byId("submitPanelForm"); //get the form to be submitted
atgSubmitAction({
form: submitForm,
panels: ["memberSearchPanelName"],
panelStack: ["memberSearchPanelStackName"]
</script>
HTH
Thanks,
Rajesh Akavaram

Similar Messages

  • Data inserting two times in a table  when i click submit button

    Hi Experts,
    I had a problem, when i am inserting data in a table from a form at the first time when i click button it adds two times, afterwards it is adding one time only, the form and table are from same value node (table is collection cardinality : 1..n and selection cardinality is 0..n) i don't understand why it  is happening here?
    Regards,
    Pradeep Kumar

    Hi Pradeep,
    Please check the method for inserting data in a table. May be method is called two times.
    Post your code here to look into it.
    Best Regards,
    Arun Jaiswal

  • What happens when you click SUBMIT ? URGENT HELP

    Hi,
    I have a requirement where I want to know all the records that are submitted this year.
    Can anybody tell me which column gets auto populated (Vanilla funcationality) in S_EVT_ACT when we click the Submit button ??
    Thanks :-)

    Hi,
    Thanks for the help.
    I am using Siebel ePharma 7.7.2.6.
    No I will not be able to use the Start Date. I want the records submitted this year because of which I cannot use Start Date.
    In S_EVT_ACT, there is a column Call_Submit_Date. But that dosent get populated by default. I wanted to know is there any column which get populated by default (Vanilla functionality) when you click Submit button.
    Thanks :)

  • Can we remain in the same state even after clicking submit button?

    Hello All,
    Can we remain in the same stage even after clicking submit button? Also it should remain in the same stage only when certain conditions are met. For eg:
    Condition : In Stage1, CustomFieldA default value is 'No'. To pass from Stage1 to Stage2 the CustomFieldA value should be made to yes.
    Scenario 1 : CustomFieldA value is 'No', and I click on Submit .
    Expected Result : should remain in the same stage
    Is above result achievable in PS 2013? I am creating workflow in Visual Studio 2012, so can I handle this in the workflow?
    Please help.

    The above answer was proved wrong, so please follow this link to get the answer.
    http://social.msdn.microsoft.com/Forums/en-US/8c75d74d-1ea6-4273-96cd-e70f5a5688fc/how-to-remain-in-the-same-stage-even-after-clicking-submit-button?forum=project2010custprog

  • Invalidate session when user clicks back button

    I want to invalidate the session when user clicks back button, so that user cannot refresh and reload a page.
    Any suggestions will be highly appreciated.
    Message was edited by:
    sam_amc

    * SessionInvalidator.java
    * Created on October 27, 2006, 9:18 AM
    package web;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author javious
    * @version
    public class SessionInvalidator extends HttpServlet {
        /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String reposted = request.getParameter("reposted");
            if("true".equals(reposted))
                HttpSession session = request.getSession(false);
                if(session == null)
                    // This is step 4 and beyond
                    out.println("<html>");
                    out.println("<head>");
                    out.println("<title>Servlet SessionInvalidator</title>");
                    out.println("</head>");
                    out.println("<body>");
                    out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                    out.println("I said, your session is now invalid! Now where are those Duke Dollars at?");
                    out.println("</body>");
                    out.println("</html>");
                else
                    Integer hitCount = (Integer)session.getAttribute("hitCount");
                    if(hitCount == null)
                        // This is step 2 (the "good" - "stay" page.)
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is good.<br>");
                        out.println("If you click the browser's back button, you will invalidate your session.");
                        out.println("</body>");
                        out.println("</html>");
                        hitCount = 1;
                        session.setAttribute("hitCount", hitCount);
                    else
                        //We've used up our good visit
                        session.invalidate();
                        // This is step 3
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is now invalid");
                        out.println("</body>");
                        out.println("</html>");
            else
                // because the javascript in the following output will never allow a user
                // to continue clicking back any further than this, we can safely create the session.
                // (or perhaps the session can already be created here and this may not be necessary).
                // A problem lies where if the user chooses to "select" a page back in history they thereby
                // potentially skip back "over" this functionality, thus defeating the purpose of it.
                request.getSession(true);
                // This is step 1 (indirection)
                out.println("<html>");
                out.println("<head>");
                out.println("<title>Servlet SessionInvalidator</title>");
                out.println("</head>");
                out.println("<body onload=\"document.getElementById('invalidatorForm').submit()\">");
                out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                out.println("<form id=\"invalidatorForm\" action=\"SessionInvalidator\" method=\"POST\">");
                out.println("<input type=\"hidden\" name=\"reposted\" value=\"true\">");
                out.println("</form>");
                out.println("</body>");
                out.println("</html>");
            out.close();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }The problem with even attempting to do this is that with today's browser capabilities, users can optionally choose to jump to a particular page in the browser history and this may not necessarily be the most recent page. In this case, you would also want to invalidate the user's session after already having been there (whatever page that may be). Then you have situations when the user may wish to jump back in history to external pages they were visiting before they reached your own site's pages. Then what happens when they start clicking forward, forward, etc... from there? This is why I prefer writing Swing Clients as alternatives to browser applications. There are soo many possible ways break web applications made for standard web browsers both maliciously and simply by accident or irregular user patterns. Regardless, this servlet would work based on the assumption that all the user(s) would "ever" do aside from moving logically forward is clicking on the browser's "back" button.
    cheers!
    Message was edited by:
    javious

  • HT201209 Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing

    Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing

    Get the redeem code from the KLove page:
    http://www.klove.com/music/store.aspx
    ...and enter it into the Redeem Code box in the iTunes Store.
    You will have to sign in to your iTunes account.
    It worked fine here.  If that doesn't work for you, let us know what went wrong.

  • Problem report only print out when i click back button

    hi all..i having problem with my report print program. the problem is my report did not immediately print out when i click print button. the program require me to click back button before print out execute. please help me to solve this problem. Thank you.
    Edited by: padile on Jan 7, 2010 3:51 AM

    Hi,
    In your program, mention the following:
    DATA: gs_out_opt TYPE ssfcompop.
    gs_out_opt-tdimmed = 'X'           "Print immediately
    CALL FUNCTION lv_fname         "Smartform FM
          EXPORTING
            output_options     = gs_out_opt  
    Regards,
    Dawood.

  • Thanks For Your Support in advance i want to know that when I open a website that time view print option and when I click close button then page also new window page also close. I want to copy it how i can stop this print option?

    WHEN I OPEN A URL THAT TIME WITH PAGE OPEN SHOWS PRINT OPTION AND WHEN I CLICK CLOSE BUTTON OF PRINT OPTION THAT TIME NEW WINDOW BUTTON IS CLOSED. I WANT TO CLOSE ONLY PRINT OPTION. PLEASE HELP ME...............THANKS

    Many sites which offer specific "print formatted" pages do that: they assume that once you have finished with the print dialog you no longer want the page itself. So for your convenience they close it. Not so convenient for you, since you still want to view the page.
    I'm not aware of an easy solution for this. I can think of a couple different approaches.
    First, maybe there's an add-on to solve this? That would be easiest.
    Second, maybe there's a userscript to solve this?
    The Greasemonkey add-on runs userscripts which you can copy or download. Be careful to install only long-establish and trusted scripts. (''Is there a site that has this bad behavior that I can view without logging in? I will test one of my existing scripts to see whether it helps.'')
    Third, Firefox has an old system for restricting site permissions in a custom text file in your profile folder (named user.js). Editing this file is a bit advanced, and I haven't been able to test it, but the system works along these lines:
    <br>// Define a policy name for window.close permission
    // (assumes you don't have this pref already)
    user_pref("capability.policy.policynames", "nowindowclose");
    // Define policy: disable sites from using window.close
    // in their scripts
    user_pref("capability.policy.nowindowclose.Window.close", "noAccess");
    // List of sites subject to this policy
    user_pref("capability.policy.nowindowclose.sites", "firstbadsite.com secondbadsite.com");
    Again, I haven't tested that and recommend looking into add-ons first.

  • Showing universal work list when user clicks a button in webdynpro java

    Hi,
    I am developing webdynpro java application, when user clicks a button i want to display Universal worklist in the portal, if user is logged in then it directly shows in portal otherwise it should asks for username and password.
    Thanks,
    Madhu

    Hi Pithre,
    For this you have to use portal navigation classes, Same scenario occurred in previous forums, search thoroughly before you post the question.
    Go to the below link, May u r problem will be solved.
    Universal Work List & Web Dynpro
    Regards,
    Pradeep

  • Output in a seperate list when we click a button

    hi experts,
                when we click a button in alv list it should display the output in a seperate list
    thanks
    harish

    Hi,
    It can be handled in user command event...
    Regards,
    Kumar.

  • Left Nav lost after clicking submit button in iView

    Hi Community,
    I created an APC called CreateOrder which implements AbstractPortalComponent. This component acts as controller. In doContent() method, It checks if the create order submit button is clicked or not, if no, it  returns createOrder.jsp page, if yes, it returns createOrderResult.jsp page. Everything works fine except left navigation disapear after I click submit button createOrder.jsp and createOrderResult.jsp shows up. 
    by the way I can create a createOrderIview using the APC component, able to see createOrder.jsp page and have result page shows up.
    Anyone know what problem here? any help/sugguestion are very appriciated.

    Make sure your iView isolation mode is set to URL...
    Cheers

  • Prompt user, when hitting with SUBMIT button

    Hello folks,
    I have application with student record, on 1st page user enters student's name and on 2nd page user enters students grade and their are two buttons on 3rd page saying SAVE and SUBMIT, with the hitting of both the buttons students record enterred by the user will be INSERTED into DB table.
    Now I want to add a functionality saying, student_name as mandatory filled <b>only when user hits SUBMIT button</b> on 3rd page, hence user cannot submit leaving mandatory filled as empty. So I want to prompt a window on 3rd page with the student_name item where user can enter student's name and hit OK button the same prompted window which will help user to SUBMIT that particular student.
    any idea how to achieve it, how to validate and prompt user, when user submits students without entering mandatory items/fields.
    Thanks
    Deep.

    Hi Dan,
    Thanks for replying, yes I'm very aware about your reply but I'm having req. so was trying to implement same into my current application.
    I tried a small example into apex workspace to better understand have a look into it:-
    workspace :- deepapex
    username :- [email protected]
    password :- walubu
    application "Prompt_only_for_Submit"
    I kept validation on page 3 if user doesnt enters student_name(on page 1) upto here it's working perfect than I started implementing JavaScript to open a prompt, but I want to open this prompt only when user doesnt enters student_name on page 1 and not everytime, also within this prompt I was looking how to have text_box item where user can enter student_name on page 3 where he actually forgotted to enter on page 1, so this new student_name item will go into insert process and hence this will be done, I'm away of the logic but really lacking to implement it.
    So if you can help little it will be glad to you.
    Thanks
    Deep.

  • How to set focus on MessageTextInput after clicking submit button

    Hi All,
    I have submit button and MessageTextInput, by clicking submit button i have to focus on MessageTextInput control.
    can any one tell me how to do this?
    Thanks
    Laukik Pachanekar

    Hi,
    As the submit button is clicked redirect the page to itself using
    pageContext.forwardimmediatelytocurrentpage(null,false,null);
    Now in process request use:
    import oracle.apps.fnd.framework.webui.beans.OABodyBean;
    OABodyBean oabean = (OABodyBean)pageContext.getRootWebBean();
    oabean.setInitialFocusId("<id of messsage text input>");
    Thanks,
    Gaurav

  • I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    I inserted a HTML5 video in page, when I test it in a Browser, I see the poster image and controls, But when I click play button the video goes white, slider moves like its playing, but just white picture. There was no audio included in video. Please help

    Without a link, it's anybody's guess.
    It could be a problem the video rendering itself.  Which software did you use?
    Did you export to the 3 file types -- MP4, OGG and WEBM to support all browsers?
    Does your web server support those 3 MIME file types?
    Nancy O.

  • When we click turminate button in eclipse new txt file has to be created ?

    when we click turminate button in eclipse new ,txt file has to be created ?
    how can we do this............??

    abenstex wrote:
    That really would be a pity, because the final answer might be interesting...;-)Pending a definition of "turminate button", it wouldn't be too difficult to generate a new txt file on pressing it. No idea why you'd want to, though

Maybe you are looking for