Get the status of a Department in a popup by using a radio button

I have a use case. A page with a button. The user clicks on this button, and then a pop-up window will appear showing the table of departments. The user will choose the desired radio button. After that, the popup closes and the list of employees should appear in the page.

I wrote a method in the property valuechangeevent of the option button (autosubmit is also set to true), but still I'm not able to get the current line. I need actually value departmentid.

Can someone guide me?

    public void onClickRadio(ValueChangeEvent valueChangeEvent) {
        // Add event code here...
        System.out.println("onClickRadio Begins");
        hidePopup("p1");
        DCBindingContainer bc =
            (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        DCIteratorBinding iter =
            bc.findIteratorBinding("DepartmentsView1Iterator");
        Row row = iter.getCurrentRow();
        Number departmentId = (Number)row.getAttribute("DepartmentId");
        System.out.println("departmentId: " + departmentId);
        OperationBinding method =
            (OperationBinding)bc.get("displayEmployeeTable");
        method.getParamsMap().put("departmentId", departmentId);
        method.execute();
        AdfFacesContext.getCurrentInstance().addPartialTarget(empTable);
        System.out.println("onClickRadio Ends");
    }
JDev 11.1.1.6

You can try with autoSubmit = true on selectBooleanRadio?
Also set the group to a text attribute in your selectBooleanRadio.

Of tagdoc -.

in all cases, you must set the group attribute.

http://docs.Oracle.com/CD/E23549_01/apirefs.1111/e12419/tagdoc/af_selectBooleanRadio.html

Published by: Sudipto detrilles on May 21, 2013 03:52

Tags: Java

Similar Questions

  • How can I get the status bar on my web page

    I want to get the status bar at the bottom of the web page so that I can slide from left to right, if an article is too large for my monitor. I got it this morning 05/01/15. After Thunderbird as an option for my email, the bar disappeared after uninstalling Thunderbird. I know hovering on the web pages I have on my menu bar, but I'd rather have the bar all at the bottom of the page.

    The gray bar appears in my email only. I would like to have it on all my sites.

    Thank you.

    I guess what you mean in the bar of horizontal scrolling if you want to be able to scroll horizontally.
    Firefox will normally only show the bar if content extends outside the browser window.

    You can have zoomed pages by accident.
    Reset the zoom of page on pages that are causing problems.

    • View > Zoom > reset (Ctrl / command + 0 (zero))
  • Failed to get the status of printer/bizhub Konica Minolta C654e

    Failed to get the status of printer/bizhub Konica Minolta C654e

    Cannot print from my Mac.

    With the limited information you supplied I would check the configuration of the print queue. If you open information system (located under Applications > utilities), you will see a column on the left and if you select printers the right pane displays the print queue information. Note If you have multiple printers, you can select in the right upper pane to view its information in the bottom right pane. Can you copy this information and paste it here.

  • Get the status of power system with labview 8.6

    can I get the status of the system power from my laptop with labview 8.6? I have a system that can send the alarm when the percentage of battery power and tha system loss is 30% lower.

    my system is windows XP sp3 from the tank you

  • LaserJet 2100TN: Laserjet 2100n - failed to get the status of the printer

    You just bought a few new computers Mac - one is a Macbook Air running Yosemite and one is a trash Pro Mac also running Yosemite. I installed the printer laserjet 2100 on the Macbook Air with no problems.

    BUT, when I installed the same printer on my garbage can, it will not be printed. Says: "unable to get the status of the printer.

    I noticed a couplde things: on the Macbook Air, the selection of the pilot was MUCH greater than on the trash even if the OS is exactly the same thing. So then I tried to download the drivers from HP, but apparently they are old. Now on the Macbook Air, the driver software is something like v19.11. On the trash, it is of the 4.3.1.094. So maybe I've screwed something up there.

    But in any case, I'll need to get the updated driver. Where is it stored? I tried to move the entire HP folder in my Macbook Air trash who lies here: car/library/printers. It does not work.

    any help would be appreciated! It's an old printer bought in 2000, but she such a great printer!

    Hello.

    Printers, Scanners &, select the printer and click on the sign - off.

    Then download and install the package away:

    https://support.Apple.com/kb/DL907?locale=en_US

    Once installation is complete, click on the sign more and re - add the printer, be sure to select the pritner model in the menu drop-down use while adding.

  • Can someone please tell me the "see correct / more effective to get the 'status' XML ' attributes

    Can someone please tell me the "see correct / more effective to get the 'status' XML ' attributes (ID, CssClass, Description and IsActive to the XML code below):

    Implementation will be the standalone .swf file

    (XML)

    <ArrayOfLineStatus>
    <LineStatus ID="0" StatusDetails="">
        <BranchDisruptions/><Line ID="1" Name="Bakerloo"/>
        <Status ID="GS" CssClass="GoodService" Description="Good Service" IsActive="true">         
             <StatusType ID="1" Description="Line"/></Status></LineStatus>
    </ArrayOfLineStatus>

    < ArrayOfLineStatus >

    < LineStatus ID = "0" StatusDetails = "" >

    < BranchDisruptions / >

    < line ID = "1" Name = "Bakerloo" / >

    < State ID = 'GS' CssClass = "GoodService" Description = "Good Service" IsActive = "true" >

    < StatusType ID = '1' Description = 'Line' / > < / status >

    < / LineStatus >

    < / ArrayOfLineStatus >

    There is no good way with as2:

    trace(this.firstChild.childNodes[1].childNodes[4].) Attributes ['ID']);

    trace(this.firstChild.childNodes[1].childNodes[4].) Attributes ['CssClass']);

    etc.

  • IOM sql Query to get the status of the failed task

    Hello world

    We have an obligation as we need to get the status of a particular task (say Create User in OID - Completed\Rejected status resource) for the particular user. We are able to get the status of the provisioed of resources to the user but not the status of the special mission which is trigerred for the user.can someone put some light on it. We must have the SQL query to do this.

    Thanks in advance.

    Kind regards
    MKN

    Hello
    Use this query to get the status of the task, also check the cooments

    SELECT USR. USR_LOGIN, OSI. SCH_KEY, ANN. SCH_STATUS, STA. STA_BUCKET OF
    OSI, CHS, STA, MIL, TOS, PKG, OUEDRAOGO, USR, OBJ, OST
    WHERE OSI.MIL_KEY = MIL.MIL_KEY
    AND ANN. SCH_KEY = OSI. SCH_KEY
    AND STA. STA_STATUS = SCH. SCH_STATUS
    AND TOS. PKG_KEY = PKG. PKG_KEY
    AND MIL. TOS_KEY = TOS. TOS_KEY
    AND OUÉDRAOGO. USR_KEY = USR. USR_KEY
    AND OUÉDRAOGO. OST_KEY = OST. OST_KEY
    AND OST. OBJ_KEY = OBJ. OBJ_KEY
    AND OSI. ORC_KEY = OUEDRAOGO. ORC_KEY
    AND OBJ. OBJ_NAME = "User AD".
    AND OST. OST_STATUS = "Provisioning" - filter accordinglly
    AND STA. STA_BUCKET = 'pending' - filter accordinglly
    AND PKG. PKG_NAME = "AD User" - filter accordinglly
    AND MIL.MIL_NAME = 'System' - filter accordinglly Validation
    ;
    Thank you
    Kuldeep

  • I can't use the link 'Check the seats' on Delta when I use Firefox, but Safari works fine. I get the message "not available at this time" when you use Firefox, but when I go on Safari it works just fine.

    I can't use the link 'Check the seats' on the website of Delta Airlines when I use Firefox, but Safari works fine. I get the message "not available at this time" when you use Firefox, but when I go on Safari it works just fine. I love Firefox but it sucks!

    This problem may be caused by corrupted cookies.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Firefox > Preferences > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox > Preferences > privacy > Cookies: "show the Cookies".
  • I cann't get the network wireless hp 7500 to connect. I use wep-64 and shared.

    I cannt get the network wireless hp 7500 to connect. I use wep-64 and shared.

    I'm glad it's working for you now.

    Thank you to inform the community that has solved the problem.

  • Any chance you get the status bar?

    Any chance can get you the status bar, because all updates FF28 past do not have the status bar which is where most of my favorite Addons are located (for example, eQuake Alert and ForecastFox. It's really annoying. I had to disable the automatic updates because of that and stay with FF28. I'm sure someday FF28 will become obsolete and then I won't be able to use my Addons.

    "No matter how lucky can get you the status bar?"

    Little or no chance to happen. As you very well know, there are one or more extensions to restore the bar of the add-on for Firefox 29 + versions.

  • get the status of 4500 printer wireless hp envy line after changing the wireless router.

    I use 8.1 window and I want to HP 4500-e printer all in one and all a works very well. My wireless router was going bad, so I replaced it. After the installation of the new router and get all my computers and devices (including the hp 4500 wireless printer) connected to the new network, I tried to print. The printer is waiting to print which was sent to her, but its status is set to offline mode. The box in the sign that says "set printer to run in offline mode" is not checked. but the status says HP ENVY 4500 SERIES (NETWORK) - in offline mode.  Anyone else has this problem and do you know how to solve this problem. I tried to turn off the computer and the printer and restarting their and running a hp Diagnostics program, but he says that everything works fine.

    Replacement of your wireless router try now.

    http://www.HP.com/global/au/en/wireless/reconfiguring-system-Help3.html

  • How can I get the status of calendar

    Hello.

    I want to get the schedule status change event in my application. If someone changes the status of the application of BB10 calendar calendar I want to capture this event in my application. Is this possible? I read on

    http://developer.BlackBerry.com/Cascades/reference/bb__pim__calendar__calendarevent.html#function-at...

    But still not sure how to get busy, etc. status available in the calendar.

    I'm not entirely sure of the syntax, but it should be something like this

    (don't forget the entire namespace in the params):

    CalendarMonitor::CalendarMonitor()
    {
        calendarService = new CalendarService();
        connect(calendarService,SIGNAL(eventsRefreshed(EventRefresh(bb::pim::calendar::EventRefresh))),this,SLOT(eventsRefreshed(bb::pim::calendar::EventRefresh)));
    }
    
    CalendarMonitor::~CalendarMonitor(){}
    
    void CalendarMonitor::CalendarMonitor(const bb::pim::calendar::EventRefresh ¬ification)
    {
        // get IDs of updated events only
        QList< EventId > evList = notification.updatedEventIds();
        // cycle through real events
        foreach (EventId evId, evList) {
            CalendarEvent ev = calendarService->event(notification.account(), evId);
        }
    }
    
  • How to get the status of the servers indeign

    I use indesign server.
    I want to detect if the server is frozen / crashed. Y at - it a command to get the console out permanently. I met heartbeatupdateinterval command line parameter. but I don't know how to use it, because it is not well documented.

    Or is there another way to say IndesignServer 'give me an update (console output or any other)"to check the health of InDesign Server.

    heartbeatUpdateInterval is a server parameter that indicates the interval of time (in seconds) during which the last active timestamp of InDesign server is updated on the console.

    Consider using the module with LBQ related to the status of commands like:

    -GetVersion

    -JobStatus

    -QueueStatus

    -IDSStatus

    and also some administrative commands:

    - Ping

    -Kill

    The ping command is what might interest you:

    It would give you timestamp active last server. This command requires no parameters.

    So, you could have your client installation to periodically hit the Ping command for LBQ-health surveillance.

    You could hit more orders as shown above for more details on the State of the server.

  • Get the status of the step

    I use ProcessModelPostStep reminder to check if the status of the step's 'failure '. To check the status of the step I use: (StrComp (RunState.Caller.Step.ResultStatus, "Impossible") == 0)

    If I insert a step of any type and force it to fail or set normal execution mode and step fails, ResultStatus always detects it as "fact".

    Is there a way to detect any type of step if failed when run mode is Normal or mode set as the Force failed?

    sonotk,

    It works fine for me.  You can't have the execution mode of one step another thing that the normal value.   If it is set to the neck strength or Force do the step actually does not record this engine callback.  The module is not yet run.

    Hope this helps,

  • Get the status of the USB

    Hello

    Can I detect if the device is coonected to USB.

    I tried the method of usbConnectionStateChange of SystemListener2... It is able to detect the USB status when the status of the USB. IE when I connect after the disconnect or unplug it after login.

    But if the device is already connected to USB and I turned off the BB with the red button and restart once again, he is unable to detect an event in usbConnectionStateChange...

    I want just a method that will let me know if the device is connected to USB.

    Thank you...

    The thing I was looking for, solved using USBPortListener.

    Thank you...

Maybe you are looking for

  • Should I buy a MacBook Pro now or wait for the WWDC

    Hello Well, I want to buy a MacBook Pro (my first one ever). However, I have read on some sites there is a new version of the MacBook Pro this year (at WWDC). Now I'm totally confused. I want to use a MacBook Pro 15 "(8 Go de RAM et 552 Go SSD) to wo

  • Call control panel upward on the iPhone 6 s

    I can last days of work is more drag up to quick access the Panel control, everything just stopped.  Any ideas on how to solve this problem?  I use the flashlight and enable and disable the wifi there all the time and miss it. BUrlgirl

  • my girlfriends account hacker

    Hi, my girlfriends account hacked and had to use this service through mine. Also, the person who hacked his account changed the password and made sure that any new password is sent to a yahoo account. the person also sent to all his contacts saying t

  • Installation of new fees for windows vista

    Hi guys! When I get off of my PC from vista to XP. I decided to put it back on the pre-installed Windows version. But when I put the installation CD, I could not start in it because this internet message would not appear "press any key to start from

  • Problem with OpenManage integration for vCenter - OMSA status: update required

    Hello We have a problem with the configuration of OpenManage integration on a vSphere 5.5 U2 Cluster. We have deployed IMO for vCenter v 2.3.0 build 290 aircraft, and we have installed manually OMSA VIB v7.4.0.2 on our 5.5. U2 ESXi hosts. The questio