ADF - use of selectOneRadio to programmatically display or hide other comps

Hi guys, I am totally new to ADF and will appreciate any help that you can give me. This has to do with the selectOneRadio component and then some.
I currently have an ADF jsp form with values that are bound to the underlying entity. The page also has a backing bean. I tried to change one of the components to the selectOneRadio component by deleting the text component on the form, then selecting the text component from the data control palette and dropping it on the form as a selectOneRadio component that's automatically bound to the underlying database column in an attempt to create a static list. However, when I try to run the form, it is not rendered and I get the following error message:
500 Internal Server Error
javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
     at com.sun.faces.el.PropertyResolverImpl.isReadOnly(PropertyResolverImpl.java:274)
     at oracle.adfinternal.view.faces.model.FacesPropertyResolver.isReadOnly(FacesPropertyResolver.java:124)
     at com.sun.faces.el.impl.ArraySuffix.isReadOnly(ArraySuffix.java:236)
     at com.sun.faces.el.impl.ComplexValue.isReadOnly(ComplexValue.java:209)
     at com.sun.faces.el.ValueBindingImpl.isReadOnly(ValueBindingImpl.java:266)
I am using JDeveloper 10.1.3. Could you please help out.
Additionaly, how do you default the selection in a radio button group? There are 3 radio buttons in this radio button group and I would like the first
one to be automatically selected when the user enters the form. And based on the selected radio button, I would like to hide and display certain fields
on the form as well. For example, if radio button A is selected, display field A (hide fields B and C). If radio button B is selected, display field B
(hide fields A and C) and if radio button C is selected, display field C (hide fields A and B).
I would really appreciate your help on this
Thanks a lot

Thanks for your response Shay. I already came across that tutorial and I followed all of the steps to create the radio group but it still will not render. However, I noticed that if I create a new project and just drop the collection from the data control on to the form, delete the text item, create a selectOneRadio from the collection that is bound to that database column, the form is rendered when I run it. I wondering if trying to create the select one radio after adding a backing bean for the page is the problem.
To by pass this, I deleted the selectOneRadio that is bound and causing the problem, created an unbound selectOneRadio from the components palette. Now the form is rendered when I run it. However, my next hurdle would be to pass the value selected in the selectOneRadio back to the model layer so that the targeted column is updated accordingly. Can somebody help me out here please??
The second link seems to do what I have in mind except that it disables the items instead of not displaying them. I still have no idea how he does that. Has somebody come across any tutorial that explains step by step how to create a selectOneRadio and conditionally display other components based on the radio button selected? I would really appreciate some pointers here. Or is somebody kind enough to explain step by step how to accomplish this?
Any help is really appreciated.
Thanks guys!

