Using applescript how do i create a dialog box and have several possible inputs lead to the same result not using the "else" command

What i am trying to do is create a program that lets the user have a small conversation with the computer but i don't want to use "else" and list the possible inputs seperatley and have to write the same thing over and over again. does anyone know of a way i can list possible inputs together and have them lead to the same result?

Your script asks the question twice because that's what you tell it to.
The first line of your script asks the question:
display dialog "hey" default answer ""
then you define your lists:
set mylist to ("hi", "hey")
set mylist2 to ("sup", "yo")
Then you ask the question again. This time you capture the result in theanswer:
set theanswer to text returned of (display dialog "hey" default answer "")
The simple solution is to nix the first line of your script, since it serves no useful purpose.
Then, your logic on checking the answer is flawed. If you look at the script in a formatted/indented manner you'll see:
if theanswer is in mylist then
  display dialog "what's up"
          if theanswer is in mylist2 then
  display dialog "dude"
          end if
end if
where you can see that theanswer has to be in mylist for any of the rest of this code to run - that includes checking to see if theanswer is in mylist2.
You need to separate this, either into two separate if statements:
if theanswer is in mylist then
  display dialog "what's up"
end if
if theanswer is in mylist2 then
  display dialog "dude"
end if
or by using an else statement:
if theanswer is in mylist then
  display dialog "what's up"
else if theanswer is in mylist2 then
  display dialog "dude"
end if
In the first case both checks are performed. In the second case, the second check is only performed if the first one fails (i.e. theanswer has to NOT be in mylist in order for mylist2 to be checked)

