Disabled dropdownbykey is showing up

I have added dropdownbykey form element and binded it controller attribute node. I have put following code to initialize the drop down.
  public void wdDoInit()
    //@@begin wdDoInit()
     String locations[] = new String[]{"Economy","Compact","Intermediate","Full Size","Premium","Luxury","Convertible","Mini Van" };
     IWDNodeInfo csn=wdContext.nodeDropdown().getNodeInfo();
     IWDAttributeInfo cattinfo=csn.getAttribute("location");
     ISimpleTypeModifiable cmstype = cattinfo.getModifiableSimpleType();
     cmstype.setFieldLabel("Cities");
     IModifiableSimpleValueSet cvalueset=cmstype.getSVServices().getModifiableSimpleValueSet();
     for (int i = 0; i < locations.length; i++) {
          cvalueset.put(locations<i>, locations<i>);      
    //@@end
when I am running application, a disabled dropdown box shown up. Can any body tell me how to fix this? or what I have been doing wrong?

Hi,
<b>Check the cardinality of the node bound to this control make it 1..n</b>
The property <b>selectedKey</b> must be bound to a context attribute Key having a simple type like String with a value set.
The selectable items of the drop-down list are the keys of the value set, the displayed texts are the corresponding values. The currently selected item is given by the current value of property selectedKey.
Regards
Ayyapparaj

Similar Messages

  • How do I disable automatic TV shows download from Apple TV to my iTunes library on my PC?

    How do I disable automatic TV shows download from Apple TV to my iTunes library on my PC? This is really annoying as I am not able to sync my main music and photo library after my appleTV dowloads 84 GB of TV shows, which my PC is unable to accomodate anyway. Any advise?

    I have a very similar problem in that purchases I make on the ATV are shuttled off to my computer even before I have a chance to watch them. Nothing remains on the AppleTV except (strangely) a show I bought from iTunes months before I ever got the ATV. In order to watch anything, I have to either leave my computer turned off between the time I order and watch it; or I have to have my computer on in order to stream the show back to the ATV. I like the idea of syncing with the computer as a backup solution, but the ATV should be designed to prefer to keep unwatched material on its hard drive until some threshold storage level has been reached, and then it should move off older shows to make room for newer ones.

  • Disabled JMenuItem doesn show animated gif

    Hi there
    I would like to have a popup menu with actions that are enabled after they have finished with some background task taking some time. Basically this works fine for the enabling action on a shown popup. However, adding an animated gif as the icon or disabled icon does not show it in disabled state. In enabled state it works perfect. Please have a try with the sample code. You should see the disabled item for 2 secs and the icon is not showing up. After being enabled, it does. Invoking the menu again shows the animated gif in its last state left, but not moving any more.
    I guess, repaints are not done appropriately in disabled state... Any ideas how to solve that would be highly appreciated :-)
    Actually I used the icon at http://mentalized.net/activity-indicators/indicators/pascal_germroth/indicator.white.gif
    Cheers
    Daniel
    public class Main
      public static void main(String[] args)
        final JFrame frame = new JFrame();
        frame.addMouseListener(new MouseAdapter()
          public void mousePressed(final MouseEvent e)
            final JPopupMenu popup = new JPopupMenu();
            popup.add(new JMenuItem("Open..."));
            popup.add(new JMenuItem("Close"));
            final JMenuItem action = new JMenuItem("Long loading until enabled");
            action.setIcon(new ImageIcon("C:/spinner.gif"));
            action.setDisabledIcon(new ImageIcon("C:/spinner.gif"));
            popup.add(action).setEnabled(false);
            popup.show(e.getComponent(), e.getX(), e.getY());
            SwingUtilities.invokeLater(new Runnable()
              public void run()
                try
                  Thread.sleep(2000);
                  action.setEnabled(true);
                catch (InterruptedException e1)
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(300, 200);
        frame.setVisible(true);
    }Edited by: daniel.frey on Apr 22, 2009 7:50 AM

    The problem is that you are causing the EDT to sleep, which means the GUI can't repaint itself. Read the section from the Swing tutorial on Concurrency to understand what is happening.

  • Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled. This shows up even when I am not connected to a USB. what do you think the problem is?

    Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled. - This is what shows up sometimes even when no USB is connected. What could be the reason?

    Try a different USB cord, seen this many many times, its highly likely a damaged USB cord.
    Restart the computer to redefine Port definition.  If still a problem
    You can also resetting PRAM/NVRAM:  http://support.apple.com/kb/ht1379
    MacBook Pro (15-inch Mid 2012), OS X Mavericks (10.9), i7 500GB 16GB RAM iPhone5 iOS7.0.3

  • Disabled fonts still showing up in programs

    I have over 1700 fonts and most of them are disabled through Font Book.
    However, all of them still show up in programs like Photoshop and Illustrator.
    It's murder having to scroll through the whole list, esp. when most of them shouldn't even be visible.
    Am I getting this wrong? What's the point of Disabling a font in Font Book? Why are they still showing up?

    • Yes, I asked on the Adobe forums as well. No luck there.
    • Can't strip down to a nucleus of fonts. I'm a graphic designer and I'm often font matching.
    • No, it's not just a Snow Leopard thing. I first noticed this at work and I haven't upgraded there yet.
    • I'll tackle the bad fonts next.
    Anyway, I finally got it working as it should!
    Thing is, i'm not quite sure what I did as I was trying so many things.
    If this is happening to you, this is what I did:
    1. Search for AdobeFnt.lst files and zap them. (Make sure you don't delete similarly named db files.)
    2. Zap everything in the /Library/Cache/... All of it!
    3. This "undid" all of my "disabling" in Font Book. Had to do it all over again.
    4. Reboot.
    And make sure no Adobe apps get opened at all during this process. Not sure about this but I wanted to prevent them from attempting to cache fonts before I was through disabling.
    ...Whew!

  • Disable "Do not show my picture" on Lync client

    Hi all, is it possible to disable the "Do not show my picture" on Lync client ?
    I want to stop that an user can disable photo.
    Thanks a lot

    Try this script, I've edited it to make it a little clearer what areas need to be changed.
    # script to re-enable AD photos for users that have disabled them
    # DNS Name of SQL Server - Leave Blank for SQL Server Express
    $sqlserver = ''
    # This is the directory where exports will be placed temporarily - you must have write access to this directory
    $exportdir = 'C:\Lync-Scripts'
    ########## DO NOT EDIT BELOW THIS LINE ##########
    "Checking for Export Directory"
    If (-not (Test-Path "$exportdir" -pathType container))
    "ERROR: Your Export Directory doesn't exist!"
    Exit
    "Cleaning up old files..."
    If (Test-Path "$exportdir\Export-Pictures.xml") { Remove-Item "$exportdir\Export-Pictures.xml" }
    If (Test-Path "$exportdir\Import-Pictures.xml") { Remove-Item "$exportdir\Import-Pictures.xml" }
    # check to see if we need to have an sqlserver argument to DBImpExp
    If ($sqlserver -ne "")
    "Query will be run against SQL server ""$sqlserver"""
    $sqlserver = "/sqlserver:$sqlserver"
    "Exporting users..."
    $p = [diagnostics.process]::start('"C:\Program Files\Common Files\Microsoft Lync Server 2010\Support\DBImpExp.exe"', "/hrxmlfile:""$exportdir\Export-Pictures.xml"" /restype:user $sqlserver")
    $p.WaitForExit()
    # check that XML was exported
    If (-not (Test-Path "$exportdir\Export-Pictures.xml" -pathType leaf))
    "ERROR: Verify that $exportdir is writable!"
    Exit
    "Loading XML"
    $d = [xml] (Get-Content "$exportdir\Export-Pictures.xml")
    "Processing..."
    $changes = 0
    foreach ($hr in $d.HomedResources.HomedResource)
    $found = 0
    foreach ($c in $hr.Containers.Container)
    foreach ($p in $c.Publication)
    If ($p.CategoryName -eq 'contactCard' -and $p.InstanceNum -eq 6 -and $p.Data.contactCard.displayADPhoto -eq 'false')
    $hr.UserAtHost
    $p.Data.contactCard.displayADPhoto = 'true'
    $p.Version = (([int] $p.Version) + 1).ToString()
    $p.PrevPubTime = $p.LastPubTime
    $p.LastPubTime = (Get-Date -Format s).ToString()
    $found = 1
    $changes++
    If ($found -eq 0) { [Void]$d.HomedResources.RemoveChild($hr) }
    "Changes: $changes"
    If ($changes -ne 0)
    "Saving XML..."
    $d.Save("$exportdir\Import-Pictures.xml")
    "Importing users..."
    $p = [diagnostics.process]::start('"C:\Program Files\Common Files\Microsoft Lync Server 2010\Support\DBImpExp.exe"', "/import /hrxmlfile:""$exportdir\Import-Pictures.xml"" /restype:user $sqlserver")
    $p.WaitForExit()
    "Finished import, cleaning up..."
    If (Test-Path "$exportdir\Export-Pictures.xml") { Remove-Item "$exportdir\Export-Pictures.xml" }
    If (Test-Path "$exportdir\Import-Pictures.xml") { Remove-Item "$exportdir\Import-Pictures.xml" }
    "Done"
    Also, please note that the default installation of Lync uses SQL Server Express and you don't need to provide the SQL server.

  • How To Disable Print Button And Download Button In PDFViewer In Firefox? I just love the pluggin but my boss want it can be disabled, just to show the pdf.

    I just develop a web based program that my boss want to just show a pdf to his employee... but that my boss just want to show that pdf and cant print or save or download it... thanks... sorry for my english...

    Sorry, your boss can't control what happens on a users PC. A website can't change what plugin is used to display a PDF file in Firefox, not can a website disable or block access to features or controls in the PDF Viewer.

  • How to disable links which show up as highlighted words in all text on-screen

    Recently (possibly since the installation of a "Flashplayer" update, certain words (usually nouns) appear as highlighted in any text on screen. When clicked on, the word-links open a new tab, dealing with a topic related to the word. These are annoying, and the highlighted word often cannot be read, as it shows up in red, on a background which may also be red.
    I want to disable this "quick-link" ability. Please tell me how 'tis done. Thanks

    You can look at Adblock Plus.
    * Adblock Plus: https://addons.mozilla.org/firefox/addon/adblock-plus/
    You need to subscribe to a Filter list (e.g. the EasyList).
    * http://adblockplus.org/en/subscriptions
    * http://adblockplus.org/en/getting_started
    * http://en.wikipedia.org/wiki/IntelliTXT

  • Exchange 2013 - Disabled Mailbox not showing up immediately in the Connect a Mailbox

    I have disable a mailbox  over an hour ago but it doesn’t show in the
    connect a mailbox section in the ECP Exchange 2013. immediately. The reason why I disable the email as I want to attach it to a new AD user which I have created.
    I know you have to wait for replication so it appears in the connect a mailbox but I’m not sure how long and we forced an AD replication to see if that works.
    I know with Exchange 2010, to get the disconnected mailbox to show immediately, I used to write a command Clean-MailboxDatabase “DB” to get it to appear in the disconnected mailbox but that doesn’t work with Exchange 2013 anymore.
    Anyone have any suggestions?

    I'm having a same problem.
    I did disable-mailbox to one mailbox over 24 hours ago. The mailbox is lost. Maintenance schedule was last night, but there is no change when i list disconnected mailboxes at the database.
    In this environment a new user account is created everytime the cost center of the employee is changed. So i need to do disable mailboxes every day. This is not a first time when the mailboxes have been lost. Many times the mailboxes are seen
    at the database straight after the disable-mailboxes are done. Some mailboxes are seen at the database after the maintenance schedule. But every now and then, the mailboxes are lost. Because the nature of this environment, this is getting really annoying.
    I should not use restore of the backup for this...
    Right now i'm looking mailbos statistics of the mailbox that got lost (i have started to take statistics to see if the mailbox is empty or not). The mailbox had 864 items and total item size was 33.18 MB.
    If the maintenance schedule is not cabable to update the status of the mailbox, then there is no use of using update-storemailboxstate? At least for me this command is doing nothing when i am having this problem.

  • Disable logging of "show running-config" on MDS 9124

    After our MDS 9124 was upgraded from 3.1 to 4.2, it now logs in the config whenever a "show running-config" is done. This has somewhat become an issue because we use Cat Tools to backup our configs so when it logs in, it does a "show running-config" which then triggers the config to be updated which Cat Tools sees as a change and backs up the config everyday because of this. Very annoying.
    Anyway to disable this? Here is what the lines look like in the config:
    !Command: show running-config
    !Time: Mon Jan  4 07:04:03 2010

    I was not able to find a way to disable and I couldn't find anything in CatTools (our version is a couple years old) to exclude checking certain lines. So for now the configs get backed up everyday. I'll probably update CatTools and contact Solarwinds to see if there is a way to customize the backup script.

  • CS6 Mac- How to disable metadata from showing in web gallery???

    Does anyone have a way to stop metadata from displaying in my web gallery main image display? I am trying to create a simple html web gallery of some images from within Bridge output module. Thumbnails look ok, but when I click on one and get the large image, at the bottom of the page it is displaying all sorts of info that I don't want showing!
    There does not seem to be any way of turning this off.
    I am on a mac 10.9.5, Bridge CS6
    Your help appreciated.
    Jonathan

    Hi Philip,
    Thanks so much for you reply.
    I think part of my problem is that I was working from Nikon RAW files and converting those to a web gallery. It's been a while since I made a gallery in Bridge, but as I recall now I used to shoot RAW + JPG and use the jpg images for output to web gallery.
    I just did this your way and it worked fine. I never used the Export menu before. Does it automatically default to JPG? I don't see any options to do tiff, PSD etc. Obviously jpg is what I need for web, but wondered if output file kind could be changed in export somewhere. I suppose this is what Actions are for. Adobe could make this simpler by having a check-box in the Web output that gives the option of including metadata or not.
    Anyway thanks for your help. I really appreciate it. Been hitting my head against the wall about this.
    Jonathan

  • TS1363 my ipad is disabled its not showing key pad and not connecting with itunes need help

    ipad is disabled and not connecting with itunes

    1: Connect the device to your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.

  • How do I disable Automatic TV Show/Movie downloads?

    Whenever I purchase an item on my Apple TV, it automatically begins downloading in iTunes. I would really like to not download all those episodes of My Little Pony that my boyfriend bought unless I specifically tell it to, but there's no way to turn off automatic downloading for tv shows or movies, only apps and books and music. This has killed my connectivity repeatedly due to unexpected background bandwidth issues... 
    :S

    Gavin, Hi dude. I have the same problem you have!!! If I download 1 song it puts a cloud next to every song on my Ipod and downloads all of the songs already on the ipod . Some songs I will have 5 or 6 of the same song. I was told by a nice gentle man that I need to  change my ios setteing  My music has been purchased on my computer and the ios setting is on Automatic downloads . that is why it asks to download the same songs in to my IOS  device. Gavin, are you getting your music, games, and tv shows off of your computer?  The nice gentleman told me my IOS is on Automatic download. And that is why it keeps downloading everything again. What  do you think. I remember seeing the IOS device when I set up the ipod at Apple.  Thanks , sherry

  • HT1212 i have done all of these steps more than once and my iphone is continuing to be disabled. my computer shows "the iphone server could not be contacted." what do i do? i am in desperate need of my iphone to no longer be disabled!

    I have completed the steps given to me to have my iphone 5 no longer be disabled. I have completed the steps multiple times but my computer continues to say "The Iphone spftware update server could not be contacted." I have officially ran out of patience and I am in need of some assistance. I have never disabled my Iphone before and i am having some difficulties trying to get it restored. Please give me any helpful tips possible!!!!
                                                                                                                                               Thanks, Iphone 5 lover

    Temporarily disable any security software on the computer.

  • Is there a button in Illustrator that disables colors from showing on the art board?

    I have been trying to design a layout and when I go to apply colors to different parts, I can't. I am not able to see that color has been applied to the shapes. I have tried switching from RGB to CMYK and even Grayscale but it is to no avail. The shapes are colored in the layers menu but not on the physical document.

    View --> Outlöine? Otherwise such issues could be inherent in the document, e.g. complexity of the paths vs. absolute document size vs. raster effects or something like that. A lot more info would be required, starting with what version of AI, system specs, possibly screenshots and details about your object appearance settings.
    Mylenium

Maybe you are looking for

  • Types of input to file adapter

    hi all, I am doing a file to mail scenario.And i wanted to send a text file as input.But while doing so i am getting mapping transformation error,since the data types and mapping fields are different from the input. its working fine for xml files. So

  • Focus problem w/player 8.5 & 9

    I'm using flash 8, and it's regular html deployment methond (code). Ever since I got player 8.5 and now 9 I have to click once on my movie to bring it to focus I guess, and then I click on my buttons. So my movie loads, and if I try clicking on a but

  • Option to erase after import- where is it?

    Hi there, I've just switched from iPhoto to Aperture 3 and have noticed that when I import photo's from my iPhone or iPad I don't get a dialogue box asking me if I want to delete the photo's after import. I looked on the help section of Aperture and

  • What does the acronym PH stand for in the article id number

    Trying to figure out what the different acronyms stand for in the article id number. I know HT stands for how to and TS stands for trouble shooting. What does PH and HE stand for.

  • SBS 2011 Make TXT record visible in DNS

    After creating a TXT record in my domain under my domainname.local in an effort to qualify for the dig lookup by GoDaddy, the Dig cannot see the TXT record.   To create TXT record, I right click DomainName.local and select "Other New Records", choose