Please helpppp page forward issue...

Hi All,
My requirement is to generate some bankrefno on click of apply button forthis i have done :
1)created a function to generate Bankrefno
2)calling the function on click of apply button to get the no in PFR()
Issue is:
When i click apply button the control goes to another page & my logic doesnt work.
Please suggest its urgent
Thnx
Sims

Hi ,
all those issues related to date cast r gone...bankrefno is getting generated in logs but for now issue is page redirects & it doesnt display the no on screen if i call super.processrequest() in pfr() if dont call then it shows the bankrefno on page only...
my code is :
if (pageContext.getParameter("Apply")!=null)
OAMessageDateFieldBean TransferDateBean = (OAMessageDateFieldBean)webBean.findChildRecursive("TransferDate");
pageContext.writeDiagnostics(this," Transfer Date Bean is:" +TransferDateBean ,OAFwkConstants.STATEMENT);
java.sql.Date v_test_date = (java.sql.Date)TransferDateBean.getValue(pageContext);
pageContext.writeDiagnostics(this," Transfer Date is:" +v_test_date ,OAFwkConstants.STATEMENT);
if (v_test_date!= null)
try
// OAMessageTextInputBean TransferDateBean = (OAMessageTextInputBean)webBean.findChildRecursive("TransferDate");
/* java.sql.Date date;
String v_transfer_date ;
v_transfer_date = v_test.toString();
DateFormat formatter ;
formatter = new SimpleDateFormat("dd-Mon-yyyy");
date = (java.sql.Date)formatter.parse(v_transfer_date);*/
String v_bank_ref_no;
Connection conn1 = pageContext.getApplicationModule(webBean).getOADBTransaction().getJdbcConnection();
CallableStatement cstmt = conn1.prepareCall("{? = call spcm_test_pkg.test_get_bank_ref_no_fn(?)}");
cstmt.registerOutParameter(1, Types.VARCHAR);
cstmt.setDate(2,v_test_date);
pageContext.writeDiagnostics(this,"Calling function to extract Bank Reference Number------",OAFwkConstants.STATEMENT);
cstmt.execute();
pageContext.writeDiagnostics(this,"callable statement got executed------ ",OAFwkConstants.STATEMENT);
v_bank_ref_no = cstmt.getString(1);
pageContext.writeDiagnostics(this,"Bank Reference no is : "+v_bank_ref_no,OAFwkConstants.STATEMENT);
OAMessageTextInputBean BankRefNumberBean = (OAMessageTextInputBean)webBean.findChildRecursive("BankRefNumber");
BankRefNumberBean.setValue(pageContext,v_bank_ref_no);
disableBankRefNumberBean(pageContext,webBean);
pageContext.forwardImmediatelyToCurrentPage(null,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
catch(Exception e)
e.printStackTrace();
please guide
sims

Similar Messages

  • Custom Dialog Page Forwarding Issues

    Hi,
    It would be much appreciated if someone is able to offer advice, I am trying to create a dialog page with an ok button which when selected returns the user to the standard e-business homepage.
    In my processFormRequest of the main calling page I am capturing the selection of a save button, committing the changes and then running the following code;
    OAException confirmMessage = new OAException("Your record has been successfully updated ");
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION, confirmMessage,null,"","");
    dialogPage.setPageButtonBarRegionRefName("/xxx/oracle/apps/per/sw/webui/ConfButtonBarRN");
    pageContext.redirectToDialogPage(dialogPage);The called region being specified in the call setPageButtonBarRegionRefName is of the type page button bar and has one button named OkButton, I have given the region a controller and within the processFormRequest I have placed the following code
    if ( pageContext.getParameter("OkButton") != null) 
                 pageContext.forwardImmediately
                   ("OA.jsp?page=/oracle/apps/fnd/framework/navigate/webui/HomePG",
                      null,
                      OAWebBeanConstants.KEEP_MENU_CONTEXT,
                      null,
                      null,
                      false, // retain AM
                      OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }I have also tried placing this code in the calling pages processFormRequest however in each instance I get an error page stating that the page cannot be displayed;
    You cannot complete this task because one of the following events caused a loss of page data:
    •     Your login session has expired.
    •     A system failure has occurred.
    If anyone has any suggestions as to how I can get this dialog page to redirect the user back to the home page after selecting the ok button it would be very much appreciated as I have tried various different combinations to no avail.
    Many Thanks,
    Mike

    Ok I think I may have been looking at this for too long yesterday...
    I was able to get it to work by adding the following line to the calling of the dialog page and adding the handling of the response to the calling page;
    dialogPage.setPostToCallingPage(true);However I have now replaced the SubmitButton with a Button and set the URL to the homepage, skipping the calling page althogether and going direct to the homepage. In the code calling the dialog page I have added the following line as at the point of calling the dialog page I no longer require the AM.
    dialogPage.setRetainAMValue(false);Thanks for your quick response,
    Mike

  • Is there a fix for the back page/forward page suddenly being grayed out?

    I looked at the blog pages.. Seems 70 people have reported this problem. They page forward/back worked when i installed the upgrade and now it doesnt. Is there a fix for this that can be easily done?

    First please update you browser from Firefox 3.6.9 to Firefox 3.6.15.
    To update Firefox-
    1. Click Help Menu and select Check for Updates.
    2. Let Firefox check for Updates and download them.
    3. Install the update when prompted by clicking Install Update or Apply Update.
    4. Repeat steps 1-3 till no other updates are found.
    After updating Firefox you should be using Firefox 3.6.15. Check if the issue persists.

  • PAGE FORWARD/BACK ARROWS ARE INOP

    PAGE FORWARD/BACK arrows left of address bar are inoperative (dim!). All attempts to PAGE FORWARD/BACK (return) to previously viewed page(s) are ineffective.

    Click the Firefox button, go to Add-ons, then Plugins and disable the following:<br><br>
    * Fun Web Products Plugin<br><br>
    * My Web Search<br><br>
    Both of these are adware/spyware and cause performance issues in Firefox.
    Next, click the Extensions menu link (above Plugins where you are) and remove the "Ask Toolbar".
    If the problem persists, please do the following:<br><br>
    #Click '''Help '''| '''Restart with Add-ons disabled'''.<br><br>
    #In the next menu which appears, checkmark: "'''Reset toolbars and Controls'''".<br><br>
    #Finally, click the button called "'''Make changes and restart'''".
    Just in case you weren't aware of it, you can right click the Back or Forward buttons to get a list of sites visited. If you'd like to see the return of the arrow on the Back button, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/
    Last but not least, some of your plugins are seriously out of date which exposes your system to exploits. Please visit the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page and update where necessary.
    See: http://www.adobe.com/support/security/bulletins/apsb11-08.html

  • Iplanet/Servlet Forwarding Issue/Question

    Scenario:
    A directory is protected using Iplanet web server access control (Iplanet Directory Server). User accesses the directory and enters valid user name and password. User is authenticated OK. The file is then posted to a servlet which does a forward to another page in the same directory. The page is not displayed due to a problem with authentication. Code to forward is as follows:
    getServletConfig().getServletContext().getRequestDispatcher(response.encodeURL(pageName)).forward(request,response);
    I check request.getUserPrincipal().getName() and
    request.getRemoteUser(). The first returns the username that iWS is running under, the second returns
    null. Is there a correct way of doing this to avoid the forward from failing.

    requiem wrote:
    Question to BT
    Hello i have recently joined BT Infinity and have hit the issue of the Port Forwarding not working. My HH3 is on the following version of software. Will this version automatically upgrade to the latest version of firmware and will this fix my port forwarding issue?.........
    Thank you
    Dean.
    Current firmware:
    V100R001C01B031SP09_L_B
    Last updated:
    Unknown
    Hi Dean
    By the look of it you've got the type B version of the HH3 with current firmware.
    From http://bt.custhelp.com/app/answers/detail/a_id/13073
    The latest versions of the firmware are:
    BT Home Hub 3 – Software version 4.7.5.1.83.8.57.1.3 (Type A) or V100R001C01B031SP09_L_B
    Please Click On any Text in Blue as that automatically links to information.
    PC (NDEGR)

  • Page Forward & Reverse buttons do not work & are "grayed-out" after upgrading to, as is the Main-Menu Items such as File-Edit-view etc...

    After upgrading to Firefox 3.6.12 all functionality appeared to be intact. Then after a few days it lost the ability to "page forward" or to "page back" and are "grayed-out". Additionally, the Main menu items such as File, Edit, View, History, Bookmarks, Tools & Help are also grayed-out and non-functioning.
    Also, the "Search Window" does not search, Web Searches need to be performed from within the URL window instead, for some crazy reason. If the URL window is blank when I enter a search into the actual search window the following appears in the URL window, "Search Bookmarks and History", which makes no sense.
    I have noticed similar complaints in this Forum in the past but I have not seen any posted resolution to these issues. Is there a solution?

    Create a new profile as a test to check if your current profile is causing the problems.<br />
    See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting&#58; Make a new profile]]
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins"
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Home Hub 3 Port Forwarding Issue - Question to BT

    Question to BT
    Hello i have recently joined BT Infinity and have hit the issue of the Port Forwarding not working. My HH3 is on the following version of software. Will this version automatically upgrade to the latest version of firmware and will this fix my port forwarding issue?
    As i work in IT (Cisco Network Eng) i need to be able to access several devices/services at home and this is a real pain for me. If you think that this could drag on as some posts have indicated could you please let me know and i will either get a draytek or throw in a cisco 1841.
    Thank you
    Dean.
    Current firmware:
    V100R001C01B031SP09_L_B
    Last updated:
    Unknown

    requiem wrote:
    Question to BT
    Hello i have recently joined BT Infinity and have hit the issue of the Port Forwarding not working. My HH3 is on the following version of software. Will this version automatically upgrade to the latest version of firmware and will this fix my port forwarding issue?.........
    Thank you
    Dean.
    Current firmware:
    V100R001C01B031SP09_L_B
    Last updated:
    Unknown
    Hi Dean
    By the look of it you've got the type B version of the HH3 with current firmware.
    From http://bt.custhelp.com/app/answers/detail/a_id/13073
    The latest versions of the firmware are:
    BT Home Hub 3 – Software version 4.7.5.1.83.8.57.1.3 (Type A) or V100R001C01B031SP09_L_B
    Please Click On any Text in Blue as that automatically links to information.
    PC (NDEGR)

  • What are the parameters "page-forward" and "page-backward"  used for?

    In the LIMITS section of the Netscape Calendar Server configuration
    documentation, there are two parameters called "page-forward" and
    "page-backward." The default setting for these parameters is FALSE. However,
    it is unclear what these parameters are used for.
    <P>
    With previous versions of Calendar Server, you could scroll one page forward
    or one page backward through the user search screens. However, with the
    implementation of LDAP in later versions, the options have been disabled in
    the client.
    <P>
    Although the page-forward and page-backward parameters are documented in the
    Administrator guides for Calendar Server versions 3.5 and 4.0, the guides
    state that the default value of FALSE for both parameters cannot be
    changed. In actuality, the parameters can be changed. However, the reason
    that users should not change these parameters is that versions 3.5 and 4.0
    do not support the page-forward and page-backward capabilities. So to avoid
    errors, please do not change these parameters from the default value of FALSE.

    if AdobeRGB is the more professional working space, then why not use that profile?
    on the web (and in unmanaged and broken work flows) sRGB is the safest profile (source space)
    just open your tagged Adobe RGB and tagged ProPhoto RGB document (use the embedded profile in each document)
    and go to View> Proof Setup: Monitor RGB (notice the loss in saturation? that's how most of the people on the Internet will be viewing your color, assuming you have a standard-gamut monitor like most people)
    always CONVERT to sRGB for the World Wide Web
    i didn't read your link
    anyone who recommends "disable color management in Photoshop" -- set Working RGB to "Monitor RGB" -- AND MOST UNBELIEVABLY -- "Don't color manage this document" (ignore embedded profiles) ------ is pretty mixed up (in my opinion)
    i will recommend reading JEFF SCHEWE and BRUCE FRASER for professional color management information

  • RoboHELP to PDF Page numbering issue

    HI,
    I am experiencing a problem related to page numbers in the pdf generated through the RoboHELP source files. Hereby I am giving some images of the initial pages of the PDF, in which I have clearly explained the issue. I have removed the content and images related to our project. Please let me know, how I can overcome this issue.
    NOTE: The page numbering issue was not there earlier.  I have imported two frame maker files. Then I was not able to generate a PDF. That particular FM file had a table. Read in the Adobe forum that some type of tables may affect the generation of PDF. Hence, I have deleted the FM files. Since then I am facing the page numbering issue.
    Here are the images with my explanation of the issue:
    The following is an image of the pdf. This is actually the fourth page of the pdf, but it is numbered as xiv.
    The next pae is numbered as xv. Again the numbering reverted back to xiv as shown in the following iamge.
    Immeditely after the TOC, the 1st page is numbered as 115.
    Again every 1st page of a chapter is starting as page number 115
    The 2nd page of every chapter is numbered as 126.
    The 3rd page of every chapter is numbered as 125.
    The fourth page again numbered as 126 followed by 125, which is continuing till end of the chapter.
    Please let me know how this issue can be solved.

    I am not sure what is causing this but can suggest a workaround. Instead of publishing direct to PDF, create a Word document only. That may have page numbering issues but there you should be able to correct them. Then publish your PDF from Word.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Quantum Gateway Port Forwarding issues

    This post can be removed.... the port forwarding worked once I set it up under "Advanced Settings -> Network Settings ->Port Forwarding" instead of "Firewall -> Port Forwarding"
    Hello,
    I am having an issue setting up port forwarding.  I have made several attempts to make port forward TCP 8096, but it continues not to work.  I had it working with no problems at my with my old router before we moved so I know it's not an issue with my computer firewall or antivirus and MediaBrowser is working fine on the local network. Is anyone else experiencing Port Forwarding issues?  Also when will DMZ be enabled on this gateway?
    Any help would be apprciated. I'm trying to setup MediaBrowser so I can schedule recordings when i'm not at home.
    Thanks!
    Armyb77
    This post can be removed

    See kayster contribution here.
    SYNOLOGY DS214 - Remote access via BT Home Hub
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Citrix Netscaler AppXpert with Sharepoint 2010 Page Edit Issue

    Posting this as a questions and discussion point.
    The issue is in using Citrix Netscaler with AppXpert with SharePoint 2010. I've seen this issue for two customers.
    Configurations:
    - Citrix Netscaler as the load Balancer
    - Netscaler AppXpert for SharePoint deployed on Netscaler (using either AppXpert version 1.1 or 2.0)
    - SharePoint 2010 Standard or Enterprise editions
    Issue:
    A SharePoint user with appropriate rights go to a SharePoint page. They choose Edit page, make changes and want to save changes. At this point all SharePoint ribbon options on the top are greyed out. End result, users are not able to make changes to their
    site pages. Issue happens for everyone including Farm Admins.
    Cases:
    a. The users are able to edit and save SharePoint wiki pages if I point user's PC to the SharePoint web server WFE by changing their local host file.
    b. On Citrix Netscaler, if I use the traditional load balancing i.e. without Citrix AppXpert, then the users are able to edit and save the pages. That is an option if the customer is using SharePoint 2010 Standard. That is not an option if a customer is
    using InfoPath forms. InfoPath is a feature of SharePoint 2010 Enterprise edition. Citrix AppXpert for SharePoint is needed to make the InfoPath work. Else the users get session errors when they use InfoPath Web forms.
    c. The issue happens on almost all combination of OS and browser. XP, vista, Win 7, Win8, Win8.1, IE8, 9, 10, 11 and other browsers like chrome etc as well.
    Please share your ideas and suggestions.

    Hi Faisal,
    As I understand, the issue will be solved when end users directly connect to SharePoint WFE servers. Since the issue is related to third party products, I'd recommend you contact their support engineer for sufficient resource and assistance. For your convenience:
    http://discussions.citrix.com/forum/150-support-forums/
    Should you need more assistance, let me know. Thanks for the understanding.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Post Moved Mac Port Forwarding Issues

    Post Moved to Other BB Queries http://community.bt.com/t5/Other-BB-Queries/Mac-Port-Forwarding-issues/td-p/550779
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    Does this help...?
    http://community.bt.com/t5/Other-BB-Queries/Port-forwarding-and-Loopback-DO-work-YMMV/m-p/538328

  • WRTU54G-TM Port Forward issues, DHCP server disabled but still gives out addresses

    I've seen other posts about port-forwarding issues.  I've had to hard-reset the device twice in 2 months to clear this up.
    One issue that I can't figure out at all is that the DHCP server gives out addresses when it is set to disabled.  This is a problem because it gives out the public DNS servers, which will not resolve addresses on my LAN.  Anyone else seen this?
    Anyone had success putting this router behind a better one and still getting the phone SIM to register and work? 

    Have you tried to upgrade the firmware on your Router?
    Click Download  the latest firmware for your Router and save the Firmware file on your Desktop. 
    Once you Download the firmware for your Router, Now you need to login to the Router setup page and click on the "Administration" tab and below click on "Firmware Upgrade" and then click on the Browse Button and select the firmware file and click on Upgrade. 
    Once the firmware is upgraded successfully then you need to Reset your Router and Re-configure all the settings on your Router from scratch. 

  • I reset my toolbars and now no longer see the "page back" or "page forward" icons on the top left corner of the screen

    just loaded the new version of firefox. i went into "library" and told the computer to forget the mp3tube toolbar and it got rid of all the toolbars and also shows no search engine in new tabs, and has no page back or page forward arrows in top left corner of screen. how do i at least get the page back and forward function enabled?

    Make sure that you do not run Firefox in Full Screen mode with all toolbars hidden.
    * Press F11 to toggle full screen mode (Firefox/File > Full Screen)
    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Session Timout JSP Page Forward

    Hi All,
    I am currently working on a JSP site and want to add a JSP page forward that takes place when the user's session times out after a period of inactivity.
    I have created a servlet that implements HttpSessionBindingListener and has methods in place for valueBound and valueUnboud. The methods are getting called as they should, however because there isn't an HttpResponse object I cannot do a response.forward....
    So my question: Is the HttpSessionBindingListener the correct interface to be implementing to accomplish my goal? If so, how do I forward the user to the login page? If not, what should I use and how do I forward the user to the login page?
    Thanks for your time and help.
    Aaron

    valueUnbound method? Arent you using a Model
    View Controller type architecture? The servlet
    is mainly used to to handle logic and navigate
    to the appropriate view(your java server pages).
    The code I supplied should be placed in the service
    method of your servlet.. then it can handle the
    request and determine where to go from there. Your
    servlet should have three methods, the doPost, the
    doGet, and the service method. The doPost and Get
    should pass the request and response objects on to
    the service method. Any other logic should be handled
    in other classes that you create. The service method
    basically decides what the next page should be.
    Hope this helps..

Maybe you are looking for