Similar Messages

  • HT4865 I don't have enough storage space on my iPhone 4S to download the new OS7 so how do I save it to iCloud and remove it from my iPhone to make room but not loose the deleted stuff from iCloud?

    I don't have enough storage space on my iPhone 4S to download the new OS7 so how do I save it to iCloud and remove it from my iPhone to make room but not loose the deleted stuff from iCloud?

    You can't use iCloud like that.  It isn't a general file storage service; it's designed to sync data across your devices. 
    Some options are to sync all your music or other media off your device, then sync it back on after you update.  Another is to import your photos to your computer (http://support.apple.com/kb/HT4083), then sync them back to your phone after you update by putting them in a folder, then selecting the folder on the Photos tab of your iTunes sync settings and syncing.

  • I ,have an iphone4 16gb ,brought in uk,it does not supports the india networks ,how to unlock it ,pls help me., I ,have an iphone4 16gb ,brought in uk,it does not supports the india networks ,how to unlock it ,pls help me.

    I ,have an iphone4 16gb ,brought in uk,it does not supports the india networks ,how to unlock it ,pls help me., I ,have an iphone4 16gb ,brought in uk,it does not supports the india networks ,how to unlock it ,pls help me.

    Have you asked your mobile phone operator to turn on roaming for you? and if you have you will need to turn on DATA ROAMING on the iPhone by going to SETTINGS > GENERAL > MOBILE DATA and turn on DATA ROAMING. You should then be able to see the various Indian Networks listed in SETTINGS > CARRIER and be able to make/receive calls.
    If you are in India and didn't ask for Roaming to be activated on your mobile account you're stuck until you return to the UK.
    OR
    If you have a 'locked' phone that is tied to the UK operator then you will need to find a phone shop that unlocks iPhones but beware this invalidates any Apple Warranty. If you are still in the UK then phone the mobile operator and ask then to unlock your iPhone which they usually do if its not in a contract with them or at the end of the contract period.
    Hope that helps a little, Andrew

  • How do I create timed dialog box, so if no selection is made in the pop up within 10 seconds it goes away?

    I would like the dialog box to ask the user to select "OK" or "Cancel" if no activity within 10 seconds the dialog box goes away.
    Thanks.

    In 15 years, I have never ported my code to a different platform, nor has anyone tried to port my code to a different platform.  While my case is not indicative of everyone's, the insistence of platform independence is widely overblown since I dare say most of us will never see code moved.
    What's easier - trying to figure out how to write your own code (especially if it is something you plan to reuse and especially if you are a more inexperienced programmer), or using a canned API function that is already ready to be dropped into your code, offers additional functionality that isn't easily available in LabVIEW?    Not to mention that the message box looks like every single message box a user is used to seeing on the platform.  It supports the standard Windows sounds for a message, the standard Windows icons can be included, and modality beyond LabVIEW is supported as well.
    billko wrote:
    Matthew_Kelton wrote:
    You can use an undcoumented Windows function (assuming you're using Windows).  It will display a message box for a fixed time ( a value of 0 means it will not disappear).  I posted a zip file of code that calls this function in this thread:
    http://forums.ni.com/t5/LabVIEW/Displaying-a-popup-message-in-front-of-other-running-programs/m-p/16...
    I'm not sure that tying the code to a particular platform is the best way to go.
    Plus, it just seems to be way easier to use an event structure with a timeout.

  • How can I get past dialog box that wants my country/region?  Premiere Elements 13 will not open!!!

    Cannot get past the country/region dialog box because the list will not allow me to select the United States as the place where I live.  The list is too long and no way to get to the bottom to select the United States!!!  I can't get into Premiere Element 13.

    TNDOGGER888
    Thank you for the reply.
    Let us start with
    1. Is the computer operating system Windows 7, 8, or 8.1 64 bit? If it is and you are installing Premiere Elements 13, then the program files will go by default to Local Disk C/Program Files/Adobe/Adobe Premiere Elements 13 as the default location. If you have a computer that is using other than Windows 7, 8, or 8.1 64 bit, then it will not. Another question is, when your drives were set up, was the SSD drive designated the C drive?
    2. From what you wrote, I understood that you were using your installation files or installation disc to install the program, but were getting stopped very early in the installation process because you could not set the country/language. Typically that setting is done while you are starting the installation. One of the early dialog boxes that you get in that process is named Choose Setup Language (or something like that). That is where I believed you could not set the country/language. Is that the place to which you were referring or some place else?
    3. You do not need to uninstall Premiere Elements 10 to install and run Premiere Elements 13. Just use one program at a time.
    Typically 32 bit applications in a 64 bit computer operating system run in the 32 bit compatibility mode of the 64 bit system. And, these 32 bit applications program files will be in Program Files (x86) Folder. The 64 bit applications program files would be in Program Files. With regard to Premiere Elements 10, some of its files may be found in Program Files and Program Files (x86).
    But, the main focus now is getting Premiere Elements 13 installed to the default location on the Local Disk C/Program Files/Adobe/Adobe Premiere Elements 13 during the installation process after you designate the country/language and are given a country dependent NTSC or PAL system with which to work.
    From a quick look at 13 installation on Windows 7 64 bit, the first installation dialog that mentions language with country implications is
    This is for Premiere Elements 13 on Windows 7 or 8.1 64 bit. Since you say that the United States is further down the list in your case, I suspect this is not the place where you are having problems. Note the default location in this Options dialog. Did you leave that as is or change it to something else?
    Are you having these issues when you get to the Sign In dialog or some place else?
    Please consider and then let us decide what next.
    Many thanks for the follow up. Appreciated.
    ATR

  • How to remove Trip schema dialog box and default it in tcode PR05.

    Hi all,
    In Travel Expense Manager(PR05) when we create a travel expense a popup will appear where we need to select the trip schema from the dropdown. Here i need to remove the popup and make one trip schema as default. Is it possible through config or need to enhance it.
    Let me know some idea on this.
    Thanks and regards,
    Arun.
    Edited by: Arun Kumaran on Jun 21, 2010 1:55 PM

    Hi,
    If you want to make the trip schema as default to the travel type, you can do it in define schema & individual field control. But still the pop will come to select the trip schema and if you donu2019t want the step to be performed by employee.
    Then you need to hardcore it by defaulting trip schema to trip activity type application.
    Hope this helps.
    Regards,
    S.Srikanth

  • Apple update ruined my playlists, they are no longer on my ipod and playlist i didnt have are. how can I get mine back. And i am missing songs that appear in itunes but not on the ipod?

    apple update erased my playlists, they are no longer showing on my iTunes. I am missing songs that do appear in iTunes and should be on the ipod but are not, and new playlists that I didn't have are now where mine should be. Any suggestions as to getting "MY" ipod back?

    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all music and resync
    To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • New to Dialog Boxes and I'm stuck

    Seems there is no way to format a field in a Dialog Box. How can a field be checked to determine if the correct type of data was entered in it, when the user moves to the next field, before data is committed?
    I am stuck on how to limit the number of characters entered into the postal code and phone fields. I want to limit the number of numeric characters that can be entered in each phonenumber field ie  3 numbers, 3numbers and 4 numbers (999 999 9999)  And postal code field ie 3 characters and 3 characters (A9A 9A9)
    Also, once the user enters the required number of characters in the phone and postal code fields, the code should tab to the next field. And yes, I read about tab_first and next_tab, but don't understand how it works. The way I see it working is that once a phone or postal code field is filled with the required number of characters, control automatically tabs to the next field.
    I am using Adobe Acrobat Professional 8
    This code was written by trail and error using examples from various sources ie Acrobat JavaScript Scripting reference - version 7.0.5, Acrobat JavaScript Scripting Guide - version 7.0, and I have very little experience in creating a dialog box and its code - forgive the mess.
    //============================================================================
    var goon=true;
    var result;
    var address;
    var city;
    var province;
    var sign;
    var postalcodea;
    var postalcodeb;
    var homephone;
    var homephoneareacode;
    var homephoneprefix;
    var homephonenumber;
    var businessphone;
    var businessphoneareacode;
    var businessphoneprefix;
    var businessphonenumber;
    address = this.getField("Text1-2-Address").value;
    city = this.getField("Text1-2-City").value;
    var provincelist = new Array();
    provincelist[1] = " ";
    provincelist[2] = "Alberta";
    provincelist[3] = "British Columbia";
    provincelist[4] = "Manitoba";
    provincelist[5] = "New Brunswick";
    provincelist[6] = "Newfoundland & Labrador";
    provincelist[7] = "Northwest Territories";
    provincelist[8] = "Nova Scotia";
    provincelist[9] = "Nunavut";
    provincelist[10] = "Ontario";
    provincelist[11] = "Prince Edward Island";
    provincelist[12] = "Québec";
    provincelist[13] = "Saskatchewan";
    provincelist[14] = "Yukon";
    var sign = new Array();
    for (var i=0; i<15; i++)
                sign[i] = "-";
                if(provincelist[i] == this.getField("Client's Full Province Name").value)
                            sign[i] = "+";
    postalcodea = "";
    postalcodeb = "";
    if(this.getField("Text1-2-Postal-Code").value != "")
                postalcodea = this.getField("Text1-2-Postal-Code").value;
                postalcodea = util.printx("A9A", postalcodea);
                postalcodeb = this.getField("Text1-2-Postal-Code").value;
                postalcodeb = postalcodeb[4]  + postalcodeb[5] + postalcodeb[6];
    homephoneareacode = "";
    homephoneprefix = "";
    homephonenumber = "";
    if(this.getField("Text1-2-Home-Phone-Number").value != "")
                homephone = util.printx("9999999999", this.getField("Text1-2-Home-Phone-Number").value);
                homephoneareacode = homephone[0] + homephone[1] + homephone[2];
                homephoneprefix = homephone[3] + homephone[4] + homephone[5];
                homephonenumber = homephone[6] + homephone[7] + homephone[8] + homephone[9];
    businessphoneareacode = "";
    businessphoneprefix = "";
    businessphonenumber = "";
    if(this.getField("Text1-2-Business-Phone-Number").value != "")
                businessphone = util.printx("9999999999", this.getField("Text1-2-Business-Phone-Number").value);
                businessphoneareacode = businessphone[0] + businessphone[1] + businessphone[2];
                businessphoneprefix = businessphone[3] + businessphone[4] + businessphone[5];
                businessphonenumber = businessphone[6] + businessphone[7] + businessphone[8] + businessphone[9];
    var dialog2 =
                initialize: function(dialog)
                             dialog.load(
                                                     stat:     "Client Address and Phone Information is required in forms you are about to link to. To save time, enter Address and Phone Information before linking to these documents.",
                                                    str1: address,
                                                    str2: city,
                                                    stra: postalcodea,
                                                    strb: postalcodeb,
                                                    str5: homephoneareacode,
                                                    str6: homephoneprefix,
                                                    str7: homephonenumber,
                                                    str8: businessphoneareacode,
                                                    str9: businessphoneprefix,
                                                    sts1: businessphonenumber,
                                                    str3:
                                                                "  ": (sign[1] + "1"),
                                                                "Alberta": (sign[2] + "2"),
                                                                "British Columbia": (sign[3] + "3"),
                                                                "Manitoba": (sign[4] + "4"),
                                                                "New Brunswick": (sign[5] + "5"),
                                                                "Newfoundland & Labrador": (sign[6] + "6"),
                                                                "Northwest Territories": (sign[7] + "7"),
                                                                "Nova Scotia": (sign[8] + "8"),
                                                                "Nunavut": (sign[9] + "9"),
                                                                "Ontario": (sign[10] + "10"),
                                                                "Prince Edward Island": (sign[11] + "11"),
                                                                "Québec": (sign[12] + "12"),
                                                                "Saskatchewan": (sign[13] + "13"),
                                                                "Yukon": (sign[14] + "14"),
                cancel: function(dialog)
                            return;
                destroy: function(dialog)
                            return;
                commit:function (dialog)
                            results = dialog.store();
                            var elements = dialog.store() ["str3"]
                            province = "";
                            for(var i in elements)
                                        if(elements[i]  > 0)
                                                    province = i;
                            return;
                            description:
                            name: "Address and Phone Information",
                            //align_children: "align_left",
                            //type: "static_text",
                            //char_height: 9,
                            //width: 350,
                            //height: 75,
                            elements:
                                                    type: "cluster",
                                                    name: "",
                                                    align_children: "align_left",
                                                    elements:
                                                                            align_children: "align_top",
                                                                            alignment: "align_fill",
                                                                            type: "view",
                                                                            width: 254,
                                                                            elements:
                                                                                                     alignment: "align_fill",
                                                                                                     bold: true,
                                                                                                     font: "default",
                                                                                                     char_height: 9,
                                                                                                     italic: true,
                                                                                                     item_id: "stat",
                                                                                                     multiline: false,
                                                                                                     type: "static_text",
                                                                                                     width: 150,
                                                                                                     height: 50,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "Address: "
                                                                                                     item_id: "str1",                         
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 60,
                                                                                                     height: 20,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "       City: "
                                                                                                     item_id: "str2",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 16,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "Province: "
                                                                                                     item_id: "str3",
                                                                                                     type: "popup",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 16,
                                                                                                     type: "static_text",
                                                                                                     name: "Postal Code: "
                                                                                                     item_id: "stra",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "strb",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                            type: "view",
                                                                            align_children: "align_distribute",
                                                                            elements:
                                                                                                     type: "static_text",
                                                                                                     name: "Home Phone Number: ("
                                                                                                     item_id: "str5",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     next_tab: 3,
                                                                                                     type: "static_text",
                                                                                                     name: ")"
                                                                                                     item_id: "str6",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "str7",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 4,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "Business Phone Number: ("
                                                                                                     item_id: "str8",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: ")"
                                                                                                     item_id: "str9",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 3,
                                                                                                     height: 20,
                                                                                                     type: "static_text",
                                                                                                     name: "-"
                                                                                                     item_id: "sts1",
                                                                                                     type: "edit_text",
                                                                                                     alignment: "align_left",
                                                                                                     char_width: 4,
                                                                                                     height: 20,
                                                    alignment: "align_center",
                                                    type: "ok_cancel",
                                                    ok_name: "Continue",
                                                    cancel_name: "Cancel"
    var dialog3 =
                initialize: function (dialog)
                cancel: function(dialog)
                            goon=false;
                            return;
                destroy: function(dialog)
                            return;
    while (goon)
                result = app.execDialog(dialog2);
                if (result=="cancel")
                            goon=false;                  
                if (result=="ok")
                            this.getField("Text1-2-Address").value = results["str1"];
                            this.getField("Text1-2-City").value = results["str2"];
                            this.getField("Client's Full Province Name").value = province;
                            this.getField("Text1-2-Postal-Code").value = results["stra"] + " " + results["strb"];
                            this.getField("Text1-2-Home-Phone-Number").value = results["str5"] + results["str6"] + results["str7"];
                            this.getField("Text1-2-Business-Phone-Number").value = results["str8"] + results["str9"] + results["sts1"];
                            goon=false;

    If you know a link that has what he wants, wouldn't it be prudent just to provide that?
    I got overwhelmed trying to understand all of the different related elements of the Flash family when I was starting, so I know what that's like. Roughly (and Ned might want to correct or clarify some of this), Actionscript 3 is the programming language Flash/Flex/AIR content is based upon. Flash is a blanket term encompassing the developing environment (Flash Pro), code libraries, and runtime (Flash Player). AIR is a runtime environment built upon Flash Player, but with added functionality and cross-platform support. Flex is an extension of Flash, offering MXML components in addition to the libraries available in Flash Pro. Adobe intends for you to use Flex with Flash Builder, a separate IDE built upon Eclipse.
    I haven't used MXML yet, but my impression is that (at least in Flash Builder) it is functionally similar to WYSIWYG editing in Microsoft's Visual Studio.
    If you are developing games, you can edit entirely in Flash Pro, entirely in Flash Builder, or combine both of them. Flash Pro lets you put code on the timeline, which can make some coding much easier, but also makes it very, very easy to write messy and disorganized code. Flash Builder doesn't provide access to the timeline and is intended for class-based development. Personally, I like to combine the two, writing some timeline code in Pro and doing my class files in Builder, but I'm not the greatest developer.
    As a heads-up, the code editor in Flash Pro is absolutely terrible, and is full of bugs that have existed for many generations, because Adobe wants you to buy Flash Builder for the additional $600, but if you are a student or "unemployed", you can get FB for free from Adobe.

  • How do you change the background color not of the video clip, but the background the clip is on?

    How do you change the background color upon which the clip resides...
    I don't want to change anything within the clip itself, but the matte(?)
    from black to white or cream.
    I am working with Elements 10...

    Create a color matte of the desired color and place it on video track 1.  Then place your video on track 2.
    from here: Adobe Premiere Elements Help | Creating specialty clips
    Create a colored matte for a background
    You can create a clip consisting of a full‑frame matte of solid color, which you can use as a solid background for titles or animated clips.
    Brightly colored mattes can serve as temporary backgrounds to help you see transparency more clearly while you adjust a key effect.
    Click Project Assets. 
    In the Project Assets panel, click New Item from the panel options and choose Color Matte. 
    Choose a color in the Adobe Color Picker dialog box, and click OK. 
    A color matte clip is placed into both the Project Assets panel and the Expert view timeline.

  • Print Dialog box and User Code on Reader 10

    Hello,
    I recently updated to Adobe Reader 10 and when I go to print there is apparently a new adobe print dialog box. Which is ok except that it doesn't seem to get my user code info. When I print using the printer... button it prints fine. But if I push ok from the new adobe print dialog it causes an authentication error in the log on the printer. Is there anyway to put in my user code to adobe reader so I don't have to do this extra step? Can I turn off the new Adobe print dialog box and have it just go directly to the OS print dialog box like it used to?
    Thanks,
    dave

    Can you tell us if you are using Windows of Mac OS? The Mac OS version of Reader has a Printer button on the bottom of the Print dialog box that brings up the standard printer dialog box.

  • How do I create a multiple find and replace for Excel in AppleScript?

    I have a large dataset in Excel that I have to do a multiple find/replace in (changing USPS state abbreviations to their full names). In searching the Microsoft boards--I was directed to use Applescript, and even the documented help with Excel was recommeding this. Unfortunately, there wasn't much help potinting me in the specific direction I needed. Any ideas on how I should write this script?
    Thanks!

    I'm confused as to why Applescript (or any script would be helpful).
    You'd have to type the abbreviation and the full name into the script, the same as just using Find and Replace All. You wouldn't gain anything by using a script. Is there more to this task than you've let on?
    MacTech has an article on converting from VBA to Applescript, but I'm not sure if it would have any ideas on your specific problem: http://www.mactech.com/vba-transition-guide/index-toc.html

  • How to create Information Dialog boxes in web Dynpro

    Hi,
    'm new to webdynpro.
    Can any body help me to create a dialog box.
    I would like to know how to create dialog boxes of type information, confirmation and warning
    expects reply
    thanks
    smitha

    to create confirmation dialog I tried the code
         IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
        String dialogText = "The email was successfully sent!";
        IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow( dialogText, controllerInfo.findInEventHandlers("ok"), "ok");
        dialog.addChoice(controllerInfo.findInEventHandlers("newEmail"), "new email");
        dialog.open();
    and I got error like:
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.clientserver.window.ConfirmationDialogDelegate.<init>(ConfirmationDialogDelegate.java:58)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createConfirmationWindow(ClientComponent.java:926)
         at com.enteg.systallocpkg.LoginView.onActionLogin(LoginView.java:157)
         at com.enteg.systallocpkg.wdp.InternalLoginView.wdInvokeEventHandler(InternalLoginView.java:137)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I don't know how to solve this
    can any body help me
    Smitha

  • How to create conditional dialog box

    Hi Everyone
    I am creating a database application in APEX 4.0. In that application a page requires a dialog box, which has to appear when a user clicks on Submit button.
    It has to consider validations and appear after validations and submit button is clicked. Here the Submit button submits the entire page after validations by updating the database table.
    Please help me out how to create a dialog box which has to appear by the click of Submit button.
    Thanks in advance
    Regards
    Sandeep

    Hi Kiran
    Thanks for responding,
    Sorry for providing the complete details.
    Provided link is much more helpful, but its not meeting my needs. My requirement is to just show a popup box after the user clicks on submit button.
    Saying 'Thank you for answering' if he is done with all questions or if he has more questions to answer pop up with different message 'You have more questions to answer'.
    In both the cases page as to get submitted when clicked on Submit button.
    Thanks in advance
    Regards
    Sandeep

  • Using pages, how can I create a label run from contacts

    Using pages, how can I create a label run from contacts?

    You mean you want to use XML to create a flat file, right? Not that the database is using XML in some way? If so, why do you want to use XML?

  • How do I create a DVD with no theme, i.e., it plays what was recorded when inserted in the player?

    How do I create a DVD with no theme, i.e., it plays what was recorded when inserted in the player?  Nothing extra, just the recorded content.

    Hi
    No Menu on DVD
    from. Mishmunken
    How to create a DVD in iDVD6 without menu (there are several options)
    1. Easy. Drop your iMovie in the auto-play box in iDVD's Map View, then set your auto-play item (your movie) to loop continuously.
    Disadvantage. The DVD plays until you hit stop on the remote
    2. Still easy. If you don't want your (auto-play) movie to loop, you can create a black theme by replacing the background of a static theme with a black background and no content in the drop-zone (text needs to be black as well).
    Disadvantage. The menu is still there and will play after the movie. You don't see it, but your disc keeps spinning in the player.
    3. Still quite easy but takes more time. Export the iMovie to DV tape, and then re-import using One-Step DVD.
    Disadvantage. One-Step DVD creation has been known to be not 100% reliable.
    4. (My preferred method) Easy enough but needs 3rd party software. Toast lets you burn your iMovie to DVD without menu - just drag the iMovie project to the Toast Window and click burn.
    Disadvantage. you'll need to spend some extra $$ for the software. In Toast, you just drop the iMovie project on the Window and click Burn.
    5. The "hard way". Post-production with myDVDedit (free-ware)
    Tools necessary. myDVDedit ( www.mydvdedit.com )
    • create a disc image of your iDVD project, then double-click to mount it.
    • Extract the VIDEO_TS and AUDIO_TS folders to a location of your choice. select the VIDEO_TS folder and hit Cmd + I to open the Inspector window
    • Set permissions to "read & write" and include all enclosed items; Ignore the warning.
    • Open the VIDEO_TS folder with myDVDedit. You'll find all items enclosed in your DVD in the left hand panel.
    • Select the menu (usually named VTS Menu) and delete it
    • Choose from the menu File > Test with DVD Player to see if your DVD behaves as planned. If it works save and close myDVDedit.
    • Before burning the folders to Video DVD, set permissions back to "read only", then create a disc image burnable with Disc Utility from a VIDEO_TS folder using Laine D. Lee's DVD Imager.
    //lonestar.utsa.edu/llee/applescript/dvdimager.html
    hope this helps!
    From LynnLU USA
    www.mediasoftmac.com/dvd-creator-articles/convert-mov-video-to-dvd-on-mac.html#1 29
    Yours Bengt W

Maybe you are looking for

  • How do I copy music and apps from iTouch to iTunes; PC crashed.

    My wife gave me my itouch for father's day- go wife!  But the old PC that I synced it to crashed; I did not create a backup.  I will in the future.  How do I back up all the music and apps on the itouch to iTunes?  I already searched to no avail. Alr

  • My iPhone 5S is eating up my storage space.

    It all started about a month ago (beginning of March), saying occasionally that my storage was almost full. I surely after the first few times tried to clear my messages and pictures, etc., but then the alerts kept becoming more and more frequent. it

  • Additional document types to Assign Fascimilies function

    Hi all HCM Experts. How do i add a document type like pdf to the assign fascimilies function. As it is right now we only have the posiibility to upload jpg and word documents.

  • Issue with ALV output in production

    Hi , Iam using REUSE_ALV_GRID_DISPLAY function module to display the alv output. But the ALV is not displaying the data in production, where as it is working fine in Development and Quality. I have checked the version there is no change. Please advic

  • Can XSLT calc sum(QTY * COST) ?

    Given an xml doc like: <ORDER> <ITEM> <QTY>10</QTY> <COST>55</COST> </ITEM> <ITEM> <QTY>20</QTY> <COST>77</COST> </ITEM> </ORDER> can XSLT be used to create <TOTAL_COST>, where TOTAL_COST = sum(QTY * COST) ? The xpath sum() function requires a node-l