Similar Messages

  • How do I programmatically display jpeg files on the front panel

    Hi,
    I would like to be able to programmatically display various jpeg images on the front panel of a VI. I would mostly like to be able to display one image at a time and have the ability to programmatically change the image to different ones under program control. I found a picture indicator but not sure how to use if or if this is the best way. Thanks for any help.
    Dave Adams

    Yes, you can use a picture indicator.
    The attached simple codelet shows how to display a jpeg image on it (Make sure the image indicator is big enough).
    Let us know if you need help with the rest of the coding.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DrawJpeg.gif ‏2 KB

  • Programmatically display graph legend

    I have a waveform graph to which I input a set of files using another subvi and the plot is shown in the mainvi where the waveform graph is placed.How to programmatically display the graph legend so that it shows all the plots that have been plotted. Manually this is done by resizing the legend.Is there a way to do that programmatically?Help please.

    Uzytkownik "Veena" napisal w wiadomosci
    news:[email protected]..
    > I have a waveform graph to which I input a set of files using another
    > subvi and the plot is shown in the mainvi where the waveform graph is
    > placed.How to programmatically display the graph legend so that it
    > shows all the plots that have been plotted. Manually this is done by
    > resizing the legend.Is there a way to do that programmatically?Help
    > please.
    You could try use Property Node [right mouse button &: 'Create > Property
    Node']. Waveform Graph has section for legend: right used LegPos and
    LegPlots sould get you sattisfaction.
    regards
    Zbigniew StS

  • Using Enter-Query Mode Programmatically

    A question was raised in an earlier thread
    QUERY CRITERIA MANAGER
    about how to use Enter-Query mode programmatically in a way that doesn't stop
    and prompt the user to enter a query after switching from Normal mode to Enter-Query mode.
    Since the solution may not be widely known, I thought I'd demonstrate the technique here in a new thread.
    Create a simple form with just two blocks. Using the data block wizard, create an EMP block with one
    text item for ENAME. Place it on the canvas. Create the other block as a control block and name it CONTROL.
    Inside the control block create the following items:
    - create a text item named TXT_BOX
    (The user will enter their search pattern criteria in this text box while in Normal mode.)
    - create a push button item named EXECUTE_QUERY
    (This button will switch to Enter-Query mode, execute the query, then return to Normal mode.)
    Place both control items on the canvas.
    Inside the WHEN-BUTTON-PRESSED trigger for the EXECUTE_QUERY button, enter the following code:
    DECLARE
         timer_id TIMER;
    BEGIN
         :GLOBAL.search_criteria := :CONTROL.TXT_BOX;
         GO_BLOCK('EMP');
         timer_id := CREATE_TIMER('ENT_QRY', 1500, NO_REPEAT);
         -- 1500 may be a little long, but provides a margin of error
         ENTER_QUERY;
    END;
    Next, create a WHEN-TIMER-EXPIRED trigger at the form level. Inside this trigger enter the following code:
    If GET_APPLICATION_PROPERTY(TIMER_NAME) = 'ENT_QRY' THEN
         :EMP.ENAME := :GLOBAL.search_criteria;
         EXECUTE_QUERY;
         IF :SYSTEM.MODE = 'ENTER-QUERY' THEN
              EXIT_FORM; -- return to Normal mode
         END IF;
    END IF;
    GO_ITEM('CONTROL.TXT_BOX');
    Now, when the user runs the form and logs into the SCOTT schema, he enters a search criteria
    such as A% in the TXT_BOX while in Normal mode. Then clicks the EXECUTE_QUERY button.
    The form will switch to Enter-Query mode, retrieve all names in ENAME that begin with the letter A,
    and then return to Normal mode without pausing for the user to enter a search criteria.
    If the query should happen to fail, the form displays the error:
    "FRM-40301: Query caused no records to be retrieved. Re-enter."
    then switches automatically back to Normal mode so the user can try entering a new criteria.

    I'm showing how to do it when switching modes. I'm
    not suggesting this is the best way to do a query.We need to look at this in the context of the original probelm in the thread linked to above. For most cases the when-timer-expired etc is just a huge detour around using the pre-query trigger but it's an interesting approach to the specific problem in the earlier thread. The OP there wanted to be able to type '>5000' into a number field in a non-database block, which we can do in a database block in enter-query mode, and use it as a query parameter in the database block. Perhaps if we enter this into a character field in the non-database block and populate the numeric field in the database block whilst in enter-query mode then we can do searches on ranges of data? Unfortunately it doesn't work - you get an ora-06502 error just like you do when using the pre-query trigger. For the situation in the original thread you would have to use a 'default where'.

  • How do I use my iPad as the display and input device for my Mac Mini?

    I plan to have the following stereo configuration:
    Integrated amplifier with USB input that supports up to 24/192 audio, the Peachtree Nova 125
    Mac Mini with USB connection to amp, wifi to the Internet, housed in the equipment cabinet with the integrated amp, no other music source.  No display or keyboard connected to the Mac Mini.
    I would like to use my iPad as the display and to control the Mac Mini to run Pandora, iTunes, Spotify, podcasts, etc.
    Anyone have success with this general configuration?

    You need a set of apps (one for iPad and another for computer) like Team viewer or Go to my PC

  • How do I use my Apple Cinema HD Display as my primary workspace with my MacBook Book Pro?

    How do I use my Apple Cinema HD Display as my primary workspace with my MacBook Book Pro?

    In the Arrangement tab of Displays system preference, drag the menu bar to the picture of the other display.

  • How do I use my Macbook pro retina display as a monitor for a PC?

    How do I use my Macbook pro retina display as a monitor for a PC?

    MacQueries wrote:
    How do I use my Macbook pro retina display as a monitor for a PC?
    Unfortunately, that is not possible. The computer only can "output" your display image, it cannot "input" an image from an external computer and display it on your MacBook's retina display.

  • HT204291 My iPad 4 does not show up on my TV screen when in AirPlay mirroring mode using WiFi.  The iPad displays AirPlay set to TV with the Mirroring On (green).  My iPad IOS software is 8.2 and my Apple TV software is at 7.1.  The TV displays the Apple

    My iPad 4 does not show up on my TV screen when in AirPlay mirroring mode using WiFi.  The iPad displays AirPlay set to TV with the Mirroring On (green).
    My iPad IOS software is 8.2 and my Apple TV software is at 7.1.  The TV displays the Apple Menu.  The “Settings” does however displays the General menu allowing me to see:
    Apple software:          7.1 (7003)
    Apple TV:                   Model No. A1464, Part No. MD199B/A
    Signal Strength shows 5 circles.
    It does not display the iPad screen but when I use the BT Sport App I can hear the sound but there is no video.  I have searched the internet for a solution to no avail. The problem first arose when the IOS was at 8.1+ but it worked correctly briefly when I updated to IOS 8.2.  Can you help please?

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Check AirPlay is turned on on the Apple TV (turn it off and on if it already is)
    Check that both devices are on the same network (Settings > Wifi, on the mobile device and Settings > General > Network, on the Apple TV).
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router. (Also try removing it’s power cord for at least 30 seconds)
    Restart your mobile device.
    If you are still having problems, the following article(s) may help you.
    Troubleshooting AirPlay
    Troubleshooting Wi-Fi networks and connections
    Recommended Wi-Fi settings
    Wifi Diagnostic Software (for Mac users)
    You may also find some help on this page, where I’ve collected some of the more unusual solutions to network issues.
    When making adjustments to your network for better optimisation, you may find some of the points mentioned on this page helpful.

  • I want to use an IPad (w/retina display-newest) in my church hooked up to a projector

    I want to use an IPad (w/retina display-newest) in my church hooked up to a projector and shown on a screen.  I'd like to do it wirelessly as the projector will be installed in the ceiling.  I am not sure exactly what I would need to get this set up. I do not have wifi at church or cellular but would be getting the iPad (not yet purchased) with wifi only.  If I use Apple TV to hook up the projector to, would it need wifi to work if I will only be using the ipad for documents, worksheets (much like what a school/professor would use) or other things that an app could do (draw a line, etc.)  

    Epson projectors have such a feature, so if you're going to buy a new projector, you might start with their units. The app is described here:
    http://www.epson.com/cgi-bin/Store/jsp/Landing/ProjectorApp.do
    and there's a projector compability list linked from the very bottom of the page. There may be other projector manufacturers with similar apps, but I don't know for sure. All will probably also require a local WiFi network set up, though said network should not need Internet access if that's an issue for you.
    Regards.

  • I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV?

    I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.

    As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
    https://discussions.apple.com/community/appletv/appletv

  • Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with MacBookPro 13" Mid-2012 running 10.8.4? Tried mini display to VGA cable

    Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with a MacBookPro 13" Mid-2012 laptop?  Would like to use larger screen when working at home.  I have a mini display port to VGA cable and have tried to hook up the old display but it seems not to work.  When I try to activate the screen on the old display-- a window comes up in the MacBookPro and asks me if I want to shut down the computer.  What little I have read it that the MacBookPro had Thunderbolt and the old display may not be compatible?  Any assistance would be appreciated.

    quax88 wrote:
    11.09.12 22:16:06,148 ClamXavSentry[286]: scan email files
    11.09.12 22:16:06,148 ClamXavSentry[286]: I will quarantine infected files
    This doesn't have anything to do with your problem, but it will likely cause other issues with your e-mail.
    Here's my standard recommendation concerting the use of A-V software to deal with potentially infected messages:
    Never use ClamXav (or any other A-V software) to move (quarantine) or delete e-mail. It will corrupt the mailbox index which could cause loss of other e-mail and other issues with functions such as searching. It may also leave the original e-mail on your ISP's e-mail server and will be re-downloaded to your hard drive the next time you check for new mail.
    So, if you choose to "Scan e-mail content for malware and phishing" in the General Preferences, make sure you do not elect to either Quarantine or Delete infected files.
    When possibly infected e-mail files are found:
    Right-click/Control-click on either the infection or file name in the ClamXav window.
    Select "Reveal In Finder" from the pop-up menu.
    When the window opens, double-click on the file to open the message in your e-mail client application.
    Read the message and if you agree that it is junk/spam/phishing then use the e-mail client's delete button to delete it (this is especially important when the word "Heuristics" appears in the infection name).
    If you disagree and choose to retain the message, return to ClamXav and choose "Exclude From Future Scans" from the pop-up menu.
    If this is a g-mail account and those messages continue to show up after you have deleted them in the above manner, you may need to log in to webmail using your browser, go to the "All Mail" folder, find the message(s) and use the delete button there to permanently delete them from the server.
    To fix the corrupted mailbox index(es), highlight each one that was corrupted and choose Rebuild from the appropriate menu.

  • Using my widescreen tv as display

    using my widescreen as a display , works well but i can t get the top menu bar or the bottom dock options to fit into the screen. i m guessing this is a format problem with my tv but i can t seem to get anything to work with that either. any suggestions about what i can do in my settings to get these to fit????????? thx

    Have you gone into the settings and played around with all the different resolution sizes? I had the same problem but now it fits perfect.
    Most of them wont work, it'll just be a blue screen, but you should find one that works.

  • Can I use my iMac as a 'display' for my MacBook Pro?

    Hi all, I am really hoping someone can help me here.
    I am wondering if I can use my 24" iMac as a display for my MacBook Pro (both running Snow Leopard).
    It's my father's 80th birthday party in about 24 hours time. I am doing up the music and slideshow (thanks Apple - so easy!).
    My plan was to simply take my iMac and use it. However, I managed to drop the wireless keyboard (darn those dogs) and now my keyboard won't work. I have no backup keyboards here (gave the wired one to Dad to use with his Mac mini). I live in a country area with no access to a Mac store and it will take more than 24 hours to get a new one. Went to my local 'other computer' general store last night: I really don't want to buy an ugly black keyboard..... I have just had a great idea:
    Can I network my MacBook Pro and use it as the source for the slide show and simply use the iMac as a display? I have plenty of DVI adaptors but am just not sure how I would go about the software side of things? Or should I simply buy an ugly PC keyboard (and if I do, will the WIndows button work as an Apple button???)
    Any suggestions would be really appreciated.
    Thanks!

    The imac 24 can't be used as a monitor over a DVI connection or the like, Suzanne, but you may be able to achieve what you want to using "Screen Sharing" by networking the two computers. This lets your MBP effectively control what is running on the iMac.
    See HERE for the basic setup. For information about how to access the "shareable" screen from the MBP see HERE.
    One possible problem may be actually getting this set-up on the iMac if it is not already enabled, however, unless you can borrow a keyboard from someone (your password may have to be entered to enable it). You may be able to get around this, if necessary, using the "keyboard viewer" (which you can place in the menubar using System preferences > Keyboard, if you don't already have it there).
    Cheers
    Rod

  • How can i copy files from one external hard disk to another using macbook pro with retina display

    How can i copy files from one external hard drive to another using macbook pro with retina display?

    That's odd - if you open Disk Utility (Applications->Utilities) and select the disk(s), how are they formatted? If you're only going to be used with your Mac, they should be formatted as "Mac OS Extended (Journaled)".
    Clinton

  • How can I change the order of thumbnails so it affects the order in the lightbox when using the composition widget - lightbox display?

    Hi, I'm making my portfolio in Muse, and I'm using the composition widget - lightbox display. I imported all the images and then I wanted to reorganize the thumbnails - and when I do that, the order in the lightbox doesn't change and so it's not the same as the order of the thumbnails (after rearranging them). Please let me know if there is a way to fix this quickly, or do I have to do it all one more time

    The order the items display in a composition widget is the front to back order of the items. You can rearrange the stacking order of the thumbnails/triggers using the Layers panel and/or the Object > Bring To Front, Send To Back, etc. menu items to adjust the order they're displayed during auto play or when clicking the next/previous buttons.

Maybe you are looking for

  • Discoverer worksheet not opening in Viewer.

    Dear All, We had an upgrade from 11i to R12. Few discoverer reports are not working. When checked using discover plus some column names were found to be changed. I checked the fan trap and coorected the column names. After correcting the column names

  • How do i save the fact that a button has been clicked.

    So im creating a game in which I collect objects that represent money.After I die in the game i get into the Shop Class in which i can buy different items depending on the money i have. So lets say that after dying i have enough money to get item1 an

  • In one website, it takes to much time to load the page, in other site its not taking time, so do i need to enable or change any settings

    in one website, its taking time to load the page, on other PC its not taking any time( with internet explorer) in my PC other websites are opening quickly but this website takes too much time with firefox

  • Unable to open pdf with embedded flash

    Started with Adobe Reader XI (11.0.0.2) Was running into problems in an app because the new reader version does not work the same way in regards to Find. Downloaded the Adobe SDK (XI) and tried to open some of the documentation. Recieved a message th

  • Report writer forms

    Hi, we have a custom report writer report, how can we see the layout of the form/selection screen of the report since some changes needs to be done in the selection screen for the report? Thank you.