Commandbutton inside popup does not fire action/actionlistener methods

Hi,
I am using 11.1.1.4.0
I have a page and on click of a button on that page, I launch a popup (using showpopupbehaviour, triggertype="click") which has a region (taskflow) inside it. The region is within a af:panelWindow inside the popup. I have also added 2 commandbuttons in the popup. Everything works fine, but the when the popup is visible, and I click the 2 command buttons on the popup, it does not execute the action method (or actionListener) method that I defined for those buttons. Any idea why this must be happening?
Code for the popup:
<af:popup id="popup1" contentDelivery="lazyUncached" binding="#{BackingBean.popup}">
<af:panelWindow modal="true"
title="#{pageFlowScope.tabContext.outcomeForPopup}"
id="paWin12"
helpTopicId="TOPICID_ALL"
resize="on">
<af:panelTabbed id="pt123" position="above"
inlineStyle="width:650px; height:650.0px;">
<af:showDetailItem id="sdi0"
text="#{pageFlowScope.tabContext.outcomeForPopup}"
stretchChildren="first"
accessKey="0"
immediate="true">
<af:region value="#{bindings.r0.regionModel}"
id="r1"/>
</af:showDetailItem>
</af:panelTabbed>
<af:commandButton text="First"
action="#{BackingBean.firstClick}"
actionListener="#{BackingBean.firstClick}"
id="cb3">
</af:commandButton>
<af:commandButton text="Second"
action="#{BackingBean.secondClick}"
actionListener="#{BackingBean.secondClick}"
id="cb4">
</af:commandButton>
</af:panelWindow>
</af:popup>
In the page definition of the main screen, I have this taskflow added
<taskFlow id="r0" Refresh="ifNeeded" activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding"
taskFlowId="#{pageFlowScope.tabContext.taskFlowIdForPopup}">
<parameters>
<parameter id="outcome"
value="#{pageFlowScope.tabContext.outcomeForPopup}"
xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
<parameter id="tabContext" value="#{pageFlowScope.tabContext}"
xmlns="http://xmlns.oracle.com/adfm/uimodel"/>
</parameters>
</taskFlow>
Thanks
Vishal

Hi friend ,
1,Inside the pop up u give two command buttons and double click the one button and it asking for create one bean.
2.U create the bean and inside u give coding like
public class popvisible
public popvisible()
public String page1naviagetion()
// Add event code here...
return "popTouser";(This is is Control flow case name it will go to another JSPX page.)
public String page2navigation()
// Add event code here...
return null;
}

