How to display message in the alert box

hi every  one,
i am inserting some data into the fields and selecting the button to insert.
but it is inserting even fields are empty..
i want to display "so and so field is empty.. please enter"
it should display  a box and return if u press ok.
how to do this

Hi,
I think this code will help you.
public void onActionAddressSelected(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionAddressSelected(ServerEvent)
          String dialogText = "Would you like to fetch this EmaiId ?";
         IWDConfirmationDialog dialog = wdThis.wdGetLoginController().wdGetAPI().getWindowManager().createConfirmationWindow(dialogText,wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("Yes"),"Yes");
          dialog.addChoice(wdThis.wdGetAPI().getViewInfo().getViewController().findInEventHandlers("Cancel"),"Cancel");
          //dialog.addChoice(eventHandler,"OK");
          dialog.setWindowPosition(WDWindowPos.CENTER);
          dialog.open();
          //wdThis.wdGetLoginComponentController().fireAddressSelectedEvent();
    //@@end
Regards,
Karthick

Similar Messages

  • There used to be a preview window in mail where you could read the message in the mail box but now its gone. It just shows me who its from and the date. I now have to click on the message twice to get it to display. How do I get the preview box back?

    There used to be a preview window in mail where you could read the message in the mail box but now its gone. It just shows me who its from and the date. I now have to click on the message twice to get it to display. How do I get the preview box back?

    There is a bug in Mail triggered by receiving a password-protected PDF as an attachment. According to reports, the bug is fixed in OS X 10.8.5.

  • Message missing from alert box & Can you disable everything until user selects an answer?

    Question 1 - My alert box window is working, and the title and buttons function as they should, but does anyone know why my message is not showing up?
    Question 2 - How do you program the alert box window so that no other buttons on your application work until the user selects one of your alert window buttons? I can do this manually by setting everything to enabled = false, but I know this happens automatically every other time I've used the alert window component, but it's not working for me now.
    Question 3 - How can I prevent multiple alert windows from popping up? My alert comes up when a user clicks a button called 'Delete'. Would be solved if I had the answer to question 2.
    var myMess:String = '';
    var myTitle:String = '';
    function confirmDelete(){
        selectedAlt = list_dg.selectedItem.ALT_CODE;
        myMess = "Are you sure you want to delete this ALT code: "+selectedAlt+"?";
        myTitle = "Confirm Delete ALT Code Function                                                    ";
        var alertBox:Object = Alert.show(myMess,myTitle,Alert.YES|Alert.NO,this,deleteConfirmHandler);
        alertBox.setSize(450, 125);
    // HANDLER FOR CONFIRM DELETE ALT ALERT WINDOW
    deleteConfirmHandler = function(evt_obj:Object):Void {   
        var myAnswer = evt_obj.detail;
        // returns 1 if yes, 2 if no.
        if (myAnswer == 1){
                deleteAlt();
        else {   
            altDetail.moveAssign_btn.enabled       = false;
            altDetail.moveAvail_btn.enabled        = false;
            altDetail.avail_list.selectedIndex     = null;
            altDetail.assigned_list.selectedIndex  = null;

    I think you were on the right track, it did have something to do with the parent fla file. Once I complied it's parent file (and imported the window and alert classes into the parent), my message appeared in the alert box.
    It doesn't make any sense, because the component is not in the parent file, it's in the sub-parent fla file, but I guess you just have to compile all the files in the hierarchy for it to work... It also doesn't make sense why everything else worked before (the title, the yes and no buttons) except for the message.
    Thanks for the suggestion (to look at the depths, etc), however, I'm still unable to understand why the alert is not modal as it should be. If anyone has any suggestions on how to fix the buttons to make them modal, please let me know. Thanks.

  • Polish , turkish text not decoding in the alert boxes in JSP file

    Hi All,
    Currently I am working on application in the J2ee development perspective in NWDI  and this contains many Jsp pages.As per the business requirement we need to make this application support Polish and turkish languages , for this we have maintained properties files .
    I have encoded the polish and turkish text using the u201CHTML Unicode format encodingu201D hence when checked the url in the IE with Polish and turkish locale all the characters are getting decoded properly ,but i have a proplem with the text in the alert boxes i.e. the special characters in the text displayed in the alert boxes is not getting  decoded at all eg:"Wprowadź numer konta BP" whereas it has to display as "Wprowadź numer konta BP:
    Also i have used java encode also to achieve the same and for this "?" is getting displayed i.e. it is not getting properly decoded.
    I have also used native2ascii method in this also it is getting decoded but not correctly i.e. "?" is displayed
    Please note that the alert boxes are written in the script tag in the JSP page.
    Request you to kindly help me in resolving the issue at the earliest as this is a very critical issue in my project now.
    Thanks and Regards,
    Nishita Salver

    Hi nishita,
    We had a similar problem in one of my projects, but what i remember is we have kept the ascii value for that character directly in the properties files and tried to encode it, this way i resolved my problem.
    Try this way and let me know the result.
    Regards,
    Saleem Mohammad.

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    Take a look at this document that discusses how to monitor IMAQ memory usage:
    http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
    Hope this helps -
    Julie

  • How can I re-locate the 'Title' box on the first slide of my slideshow??

    how can I re-locate the 'Title' box on the first slide of my slideshow??

    You can't.  It's not a user controllable feature.
    OT

  • Can I reduce the message in the alert log ?

    Hi All,
    I receive lot of message in my alert log. Can I reduce the message in the alert log ? please help me
    Tue Sep 12 13:53:45 2006
    ARC0: received prod
    Tue Sep 12 13:56:13 2006
    LGWR: prodding the archiver
    Thread 1 advanced to log sequence 2105494
    Tue Sep 12 13:56:13 2006
    Current log# 4 seq# 2105494 mem# 0: E:\ORACLE\MMP\LOG\REDO04.LOG
    Current log# 4 seq# 2105494 mem# 1: C:\ORACLE\MMP\LOG\REDO04.LOG
    Tue Sep 12 13:56:14 2006
    ARC1: received prod
    Tue Sep 12 13:56:14 2006
    ARC1: Beginning to archive log# 3 seq# 2105493
    ARC1: Completed archiving log# 3 seq# 2105493
    ARC1: re-scanning for new log files
    ARC1: prodding the archiver
    Tue Sep 12 13:56:18 2006
    ARC0: received prod
    Tue Sep 12 13:58:26 2006
    LGWR: prodding the archiver
    Thread 1 advanced to log sequence 2105495
    Tue Sep 12 13:58:26 2006
    Current log# 1 seq# 2105495 mem# 0: C:\ORACLE\MMP\LOG\REDO01.LOG
    Current log# 1 seq# 2105495 mem# 1: E:\ORACLE\MMP\LOG\REDO01.LOG
    Tue Sep 12 13:58:27 2006
    ARC1: received prod
    Tue Sep 12 13:58:27 2006
    ARC1: Beginning to archive log# 4 seq# 2105494
    ARC1: Completed archiving log# 4 seq# 2105494
    ARC1: re-scanning for new log files
    ARC1: prodding the archiver
    Tue Sep 12 13:58:31 2006
    ARC0: received prod

    Hi,
    The Oracle database writes an audit trail of the archived redo log files received from the primary database into a trace file. This parameter specifies the level of trace that should be generated when redo logs are archived. The value of the parameter indicates the level of trace to be generated.
    Level      Description
    0      Disabled (default)
    1      Track archival of redo log file
    2      Track status of each archivelog destination
    4      Track archival operational phase
    8      Track archivelog destination activity
    16      Track detailed archivelog destination activity
    32      Track archivelog destination parameter changes
    64      Track ARCn process state activity
    128      Track FAL server related activities
    It can be used in a Primary Database or Standby Database
    for more details see:
    http://docs.nojabrsk.ru/sol10/B12037_01/server.101/b10823/trace.htm
    Cheers

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisitio​n VI to predict when it is time to cease the acquisitio​n to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    got these vi's off ni site a while ago - see if they help
    Attachments:
    Memory_Monitor.zip ‏132 KB

  • How do you set up the alert for FaceTime with sound

    How do you set up the alert for FaceTime with sound?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
     Cheers, Tom

  • I'm wondering how to display "bullets" from the bottom to the top (last to first) in a slideshow.  Can anyone help?

    I'm wondering how to display "bullets" from the bottom to the top (last to first) in a slideshow.  Can anyone help?

    Select the set of bullets. Go to the "Build" panel of the Inspector. Choose "Build In". Choose your effect. Select "By Bullet Group" under delivery.
    Be sure to experiment with the various options.

  • HT3211 new, how do i turn off the dialog box at bottom left that is giving commands for macbook air?

    new, how do i turn off the dialog box at bottom left that is giving commands for macbook air?

    try "command+F5"

  • How to send messages to the specified user through sap

    how to send messages to the specified user through sap

    Hi Santosh,
    try:
        CALL FUNCTION 'TH_POPUP'
             EXPORTING
                  CLIENT         = SY-MANDT
                  USER           = BNAME "User you want
                  MESSAGE        = MSG "text you want
             EXCEPTIONS
                  USER_NOT_FOUND = 1.
    Regards, Dieter

  • How do we turn off the alert emails when we do a search with find my iphone?

    How do we turn off the alert emails when we do a search with find my iphone?

    You are not talking to Apple on here, we are all fellow users and not Apple employees.  You can comment to Apple by giving feedback at http://www.apple.com/feedback
    What we have heard is this 'feature' was added as a result of the high-profile downloads of celebrity photos from iCloud accounts.

  • When my Firefox language settings are fr_fr or fr_ca Firefox does not display the e with acute accent character correctly when it is displayed in a javascript alert box. However, it does display it correctly when my language settings are just fr. Please t

    Firefox does not display the e with acute accent character correctly from a javascript alert box when my browser language settings are fr_ca or fr_fr. However, it does it correctly when my browser language setting is fr. How do i get it to display e with acute accent and other iso8859 characters correctly in a javascript alert box when my browser language settings are fr_fr and fr_ca?
    == This happened ==
    Every time Firefox opened

    Use Unicode (UTF-8) for those characters.
    Then you will always be sure that they are displayed correctly.

  • I'm embarrassed to ask this: when I click to initiate a new email message in the "From" box it automatically chooses the wrong email address (I have three but use one mainly). How can I get the right choice to appear automatically?

    I'm embarassed to ask this: when I click on the new mail icon to write a new email message, in the box "FROM" appears the wrong email address: I have three but mainly use one. How can I correct this so that the right email address appears in the "FROM" box?

    I assume this is Apple Mail. Try this:
    Preferences > Accounts > your-first-account
    Select Outgoing Mail Server of account/name you wish to use and check Use only this server
    Repeat for other accounts.

Maybe you are looking for

  • Is this problem caused by a template error?

    Hi Everyone, I hope someone can help me. I'm integrating APEX with BIP to run some reports and generate PDF files. This issue wasn't happening before. It was working okay. This is our current running environment: APEX 3.2.0.00.27 BIP 10.1.3.4.0 Oracl

  • T code: S_ALR_87012052

    Hi All, I need to modify the report output of t-code S_ALR_87012052. In order to make the changes, I am trying to run and see what coulmns does the report have currently so that I can make the changes accordingly. When I ran it, it is coming out with

  • With iCloud where be my music, books and Apps?

    In iTunes you can manipulate the music, Apps, Books, Ringtones, TV, Movies, and Podcasts that you want to sync to your iOS devices. In iCloud I know there is an ability to toggle The Camera Roll, and App data on and off, but there doesn't seem to be

  • TS1363 how to unlock my ipod nano when i have forget code

    how to unlock my ipod nano when i have forgot code

  • SP10 - multiple approver problem with CUP

    We have SP10 (patch 1) in our development system and cannot move forward to production because of a real show stopper.  I have currently reported this to SAP thru an OSS message (and it is in development) but would like to know if anyone else is havi