Selection of a radio button does not work in a popup invoked by default

Hi all

I'm working on a condition in which action triggers innovation of a popup on the Web page. The popup has 2 radio buttons and by default, I need to show one of them selected.

I use the code below in the declaration of popup for the radio buttons.

< af:selectOneRadio id = 'sor1' autoSubmit = 'true '.

styleClass = 'popup-text-key '.

value = "accept" >

< af:selectItem label = "#{portalBundle.ACCEPT} '"

value = "accept" id = "si3" / >

< af:selectItem label = "#{portalBundle.REQUEST_FOR_CHANGE} '"

value = "requestChange" id = "si2" / >

< / af:selectOneRadio >

The problem is when I run the application, on the call of the pop-up window, the default selection in the radio button is not displayed. If I put this code somewhere else in the Web page, the selection is correct.

Any suggestions or pointers would be useful.

TIA

This is what works for me (well I used 12 c but lets see if it works for you too)

The bean code

public class PopupRadioBean {}

String selRadio;

{} public void setSelRadio (String selRadio)

this.selRadio = selRadio;

}

public String getSelRadio() {}

If (selRadio == null) {}

selRadio = "accept";

}

Return selRadio;

}

public PopupRadioBean() {}

}

}

Page code

As you can see, I put the string selRadio in bean to 'accept' if the value is null (meaning that the option button has not been selected).

Timo

Tags: Java

