Confirmation dialg problem

Hi!
I tried to create a confirmation dialog. When a click on the button, the confirmation dialog doesn’t appear correctly. In fact, there is just a square in (- - - - - ) line that appear in the top left corner of the screen.
Here is my code :
//@@begin onActionConfirmActivation(ServerEvent)
compCtrl = wdThis.wdGetConfigurationConsoleCompController();
IWDConfirmationDialog confirm = wdComponentAPI.getWindowManager()
.createConfirmationWindow(compCtrl.getText(ConfigConstant.MSGKEY_CONFIRM_ACTIVATE),
wdControllerAPI.getViewInfo().getViewController().
findInEventHandlers(ON_ACTION_ACTIVATE_NOW),
     compCtrl.getText(ConfigConstant.OK));
confirm.addChoice(wdThis.wdGetAPI().getViewInfo().getViewController().
findInEventHandlers(ON_ACTION_CANCEL_CONFIRM),     
compCtrl.getText(ConfigConstant.CANCEL));
confirm.open();
//@@end
The two event handler exists.
The result is a square in (- - - -  -) line.
Can someone help me?
Thanks!
Alexandre Duquette

Hi Alexander,
   Incase if your going to internalization the webdynpro better to save the text message in MessagePool.
   Access the message using text accessor and display it.
See this sample code:
IWDTextAccessor textYesAccessor = wdComponentAPI.getTextAccessor();
String tempYes = textYesAccessor.getText(IMessageSample.YES);
IWDTextAccessor textNoAccessor = wdComponentAPI.getTextAccessor();
String tempNo = textNoAccessor.getText(IMessageSample.NO);
IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
String dialogText = textAccessor.getText(IMessageSample.CONFIRM, new Object[] {values.getText(status)});
IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
IWDConfirmationDialog dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(dialogText, controllerInfo.findInEventHandlers("onActionOk"), tempYes);
dialog.addChoice(controllerInfo.findInEventHandlers("onActionCancel"), tempNo);
dialog.setWindowSize(500, 50);
dialog.setWindowPosition(WDWindowPos.CENTER);
String confirmText=textAccessor.getText(IMessageSample.CONFIRMATION__DIALOG);
dialog.setTitle(confirmText);
dialog.open();
I hope this will be useful..
Regards
Suresh

