ComboBox disabled after binding with vo

Hi,
i have comboBox... its is enabled..after binding with view object its disabled.. Ive tried to change it from code and property inspector but nothing helps.\
Code from pageDef
<combobox id="DCComboBox" xmlns="http://xmlns.oracle.com/adfm/jcuimodel"
ListOperMode="navigation" IterBinding="SerieROView1Iter" StaticList="true" ApplyValidation="false" Editable="false">
<AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
<Item Value="NazwaSkrocona"/>
</AttrNames>
</combobox>

ive added Viewable="true" in section above and it is working - combo is enabled and i can view attributes.... but i get errors in jdeveloper log
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
     at oracle.adf.model.binding.DCControlBinding.evaluateBooleanExpression(DCControlBinding.java:523)
     at oracle.adf.model.binding.DCControlBinding.isControlViewable(DCControlBinding.java:515)
     at oracle.jbo.uicli.binding.JUCtrlValueBinding.isViewable(JUCtrlValueBinding.java:3207)
     at oracle.jbo.uicli.binding.JUCtrlAttrsBinding$mySetEnabledThread.run(JUCtrlAttrsBinding.java:45)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
i understand it is connected with Viewable="true", but while editing xml it is expecting String.
And yes - it is read only VO - so why its working now? :)

Similar Messages

  • How to insert a null value to combobox which is bind with datasource

    Hi,
    i am working on c# winforms application. I have 2 comboboxes one is CustomerCbBox and another is OrderCbBox. CustomerCbBox is bind with data source.
    on CustomerCbBox SelectedIndexChanged event data is populated in OrderCbBox from data source. 
    i want to add a null or empty field in CustomerCbBox. all I want is that when the user don't Select Customer Name and OrderNo null or empty data enter in database. but when i click Insert Button it generate error "Object reference is not "object
    reference not set to an instance of an object".
    here is my code.
      private void MainForm_Load(object sender, EventArgs e)
    production pd = new production();
    CustomerCbBox.DataSource = pd.Customer();
    CustomerCbBox.DisplayMember = "Cust";
    CustomerCbBox.ValueMember = "CustId";
     private void CustomerCbBox_SelectedIndexChanged(object sender, EventArgs e)
                      try
                          string PartyName = CustomerCbBox.SelectedIndex.ToString();
                           PONum1.DataSource = pd.GetPOnumActive(PartyName1);
                              PONum1.DisplayMember = "PONum";
                              PONum1.ValueMember = "PONum";
                      catch (Exception ex)
                          MessageBox.Show(ex.Message);
         Please help me to solve this problem thanks.      

    Hello,
    We could check whether the user has selected any items before adding that to database.
    if (CustomerCbBox.SelectedIndex > -1)
    // do something
    }else{//add dbnull to database}
    And for adding null to databse, we could pass DBNull.Value instead.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Samaba sharing is disabled after reboot, with incorrect share config

    Hi all,
    I bought my macbook pro with OS X 10.4. Ever since I've upgraded, I'm unable to get my samba server to work correctly. I have a Cent OS server running samba, and all my other clients can connect to it, so I know its not an issue with the Windows clients. I would like to share my Movies folder so my wife can watch videos I download. Some are in iTunes, some are Divx. I've done the following.
    1. Go to System Preferences -> Sharing
    2. Under "shared folders", I click the plus and add the directory "Movies"
    3. I set my account to "read only" and "everyone" to "read only"
    4. Go to System Preferences -> Accounts
    5. Select Guest Account and check "Allow guests to connect to shared folders". I leave guest login disabled.
    6. Reboot
    With the above steps, I expect that the only share listed would be "Movies" and that I can access it with an anonymous samba client. However, I randomly get folders I'm not expecting. For instance, this is how I tested my setup.
    1. On a windows computer I telent to the correct samba ports. "telnet 10.10.1.101 139" and "telnet 10.10.1.101 445". Both connect to the socket, so I'm ok at the firewall level.
    2. Test what shares are listed with "smbclient" on my mac. I enter "smbclient -L 10.10.1.101" in the command prompt. When prompted for a password, I just press enter. I get the following output.
    $ smbclient -L 10.10.1.101
    Password:
    Anonymous login successful
    Domain=[NINE] OS=[Unix] Server=[Samba 3.0.25b-apple]
    Sharename Type Comment
    IPC$ IPC IPC Service (TODD NINE’s Computer)
    todd nine's public folder Disk TODD NINE's Public Folder
    Anonymous login successful
    Domain=[NINE] OS=[Unix] Server=[Samba 3.0.25b-apple]
    Server Comment
    MACINTOSH-3 TODD NINE
    Workgroup Master
    NINE
    Definitely not what I've configured via the gui! Also, whenever I reboot and go into the sharing gui the "Share files and folders using SMB" is always unchecked. It would seem that my settings are hosed and the gui isn't correctly persisting my settings and restarting the Daemons. I'm not sure which plist files to delete to start with fresh settings, and I'm reluctant to start blasting critical system files without being sure of what I'm doing. Any guidance would be greatly appreciated. I've already followed a couple of how to's that worked for most people, but they didn't resolve my issues.
    Thanks,
    Todd
    Message was edited by: tnine

    Presumably related to this problem is that if I try to restart the svc it gets disabled.
    For example (while tailing /var/svc/log/site-bind9:default.log in background):
    bash-3.00# svcs bind9
    STATE STIME FMRI
    online 3:37:45 svc:/site/bind9:default
    bash-3.00# svcadm restart bind9
    [ Apr 17 03:38:07 Stopping because service restarting. ]
    [ Apr 17 03:38:07 Executing stop method ("/opt/bind/var/svc/method/bind9 stop") ]
    [ Apr 17 03:38:07 Method "stop" exited with status 0 ]
    [ Apr 17 03:38:07 Disabled. ]
    bash-3.00# svcs bind9
    STATE STIME FMRI
    disabled 3:38:07 svc:/site/bind9:default
    Any ideas what is wrong with this svc (manifest posted above) ?

  • DOWNLOAD BUTTON DISABLED AFTER UPDATE WITH NEW VER...

    Hi.. After update my E72 with newer version of OVI store, download button has been disabled and unable to download anything from OVI store. Further I m also unable to update the files in "sign in software" in ovi files... please help me fast, what should I do??? 

    Hi DD16, Welcome to the Nokia Forums.
    Please be try and sign out of your nokia account and relog back in, also be sure that you are connected to a stable WiFi connection, and also make sure that you have enough free space on your phone memory to install any new applications.
    If you still experience issues with your store account please try and install Store QML from betalabs.
    Please let me know if your problem persists or not.
    Sheldrick
    Press the 'Accept As Solution' icon if I have solved your problem, Kudos my post if my advice has helped you!

  • Can't see Users after binding with Active Directory

    Hi,
    I have a clean install of Mountain Lion Server and I have bound it with Windows 2003 Servers Active Directory. All is working, but I can't see the Ad users in Server app so that I can't edit it.
    I can see it only over Directory Utility.
    Can anybody help me that I can see the AD Users in Server app so that I can edit it.
    And knows anybody how to change the AD users home folder so that I can have it on my Mountain Lion server?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • My iPad Air is disabled after wrongpassword attempts.I didn't sync it with my laptop also. How can I restore it with out losing the data.

    My iPad Air is disabled after wrongpassword attempts.I didn't sync it with my laptop also. How can I restore it with out losing the data.

    You can't unlock it without losing data. It's too late for that now. You totally erase the iPad when you unlock it and you will have to start all over again. Most of your purchased content can be downloaded again.
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    Download past purchases - Apple Support

  • Disabled after too many attempts with wrong passcode

    ipod touch 4 th gen disabled after too many wrong attempts with wrong passcode. computer usually synced to is stolen. attempting to sync to new computer> want to restore

    Do you have a backup? Transfer to new computer if you haven't already. A restore will wipe the contents.
    See
    http://support.apple.com/kb/ht1212

  • Hp officejet/deskjet 4625 fax function disabled after a factory reset.

    Officejet/Deskjet 4625 Fax function disabled after a factory reset.
    - HP 4625
    - Fax function disabled after a factory reset, fax function disabled on fax machine.
    Good day HP community! I have a problem on my Hp officejet/deskjet 4625 after i did a factory reset. Oh by the way my printer is on a wireless connection setup and its ip address kept on changing and became very annoying so i decided to do the factory reset. After the factory reset i visited a "teach me to how to re-setup the wireless connection for Hp officejet/deskjet 4625" i downloaded the file needed on the installation and followed the steps but I failed. Here is the LINK.
    My installation failed during the "connect the usb cable from the printer to the computer" sequence. I plugged the usb cable waited patiently but after a long 30 minutes wait nothing happened. The full feature installer of the Hp officejet/deskjet 4625(OJ4620**) didnt work for me. Luckily i have a friend that had a  basic installer of the Hp officejet/deskjet 4620(DJ4620**) sent me via e-mail. I wonder what is the difference between OJ4620 and DJ4620 installers were, but thanks to my friend the DJ4620 worked. I finished the installation and the wireless connection setup was successfull!
    Now i can print via usb cable connection, network ssid connection & tru apple products. I just have one problem. My printer's fax function was disabled. I believe that the OJ4620 had an issue on win7 64bit OS, i also believe that the DJ4620 isnt capable on installing the fax function because it was only a basic installer. 
    I tried to search in the internet but to no avail, I cannot find a HP 4620 fax installer either an officejet installer nor a deskjet installer.
    My machines:
    Desktop - 64bit
    Netbook - 64bit
    Macbook Pro
    Macbook Air
    Hp officejet/deskjet 4625
    I badly need help on the fax functions because my small office need it everyday. I hope someone can help me here. Thanks in advance!

    Hello theEGG.
    Thank you for your detailed response. I understand after installing printer you are unable to use your Fax features. Any HP printer full feature software package already comes with the fax features.
    Please uninstall your software. I am going to provide a HP document to help you: Uninstall The Software. After this progress is done please move onto the next step: (This is only for your Windows computers)
    How to clean Temp Folder. In this document there is two ways to clean out the Temp folder. Please choose which option you are conformable with.
    To install the software, please use the:Printer Install Wizard. Make sure you leave the USB cord out of the computer until it props you to insert the USB cord.
    If you have any other questions please let me know.
    Ashley
    I worked on behalf of HP.

  • HT5824 my ipad disabled after I closed it. I turned it on said ipad is disabled? Since 10S7 this has been an ongoing problem. I have not even touched the password it just disables on its own

    My Ipad was disabled after I turned it off. I turned it back on 'ipad is disabled' connect to ITunes!
    Why would it disable afer turning it off. I did not have a password issue. Not even once.
    I have not synced on Itunes on my system sincen this Ipad was synced at the Apple Store.
    Is there a way to connect on my pc to my Ipad from Icloud and restore my Ipad without loosing
    everything? Or do I need to reset yet again. This would be the fourth time starting from scratch!
    I had been Ipad replaced recently due to numerous problems with IOS7 including bluetooth problems
    with my keyboard, freezing - crazy making issues and most importantly I lost all data on my pages
    app and all contacts etc. and my ipad disabled itself after begin turned off!
    Now with the new one, my same problem! What is going on? What am I not getting.
    Prior to I0s& my Ipad performed beautifully. Now I do not feel I can trust this technology.
    Any ideas?

    Read this Apple Discussion Thread and possible solutions. The audio jack has been the main culprit, also certain sync and automation settings including connected remotes.

  • HT1766 my ipad has disabled after asking for a passcode which has never been put on this ipad and now disabled itself ???

    my ipad has disabled itself after asking for a passcode after updating ios7 now tried to restore it but didnt work

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Ipad disabled after updating to ios 8

    I updated my ipad 2 to ios 8 and it asked for a password, I never had a lock on this device, I guessed the same one I have on my iPhone but that didn't work, now it is completely disabled.   I don't have iTunes and never plugged this iPad into a computer.
    Everything is pointing now to losing all my data, but I cannot!! there are pictures of my best friend that passed away in January, I cannot lose those!  I see lots of people are having this problem  PLEASE help me get my pictures. They are very dear to me.

    MeganTD,
    I completely understand how you feel.  This has happened to me as well when I updated to IOS 8 when it first came out and now I can't get into my Ipad.  The difference is that I actually had a passcode on it and just typed it in just like the million other times I did and it says that the passcode was "wrong."  I thought it was just a mistake so I did it again and it said it was "wrong again, please try in 15 minutes."  This went on for about a day and when I tried to login again with the passcode it completely locked me out to where it says to "connect to itunes" which I did but the Ipad doesn't show up unless I put it into recovery mode, which doesn't help either because I don't want to restore my Ipad until I back it up first. 
    I even took it to the apple store to the genius bar and explained my situation and they couldn't even help me, saying that unless you have a backup on your computer there is no way to recover your data on your ipad before restoring it.  I thought that was completely ridiculous that it wasn't my fault that the Ipad is disabled after updating to IOS 8 and that there is absolutely NO WAY of recovering your data.  I even asked if there was 3rd party software that could backup the ipad before recovering and they couldn't give me that information either. 
    I have been looking all around the internet for a solution but to no avail.  I hope there is some information out there that can help us because there has to be SOME WAY that you can get into your ipad and backup without having to rely just on itunes and icloud.

  • My iPad is disabled after entering many wrong passcodes by my kid, and is asking me now to connect to iTunes to get enabled again (unlocked), however when I connect to iTunes, it asks me to first unlock the iPad? what is the solution

    my iPad is disabled after entering many wrong passcodes by my kid, and is asking me now to connect to iTunes to get enabled again (unlocked), however when I connect to iTunes, it asks me to first unlock the iPad? what is the solution

    You need to place the device in recovery mode ...
    f you can't remember the Passcode, you need to restore the device from the computer it was last synced with.
    Instructions for putting the device in recovery mode > iOS: Unable to update or restore
    If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present

  • I created new table in database and want to bind with system form

    Hi All,
    1) i created new table in database and want to bind with system form .
    2) How i bind this field to system form sale order where i added new folder tab in that i added some fields that fields i want to bind with database. when i click on the next ,previous ,first and last button
    bind value should change.
    Awaiting soon reply
    Rajkumar G.

    hi,
    try this
    Public Sub BindDataToForm()
            Dim oItem As SAPbouiCOM.Item
            Dim oEdit As SAPbouiCOM.EditText
            Dim oComboBox As SAPbouiCOM.ComboBox
            '// getting the matrix column by the UID
            'oItem = oForm.Items.Item("docname")
            'oComboBox = oItem.Specific
            'oComboBox.DataBind.SetBound(True, "OSRI", "BaseType")
            'oItem = oForm.Items.Item("docno")
            'oEdit = oItem.Specific
            'oEdit.DataBind.SetBound(True, "OSRI", "BaseEntry")
            oColumn = oColumns.Item("Code")
            'oColumn.DataBind.SetBound(True, "", "DSCardCode")
            oColumn.DataBind.SetBound(True, "OSRI", "ItemCode")
            oColumn = oColumns.Item("Serial")
            oColumn.DataBind.SetBound(True, "OSRI", "IntrSerial")
            Try
                oColumn = oColumns.Item("Inspection")
                oColumn.DataBind.SetBound(True, "OSRI", "U_Inspection")
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
            oColumn = oColumns.Item("Quality")
            oColumn.DataBind.SetBound(True, "OSRI", "U_Quality")
            oColumn = oColumns.Item("Status")
            oColumn.DataBind.SetBound(True, "OSRI", "U_Status")
            oColumn = oColumns.Item("Finish")
            oColumn.DataBind.SetBound(True, "OSRI", "U_Finish")
            oColumn = oColumns.Item("Thickness")
            oColumn.DataBind.SetBound(True, "OSRI", "U_Thickness")
            oColumn = oColumns.Item("uom")
            oColumn.DataBind.SetBound(True, "OSRI", "U_NetUOM")
            oColumn = oColumns.Item("length")
            oColumn.DataBind.SetBound(True, "OSRI", "U_Length")
            oColumn = oColumns.Item("height")
            oColumn.DataBind.SetBound(True, "OSRI", "U_Height")
            oColumn = oColumns.Item("sqf")
            oColumn.DataBind.SetBound(True, "OSRI", "U_sqf")
            oColumn = oColumns.Item("sqm")
            oColumn.DataBind.SetBound(True, "OSRI", "U_sqm")
        End Sub

  • HT1430 my daughter's ipod has been disabled after too many wrong password attempts. The ipod was not synced to a computer. How can we get it started?

    My daughter's ipod touch has been disabled after too many wrong password attempts.
    The ipod was never synced to the computer so can't connect to itunes.
    How else can we enable the ipod touch again?

    Restore, if iTunes will let you.  Everything except the password will be restored.  Connect via cable to the computer that you use for sync.  In your case, choose any computer with iTunes software.  Be forewarned that it takes a long time.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • UI control bind with image is missing

    a link or a button that bind with imagesource.
    i can see the icon gif files shows in webpage
    after few days, i check back the the icon show in webpage is gone with 'X'.
    Is anyone have face this issue before.
    this is really weird.
    the project is in DC and i am using JDI to check-In activate and show on.

    Exactly,
    When you paste image into mimes\Components folder, it should ask for new activity.
    Before doing that, make sure that you have no open activities for that DC.
    Once done, create a new activity for image and migrate it.
    Ashu

Maybe you are looking for

  • Sync outlook

    I am looking for an app or solution to sync the droid calendar with my outlook, any suggestions?

  • HT5567 Does 6.0.1 work well on an old iphone 3gs?

    If not is there any way to load a a lesser version like 5.x? currently I have 4.2.1 and many apps do not work with it now.

  • After upgrading to ML copy disc fails

    I upgraded to ML yesterday and now I am unable to copy a disc.  Roxio Toast 11 will read the DVD-RW on which I taped a football game but when I go to copy it onto a regular DVD, I get a Mac OS error code of 1634955892. In the morning prior to upgradi

  • Data Architecture Question

    What is a preferred way of storing a Social Security Number or telephone number that is being displayed as three separate fields on the jsp page? I could save it as a single column on the DB and parse it in the code or store it as three separate colu

  • Importing music over video

    I have two questions. 1) I imported and rendered a song from itune but when I play the video, I can not hear it. Any ideas why? 2) Does the music have to be on audio 1 and 2 or can it be imported on audio 3 and 4 which would be under the video I brou