How to display a mssg on page before the adf lifecycle process has ended?

Hi;
We have an ADF Application(11.1.1.3). We sign a document with a mobile signature. To do this we use a webservice call. During this call a hash is generated for the user to check and sign the document. Everything is fine but we couldn't find a way to display the generated hash on the page before the adf lifecycle process has finished. The hash should be displayed on the screen while the rest of the method is proceeding. After 2 minutes, the hash is timed out. How can we do this?
The method is as follows:
public boolean docFirstSign(String telNo, int gsmOperator, String evrakNo) {
String filePathToSign = null;
boolean signOpResult = false;
FileProcessor fileP = new FileProcessor();
try {       
filePathToSign = fileP.getFilePathToSign(evrakNo);
byte[] imzalanacakVeri = MobilImza.getBytesFromFile(filePathToSign);
String dataToBeDisplayed = "Size atanmis ve evrak uygulamasi uzerinden goruntulediginiz "+ evrakNo +" numarali evraki mobil olarak imzalayacaksiniz!";
MSS_SenderSoapProxy proxy = new MSS_SenderSoapProxy();
HashResult res = proxy.getHashForGsmOperator(imzalanacakVeri, telNo, 1);
Here the hash is generated. This should be displayed on the page, as at the same time a mobile message is sent to the user to check it and sign it. And the method shoud go on processing.
Logging.getLogger().info("Message -->"+res.getMessage());
//Hash kontrol
if (res.getResultCode()==0) {
SignatureResult sres = proxy.getSignature(dataToBeDisplayed,res.getApTransId()); //Turkce karakter olmayacak
Logging.getLogger().info("sres.getResultCode()-->"+sres.getResultCode());
if (sres.getResultCode()==0) {
byte[] imzaliData = MobilImza.base64Decode(sres.getSignedData());
System.out.println(sres.getMessage());
FileOutputStream fos = new FileOutputStream(new File(filePathToSign));
fos.write(imzaliData);
fos.close();
signOpResult = fileP.docCheckin(evrakNo);
} else {
fileP.cancelCheckout(evrakNo);
} else {
Logging.getLogger().error("Hash Hesaplanamadi");
fileP.cancelCheckout(evrakNo);
return signOpResult;
} catch (Exception e) {
e.printStackTrace();
fileP.cancelCheckout(evrakNo);
return signOpResult;
return signOpResult;
}

Hi,
its a synchronous method execution which means that the display of a popup only works when there is a response to the initial request. What about - as soon as you generated the Hash - show a popup to the user asking him/her to take a note of the hash and then confirm that the document or whatever you want to sign and send to the mobile should be processed. So when the user clicks ok on the message dialog you continue with the remaining of your method
Frank

Similar Messages

  • How to display region from one page on the other page?

    Hi,
    I'd like to ask if someone know how to display region created on page X on page Y.
    I've tried to create a "URL" region on Y but this doesn't work and I generally think this is blind way.
    Next I've found an internal function "flows_020100.wwv_flow_disp_page_plugs()" that works pretty well (PL/SQL type region with calling the function) except that is displaying only regions on the same page. I know it's dirty hack but ...
    Any ideas or hints how to solve this? Thanks ...

    have a look here ...
    http://www.oracle.com/technology/products/database/application_express/pdf/apex_best_practices.pdf

  • How to display subtotals in every page and the grand total in the last page

    Hello Abapers,
                         I am working with Smartforms. I am not able to print the subtotal in every page ie the Price for that particular page alone should be summed and in the final page I want the grand total also to be displayed. I tried the Total option in the Calculations tab but the value is just getting incremented on every page..How can I achieve this..
    With Regards,
    Bennet.

    Hi,
    Declare two different variables for subtotal and total
    Use them in the calculation tab of the table node.
    After displaying the subtotal create a program lines node to clear the value of the subtotal. And dont forget to mention the condition in the condition tab of the text node of your subtotal as only before end of main window.
    display the grand total in the text another text node with condition... only after end of main window.
    regards
    padma

  • How can I view a recto page on the right?

    This used to be automatic in old versions of Acrobat. Now that I am using Acrobat X I cannot get the view I want.  In a 2-page view, how can I view a recto page on the right and a verso page on the left? Now all I get is a recto on the left and a verso on the right! Is there a setting to view, say, a book? or some other way to get the first page to be alone on the right and the rest to be a 2-page view with pages side by side correctly?

    View > Page Display > Show Cover Page During 2-Up

  • How to put 'Continue in next page' below the table.

    Hi,
    I have an invoice where all the lines are not fitting into one page. So some of the lines are getting printed in the second page. But in this case I wanted to put a message below the first page as "continue on next page"
    Since Iam a newbie to XML/BI Publisher I kinda stuck here. Tons of thanks in advance.
    This is how I need the output
    --- PAge1 --
    heading1
    line1
    line2
    line3
    line4
    line5
    line6
    line7
    line8
    line9
    line10
    Continue on next page
    -- page 2--
    heading1
    line11
    line12
    line13
    line14
    line15
    line16
    line17
    _________

    There are so many threads for this lately,..
    Go here
    http://winrichman.blogspot.com/...
    Here is some of the thread people were desperately looking for answers :).
    how can we get "Page Continued" at footer of page.
    Re: How do I print the word "Continued" at the bottom of page in BI publisher?
    How to Display 'Continued' in second& subsequent page but not in last page?
    Re: Printing signature on footer section of every page
    Re: How to put 'Continue in next page' below the table.
    Re: How do I check the last page?
    Help needed in XML Publisher rtf file
    Re: Different value in footer
    Changing header information within a document
    Re: Invoice Page break
    Re: Footer information in very page
    Re: Check Printing
    Oops, I initially thought , there would less number of threads,
    Hope my blog helps them :)

  • Is it possible to force Firefox to load a url in a tab when opening a new page (before the page has loaded)?

    Recently when using a rather unreliable internet connection I'm often get dropped connections that prevent pages from loading.
    In the past this used to result in an "Unable to connect to server page" when the timeout happened, which was fine as I could just refresh the page.
    These days however the page is timing out when the page is still on the about:blank stage (or stuck on the current page), before the url has been updated, so I'm losing the address.
    Is there any way to force firefox to update the url as soon as the page load request is made, as opposed to when it recieves a response from the server (which is how it seems to work at the moment)?

    If you click a link then Firefox may only be showing the URL on the location bar if at least there is a connection to the server.
    If you are on Linux then it should take minutes before the connection times out, at least that is what I see (on Windows it is only 20 seconds). This might be different in case the connection drops.
    There should be a try again button of the net error page to reload this link.
    Don't you see such a button?
    You can start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • HT1918 i have recently moved from the uk to australia and cancelled my uk debit before the payment was processed for songs i bought in itunes. i have tried to edit my billing info with australian debit details but the site says 'invalid card' how can i fi

    i have recently moved from the uk to australia and cancelled my uk debit before the payment was processed for songs i bought in itunes. i have tried to edit my billing info with australian debit details but the site says 'invalid card' how can i fix this?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT204053 How to I get music I purchased before the iCloud was created to show up on my new authorized iPhone?  Right now I can only see the Apps I recently purchased on the actual phone but older music I purchased on my CPU using the same Apple ID doesn't

    How to I get music I purchased before the iCloud was created to show up on my new authorized iPhone?  Right now I can only see the Apps I recently purchased on the actual phone but older music I purchased on my CPU using the same Apple ID doesn't appear.

    Does any music show in the Purchased tab on the iTunes store app on your phone ? Music can't be re-downloaded in all countries, and even where it can be it will only appear whilst it remains in the store. Do you have your purchases on your computer and/or on a backup of your puchases so that you can sync them to your phone ?

  • How can I print a Safari page without the links being printed and cover other text?

    How can I print a Safari page without the links being printed and covering other text?

    Try printing the page as PDF.
    From your Safari menu bar click File > Print > Save As PDF then print the PDF file.
    If you don't want to do it that way, reset the print system.
    Mac OS X: How to reset the printing system

  • I am 19 days from my contract needing to be renewed and I broke my screen.    How far in advance can you renew before the actual renew day?

    I am 19 days from my contract needing to be renewed and I broke my screen.    How far in advance can you renew before the actual renew day?

    Basically it is on the day your contract ends. However some Verizon wireless corporate store managers can over ride that and update possibly a week early. But its iffy.
    Now Verizon will let you upgrade to the Edge program but you have a broken device and they will prey on you since you are desperate for a device. Edge plan is paying full price over 20 months and paying taxes on it up front, you then after paying 60% of the device off can edge up to another device. Now if you pay 60% off at anytime after 30 days you can continue to trade them in for new as much as you want.
    Or you can wait it out get a new free device under contract or reduced cost device again under a 2 year contract.
    The edge plan is no contract.
    Good Luck

  • How to display designer module version no. on the form?

    Hi,
    Does anyone know how to display designer module version no. on the form?
    Thanks in advance

    With Headstart, we suggest you create a module argument P_REVISION and manually populate this item with the current revision of your module. You can then see this argument in the 'About this Application' form that is supplied with Headstart. You could write a utility to query the module revision number for the module and populate P_REVISION with this value.
    Regards,
    Lauri

  • How can I upload my web page to the internet?

    How can I upload  my web page to the internet. When I click on "publish" it automatically takes me to mobileme - which is no longer accepting members..

    http://financialbin.com/2011/06/13/steve-jobs-confirms-discontinuation-of-iweb-i n-icloud-transition/
    I don't think you can upload pages from iWeb anymore.
    Information about the MobileMe transition

  • I have upgraded my pages in my ipad but i cant read it when i send it to my macpro? do i have to buy the apps for my imac? If i have to can I revert to the old one meaning the pages before the upgrading/

    i have upgraded my pages in my ipad but i cant read it when i send it to my macpro? do i have to buy the apps for my imac? If i have to can I revert to the old one meaning the pages before the upgrading?

    If you have iWork 09, then the latest version should be available for free in the Mac App Store. If you have the new version on your iPad, then you'll need the new version on your Mac as well. The whole point of the latest version is that you can access and edit your files equally on iPad/iPhone, Mac, and also through the iCloud website.

  • I restored my iPad and then repurchased App Pages. But I am not able to find my data saved with Pages before the restore. qwn

    I restored my iPad and then repurchased App Pages. But I am not able to find my data saved with Pages before the restore. qwn

    Those sites take a long time to load for me (almost a minute)
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns

    I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns - the first containing the name, the second containing the email address and the third containing the 'yes' or 'no'.
    Can you help me ?

    The question that needs to be answered is what is separating the columns? Is it a single tab, one or more tabs, spaces, or what?  Or is it the brackets that makes the separation between the three pieces of data?
    If it is always a single tab, that makes it really easy.  All you have to do is find/replace the brackets with nothing (as Wayne said)
    If it might be multiple tabs, you can find/replace tab-tab with a single tab and repeat that a few times until no more double-tabs are found.
    If it is one or multiple spaces, that might be difficult. I'll think about this one if this is what you have. I'll ignore this possiblility for now.
    If it is the brackets separating the three pieces of data, you would Find/Replace the left bracket with a tab then do the same with the right bracket.

Maybe you are looking for

  • How can I print a document

    under the new pages without any white stripes around a picture A4?

  • Acrobat 8.1.2 Windows 7 64 Bit

    I have Acrobat 8.1.2 and am upgrading to Windows 7 64 Bit.  Is this supported?  Is the 64 bit version on the CD or do I have to download a version that will run on Windows 7 64 bit?  If it does run, are there any serious issues? Thanx in advance, Hen

  • Files not showing up in shared folder

    I am in a network environment (8 G5 imacs and a G4 Power Mac Server) The G5's are running OSX 10.3.9 and the G4 Sever is running Max OSX Sever10.3. Two of the G5 imacs need to unmount the shared folder and remount to see new content placed in the fol

  • Music Library Auto Update

    I want to transfer songs in my iTunes library from my computer to an external HD. My question is: If I have auto update in iTunes, will my songs on my iPod be erased if there are no files in the library?

  • Formatting new Seagate FA GoFlex Desk Media for Mac

    I purchased a 2 TB external hard drive, which needs to be formatted for Mac. See details below: Name : Seagate FA GoFlex Desk Media Type : Disk Disk Identifier : disk1 Media Name : Seagate FA GoFlex Desk Media Media Type : Generic Connection Bus : US