Similar Messages

  • Confirmation Mail Problem (urgent Solution) Please

    Dear Guys,
    After over the Registration Process, I want to send one confirmation mail. Mail Coding is properly worked. Only mail sent to my company id. But not to send yahoo, rediff and other things. what is the problem. I have changed the coding lot of time. But i was confused. I don't know what is the exact solution. If anybody knows please tell me. Urgent thing.

    Hi This is My JSP mail coding. Any problem in my mail coding. Please see that and tell me what did i do the errors. I dont know what errors?
    String host="mail.myCompany.com";
    String from="[email protected]";
    String to=ss;               // �ss� is JSP requestParameter name "to address";
    String subject="Confirmation Mail From MyCompany";
    String text = � Hereafter You will Access my Company mails�;
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.host", host);
    props.put("mail.transport.protocol", "smtp");
    Session mailSession = Session.getDefaultInstance(props, null);
    mailSession.setDebug(sessionDebug);
    Message msg = new MimeMessage(mailSession);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(subject);
    msg.setText(text.toString());
    Transport.send(msg);
    out.println("To: " + to);
    out.println("Subject:"+subject);
    out.println();
    out.println(text);
    response.sendRedirect("jseeken.jsp");
    Now I have installed the free smtp server. But I don't know how to configure. Please tell me the exact solutions. I am awating for your reply.
    regards
    pooja

  • Confirming Dimension problem

    Hi All,
    Please provide a solution if anyone has encountered this problem.
    I have two facts Fact 1, Fact 2 joined by confirming dimensions D1, D2,D3, D4 .
    According to my requirement I have to display in the report
    concat ( D1, D2) as column1 , F1.M1, F2.M2 with the condition that when D1>D2 then show Concat(D1,D2) as column1 else show concat(D2,D1) as column1. Please see the example to understand the req
    D1 D2 column1 F1.M1 F2.M2
    A B AB 10 20
    B A AB 15 15
    The output in the report should be
    Column1 F1.M1 F2.M2
    AB 25 35.
    But In Answers it is not displaying corectly as in the query generated it is doing a group by at the D1, D2 rather column 1.
    When I create the column in RPD it violates the confirming dimnesion and F2.M2 does not display anything.
    Is there any other way that we can configure this problem.
    Thanks,
    Bhavik

    Hi,
    try this in answers:
    column1 = case when D1>D2 then Concat(D1,D2) else Concat(D2,D1) end
    fact1 = sum(F1.M1 by (case when D1>D2 then Concat(D1,D2) else Concat(D2,D1) end))
    fact2 = sum(F2.M2 by (case when D1>D2 then Concat(D1,D2) else Concat(D2,D1) end))
    See if it works...
    Or use pivor table there it will sum by column1 by default
    Hope it helps...
    If youy find this usefull, please be free to award points.
    Regards
    Nicolae

  • Freezing Aluminum iMac - Apple Genius Bar Confirms Hardware Problems

    Good morning to all my fellow sad iMac users,
    I wanted to post a message to let you all know that I just returned from the Apple Store genius bar, and that they confirmed to me that it was a faulty graphics card.
    It was a very pleasant trip to the genius bar that I wish I didn't have to make, as I just don't have that kind of free time. In all, it only took about 15 minutes of the genius trying to recreate the screen artifacts followed by the inevitable frozen state. Once the genius saw the failure, they consulted their knowledge base and told me the video card needed to be replace. I was told that the ATI 2600 HD cards were not in stock, and that it had to be ordered, but that I would be able to pick my system up within 5 business days.
    I am still skeptical about the diagnosis, although I have always known it was hardware and not software. I am skeptical due to the good reviews the ATI Mobility 2600 has received in the PC world. However, I am very happy that someone is finally owning up to the fact that 'something' is wrong with the hardware.
    I will post again in 5 days to let you all know if the problem was fixed with the new graphics card. And I definitely urge you all to take your iMacs to your local Apple Store (if you have access to one)!
    Regards,
    Soon to be happy iMac owner (fingers crossed)...

    After 3 times on the phone with Applecare and 2.5-3 hours gone, I'm going to see a technician 1/2 hour away. Each rep I asked if they have heard of the "freezing iMac issue" and they said "yes". The second phone call the lady said the previous person didn't document what we had done, even though i had case number, and we had to start over. Well we didn't start over, I explained what we did before. She had me create new account - still could hang it in 5 min or less - then she had me try to reinstall OS. When machine reboots on Leopard DVD I selected English, then the Disk. Then I asked "where is the 'archive' option?" She says, "it is in the sequence somewhere look around" (paraphrase), I was beyond it and hit "install" thinking next step would confirm install options. Luckily it is set to archive users by default, but it about gave me a heart attack. I told her what was happening, that I thought my data may be destroyed, and her response was "good luck". I had to hang up. I should have asked for her supervisor.
    Next person was knowledgeable and reasonable. He reassured me data would be there as the default setting was to archive - thank God. I also had set up time machine previously so I was sort-of sure I had data somewhere. Still very uneasy feeling. I got data back and iMac hung 5 minutes or less after startup. Now I have to go to technician. I asked the last guy "what are chances of swapping for a new machine and admitting this thing is hosed?" He explained that it won't work this way as I was out of the return/refund time of 15 days. I explain that this is leaving a real bad impression and that I felt poked in the eye because I waited patiently for Apple's promised update, burning the return time. That was a bad gamble.
    We all learn from this stuff. I'm lucky enough to have several macs, so I can keep going, what happens to guy with one mac? Turn around time at apple store is 5 days - from technician, could be couple weeks. Ouch. I'm 3.5hours from Apple store.

  • Confirmation Dialog Problem

    Hello!
    I am facing a peculiar problem in the production system where in the confirmation dialog isn't working and the NullPointerException is getting thrown. For some reason the production server isn’t getting the handle for the event even though they are defined and the same piece of code is working fine in both Dev & QA.
    Could someone look into the code and let me know what I can do to make it work.
        try
              String dialogTxt =     "Are you sure you want to ignore changes? ";
              IWDEventHandlerInfo eventIgnore               =     wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("evtIgnoreChanges");
              IWDConfirmationDialog dialog               =     wdComponentAPI.getWindowManager().createConfirmationWindow(dialogTxt,eventIgnore,"Yes");
              IWDEventHandlerInfo eventIgnoreCancel     =     wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("evtIgnoreCancel");
              dialog.addChoice(eventIgnoreCancel,"No");
              dialog.setWindowPosition(WDWindowPos.CENTER);
              dialog.setWindowSize(250,50);
              dialog.open();
        }catch(Exception ex)
             wdComponentAPI.getMessageManager().reportException("Error ignoring changes",true);
             ex.printStackTrace();
    Thank you very much in advance.
    Regards,
    Vikram

    Hi,
    Use this code:
    IWDControllerInfo controllerInfo =
            wdControllerAPI.getViewInfo().getViewController();
          String dialogText = "Are you sure you want to ignore changes?";
          IWDConfirmationDialog dialog =
            wdComponentAPI.getWindowManager().createConfirmationWindow(
              dialogText,
              controllerInfo.findInEventHandlers("evtIgnoreChanges"),
              "Yes");
          dialog.addChoice(
            controllerInfo.findInEventHandlers("evtIgnoreCancel"), "No");
          dialog.open();
    check if you have created events with name evtIgnoreChanges & evtIgnoreCancel in your view controller.
    Regards,
    Rajeev

  • When does Apple confirm their problem with the firmware 1.1 on 5g ipods???

    I'm really frunstrated about the unwillingness from apple support to address/confirm the issue around firmware 1.1 on 5g ipods.
    I spent hours to talk to support and explain varios tests I did on that subjetct, but apple keeps saying: It's not our problem!
    Shame on apple! I really thaught apple is different, but it turns out, that between shareholder value und marketing campaines there's no space for customer care....
    Did somone suffering with the same issue (video freezes after 30 sec and continues without sound) got any better answer from apple?
    What information does apple need to confirm it's apple's problem?
    Regards, netwho
    PowerBook 12"   Mac OS X (10.4.4)  

    I have bought my 30GB iPod Video just 3days ago, and it tried to upgrade the ipod updater to 1.1.
    I have updated my ipod without a problem. And I had also updated to latest version of iTunes.
    Itunes had given error few times and closed itself while optimizing photos before transfering them to ipod. I have sorted out that it was due to my photo folder being over 2GB's, than started importing them in smaller portions by adding a new folder each time. Afterwords, photos and pictures copied to iPod without problems.(but i have to add, i have received a nonsense error like 'itunes cant write to folder or something)
    After a bit of dazzling and struggling i was able to play videos and music as well. But after few seconds iPod screen frozen and i wasnt able to do anything. I have reboot it, and tried to change songs, and after few songs, the screen frozen again, wheel was not functioning but funny part, music was still playing. I got online and checked the forums and seen other people having those problems after upgrading to new firmware. I have uninstalled the 1.1 firmware and installed the one on CD, and I have also downgraded my version of iTunes as well. Now things seems to work all fine.
    I just don't get why apple withdraws this buggy problametic version of firmware, they will drive more users go mad and not every computer/iPod user would figure out why it happened themselves...
    One more thing I have to add. Why I am also having hard to understand why each version of iTunes started consuming unbelievedable amount of RAM on computer. I have 1.4Mhz centrino with 512 RAM, and the sound distorts(slows down) over iTunes when start copying files from DVD. Or it cause errors and shutdowns 'on optimizing photos' stage on iTunes when i try to copy photos to my iPod. I don't think 1.4Mhz and 512mb ram shall be called as low resource simply to use iTunes. They really need to retest, debug and optimize their software. And immediately, remove that 1.1 firmware from apple.com until they resolve the bugs and error inside it.

  • Someone else confirm build problems with this package [handbrakegtk]

    I've tried unsuccessfully to build the handbrakegtk package in the AUR which is the only one in the AUR that gives the stable build of the GUI for this software (the official repo contains the CLI version).  Can someone else confirm that it doesn't build on their system as a sanity check for me?  I'm running Arch 2009.2/x86_64 and the system is up-to-date.
    I posted the last few lines and resulting error as a comment on the handbrakegtk's page referenced above.
    Thanks!
    Last edited by graysky (2009-04-19 19:23:03)

    Update: I think the problem is a missing dep. I looked at some deps from the other handbrake packages here and ended-up installing the following ones which led to a successful package build:
    subversion yasm iso-codes intltool gstreamer0.10-base gtkhtml cairo phonon ftjam
    Since the package in question depends on: gtkhtml ftjam yasm and intltool, it must be one or more of the following that are required to successfully build:
    subversion iso-codes gstreamer0.10-base cairo phonon
    Anyway, just wanted to pass the info along in case someone else runs into this.

  • Confirmation popup problem not sending mail

    Hi,
    I am working on apex.oracle.com
    i am sending mail to users.when i simply click on send mail button it is working fine .it is sending mail to users.
    i want to display confirmation msg before send mail to users. i created confirmation using dynamic actions.
    when i click on send mail button it raise popup. but when i click on ok button of confirmation popup.it is not sending the mail.
    where i am doing wrong. please help me to rectify the problem.
    Thanks in advance.
    Vedant

    Hi
    the code is
    DECLARE
    l_id number;
    to_add varchar2(2000);
    from_add varchar2(1000);
    l_sub varchar2(1000);
    l_temp_descrp clob;
    CURSOR C1 IS select distinct email_id from crm_cam_target_list tl where target_id in (select target_id from crm_cam_campaign_target ct where ct.CAMPAIGN_ID=:P221_X);
    REC C1%ROWTYPE;
    BEGIN
    select CAMPAIGN_NAME,FROM_EMAIL_ID into l_sub,from_add from CRM_CAMPAIGN_MAS where CAMPAIGN_ID=:P221_X;
    select TM.DESCRIPTION_IMAGE into l_temp_descrp from CRM_CAM_TEMPLATE_MAS TM,CRM_CAMPAIGN_MAS CM where TM.TEMPLATE_ID=CM.TEMPLATE_ID and CM.CAMPAIGN_ID=:P221_X;
    OPEN C1;
    LOOP
    FETCH C1 INTO REC;
    EXIT WHEN C1%NOTFOUND;
    l_id:=APEX_MAIL.SEND(
             p_to        => REC.email_id, -- change to your email address
             p_from      => from_add,
             p_body      => l_temp_descrp,
             p_body_html     => l_temp_descrp,
             P_subj      => l_sub
    end loop;
    CLOSE C1;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '11.1.9.2',
    P_SMTP_PORTNO => 25);
    UPDATE CRM_CAMPAIGN_MAS SET EXECUTE_STATUS='Y' WHERE CAMPAIGN_ID=:P221_X;
    END;Thanks & Regards
    Vedant

  • Confirm message problem

    hi folks
    i hv a JSP from where i'm calling a save record method in a .java file. During saving, i want to check whether the same data existing in the database and have to get a user confirmation to allow this duplication. My question is:
    1. Is it possible to do this without re-routing to a JSP?
    2. Are there any java functions for the same? or do we have to write a function for it?
    3. If we have to write a function ourselves, should i use swing?
    Please advise..
    Advance Thanks..

    JAIMOHAN wrote:
    hi folks
    i hv a JSP from where i'm calling a save record methodproblems #1,2, 3 and 4
    1,2,4: use proper English
    3: never do anything like that from a JSP, in fact never use any Java code at all in a JSP
    in a .java file. problem #5: you don't call methods "in a .java file", ever. Compile it first.
    During saving, i want to check whether the same data existing in the database and have to get a user confirmation to allow this duplication. My question is:
    1. Is it possible to do this without re-routing to a JSP?yes, using something like AJAX
    2. Are there any java functions for the same? or do we have to write a function for it?problem #6: use proper English. "the same" what?
    problem #7: Java has no "functions", only methods.
    And yes, you have to write your own (there are some things that can help though, in most persistence frameworks).
    3. If we have to write a function ourselves, should i use swing?Swing in combination with JSP (or any web technology), never.

  • Anyone else had issues with phone network being unavailable on iPhone 4 since updating to iOS 5.0.1? My iPhone 4 is continually searching for a network and does not find my provider. I swapped SIMs with another iPhone 4 on ios 4 to confirm device problem.

    Has anyone else had issues with phone network being unavailable on iPhone 4 since updating to iOS 5.0.1? My iPhone 4 is continually searching for a network and does not find AT&T, my provider. I swapped SIM cards with another iPhone 4 running ios 4 and established this is a device problem, not a SIM card problem.

    Does the device get any signal? 
    Sounds like the device may have had a hardware failure.  If it is out of warranty, the only option is the Out of Warranty replacement.
    AppleCare is only an option if it is still under the original warranty.

  • Confirmation reversal problem

    Hi, i have tried to reverse a confirmation with co13 t-code. i got the following error message- "future change recordings for back ground processing exists for order no xxxxx". pls advise how to reverse.

    Hi,
    Check in COGI, you are having error in goods mvt correspond to that order. Clear that error first then do CO13.
    Regards,
    Dharma

  • Production order confirmation detail problem

    Hi,
    how can i get the production order confirmation detail by sending confirmation mumber alone?
    in BAPI_PRODORDCONF_GETDETAIL, it need confirmation counter. but if i know confirmation number alone, how can i get the details? which BAPI shall i use to get the confirmation details by sending confirmation number alone?
    regards
    senthil

    Dear Senthil,
    I saw you already solved this thread.
    call function 'BAPI_PRODORDCONF_GETDETAIL'
          exporting
            confirmation              = conf_detail_2-conf_no
            confirmationcounter       = conf_detail_2-conf_cnt
         importing
         RETURN                    = i_return2
           conf_detail               = conf_detail_3 .
    In this FM there has no any tables.
    How can I get the details?
    Could you please advice me?
    Thanks in advance.
    Bishnu
    18/10/2011

  • Order Confirm screen Problems

    Dear
    We are suppressed the fileds no remaining work, clear open reservation, final confirmation, remaining work, forcast end time, Sub operation to avoid the time wasting and requirements.
    After all these configuration we are not able to find the actual start date, actaul end date. But we found the actual time field.
    Even These actual start date fields are not suppresed. What will be the reason ?

    You have to keep the selection of Execution start date, time & execution end date, time .
    Then u will get the start date, finish date
    thenna

  • Open follow up transaction type screen automatically after confirm account

    Hi Gurus,
    I have a transaction type Z010 for interaction record that is copied from standart 0010 transaction type.
    I define dependent transaction type SRVO that is service order as a follow up of Z010
    My requirement is to open automatically open service order screen after confirming account
    As agents must do everything vey quickly while they are on phone, it is needed urgently.
    Now they have to open Z010 interction record screen, have to press follow up button, click to clipboard and then can open the scrren of service order.
    How can we automatically open service order screen after confirming account??
    I will be very pleased if you will help...
    Thanks.

    Hi Denis, thanks for reply.
    I read it and see that interaction record is automatically created. How can it be made, is it a standard customizing?? Our interaction record is created automatically when follow up process-it is service order here- is created. First we confirm customer, then press to Interaction Record at the left hanside, then in this screen we press follow-up button, then click on Activity Clipboard, then service order screen is opened. I want to pass two steps, pressing Interaction Record and pressing follow up record, how can I do this??
    Exactly I have to define process type Business Activity for interaction record, I can't give Service Order process type directly to interaction record. Service Order type must be dependent to business activity, is it true?? If there is a way to directly giving service order type as an interaction record type, and making interaction record creation automatically after confirming, my problem is solved as very well.

  • Problem with Projector and Fullscreen

    Hi,
    Can anyone confirm a problem with fullscreen in the latest
    player 9,0,115,0:
    When I use getURL to launch a browser window, or make an exec
    call with
    fscommand, the standalone projector jumps out of fullscreen.
    quote:
    fscommand("fullscreen", true);
    and
    quote:
    on(release){
    getURL("
    http://www.mylink.com",
    "_blank");
    I'm using CS3.
    Any ideas?

    I dont know really but i read here
    http://www.adobe.com/devnet/flash/articles/first_as3_application.html
    they the getURL() function was removed from CS3 and the new is
    URLRequest(); Try with this one i get it from the upper link
    import flash.net.*;
    var url = "www.google.com";
    var request:URLRequest = new URLRequest(url);
    try {
    navigateToURL(request);
    catch (e:Error) {
    // Handle error...
    }

Maybe you are looking for

  • Move iWeb MobileMe Blog to Wordpress

    I had to migrate my private Blog about my 2 years old little daughter from Apples mobileme servers to a wordpress account. I wanted to keep all the comments too (Marlas birth..). So i wrote a perl script to do the job. It is far from beeing perfect,

  • Anyone know if Mountain Lion resolves the rapid battery drain associated with Lion?

    When I installed Lion on my MacBook Pro, I, like many other forum users, noticed a dramatic drop in battery life. No matter what troubleshooting measures I took at the behest of Apple Geniuses, the battery life dropped from a high of about 8 hours to

  • Problem in delta management for custom fields added in standard Table

    Hi developers, we have a problem, when a sales order is modified in a field custom, added in tables (VBAP-VBAK), the delta BW doesn't recognize the modifications. The data type of these fields haven't the flag (Change document) setted in view Definit

  • FM to get Purchase Contracts

    Hi, kindly let me know if there any Function Module which will take materials as input and give purchase order details?

  • IPhoto Diet

    Hi, its late and I'm not very technical - can anyone help me with iPhoto Diet? http://www.rhythmiccanvas.com/software/iphotodiet/index.html I was installing it just now (died on me half way through for some reason, am going to try again when I have t