Similar Questions

  • After installation or upgrade to Firefox 31, starting Firefox does not display the home page, personalize displays a blank page and the radio button does not work

    I am the admin of Windows for a University Department and install PC with Firefox all the time. This problem does not occur with every PC I would maintain, only a selection bit (model different laptops with Windows and update 1 8.1.) Until today, it has happened with the new user (with admin rights) accounts that I place on laptops for our staff. Today, this happened with the account administrator while setting up a new laptop. In all cases so far, I have install Windows from a registered image that was created by using sysprep.

    I tried many suggestions to reset Firefox, removing the profile of Firefox users, removing the Windows profile users, uninstalling/reinstalling Firefox, uninstall/reinstall of Firefox and the latest Java, but nothing helped. After uninstalling, I run an application to delete the caches and temporary files and even remove manually the keys to register HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. I restart and make sure that the installation folder is deleted after uninstalling.

    Results are the same: after installing Firefox 31, the initial settings for migration, IE or Chrome pop up and after having clicked on the button finish, Firefox starts but does not display the home page of the new user, only a blank page. By clicking on the Options (3 bars) button does nothing. Right click in the appropriate box, the shortcut menu appears, so I can choose to customize, but which opens another tab with subject: Customize the URL and the page is blank. In the right click context menu, I can activate the menu bar and get options from that.

    My last attempt helped a little. I uninstalled Firefox 31, cleaned, removed the profile user Firefox, rebooted and then installed Firefox 30. Initial start-up runs and tells me that I'm not up-to-date and the works of button Options. But I can't always customize.

    Then I upgraded to Firefox 31, but then it's back to no start page, no options button and no customization. I can go down to 30 and get customize practically works again.

    Addon only is for McAfee Scriptscan to Firefox 15.1.0, just after installation is disabled.

    Any help would be appreciated. Thank you.

    You can try a different theme of Windows?

    Have you tried to start the computer using Windows safe?

    Start the computer in Mode safe mode with network support Windows (on the startup screen, press F8) as a test.

  • Why not Firefox 4.0 back button does not work since the homepage or google search?

    I've just upgraded to firefox 4.0 tonight, and the back button is not working properly of my homepage or certain types of google searches.

    I can reproduce this problem every time by following these steps:

    (1) open a new tab, and I get a blank page.
    (2) select the Home button. I find myself at http://www.google.com/ig
    (3) go to the address bar type in a new URI, and press return

    Now, I leave my home page and go to the new page, but I can't go back to my home page.

    Similar behavior happens if I do a search on google for the address of quick search in the upper right.

    (1) start a new tab.
    (2) enter a search term and press enter
    3) click on one of the links to research and you transition to the new page, but the back button does not work.

    It works fine if I do something like:
    (1) open a new tab.
    (2) enter google.com in the address bar and press to enter.
    (3) do a GOOGLES search arae.
    4) click a search result link.

    This works very well for me.

    In my case, I turn off the Add McAfee SiteAdvisor 3.3.1 and the problem goes away.

  • Scanner EPSON Perfection V200 Photo: PDF button does not work since I use the scanner with an ASUS i5 running Win 7 Ultimate desktop computer.

    The PDF button does not work since I use the scanner with an ASUS i5 running Win 7 Ultimate desktop computer. I downloaded the 64-bit Epson software for the scanner.

    I found the solution to the problem, and it is indeed with the revised in Windows 7 Control Panel.

    Here how to solve the problem:
    Go to the control panel in Windows 7.
    Search scanner in the upper search box to the right
    You will see a "view scanners and cameras".
    Click it, you will see the Epson Perfection V200. Highlight.
    Click Properties, then Yes, then events.
    Where it says select an event, you MUST choose the event suitable for each option.
    To the Start button, choose Start the series of creativity
    For the copy button Choose launch Epson Scan
    E-mail button also Epson scan
    PDF includes Epson scan
    There you go.
    Now, all this was not necessary before, there are no instructions, and the fault lies with MS. how much more confused MS will do the control panel?
  • Wifi button does not work after upgrade to windows 7 to windows 8

    Hi all

    I use a computer hp laptop pavilion. My wifi button stopped working after the upgrade to Windows 8. I installed the latest drivers wifi but the wifi button does not work on wifi. Help, please

    Concerning

    Wandi

    Hello

    I use a hp pavilion dv6 7030ei.

    I solved the problem of my wireless button not switching not wifi enabled or disabled. My laptops wifi button now works perfectly.

    I have has been Manager of access devices, then selected, network adapters

    -Click with the right button on intel Centrino Wireless - N 2230,

    -then click on uninstall and then uninstall. Restarted my PC.

    Then bang! my wireless button started working! I don't update this driver up to what Microsoft or intel acknowledges this problem caused by the wifi drivers 8 windows and provides an updated driver that is causing the problem I encountered.

    Thank you all for your comments.

    Concerning

    One_D

  • Delete the file as an attachment button does not work

    I have a form with a box the user can attach files. There are three buttons. To add a file to open the file to see it and the third button to delete the file that is highlighted in the drop-down list. Remove the button does not work. You see something wrong with my script?

    ADD A SCRIPT FILE

    MeetingMinutes.LogoControls.Attachments.Button1::click - (JavaScript, client)
    myDoc = event.target var;
    sFile var = "myFile" + NumericField1.rawValue;
    myDoc.importDataObject ({cName: sFile});
    myDataObject var = myDoc.getDataObject (sFile);

    sFileName var = myDataObject.path;

    ListBox1.addItem (sFileName, sFile);

    NumericField1.rawValue = NumericField1.rawValue + 1;

    OPEN THE SCRIPT FILE

    MeetingMinutes.LogoControls.Attachments.Button2::click - (JavaScript, client)
    try {}
    myDoc = event.target var;
    var sFile = ListBox1.rawValue;

    myDoc.exportDataObject ({cName: sFile, nLaunch: 2});
    }
    catch (e)
    {
    App.Alert ("Click on the file you want to open (select)," + "\n" + 'then click on the button to open the selected file' ");
    }

    REMOVE THE BUTTON SCRIPT

    MeetingMinutes.LogoControls.Attachments.Button3::click - (JavaScript, client)
    try {}
    myDoc = event.target var;
    var sFile = ListBox1.getDisplayItem (ListBox1.selectedIndex);

    If (sFile! == "") {}
    var nResponse = xfa.host.messageBox ("you are about to delete the attached highlighted file. \n\nDo you want to continue? ', 'delete an attachment ", 1, 2);
    If (nResponse == 4) {}
    myDoc.removeDataObject (sFile) + ListBox1.deleteItem (ListBox1.selectedIndex) + (NumericField1.rawValue = NumericField1.rawValue - 1);
    }
    } else {}
    xfa.host.messageBox ("no document selected. Click on the file to delete. ») ;
    }
    } catch (e) {}
    xfa.host.messageBox ("error in deleting of document");
    }

    Change var sFile = ListBox1.getDisplayItem (ListBox1.selectedIndex);

    TO

    var sFile = ListBox1.rawValue;

    Kyle

  • Factory settings Resinstalling when blue Thinkvantage button does not work

    Last year, I panicked when I thought I had a virus. Rather than rely on my own multiple back-up system, I guess someone knew more about computers that I do and let someone else in my computer. My X 60 has not worked properly since. The Thinkvantage button does not work, and it is hit and Miss as to if I can get the thinkvantage functions to work. My wireless radio buttons don't work at all, and the indicator wireless lights turn on and turns off at will.

    I tried to reinstall the application and the update of all implement the Lenovo site, but nothing worked, so I think I'll have to reinstall the orginal factory settings and start over again to clarify these issues.

    I backed up all my data, and made discs (just in case) recovery... now my question is, how do I start to "rescue and recovery" / 'reinstall factory settings' when the blue button does nothing when I push at the start?

    (Works under XP - if that makes a difference).

    Thank you

    Problem solved.

    I managed to get into Rescue and Recovery manually and found that I had a backup on my C drive that existed prior to my problems. I just restore to that date and "presto!" the blue button works again!

    I'll have to spend the rest of the day, re-installing everything that has been added or upgraded from a year, but this simple step seems to have solved my problem. Who would have thought that I had a copy of backup to disk C - I thought I backed everything up to an external drive!

    Tip for any staff of Lenovo, reading this - if your security people knew more about Thinkvantage program, I could have solved this problem months ago - these are them who sent offshore to find updates to day and re - install Thinkvantage to try to get the blue button works again.

    Thank you all.

  • my web button does not work for fast internet access. should what software I install

    my web button does not work for fast internet access. What software do I need to install. What past agter my hd crashed and I needed to replace it. THX

    Hello

    What is the model # computer? Check the following link to locate the model #:

    http://eSupport.Sony.com/us/p/support-info.pl?info_id=264#notebook

    You need Splashtop - software for fast Internet access. By pressing the "WEB" key when the computer is turned off, this software allows access to an Internet connection.

    Enter the model # below to check the software on the support page:

    http://eSupport.Sony.com/us/p/select-System.pl?Director=driver

    If my post answered your question, please mark it as an "accepted Solution".

  • iPhone 5 home button does not work after ios 10

    My 5 Iphone Home button does not work after update final IOS version of 10.

    The home button works on the first push to wake the phone but it will not open the phone the second button.

    I activated the assist button, which does not work either. But what I discover is if I open device for assistance then touch and lock screen click on the button home will work once to open the phone. If I open any app I can't close it unless I go through the same routine.

    You attempted to restart your phone?

    You can do so by holding the sleep/wake button and the Home button simultaneously until the Apple logo appears

  • I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    < re-titled by host >

    Take it to an Apple Store for repair or replacement.

  • My mute button does not work

    The button does not work everytime I try to put my phone on silent. I turn it down and it will automatically return to the sound, it activates again upward. What can I do?

    Hello Jackie101foever,

    Thank you for using communities Support from Apple!

    As I understand it, you can't silence your iPhone.  I have a suggestion that should help you with this.

    The first thing we want to do is to make sure that you have a current backup of everything on your iPhone.  If you follow this link, you will find instructions on how to make a backup:

    The backup of your iPhone, iPad and iPod touch

    If the silent button moves upward on its own, so you must do this checked by a service representative.  You can find the nearest one by looking here:

    Find locations

    If the button is stay down, but do not silence the iPhone then we want to restore all settings.

    Reset preference files resets all parameters that may be problems. This step will not delete your contacts, photos or personal information. It deletes all your preferences for Wi - Fi, Bluetooth, do not disturb, Notifications, general, sounds, brightness & wallpaper and privacy and removes your Touch ID & password.

    Do you this by clicking on settings > general > reset > reset all settings.

    Once you have done this, restart the iPhone and see if you are able to turn off the sound.

    Have a great day!

  • "Back" button does not work and lost bookmarks

    I followed the instructions that Firefox has been extremely slow. He said my favorites would be saved and everything should work as usual. However, I lost all my precious Favorites, and now the back button does not work. She is pale grey all the time, and itls drives me crazy, that I can't go back to the search page. I have to type everything in full again.
    If I can't change it, I'll have to switch to another web browser, after being with Firefox for more years than I care to remember.
    I liked using Firefox and have recommended it to all my family and friends.
    I'm very angry on my favorites, because I used these regularly and had a few coordinates links and important model for my sewing and knitting, as well as time-saving links. Now, I'm completely lost without them.
    If this isn't the page said it would be saved, then I would not have changed anything.
    It's very frustrating and annoying, after spending months, where I wanted and now he lost get it all because of the wrong information. I am very anxious.
    Lesley

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

    You can see if you can restore bookmarks to a JSON or a compressed backup of JSONLZ4 in the bookmarkbackups folder in the "Old data Firefox" folder on the desktop.

  • Firefox automatically updated itself, would not add new bookmarks, then deleted all mine, will not always add new, now the back button does not work. I'm Livid.

    I think I'm on Firefox 13.0. He put itself as part of the update of my computer up to date (at least I guess that's what happened, because it has changed). I noticed yesterday that he would not favorite Web sites, but I thought it was just the website or bookmarks have been full-time or something. Today, I tried to remove a few bookmarks to make more, but they would not remove. I tried to register a new site, and it wouldn't work. I tried to close/exit firefox and re-opening of the program. While the program was closed, I installed the next set of updates on my computer. When I have opened firefox, all my favorites, and the tab menu (or what you call personal small bar on the actual tabs) were gone. I can't always favorite of new sites, so I can't even re-do all my favorites (and I got a lot, all of them arranged so it's a big loss and incredibly annoying). Then I realized that the back button does not work. And the cursor remains on the typing that I symbol, it does not change the arrow, when I click on a link.

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • "Back" button does not work with the latest version of any help?

    Hi, I use the latest version. When I go through the pages, I can not be able to return to previous pages. The back button does not work. When I click the back button, the same page, it's not coming back... Any help would be much appreciated!

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    You can click right back or front button to open the history list.

    You can hold down the left button of the mouse either back or next to the history tab list opens.

    The current active entry has a bullet in front of it.



    If you place an entry in the historic session with the mouse tab, so you see an arrow to the left pointing (rear) left or right (forward) to show the direction.

    You can left click on an item to open it in the tab active or middle-click or Ctrl, click on an entry in this list to open that link in a new tab, just as you can with the other links.

  • TV out button does not work on my Satellite Pro M30

    Hello

    I installed Windows XP SP2 and all drivers for M30 but the "TV out" button does not work although I have also installed the tool "Controls Button from Toshiba" (continues to ask to be assigned to a program), it worked before installing the new.

    I also noticed that the "Fn + F5" also does not work too (eg. do not send the signal to the TV).

    Can anyone help?, thanks in advance.

    Hi Karim

    Write about you? :)

    In any case, try to install TOSHIBA common Modules again. Maybe it helps!

Maybe you are looking for