Similar Messages

  • Accordion load event does not fire when accordion and load event created dynamically using actionsript

    I cannot get the accordion load event to fire when I have
    created the accordion and load event using actionscript . Here is
    some sample code:
    createClassObject(mx.containers.Accordion, "acc",
    getNextHighestDepth());
    acc.createSegment(mx.containers.ScrollPane, "sc1", "Number
    One");
    acc.createSegment(mx.containers.ScrollPane, "sc2", "Number
    Two");
    var accLis=new Object();
    accLis.load=function(evtObj) {
    trace("load");
    accLis.change=function(evtObj) {
    trace("change");
    acc.addEventListener("load", accLis);
    acc.addEventListener("change", accLis);
    I made sure to add the ScrollPane and Accordion components
    to my library. So the load event does not fire, but the change
    event does fire. And through further testing the other events do
    not fire, including the draw event. Can anyone help? The only time
    I can get the load event to fire on an accordion is if I put an
    accordion on stage, select it and add the actionscript to the
    objects actions like shown below:
    on(load) {
    trace("load");
    on(draw) {
    trace("draw");
    Can somebody help? Unfortunately I must create all my
    components dynamically. Thank you in advance.

    I'm having this issue also...but only apparently with Internet Explorer and only on some machines...ideas?

  • DidSelectRowAtIndexPath does not fire in SDK 3.0

    Hi everyone!
    I have iPhone application that works well in SDK 2.2.1 But in SDK 3.0 event didSelectRowAtIndexPath (as well as willSelectRowAtIndexPath) in MyTableViewController does not fire.
    I've downloaded "TheElements" sample application and it works fine on 3.0. I figured out that there is a difference in UITableViewCell initialization. So I removed old initWithFrame method and created new one initWithStyle. But no luck. I put breakpoint inside didSelectRowAtIndexPath event but debugger does not stop there.
    What other changes should I make to fire didSelectRowAtIndexPath event?
    Any help will be appreciated.

    romex wrote:
    Removing touchesBegan and touchesEnded methods from custom cell class resolved the problem.
    When we were working on this last June, do you remember if the methods you removed had been passing the events to super? I thought we covered that, but I don't see it anywhere in the thread. In other words, did the methods look like the example below?
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    [super touchesBegan:touches withEvent:event]; //<-- pass to UITableViewCell
    // cell does something else here
    Or, was anything like the following tried?:
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    [[self superview] touchesBegan:touches withEvent:event]; //<-- pass to super view
    // cell does something else here
    I still think something about the responder chain must have changed in 3.0, but it seems like one or both of the above methods should still work. If neither of them gets the touches where they need to go, maybe nextResponder isn't the same as superview(?). In that case you might try this:
    - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    [[self nextResponder] touchesBegan:touches withEvent:event]; //<-- pass to next responder
    // add extra sanity check
    NSLog(@"superview=%@ nextResponder=%@", [self superview], [self nextResponder]);
    // cell does something else here
    Hope the above sheds more light than confusion!
    - Ray

  • ON-LOGON does not fire in Form B, called from Form A

    We have a situation like this. We are using Forms (Forms [32 Bit] Version 10.1.2.0.2 (Production)).
    We migrated this application to Forms 11.2.0.1.0. Problem is that the ON-LOGON trigger does not fire in the 2nd level forms. Our application work like this.
    (a.) User double-clicks URL icon.
    (b.) Form A is opened without asking for un/pwd. We put a NULL; in the ON-LOGON of A.fmb.
    (c.) This is the main form of the application. This has a canvas with 6 buttons. Each button will launch it's own separate application with it's own menu.
    (d.) Now user presses button in A. This launches Form B. We use
    Run_Product(FORMS, 'B', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);              (e.) Now, in Form B, in the ON-LOGON trigger we have put code to show the logon screen and login to the DB.
    Problem is, this works in 10g Forms. But we had to replace the RUN_PRODUCT with a CALL_FORM after migrating to 11g since RUN_PRODUCT is not supported in 11g.
    Problem is that when you use CALL_FORM to call Form B, the ON-LOGON of the Form B does not fire. We tried OPEN_FORM and NEW_FORM with different parameters, but the behavior is the same. i.e. ON-LOGON does not fire.
    What is the solution or workaround for this please.
    Edited by: user12240205 on Oct 15, 2012 4:50 AM
    Edited by: user12240205 on Oct 15, 2012 4:52 AM

    Michael Ferrante (Oracle) wrote:
    If you need to open another form you should use CALL_FORM, OPEN_FORM, or NEW_FORM. In these cases, ON-LOGON will not automatically fire because the connect info is passed from the calling form. If you need to login from the called form then you need to need to programatically cause that to occur. Refer to the LOGON and LOGON_SCREEN built-ins in the Builder help for more info. You can fire these from almost any trigger you like, for example in a WHEN-NEW-FORM-INSTANCE trigger or where ever is appropriate for you application.Michael, we tried using the CALL_FORM, OPEN_FORM & NEW_FORM.
    Also, there is NO connection to the DB, when B is called from A since we don't login to the DB in A (ON-LOGON has NULL;).
    So, if there is no DB connection when B is called, shouldn't the ON-LOGON in B fire?
    We tried firing the LOGON_SCREEN and LOGON in the WHEN-NEW-FORM-INSTANCE. But, for some reason, the we don't get the menu (we get a menu not found error). We tried correcting the paths and other things but still no solution.

  • Flash CS4 onPeerConnect does not fire

    Hi
    I tryed to do Flex example for simple chat (p2p) with Stratus at Flash CS4 IDE
    (adapted it of course) but onPeerConnect does not fire.
    Can you take a look at my code ?
    What's wrong with it ?
    package {
        import flash.events.*;
        import flash.net.*;
        import flash.display.*;
        import flash.media.*;
        public class stratusTest2 extends Sprite {
            private const SERVER_ADDRESS:String="rtmfp://stratus.adobe.com/";
            private const DEVELOPER_KEY:String="a9fb14e5b040800e8327ab51-37f33907d0c1/";
            private var nc:NetConnection;
            private var myPeerID:String;
            private var farPeerID:String;
            // streams
            private var sendStream:NetStream;
            private var recvStream:NetStream;
            private var VideoDisplay:MyVideoDisplay;
            private var FAR_PeerVideoDisplay:farPeerVideoDisplay;
            private var VidDisplay:Sprite;
            public function stratusTest2(){
                addEventListener("addedToStage",initThis);
            private function initThis(e:Event){
                VidDisplay=new Sprite();
                addChild(VidDisplay);
                connectToStratusBTN.addEventListener("mouseDown",initConnection);
                initSendStreamBTN.addEventListener("mouseDown",initSendStream);
                initReceiveStreamBTN.addEventListener("mouseDown",initRecvStream);
                sendDataBTN.addEventListener("mouseDown",sendDataBTNPressed);
            private function initConnection(e:MouseEvent){
                if (MY_peerIDText.text) {
                    farPeerID=MY_peerIDText.text;
                nc=new NetConnection();
                nc.addEventListener(NetStatusEvent.NET_STATUS,ncStatus);
                nc.connect(SERVER_ADDRESS+DEVELOPER_KEY);
            private function ncStatus(event:NetStatusEvent):void {
                INF.appendText("ncStatus: "+event.info.code+"\n");
                trace(event.info.code);
                myPeerID=nc.nearID;
                MY_peerIDText.text=myPeerID;
            private function initSendStream(e:MouseEvent){
                trace("initSendStream");
                INF.appendText("initSendStream\n");
                sendStream=new NetStream(nc,NetStream.DIRECT_CONNECTIONS);
                sendStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                sendStream.publish("__media");
                var sendStreamClient:Object=new Object();
                sendStream.client=sendStreamClient;
                sendStreamClient.onPeerConnect=function(callerns:NetStream):Boolean{
                    farPeerID = callerns.farID;
                    trace("onPeerConnect "+farPeerID);
                    INF.appendText("onPeerConnect "+farPeerID+"\n");
                    return true;
                //VideoDisplay=new MyVideoDisplay(VidDisplay);
                //var camera:Camera=Camera.getCamera();
                //VideoDisplay.attachCamera(camera);
                //sendStream.attachCamera(camera);
            private function initRecvStream(e:MouseEvent){
                recvStream=new NetStream(nc,farPeerID);
                INF.appendText("start receiving from "+farPeerID+"\n");
                recvStream.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler);
                recvStream.play("__media");
                recvStream.client=this;
                //FAR_PeerVideoDisplay=new farPeerVideoDisplay(VidDisplay);
                //FAR_PeerVideoDisplay.attachStream(recvStream);
            public function receiveSomeData(str:String){
                txtReceiveData.text=str;
            private function sendDataBTNPressed(e:MouseEvent){
                sendStream.send("receiveSomeData",txtSendData.text);
            private function netStatusHandler(event:NetStatusEvent):void {
                trace("netStatusHandler: "+event.info.code);
                INF.appendText("netStatusHandler: "+event.info.code+"\n");
                trace(event.info.code);
    i have 3 input texts: MY_peerIDText, txtSendData, txtReceiveData
    When i press connectToStratusBTN i get ID after than i open another
    browser window with the same swf and paste this ID into MY_peerIDText
    After connection i press initSendStreamBTN in first swf (it is 1st browser page)
    and i press initReceiveStreamBTN in 2nd swf
    After that iwrite down some text in txtSendData TextField (in 1st browser page) and press sendDataBTN
    Nothing happens

    this function doesn't work correctly:
    private function sendDataBTNPressed(e:MouseEvent){
                sendStream.send("receiveSomeData",txtSendData.text);
    because you send not String, but link to the txtSendData.text, which is empty in another peer.
    So, solution is following (not the one, but for example):
    private function sendDataBTNPressed(e:MouseEvent){
             var sendString:String = "";
            sendString+=txtSendData.text;
            sendStream.send("receiveSomeData",sendString);

  • When I change a password, sometimes I get a pop-up asking if I want to save the new password - sometimes it doesn't appear. How can I save the new password if popup does not appear?

    When I change a password, sometimes I get a pop-up asking if I want to save the new password - sometimes it doesn't appear.
    How can I save the new password if popup does not appear?

    The website may be using autocomplete=off to prevent Firefox from saving the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save the name and password.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • Reset does not fire NavigationEvent - is this intended behaviour?

    Hi
    I realized that the ViewObject.reset() method does not fire a NavigationEvent. I think that resetting a current row is some sort of navigation which has some effekt on dependent objects (eg. detail views will be cleared). So I'd have expected that reset() should file a NavigationEvent.
    Can anyone explain me: Is this intended behaviour? Why?
    Thanks
    Frank Brandstetter

    >System Preferences>Mission Control>Show Desktop...should be F11:
    If not, change it.

  • Link inside webpage does not work.

    link inside webpage does not work ( http://ochre.lib.uchicago.edu/marathi/ ). i was able to launch a java program by clicking the link in the middle of the page in firefox 6. now it doesnt work in latest versions. link works fine in IE9

    Anyone?.

  • Setter/getter does not fire

    Hi,
    in a class CSampleEntity, the setter function
    public function set title( aValue:String ):void {
    this.setKV( CSampleEntity.PROP_TITLE, aValue );
    does not fire, while setKV() in CSampleEntity's super-class
    defined as
    protected function setKV( key:Object, value:Object ):void {
    _entityData[ key ] = value;
    _dirtyFlag = true;
    and _entityData is defined in CSampleEntity's super-class
    like this:
    // The values of this entity
    private var _entityData:Object = undefined;
    Could someone provide insights, why this call
    var sample:CSampleEntity = new CSampleEntity();
    sample.title = 'Hello World'; // << THIS does not fire
    the setter
    does not fire the 'set title' setter?
    Actually, the Flex AIR debugger show an object of class
    CSampleEntity with a property 'title' - but the setter does not set
    this property!

    "justria" <[email protected]> wrote in
    message
    news:gnkhoe$sk4$[email protected]..
    > Hi,
    >
    > in a class CSampleEntity, which gets instantaiated
    dynamically using
    >
    > public function createEntity( anObjClass:Class
    ):TAAbstractEntity {
    > var obj:TAAbstractEntity = null;
    > obj = new anObjClass();
    > return obj;
    > }
    >
    > the setter function
    >
    > public function set title( aValue:String ):void {
    > this.setKV( CSampleEntity.PROP_TITLE, aValue );
    > }
    >
    > does not fire.
    >
    > Could someone provide insights, why this call
    >
    > var sample:CSampleEntity = stm.createEntity(
    CSampleEntity ) as
    > CSampleEntity;
    > sample.title = 'Hello World'; // << THIS does not
    fire
    >
    > does not fire the 'set title' setter?
    >
    > Actually, the Flex AIR debugger show an object of class
    CSampleEntity with
    > a
    > property 'title' - but the setter does not set this
    property!
    So, if you have
    public function set title( aValue:String ):void {
    trace('aValue');
    You don't see the value traced out?

  • JComboBox does not fire Event

    JCombobox does not fire any event which should be send when typing on the keyboard. (Keypressed, keyReleased, keyTyped, caret-operations)
    Is there a known bug?
    I am using Netbeans 3.6 RC1 with Java 1.4.2_04 under WindowsXP.
    Thanks for your help
    Klaus

    myComboBox.getEditor().getEditorComponent().addKeyListener()

  • Source2wsdd: ServiceGen does not contain a start method - help!

    Hello all Weblogic Users!
    I would greatly appreciate any help with this problem.
    I am getting this error when I do my build on Linux.
    [source2wsdd] source2wsdd: Doclet class weblogic.webservice.tools.ddgen.ServiceGen does not contain a start method.
    Previously I was getting an error where the ServiceGen class could not be found. This was occuring both in Windows and Linux.
    For Windows, this can be fixed in two ways. 1) Run setWLSEnv.cmd first (in weblogic81/server/bin. 2) (Unconfirmed but try it) Add the tools.jar, weblogic.jar, and webservices.jar to the ant runtimes lib in Eclipse (see preferences/ant/runtimes/global entries. - This will let you run the task inside Eclipse)
    In Linux, I added the webloigc.jar and webservices.jar to the user's special ~/'.ant/lib directory (see ant documentation). This too fixed the problem of being unable to find the ServiceGen class. But now I am getting the error above. I am ripping my hair out trying to fix it.
    Any help would be appreciated.
    Thanks to all....

    Hi bkshn,
    This error is caused by the missing "Main" method in your project. it is the entry point of your project.
    If you want to create a EF project, you could follow the way in the aricle below.
    https://msdn.microsoft.com/en-us/data/ee712907#codefirst
    The Main method is like below.
    class Program
    static void Main(string[] args)
    using (var db = new BloggingContext())
    // Create and save a new Blog
    Console.Write("Enter a name for a new Blog: ");
    var name = Console.ReadLine();
    var blog = new Blog { Name = name };
    db.Blogs.Add(blog);
    db.SaveChanges();
    // Display all Blogs from the database
    var query = from b in db.Blogs
    orderby b.Name
    select b;
    Console.WriteLine("All blogs in the database:");
    foreach (var item in query)
    Console.WriteLine(item.Name);
    Console.WriteLine("Press any key to exit...");
    Console.ReadKey();
    And you could start to learn the EF from the following MSDN blogs.
    https://msdn.microsoft.com/en-us/data/ee712907
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    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.

  • Problem configuring Adobe Forms: ADSUSER does not have access to method...

    I hope all of you are doing well...
    So here is a rundown on what is happening.
    Enviroment:
    Netweaver 7.0
    ECC 6.0
    Abap and Java stacks are installed on the same system.
    Problem:
    I am trying to configure Adobe Print forms and not Interactive forms. When I run the test: FP_PDF_TEST_00
    I get the following error:
    Error Code: 100.102
    SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document  /User ADSUSER does not have access to method rpData./<ns1:com.sap.engine.services.ejb.exceptions.
    When I run the rpData test from the J2EE server I get the following response:
    HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 03 Oct 2008 15:56:51 GMT
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>User ADSUSER does not have access to method rpData.</faultstring><detail><ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1='http://sap-j2ee-engine/client-runtime-error'>User ADSUSER does not have access to method rpData.</ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    I would really appreciate all the help that I can get.
    Thanks...

    Thanks for the tip,
    I had actually gone through the note before and tried out a couple of tips that were suggested in the note. I am still having the issue and believe that it might be due to the fact that I do not have a Credentials file installed.
    I am applying for the credential and will see what happens.
    thanks,
    Saif

  • HT203983 my apple id does not accept my payment method. why? i am using that same visa card the last 5 years!

    my apple id does not accept my payment method. why? i am using that same visa card the last 5 years!

    there may be several reasons why your credit card may be declined by the iTunes store ,
    the reason the iTunes store require c.card when you setup your apple id is for verification purposes
    if you have called the iTunes store in the past about unrecognised charges, or unauthorised activity ,
    then your bank may have blocked your card from being used on the iTunes store, i would recommend contacting your banking institute

  • User J2EE_ADMIN does not have access to method rpData

    Hello,
    I'm using SAP ECC6 SR3 on windows x64 platform.
    I try to launch report FP_PDF_TEST_00 in SE38 and I get following error message :
    Test Program: Version Information (for Analysis Only)                                                                                1
    *** SYSTEM ERROR
    ERROR CODE    :    100.102
    ERROR MESSAGE :
    SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document  /User J2EE_ADMIN does not have access to method rpData./<ns1:com.sap.engine.services.ejb.exceptio
    SOAP Framework error: SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document  /User J2EE_ADMIN does not have access to method rpData./<ns1:com.sap.engine
    I checked RFC ADS and it use J2EE_ADMIN to connect to /AdobeDocumentServices/Config?style=rpc.
    Connection test returns no error.
    Does anyone have an idea ?
    Regards,

    ADSUser could be locked as in this thread,
    ADS Error: User does not have access to method rpdata.
    Regards
    Juan

  • ADS Error: User does not have access to method rpdata.

    Hi All,
    I have done the ADS configuration according to ADS guide. But when I check the ADS using FP_PDF_TEST_00 report. First of all it is not taking ADSUser or ADS_Agent id. If I give J2EE admin id and password then I get following error:
    SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document  /User J2EE_ADMIN does not have access to method rpData./<ns1:
    SOAP Framework error: SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document  /User J2EE_ADMIN does not have access t
    Please help me on this.
    TIA,
    Amit

    Amit,
    Check this thread and see if it helps.
    Adobe Document Services - test method rpData with user ADSUser and Notes 959462, 944221.
    Chintan

Maybe you are looking for

  • ABAP interfacing to CRM

    Hi CRM Tech guys,    plz tell me what are the reuirements in ABAP interfacing to CRM.  i want some function modules , bapis,  and needed middleware concepts. plz answer me. regards ram.

  • Error using jstl 1.1 core library on Weblogic 8.1

              I've deployed the sample web application 'jstl-examples.war' which comes with the           Java Web Services Developer Pack 1.2. When I view any page which accesses 'c.tld'           I get the following exception:           weblogic.servle

  • Do i need to register for OCP Exam or Can i direclty attend OCP Exams ?

    As i am very interested in taking the Oracle 10g Certification Program , I would like to know the procedure to attend the OCP exams . Here are my few queries. 1)What is Oracle Registration ? 2)Is it possible to attend OCP exams without being register

  • Connection problem any help

    Hello i just recently purchased a MSI GS Series GS60 Ghost-007 and i have been having a lot of connection problems i have tried searching for a solution but i cant seem to find one. any suggestions? NVIDIA GeForce GTX 860M 2GB Intel Core i7 4700HQ (2

  • Genius mix in itunes doesn't exist for me

    I dont see the "genius mix" option as stated in the help documentation in iTunes" Play a Genius Mix   Choose Music from the Library pop-up menu, and click Playlists.   Click Genius Mixes.   To start playing a Genius Mix, move the pointer over the mix