How to invoke actionlistener inside the af:switcher element

Hi guys,.

I'm working on Jdeveloper 11.1.1.6 and I have this situation: a selectOneChoice component that shows a particular aspect of an element of switching, and inside this facets, there are a few commandButton with Actionlistener. This id code:

< af:selectOneChoice value = "#{requestScope.panel}" autoSubmit = "true" valuePassThru = "true" > "

< f: selectItems value = "#{backingBeanScope.Bean.List}" id = "si2" / > "

< / af:selectOneChoice >


< af:switcher id = 's2' facetName = "#{requestScope.panel}" >

< f: facet name = "FACET1" >

< af:commandButton id = actionListener = "#{backingBeanScope.Bean.Btn_actionListener"cb1"} ' / > "

< / f: facet >

< / af:switcher >

The problem is that the actionlistener the command button does not work. How can I solve this problem?

Thank you!

Hello

There is another problem with your code (next to the realization by dvohra21). Select only one value is saved in a scope of application memory, which means that it is not persisted beyond application. The scope should be at least viewScope.

Frank

Tags: Java

Similar Questions

  • How can I produce inside the trim marks in Indesign CC?

    How can I produce inside the trim marks in Indesign CC. When a printer large format output a large image and then need to cut to size, inside trim marks are necessary. Normal trim/Cup brands get cut after the first cut.

    [Left the forum Cloud/Installer generic for program specific forum... MOD]

    To use the script, you need to draw a rectangle that is larger than the page, select the rectangle and run the script "CropMarks.jsx" of sample/JavaScript by the Committee of Scripts scripts:

    Front (showing the upper-left corner of the page; the assistance rectangle obscures the edges of the page):

    After (the rectangle of assistance removed after running the script):

    Uwe

  • I installed 12 PES.  How can I now download the trial of elements of Prime Minister?

    I installed 12 PES.  How can I now download the trial of elements of Prime Minister?

    OK, I found the answer.  I have re-download PSE 12.  When the download is complete, I can choose to download other software.  I canceled the installation of PES 12 (I had installed yesterday).

  • How to prevent activation of the application switcher function the central button of the mouse

    I use a mouse third with a scroll wheel (button 3) as the central button of the mouse.  How can I prevent this activation of the application switcher function button?

    System Preferences > mouse allows you to assign actions to the buttons on the mouse. Some mice come with their own drivers/preferences.

  • Only AAS, 2 inside the kernel switches (HSRP) Best Practice Design

    Hello

    I design a N/W with following equipment.

    1: 2 * carrots (4503)

    2: single Firewall ASA 5520

    I have following design options;

    DRAWING 1:

    1. Basic switches use HSRP
    2. VLANs are active on a (primary) switch at a time
    3. CONNECT THE TWO CŒURS WITH ASA
    • ASA E0 - outside (routers) switch
    • ASA (redundant interface = E1 + E3) R1 - the two nuclei (HSRP)
    • ASA E1 - Core 1 (F3/48) + ASA E3 - Core 2 (F3/48)
    • ASA E2 - switch DMZ

    DESIGN 2:

    1. Basic switches use HSRP
    2. VLANs are active on a (primary) switch at a time
    3. CONNECT THE TWO CŒURS FOR LAYER 2 SWITCH (INNER AREA)
    4. CONNECT THE LAYER 2 SWITCH TO ASA E1

    The first options looks better avoid me point single failure (Layer 2 of insdie switch).

    Unfortunately, I'm short on time and do not currently have access to the LAB.

    Please

    1. Share your experience and suggest which option is preferable
    2. Advantages, disadvantages during the failover hsrp, other features, etc.
    3. indicate if there is an alternate option
    4. Precautions

    BR,

    ABDUL MAJID KHAN

    Your "redundant ASA interface" is not really. Only one ASA has no real redundancy. I guess you could make a "inside the 1" and "inside 2", but they would have separate IP addresses and within hosts would not automatically from one to the other. " I would say that the complexity that introduced more than offset the second idea to have a small switch L2 VLAN between your ASA unique within the interface and your L3 core switches.

    That's why I prefer the second option. A switch L2 deemed unchanged configuration being done is quite reliable - I regularly fall on them with years of availability. You can also add a quasi redundancy in option 2 by tying together your ASA E1 interfaces and E3 in an etherchannel (requires a Software ASA 8.4 or later version). that option is not possible with option 1 (at least not in the two basic switches) as an Etherchannel are two IOS switches at one end.

  • How I can run inside the mc

    Hi all

    as

    This.menu_mc.about_btn.onRelease = function() {}
    gotoAndStop ("about");
    };

    parts or stop the playhead on the frame titled 'about' on the main timeline.

    but on stage, I have a mc, (content_mc) and by clicking on a button, I want to play the playhead within this content_mc

    I mean, by clicking on the button it should target (goto) and play/stop on the frame titled 'about' inside the movie clip content_mc

    How should I gve the code

    Please guide

    Thanks in advance.

    content_mc.gotoAndStop ("about");

  • How do I inject inside the ODI 11 G PL/SQL (not function procedure)

    Hello Expert,

    would be like double until OWB and ODI OWB 11 G I wich 'The user function' run PL/SQL and it remove some data in the table and the reel journal, is possible that I can do the same thing in ODI, in my case, I can't call function, or a procedure stored outside the ODI. See below the part of the PL/SQL based on user OWB.

    coil MyFile... Journal

    command prompt

    create table MyTable as

    Select a.*

    Of...

    commit;

    command prompt

    spool off;

    "exit";

    Thank you!

    You can run a PL within a procedure, you simply copy paste your PL and place in a procedure inside the ODI.

    I hope this can help you!

  • How to compile packge inside the procedure that uses this package

    ORACLE 10g, 11g

    CREATE OR REPLACE PACKAGE PKG_TEST_COMMIT
    PROCEDURE Insert_into_table_T1;
    PROCEDURE Update_table_T1;
    END PKG_TEST_COMMIT;

    CREATE OR REPLACE PROCEDURE PROC_TEST_COMMIT as
    Begin
    PKG_TEST_COMMIT. Insert_into_table_T1; -Insert data into table T1
    EXECUTE IMMEDIATE 'DROP table T1;
    IMMEDIATE EXECUTION
    "create table T1 as select"1 ","d"," s "from DUAL;" -now PKG_TEST_COMMIT package at the stage not compiled
    -compile the package
    DBMS_DDL.alter_compile ('PACKAGE', 'OWNER', "PKG_TEST_COMMIT");
    PKG_TEST_COMMIT. Update_into_table_T1;
    End PROC_TEST_COMMIT;

    When I try to run the PKG_TEST_COMMIT I get an error: cannot lock the package.
    I tried to create a separate procedure for compiling, but the result is the same.
    If I'm done PROC_TEST_COMMIT before compiling, then compile - OK.

    It's a way to compile the package inside the procedure?

    TRUNCATE and INSERT / * + APPEND * / should be more effective than deleting them and recreating a table wouldn't it because you don't have to worry about the invalidation and recompilation of all dependent objects.

    Justin

  • How to use getvariabledata inside the transform task?

    I try to use the getvariabledata of xpath inside a transform task function, but I'm unable to general relativity the value.

    < db:P_MIGRATION_ID >
    < xsl: value - of select = "string (bpws:getVariableData('inputVariable','/client:IRobo_Workflow1ProcessRequest/client:MIG_ID'))" / >
    < / db:P_MIGRATION_ID >


    Here I rolled inside a string, I tried to wrap inside the ora: parseEscapedXML() but it does not work also. Kindly help.

    Y at - it another way to get the value of a variable within the transformation.

    The best way is to enter the MIG_ID in the XML source.

    You may need to create a new xsd / variable to manage this new variable.

    You don't need like one for each you can assign to a level of header, then the transformation map it on the target which is to everyone.

    see you soon
    James

  • How to activate something inside the function outside the service? -class

    Hey,.

    I need to activate a few lines of code inside a function, because that's where the name of the object is filed.

    A Boolean value would work well? If so how exactly would implement it? I've tried Boolean but had no success because I'm not experienced with them...

    Heres a code:

    public var myboolean:Boolean = new Boolean();

    public void Function_One()

    {

    }

    public void Function_Two()

    {

    var myObject:DisplayObject = new ObjectClass();

    I want the name of object ' myObject which will be used for the Function_One() but I can not so what is a good method to solve this problem?

    }

    I was thinking about a Boolean might be useful, so it could "set off" my lines of code with an if statement to a boolean type. But no luck...

    Or is there a better way to do this?

    Thank you.

    Try with method 1:

    If (getChildByName ("enemy_mc")! = null) removeChild (getChildByName ("enemy_mc"));

    Try with method 2:

    for (i = this.numChildren - 1; i > = 0; i--) {}

    trace (BG.getChildAt (i). (Name)  Make sure that the name that you specified on stage

    If (this.getChildAt (i) .name == "enemy_mc") bg.removeChildAt (i);

    }

    Place a trace statement and identify first if he recover the movieclip 'enemy_mc '.

  • How to add subitems inside the xml file

    Hello

    This is the result I get in EM. Now, I want to add all three IncidentID and want to store in a variable. I used concat option, but it's not adding all the incidentID. How can I do?

    < HolxSrEventData >

    < incidentId > 2445030 < / incidentId >

    < > 55730 Parisby < / Parisby >

    < creationDate > 2013-01-22T 03: 46:23.000 - 05:00 < / creationDate >

    < processedFlag > Y < / processedFlag >

    < dateProcessed xsi: Nil = "true" / >

    < errorRemark > new entry < / errorRemark >

    < holxSrEventDataCollection / >

    < / HolxSrEventData >

    < HolxSrEventData >

    < incidentId > 2445030 < / incidentId >

    < > 55730 Parisby < / Parisby >

    < creationDate > 2013-01-22T 03: 46:23.000 - 05:00 < / creationDate >

    < processedFlag > Y < / processedFlag >

    < dateProcessed xsi: Nil = "true" / >

    < errorRemark > new entry < / errorRemark >

    < holxSrEventDataCollection / >

    < / HolxSrEventData >

    < HolxSrEventData >

    < incidentId > 2445030 < / incidentId >

    < > 55730 Parisby < / Parisby >

    < creationDate > 2013-01-22T 03: 46:23.000 - 05:00 < / creationDate >

    < processedFlag > Y < / processedFlag >

    < dateProcessed xsi: Nil = "true" / >

    < errorRemark > new entry < / errorRemark >

    < holxSrEventDataCollection / >

    < / HolxSrEventData >

    < / HolxSrEventDataCollection >

    Thank you

    Hello

    string-join is a standard xpath function... Oracle implements the function, but is not in the Mapper/wizards... It should be used in a transformation XSLT or BPEL 2.0...
    http://www.w3schools.com/XPath/xpath_functions.asp#string

    This transfer XSLT works, but you will lose the design view...

    
    
    
    
    
    

    I hope this helps...

    See you soon,.
    Vlad

  • How dynamically invoke or avoid the API methods depending on the Version of the API?

    Searched but could not find guides on this...

    I have a JDK 4.6 App, which itself pretties by using the () calls Field.setBackground and BackgroundFactory.Since that they require a minimum of JDK 4.6 it don't works on JDK 4.6 or better devices.

    It is just appearance, the rest of the application requires JDK 4.1. Is anyway I can avoid loading classes and 4.6 calls if the environment is< jdk="">

    I would use reflection except that is is not compatible with the Blackberry. I really want to avoid the separate binary files.

    Thanks - Lindsay

    I tried the preprocessor directives.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=8277

  • How to get items of the multi ArrayDataModel element

    Hello

    When I add items to an ArrayDataModel like that

    // Main.qmlvar data = {"name": filename, "path": filepath}theDataModel.append(data);
    

    How can I get items once again? When I fill out a single item of the data model I can use the value() method

    theDataModel.value(i)
    

    This gives the value added to the i - th position. But now I have items at each position in the data model. How can I get each item? When I use again theDataModel.value (i) I get '[object Object]' as output.

    Your output [object Object] is ok as is JSON object. To access name or path you need this

    theDataModel.value(i).name //print name value
    theDataModel.value(i).path //print path value
    

    Use the method of data instead of the value of your

    https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__arraydatamodel.html#functio...

  • How do I key in the first 11 elements? (Mac version)

    Does anyone know how I can successfully key in PE11 "Windows only" without overlay effects / filters (chroma, green and blue)?

    Shocked that this are not included.

    Thank you very much

    lastnameinthebook

    I thought that this question has been answered in your other post today.

    http://forums.Adobe.com/thread/1282328?TSTART=0

    The use of the Matte of difference is described in my blog which I gave you in this other thread link.

    Some try to use VIdeomerge in place and place the Mac lack of Chroma Key effects, touches of the screen blue and green overlay.

    Is this thread a duplicate of ovesight? If we missed to target your question above, please give more details on what you are looking for.

    Thank you.

    RTA

  • How long would you like the films Premiere Elements can manage?

    I did a movie about a filmmaker of long, including about seven audio tracks, with time. The program could not handle this file when I tried to put it on DVD. So I just buy Premiere Elements for the task. So, I did 15 minutes of the film, including 3 tracks audio mp3. The program crashes. How large file program treat normally. My computer is a brand new Acer 7735.

    Is it possible to make about four films and put them together on the DVD? They may appear as different scenes maybe. It would be easier and less risky.

    Thanks for any help.

    If your use of the Sony software to download to your PC, then the format is Mpeg.

    That being so, I would recommend that you forward convert DV - AVI import in PE.

    This will greatly reduce the stress on your PC and eliminate the need to make.

    Use this FAQ link to the DV - AVI conversion options:

    http://forums.Adobe.com/thread/415317?TSTART=0

    Conversion to DV - AVI will do for editing without hassle.

Maybe you are looking for

  • Qosmio F50 - 10z's front control panel not working

    My front end control panel does not work. I tried to recover my computer and reinstall the VAP but it still does not work. I want to why...

  • Is there something for the protection of the screen?

    HeyHave tryid to look around for something protecting my screen with when I wriding on it. Cause he was only 2 months old now and already had a few scratchses. Then I wanted to know that there is any kind of protection 'film' for her as offer what nu

  • Generation of weather in TDMS for measures of multi channels channel

    Hello world I have to write an application with five measures will at the same time... then it must be saved in TDMS each channel being its own channel of time just after she... IE sequence of the canal as below Channel group Measurement1 (EDT) 1 GCA

  • Windows 7 Enterprise 90 day trial removed

    I guess that Windows 7 90 day evaluation has been removed? http://www.Microsoft.com/en-us/evalcenter/evaluate-Windows-7-Enterprise If this is the case could Microsoft makes mention that the evaluation of Windows 7 is discontinued opposed to simply om

  • the lack of mini WAN port (atw) No. 4

    HP printer all-in-one 6310 Windows 7 64 bit When I try to print the prinyter prints a line and not more?