Prompting User for Selection of Choice Again

Hi, i am now a student learning through some basics of the java, i would like to know, say i have the following code;
choice = CspInput.readInt();
switch(choice)
case 1: System.out.println("www");
break;
case 2: System.out.println("xxx");
break;
case 3: System.out.println("yyy");
break;
case 4: System.out.println("zzz");
break;
default: System.out.println("wrong choice");
break;
how do i command the programme to prompt the user to enter again if he/she enter a invalid code rather than ending the programme with "Process Complete"
please help me with it,thanks!

i have alter the code such that it looks like this, but the output i want is such that i only want it to loop when the user enters a value that is less than 1,more than 4,how do i go about altering the code such that it does the job?
public static void main(String args[])
throws java.io.IOException {
int choice;
for(;;) {
do {
System.out.println("***************x,y or z?***************");
System.out.println("1) z");
System.out.println("2) y");
System.out.println("3) x");
System.out.println("4) Exit Program");
System.out.println("************************************************");
System.out.print("Please Select Your Choice (1-4) : ");
do {
choice = (int) System.in.read();
} while(choice == '\n' | choice == '\r');
} while( choice < '1' | choice > '3' & choice != '4');
if(choice == '4') break;
System.out.println("\n");
switch(choice) {
     case '1':
System.out.println("zzz");
break;
     case '2':
System.out.println("yyy");
break;
     case '3':
System.out.println("xxx");
break;
System.out.println();
}

Similar Messages

  • Prompting user for their choice of mailbox in Mail.app

    All I want to do is ask the user to choose a mailbox in Mail.app. But, there is a problem:
    "mailbox Y of account X" shows
    mailbox "FULL/PATH/TO/Y" of account X of application "Mail"
    while "name of mailbox Y of account X" shows
    "Y"
    This makes it awfully hard to prompt users for their choice of mailbox. I could go up the containers of mailbox Y, until I get to account, but this takes quite a long time.
    Is there a good reason for this behavior of the "name" property?

    Similar to Hiroto - 'I'm not sure what you're looking after.'
    Thus, below is some sample code to work with:
    tell application "Mail"
    set tMailboxes to mailboxes of account "sl-ugs" -- Obtain mailboxes of specific account.
    set nList to {} -- List to contain mailboxes names.
    repeat with i in tMailboxes -- Cycle through mailboxes of specific account.
    copy (name of i) to end of nList -- The name of each mailbox is placed into 'nList'.
    end repeat
    -- Provide an interface for the user to select a desired mailbox.
    set tSelection to (choose from list nList without multiple selections allowed and empty selection allowed) as string
    repeat with i from 1 to (count tMailboxes) -- Cycle through the list of mailboxes.
    if ((item i of nList) is equal to tSelection) then exit repeat -- Determine list location of selected mailbox (in 'tMailboxes')
    end repeat
    set tMailbox to item i of tMailboxes -- Obtain full listing of selected mailbox
    set tMessages to messages of tMailbox -- The messages of the selected mailbox.
    set mList to {} -- List to contain 'subject', 'from' and 'date received' field items of each message of the selected mailbox.
    repeat with j in tMessages -- Cycle through the list of messages.
    -- The 'subject', 'from', and 'date received' field items of each message of the selected mailbox are placed into 'mList'.
    tell j to copy {subject, sender, date received} to end of mList
    end repeat
    -- Example code showing 'tMailbox', 'nList', 'tSelection', list location of selected mailbox, messages of 'tMailbox', and finally - the 'subject', 'from', and 'date received' field items of each message of 'tMailbox'.
    tMailboxes & return & return & nList & return & return & tSelection & return & return & i & return & return & (messages of tMailbox) & return & return & mList
    end tell

  • HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input

    Hi,
    HOW DO I CHANGE THE FONT OF "Message to Display" IN THE  Prompt User for Input?
    Thanks for your help 
    XN 

    Right click and select Open front panel >> Convert.
    Change the vi as you need. then you can save it as a normal sub-vi.
    If you have Labview 8.6, maybe (i am not sure) you can edit the express vi. Express vis are supported in 8.6

  • Limit checkboxes on "prompt user for input"

    Is there away to limit the selection of checkboxes on the "Prompt User for Input" dialog vi?  I am trying to build a dialog vi that will allow the user to select/check only 1 item before clicking OK.
    Attached is my VI. This VI takes a entered filename and check to see if it exists in a given directory. If it does not exist, then it created (display a message stating it will be created).  If the file does exist, then the user has prompted to select 1 of 4 options (Append, Replace (Overwrite), Re-Name (select new filename) or Escape (exit without creating filename).  Right now I am using front panel controls that become visible however I would like to replace these controls with a dialog box with the four options.
    Ideally this file selection would be a sub VI in application and only execute when called and only be visible via the dialog boxes. 
    Thank you.
    Attachments:
    FileChoices.vi ‏210 KB

    Like radio buttons? See
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/373f703eea0297368625620900701fd8?O...
    Message Edited by Phillip Brooks on 10-16-2006 02:46 PM
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Modifying "Prompt user for input"

    Hi, all.
    Is there any "Prompt user for input" VI where I can include enum or ring type inputs? If not, how can I modify the "Prompt user for input" VI to do that?
    Thanks,
    Francisco
    Solved!
    Go to Solution.

    Right click on the express VI and select 'Open Front Panel'. This will convert it to a regular VI that you can edit. Or, just create your own VI from scratch. Look at the shipping examples for 'pop-up's.

  • ExpressVI prompt user for Input dialog floating

    I am using ExpressVI "prompt user for Input". The question is, when the dialog window pops up for input, I cannot activate other windows .
    So how can I change this expressVI's dialog window to floating windows appearance?

    Short answer: you have to make your own.
    You can start with the Express VI by right-clicking on the express VI and selecting "Open Front Panel" and click "Convert". This will create a brand new VI that is the equivalent of the Express VI. Save the VI under a new name within your project hierearchy, and then change the properties on the VI from a modal to a floating:
    Select File->VI Properties.
    Select "Window Appearance" from the pulldown menu.
    Select "Custom" option and click "Customize...".
    Select "Floating" in the "Window Behavior" section.

  • ICal Server Keeps Prompting Users for password

    Hello All!
    I am having issues with a MacMini Server iCal Server prompting users for their password. They are getting the following message:
    iCal can't log in to your account becuase your password may be incorrect. The user clicks cancel and they can contenue working however they a few min later they will get prompted again. The user can enter thier password, click ok and a few min later they get prompted again. This goes on all day!
    Any ideas on how to resolve?
    MacMini Lion Server 10.7.3
    Thanks,
    ebrind

    Thanks Jonathan! Here it is:
    Oct 24 2012 15:49:12 AUTH2: {0x4f9af0524882219c0000000800000008, XXXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:12 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:12 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:13 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:14 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:15 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:15 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:15 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:15 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:15 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:17 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:17 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:17 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:49:19 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:53:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 15:53:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:03:30 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:03:31 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:03:34 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:03:37 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:03:40 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:04:14 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:04:46 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:04:46 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:04:48 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:04:48 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:04:49 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:05:11 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:05:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:05:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:05:14 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:05:29 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:10:17 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:10:20    AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:10:22 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:13:49 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:13:51 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:13:54 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:14:39 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:14:40 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:14:40 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:14:58 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:19:12 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:19:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:19:15 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:19:17 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:19:18 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:23:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:23:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:24:18 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:24:20 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:24:22 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:26:17 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:26:17 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:27:48 KERBEROS-LOGIN-CHECK: user {0x4f9af0524882219c0000000800000008, XXX} is in good standing.
    Oct 24 2012 16:27:48 KERBEROS-LOGIN-CHECK: user {0x4f9af0524882219c0000000800000008, XXX} authentication succeeded.
    Oct 24 2012 16:27:48 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} DIGEST-MD5 authentication succeeded.
    Oct 24 2012 16:28:03 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:28:03 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:28:04 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:28:04 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:28:05 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:28:18 KERBEROS-LOGIN-CHECK: no principal ([email protected])
    Oct 24 2012 16:28:50 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} DIGEST-MD5 authentication succeeded.
    Oct 24 2012 16:29:03 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:29:03 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:12 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:34 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:34 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:36 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:36 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:37 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:37 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:37 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:37 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:43 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:34:43 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:41:00 AUTH2: {0x4f9aef1b6b8b45670000000400000004, servername.local$} DHX authentication succeeded.
    Oct 24 2012 16:41:38 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 16:41:38 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 16:42:32 AUTH2: {0x4f9aef1b6b8b45670000000400000004, servername.local$} DHX authentication succeeded.
    Oct 24 2012 16:43:11 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 16:43:11 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 16:43:41 AUTH2: {0x4f9aef1b6b8b45670000000400000004, servername.local$} DHX authentication succeeded.
    Oct 24 2012 16:43:48    AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:43:48 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:44:19 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 16:44:19 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 16:46:49    KERBEROS-LOGIN-CHECK: user {0x4f9af0524882219c0000000800000008, XXX} is in good standing.
    Oct 24 2012 16:46:49 KERBEROS-LOGIN-CHECK: user {0x4f9af0524882219c0000000800000008, XXX} authentication succeeded.
    Oct 24 2012 16:46:49 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} DIGEST-MD5 authentication succeeded.
    Oct 24 2012 16:50:18 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:50:18 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:50:18 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:50:19 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:50:58 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:50:58 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:00 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:00 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:00 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:00 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:01 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:01 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:05 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:05 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:06    AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:11 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:11 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:57 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:51:57 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:53:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 16:53:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:01:38 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:01:38 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:07:05 KERBEROS-LOGIN-CHECK: no principal ([email protected])
    Oct 24 2012 17:07:36 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} DIGEST-MD5 authentication succeeded.
    Oct 24 2012 17:11:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:11:25 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:21:18 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:21:18 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:23:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:23:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:24:06    AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:24:07 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:24:08 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:24:12 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:30:27 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:30:27 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:30:32 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:31:03 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:31:03 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:35:17 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 17:35:17 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 17:35:50 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:35:50 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:40:48 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:40:48 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:41:02 AUTH2: {0x4f9aef1b6b8b45670000000400000004, servername.local$} DHX authentication succeeded.
    Oct 24 2012 17:41:40 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 17:41:40 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 17:42:35 AUTH2: {0x4f9aef1b6b8b45670000000400000004, servername.local$} DHX authentication succeeded.
    Oct 24 2012 17:43:13 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 17:43:13 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 17:43:43 AUTH2: {0x4f9aef1b6b8b45670000000400000004, servername.local$} DHX authentication succeeded.
    Oct 24 2012 17:44:21 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} is in good standing.
    Oct 24 2012 17:44:21 KERBEROS-LOGIN-CHECK: user {0x4f9aef1b6b8b45670000000400000004, servername.local$} authentication succeeded.
    Oct 24 2012 17:46:48 KERBEROS-LOGIN-CHECK: user {0x4f9af0524882219c0000000800000008, XXX} is in good standing.
    Oct 24 2012 17:46:48 KERBEROS-LOGIN-CHECK: user {0x4f9af0524882219c0000000800000008, XXX} authentication succeeded.
    Oct 24 2012 17:46:48 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} DIGEST-MD5 authentication succeeded.
    Oct 24 2012 17:50:59    AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:50:59 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:01 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:01 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:02 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:02 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:02 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:02 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:07 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:51:07 AUTH2: {0x4f9af032312303780000000700000007, QQQ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:56 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:59 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:59 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:59 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:59 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:59 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:52:59 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:00 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:00 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:00 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:01 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:01 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:01 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:01 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:01 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:02 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:02 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:02 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:03 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:04 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:05 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:05 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:07 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:08 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:10 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:10 AUTH2: {0x4f9af0786fe3211a0000000900000009, YYY} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:11 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:11 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:13 AUTH2: {0x4f9af0524882219c0000000800000008, XXX} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:53:25 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:55:33 AUTH2: {0x4f9aeff441377b7c0000000600000006, ZZZ} WEBDAV-DIGEST authentication succeeded.
    Oct 24 2012 17:55:33 AUTH2: {0x4f9bbf3c45a1f0200000000a0000000a, WWW} WEBDAV-DIGEST authentication succeeded.
    XXXX means user A
    YYYY means user B etc, etc

  • Prompt user for date range

    Im working on a report that when it is opened by end user, i want it to prompt them for a date range. The report should only show records that fall between the date ranges entered.
    If i use the select expert and hardcode specific dates in, it works and only shows the records i want to see. However i cannot figure out how to set Crystal to prompt the user to enter the in DateTime and the to Date Time fields with Select Expert.
    Ive tried using a Parameter field, which it prompts for the date range, but still pulls up all records as normal. Its like it ignores the date range the user enters.
    The select expert shows this formula, the date/time is all zero's in this example.
    {SHOP_ORD\.REVISED_START_DATE} in DateTime (0, 0, 0, 00, 00, 00) to DateTime (0, 0, 0, 00, 00, 00)
    Please help

    Figured it out.
    Had to create two Parameter Fields {?StartDate} and {?EndDate}.
    Then used Select Expert, Formula Editor to modify the formula and set the in DateTime = {?StartDate} and the to DateTime = {?EndDate}
    This works. Just hide the Parameter fields and you have your range selector

  • How to prompt user to select multiple files in file dialog using scripts

    Hi, is there a way to allow user to select multiple files inside the file dialog using scripts? So not just something like "*.ai" or "*.eps" but where the user can actually use their shift key to select a batch of files inside the file dialog and then the script would process each one.
    Thanks!

    // Main Code [Execution of script begins here]
    here's what I have so far. it would also be nice to not have illustrator stop at errors.. right now, it skips dialogs but on errors, it still stops.
    // uncomment to suppress Illustrator warning dialogs
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts, folderName;
    var fullPath = "";
    var finalSlash;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator .ai files you want to convert to PDF');
    f = find_files(sourceFolder);
    function find_files (dir)
        return find_files_sub (dir, []);
    function find_files_sub (dir, array)
        var f = Folder (dir).getFiles ("*.*");
        for (var i = 0; i < f.length; i++)
            if (f[i] instanceof Folder)
                find_files_sub (f[i], array);
            else
                if (f[i].name.slice (-3).toLowerCase() == ".ai"          || f[i].name.slice (-4).toLowerCase() == ".eps")
                        //convert the array-listing to a string so we can manipulate it
                        fullPath = String(f[i]);
                        //find the position of the last / to indicate where the filename starts
                        finalSlash = fullPath.lastIndexOf("/");
                        //get the foldername by "slicing" from start to where finalSlash is located
                        folderName = fullPath.slice(0, finalSlash).toLowerCase();                   
                        sourceDoc = app.open(f[i]); // returns the document object
                        // Call function getNewName to get the name and file to save the pdf          
                                                      targetFile_PNG = getNewName(".png");
                                                      if(targetFile_PNG.exists) {
                                                      } else {
                                                                pngExportOpts = getPNGOptions();
                                                                sourceDoc.exportFile(targetFile_PNG, ExportType.PNG24, pngExportOpts );
                        targetFile_PDF = getNewName(".pdf");
                        pdfSaveOpts = getPDFOptions();
                                                      sourceDoc.saveAs(targetFile_PDF, pdfSaveOpts );
                                                      targetFile_SVG = getNewName(".svg");
                                                      svgSaveOpts = getSVGOptions();
                                                      sourceDoc.exportFile(targetFile_SVG, ExportType.SVG, svgSaveOpts );
                        sourceDoc.close();
                        array.push (f[i]);
    getNewName: Function to get the new file name. The primary
    name is the same as the source file.
    function getNewName(ext)
        var ext, docName, newName, saveInFile, docName, finalDot
        var loop = 0;
        docName = sourceDoc.name;
        ext = ext; // new extension for pdf file
        newName = "";
        finalDot = sourceDoc.name.lastIndexOf(".");
        while(loop < finalDot)
            newName += docName[loop];
            loop = loop + 1;
        newName += ext; // full pdf name of the file
              newName = newName.replace(" [Converted]","");
        // Create a file object to save the pdf
        saveInFile = new File( folderName + '/' + newName );
        return saveInFile;
    getPDFOptions: Function to set the PDF saving options of the
    files using the PDFSaveOptions object.
    function getPDFOptions()
        // Create the PDFSaveOptions object to set the PDF options
        var pdfSaveOpts = new PDFSaveOptions();
        // Setting PDFSaveOptions properties. Please see the JavaScript Reference
        // for a description of these properties.
        // Add more properties here if you like
        pdfSaveOpts.acrobatLayers = false;
        pdfSaveOpts.colorBars = false;
        pdfSaveOpts.colorCompression = CompressionQuality.AUTOMATICJPEGHIGH;
        pdfSaveOpts.compressArt = true; //default
        pdfSaveOpts.embedICCProfile = false;
        pdfSaveOpts.enablePlainText = false;
        pdfSaveOpts.generateThumbnails = false; // default
        pdfSaveOpts.optimization = true;
        pdfSaveOpts.pageInformation = false;
        pdfSaveOpts.preserveEditability = true;
        return pdfSaveOpts;
    function getSVGOptions()
              var svgSaveOpts = new ExportOptionsSVG();
              //just using defaults aside from what's written below
      //see http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/references/csawlib/com/adobe/illustrator/ ExportOptionsSVG.html
      svgSaveOpts.embedRasterImages = true;
      svgSaveOpts.sVGTextOnPath = true;
              return svgSaveOpts;
    function getPNGOptions()
              // Create the PDFSaveOptions object to set the PDF options
              var pngExportOpts = new ExportOptionsPNG24();
              // Setting PNGExportOptions properties. Please see the JavaScript Reference
              // for a description of these properties.
              // Add more properties here if you like
              pngExportOpts.antiAliasing = true;
              pngExportOpts.artBoardClipping = false;
              pngExportOpts.horizontalScale = 100; // scaling to 350%
              pngExportOpts.saveAsHTML = false;
              pngExportOpts.transparency = true;
              pngExportOpts.verticalScale = 100; // scaling to 350%
              return pngExportOpts;

  • Re: Prompt User to select from screen display options

    Hi,
    I need a FM whereby I could display possible values for User to select and then return to continue the processing.
    User will need to click on the screen selection and then the OK icon.
    Please assist.
    Thanks

    Hi Colin,
    here a short example:
    TYPE-POOLS: SLIS.
    DATA: FIELDCAT    TYPE SLIS_T_FIELDCAT_ALV,
          WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
          SELFIELD    TYPE SLIS_SELFIELD.
      PROGNAME = SY-REPID.
    Feldkatatalog vorbereiten auf Basis der ITAB-Definitionen
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                I_PROGRAM_NAME         = PROGNAME
                I_INTERNAL_TABNAME     = 'ITAB'
                I_CLIENT_NEVER_DISPLAY = 'X'
                I_INCLNAME             = PROGNAME
           CHANGING
                CT_FIELDCAT            = FIELDCAT
           EXCEPTIONS
                INCONSISTENT_INTERFACE = 1
                PROGRAM_ERROR          = 2
                OTHERS                 = 3.
      LOOP AT FIELDCAT INTO WA_FIELDCAT.
      Für alle Spalten Key_Information ausschalten
        MOVE  ' '                        TO   WA_FIELDCAT-KEY.
      Für alle Spalten nur Mittel_Text anzeigen.
        MOVE  'M'                        TO   WA_FIELDCAT-DDICTXT.
      Für alle Spalten soll nicht 0 NICHT angezeigt werden.
        MOVE  'X'                        TO   WA_FIELDCAT-NO_ZERO.
      Für alle Spalten Key_Information ausschalten
        MOVE  ' '                        TO   WA_FIELDCAT-KEY.
      Spalte ausblenden
        CASE WA_FIELDCAT-FIELDNAME.
          WHEN 'MATNR.
            MOVE  'X'                    TO   WA_FIELDCAT-NO_OUT.
        ENDCASE.
      Spaltenüberschriften
        CASE WA_FIELDCAT-FIELDNAME.
          WHEN 'MAKTX'.
            MOVE 'shorttext'              TO WA_FIELDCAT-SELTEXT_M.
        ENDCASE.
        MODIFY FIELDCAT INDEX SY-TABIX FROM WA_FIELDCAT .
      ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                I_TITLE                 = 'Titel'
                I_TABNAME               = 'ITAB'
                IT_FIELDCAT             = FIELDCAT
           IMPORTING
                ES_SELFIELD             = SELFIELD
           TABLES
                T_OUTTAB                = ITAB
           EXCEPTIONS
                PROGRAM_ERROR           = 1
                OTHERS                  = 2.
    it works very good. At first you have to fill the ITAB as you want.
    Regards, Dieter

  • Prompting users for confimation when closing browser window

    Hi All,
    I would like to prompt the user with a popup-screen asking for confirmation that he wants to close the browser when hitting the browser-close ('X') button. Is this possible ?
    If the user chose to cancel the browser window shoud remain open, with all content as it was... and of course if he chooses to continue the window should just close.
    the WDA app is straight forward, and not running inside the portal.
    Thanx in advance
    -Tonni

    Hi Tonni,
    I thought I should add - the portal does implement a work protection mode that does allow you to prompt users if they navigate away from your page - and one of the best ways to implement that is through the FPM and its work protect mode interface.
    However, that still doesn't help, I'm afraid, in the case where you're trying to stop the user closing the browser window...
    I should also point out that some browsers do indeed produce an event which can be trapped on close of the window, and have been hugely exploited by website designers - to the extent that later/better versions no longer support it. Remember the web pages that when you closed spawned 3 more, and those 3 more etc. etc.
    Cheers,
    Chris
    edit:  also worth pointing out that the "Close" button provided within a portal session by the FPM is a form of navigation and can be trapped. Likewise any internal navigation button that perform the same sort of thing within your app.
    Edited by: Chris Paine on Mar 29, 2010 3:08 PM

  • Display array contents & prompt user for process priority

    Hi, i need help developing an interface.
    I have an array which contains a complete list of models available at my company. Now, i want to create an interface where the contents are displayed and user is able enter numbers to select the models he/she wants to run and the process priority.
    eg: The array contains models A to Z. The user is able to select models D, A, G and B and instruct the program to process them at the same sequence.
    How do i acheive this in Labview?
    I'm very poor at designing interface, can someone point me to any literature and tutorials in developing frontpanel interface in Labview?
    Thank you.

    Hey, I have done something similar to this in the past.  The way I did it was by using a listbox.  I had buttons that the user would select to tell me what to do and how to modify the listbox contents.  For example, in your case, I would have an Edit button.  When the user selects the Model and hits Edit, I would pop up a screen asking him which process he would like to assign to the model.  Then I would check for errors and if none existed, I would update the listbox contents with the new information.
    Let me know if this helps or if I should provide more explantation.
    Thanks!
    Dan
    Daniel Eaton
    National Instruments
    Systems Engineering
    Embedded and Industrial Control

  • How to get a value for Select One Choice in the backing bean

    Friends,
    Does any one have any idea, how to get the value of a selected item value from the Select One Choice component in the backing bean iin valueChangeListener method. Right now I am always getting the sequence of the selected item, instead the actual selected value. I tried using 'ValuePassTrhough=true' also.. but didn't help
    Below is the my code snippet
    <af:selectOneChoice value="#{bindings.country.inputValue}"
    required="#{bindings.country.hints.mandatory}"
    shortDesc="#{bindings.country.hints.tooltip}"
    id="soc1" autoSubmit="true" valuePassThru="true"
    valueChangeListener="#{pageFlowScope.Bean.onValueChange
    <f:selectItems value="#{bindings.country.items}" id="si2"/>
    </af:selectOneChoice>
    Thanks in advance.

    check my other post at Re: Pass data from a variable to another page

  • Prompting user for input for each row in the report

    Is it possible to have a user entered field for each row in a report ?
    ie. have a report with empolyee number, employee name, title, salary, and comment. Select of of these columns from the SQL query except for the comment, and then when the report is generated have the user be prompted for what the want the comment to be for every employee in the report?

    That is, have the user generating the report enter in a different comment for EACH employee. (ie Joe Smith's comment is "good worker and John Smith's comment is "come to work late on Tuesdays and Thursdays", Sally Jones' comment is "Expert in C++" etc.) as the reports is being built for each row returned from the query.

  • Prompt user to select radio button

    Hello, LabView Fans
    The vi attached is kind of working like I want it to but it
    just seems to be more complicated than necessary. I’m using a radio button setup
    with no selection and want to force the user to make a selection. If the selection
    is not made; then prompt the user to make a selection. I’d like to have the vi
    continue until a selection is made and the OK button pressed, but keep getting
    into a run on situation.
    Thanks for any critique / solutions to this small problem.
    Solved!
    Go to Solution.
    Attachments:
    MustMakeChoice.vi ‏13 KB

    Hi Zilla,
    here you go.  This is a possible way to do it
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012
    Attachments:
    Colorpicker.vi ‏12 KB

Maybe you are looking for

  • Acrobat Pro 9.0 Uninstall incomplete - MS Word Acrobat options remain

    Hello All, Currently we are using Acrobat Professional 9.0, installed on a Windows XP machine with MS Office SP3. The installation of Acrobat Pro 9.0 works error free. The problem I'm seeing is that the uninstall does not appear to be complete. After

  • TS1702 Problem with the Music app on iPhone 4S

    In the music app on my iPhone 4S, I select the "Genres" tab at the bottom menu and when I click on "Rock" it takes me to my "Folk" albums.  In my iTunes on my MBP, they are correctly labeled and when the iPhone is connected to the computer, all seems

  • SQL Query for date/time

    Hi All, I have a table containing data like this Person_name Time_spent Date/time ABC 5.5 16-sep-10 12:00 ABC 3 16-sep-10 05:30 ABC 2.5 17-sep-10 12:00 ABC .5 16-sep-10 09:00 What I want is to get data like this Person_name Time_spent Date/time ABC 9

  • Schemaname.tablename vs tablename in select statement

    Oracle 9.2 One table name is dbwork. schema name is wk. I log in as my name into one database. select count(*) from dbwork return 3 rows select count(*) fr om wk.dbwork return 4760098 rows. Is something in my permission? Thanks for the any advices. S

  • What's changed?  PCH.games or Flash?

    Just in the last week or two, I've started getting requests for additional storage from games.pch.com, objects.tremor.media and others.  They never needed additional storage before & I wonder if it's someone faking the screen so they can put somethin