Problem with af:tableSelectOne / af:commandButton

Hello

I have an af:tableSelectOne and an af:commandButton associated with 'Confirm' who has the action is the processLink() method in the bean support.

For the first page of the results of the table, everything works as expected, however, for no matter what later results page in the table by selecting a row and clicking on 'Confirm' submits the page but does not call processLink(), that is to say don't hit my breakpoint. After the presentation, by clicking on 'Confirm' hits processLink().

Why do I need to click the button twice to hit his action?

Also, if I put AutoSubmit true on af: tableSelectOne it solved the problem, but has the undesirable side effect of submitting the page every time a line is selected.

Any ideas?

Please let me know if more information is needed.

Thank you.

Hello

No, it's good because that's where the button belongs to ;-)

Frank

Tags: Java

Similar Questions

  • Problem with the safety of the ADF and Google Chrome

    Hi all

    I use jdev 11.1.1.7

    I've implemented the Login Page customized with ADF security following this blog:http://rohanwalia.blogspot.in/2015/02/custom-login-page-using-login-bean-in.html

    I used the example of application given in this blog and it worked on my integrated weblogic server.

    When I try to my local computer with Firefox, IE and Chrome, the application works fine and I am able to connect successfully.

    But the problem comes when I want to access the URI from another machine. When I try with firefox, it works fine and I am able to connect successfully, whereas when I try to login using Google Chrome, after the successful login the application redirects me to the Login Page. The URI indicates the URI of the landing Page in the address bar after the login, and just after a second it changes again to Login Page URI.

    It happens only with Chrome not with firefox.

    On 10 attempts to connect in Chrome across other machines, one or two gets successfully

    I've tried clearing cache and reset the browser also, also tried with various machine but the problem with chrome.

    I also used the default adf security Html pages but the problem is always the same.

    I tried with chrome Version 41 + and it is currently using 42.0.2311.90

    Please help me with your entries, to solve this problem.

    Kind regards

    Jean-Louis.

    Hi Alice,.

    We had the same problem with connect actions that redirect to the login to new page if authentication has been authorized. The problem disappeared after we added partialSubmit = "true" for the CommandButton that started the login action. You could try that.

    Kind regards

    Eelse

  • AF:panelTabbed - problem with displaying a popup on tab switching

    Hello

    I am facing a problem with disclosureEvent using clientListener of handling. I'm going to show a popup Ok/cancel whenever a user leaves a tab in panelTabbed.


    Here's the code: (this is the same code provided on the Oracle ADF code corner)

    < af:resource type = "javascript" >

    function alertTabSwitch (disclosureEvent) {}

    tab var = disclosureEvent.getSource ();

    {if (Tab.getDisclosed () == false)}

    popup var = tab.findComponent ('p1');

    Popup.Show ();

    popup.setProperty ("tabToOpen", tab.

    disclosureEvent.cancel ();

    }

    }

    function handlePopupOkCancel (actionEvent) {}

    popupButton var = actionEvent.getSource ();

    var butPressed = popupButton.getProperty ('popupAction');

    var = popupButton.getParent () dialog box;

    popup var = dialog.getParent ();

    If (butPressed == 'OK') {}

    var tabToFindAndFocusOnString = popup.getProperty ("tabToOpen");

    If (tabToFindAndFocusOnString.length > 0) {}

    var tab = AdfPage.PAGE.findComponentByAbsoluteId (tabToFindAndFocusOnString);

    tab.setDisclosed (true);

    actionEvent.cancel ();

    Popup.Hide ();

    }

    }

    else {}

    Close the pop-up window and stay on the page

    actionEvent.cancel ();

    Popup.Hide ();

    }

    }

    < / af:resource >

    < af:panelStretchLayout id = "PSL1" >

    < f: facet name = "center" >

    < af:panelTabbed id = "pt1" >

    < af:showDetailItem text = 'TAB 1' id = 'sdi1"disclosed ="true"stretchChildren ="first ".

    clientComponent = "false" >

    First tab

    < af:clientListener method = "alertTabSwitch" type = "Disclosure" / >

    < / af:showDetailItem >

    < af:showDetailItem text = 'TAB 2' id = 'sdi2' stretchChildren = 'first' clientComponent = "false" >

    Second tab

    < af:clientListener method = "alertTabSwitch" type = "Disclosure" / >

    < / af:showDetailItem >

    < / af:panelTabbed >

    <!-id = "af_one_column_stretched"->

    < / f: facet >

    < f: facet = 'Start' name >

    < af:popup = "deferred" autoCancel childCreation = "disabled" id = 'p1' clientComponent = 'true '.

    contentDelivery = "immediate" >

    < af:dialog id = "d1" title = "Tab switch Alert" type 'none' = >

    < f: facet name = "buttonBar" >

    < af:panelGroupLayout id = "g1" >

    < af:commandButton text = "OK" id = "cb1" partialSubmit = "true" >

    < name af:clientAttribute = "popupAction" value = "OK" / >

    < af:clientListener method = "handlePopupOkCancel" type = "action" / >

    < / af:commandButton >

    < af:commandButton text = 'CANCEL' id = "cb2" partialSubmit = "true" >

    < name af:clientAttribute = "popupAction" value = "CANCEL" / >

    < af:clientListener method = "handlePopupOkCancel" type = "action" / >

    < / af:commandButton >

    < / af:panelGroupLayout >

    < / f: facet >

    < af:outputText value = "Do you really want to switch tabs?" id = "ot1.

    inlineStyle = "do-size: medium;" Color: Red; "/ >

    < / af:dialog >

    < name af:clientAttribute = "tabToOpen" value = "" / >

    < / af:popup >

    < / f: facet >

    < / af:panelStretchLayout >

    Everything is done on the client side. When I click on a tab, first the "Unselect" event is fired for the selected tab and the value disclosed in this tab becomes false. After the value is changed, the listener is called.

    So in javascript, the same tab is released again after clicking OK.

    The value was not changed before calling the af: clientListener, this problem would not have arisen.


    Can someone help me with this?


    Kind regards

    Frédéric

    Change the as follows:

    The following has been tested against JDeveloper 11.1.1.7

    
    
        var theTabToClose;
        var theTabToOpen;
        function alertTabSwitch(disclosureEvent){
            var tab = disclosureEvent.getSource();   //This is the tab to close
            if(tab.getDisclosed()==false){
               theTabToClose = tab;
               theTabToOpen = disclosureEvent.getDisclosureCounterpart();
               var popup = tab.findComponent('p1');
               disclosureEvent.cancel();
               popup.show();
            }
        }
    
        function handlePopupOkCancel(actionEvent){
            var popupButton = actionEvent.getSource();
            var butPressed = popupButton.getProperty('popupAction');
            var dialog = popupButton.getParent();
            var popup  = dialog.getParent();
    
            if(butPressed == 'OK'){
                theTabToOpen.setDisclosed(true);
            }else{
                theTabToClose.setDisclosed(true);
            }
                actionEvent.cancel();
                popup.hide();
        }
        
    
  • Problem with the partialTrigger on the Table of the ADF

    JDeveloper Version 11.1.2.3.0

    I've reproduced the problem with partialTrigger on the array element. Sample application can be downloaded from here . He needs to run HR schema.
    Underneath the pageFragment sample, I can try refreshing adf table in two ways
    1. turn the addEmployee button id in partialTrigger of the ADFTable component.
    2. set the id of the button addEmployee in the PanelBox component partialTrigger.

    Note the difference - 1st only works no where as 2nd works very well. Do you have additional constraints when updating using the ADF Board
    partialTrigger?
    I have reproduced the usecase in example below:

    Structure of the PageFragment-

    PanelBox
    |
    | _ ADF Table
    |
    | facet __toolbar
    |
    | _ addEmployee button


    Code PageFragment

    < af:panelBox text = "PanelBox2" id = "pb1" >
    < f: facet name = "toolbar" >
    < af:commandButton actionListener = "#{bindings.addEmployee.execute}" = "addEmployee2" text "
    Disabled = "#{!}" Bindings.addEmployee.Enabled}"id ="cb1"partialSubmit ="true"/ >
    < / f: facet >
    < af:table value = "#{bindings." Var EmployeesView1.collectionModel}"="row"rows =" #{bindings. " EmployeesView1.rangeSize}.
    emptyText = "#{bindings." EmployeesView1.viewable? "{'No data to display.': 'Access Denied.'}".
    fetchSize = "#{bindings." EmployeesView1.rangeSize}' rowBandingInterval = '0 '.
    selectedRowKeys = ' #{bindings. " EmployeesView1.collectionModel.selectedRow}.
    selectionListener = "#{bindings." RowSelection EmployeesView1.collectionModel.makeCurrent}"="single"id ="t1 ".
    "displayRow ="selected"partialTriggers =": cb1 "styleClass ="AFStretchWidth">
    < af:column sortProperty = "#{bindings." EmployeesView1.hints.EmployeeId.name}"sortable ="false ".
    headerText = "#{bindings." EmployeesView1.hints.EmployeeId.label}"id ="c1">
    < af:inputText value = "#{row.bindings.EmployeeId.inputValue} '"
    label = "#{bindings." EmployeesView1.hints.EmployeeId.label}.
    required = "#{bindings." EmployeesView1.hints.EmployeeId.mandatory}.
    columns = "#{bindings." EmployeesView1.hints.EmployeeId.displayWidth}.
    maximumLength = "#{bindings." EmployeesView1.hints.EmployeeId.precision}.
    shortDesc = "#{bindings." EmployeesView1.hints.EmployeeId.tooltip}"id ="it1">
    < f: validator binding="#{row.bindings.EmployeeId.validator}"/ >
    < af:convertNumber groupingUsed = 'false' pattern = ' #{bindings. " EmployeesView1.hints.EmployeeId.format}"/ >
    < / af:inputText >
    < / af:column >
    < af:column sortProperty = "#{bindings." EmployeesView1.hints.FirstName.name}"sortable ="false ".
    headerText = "#{bindings." EmployeesView1.hints.FirstName.label}"id ="c2">
    < af:inputText value = "#{row.bindings.FirstName.inputValue} '"
    label = "#{bindings." EmployeesView1.hints.FirstName.label}.
    required = "#{bindings." EmployeesView1.hints.FirstName.mandatory}.
    columns = "#{bindings." EmployeesView1.hints.FirstName.displayWidth}.
    maximumLength = "#{bindings." EmployeesView1.hints.FirstName.precision}.
    shortDesc = "#{bindings." EmployeesView1.hints.FirstName.tooltip}"id ="it2">
    < f: validator binding="#{row.bindings.FirstName.validator}"/ >
    < / af:inputText >
    < / af:column >
    < af:column sortProperty = "#{bindings." EmployeesView1.hints.LastName.name}"sortable ="false ".
    headerText = "#{bindings." EmployeesView1.hints.LastName.label}"id = 'c3' >
    < af:inputText value = "#{row.bindings.LastName.inputValue} '"
    label = "#{bindings." EmployeesView1.hints.LastName.label}.
    required = "#{bindings." EmployeesView1.hints.LastName.mandatory}.
    columns = "#{bindings." EmployeesView1.hints.LastName.displayWidth}.
    maximumLength = "#{bindings." EmployeesView1.hints.LastName.precision}.
    shortDesc = "#{bindings." EmployeesView1.hints.LastName.tooltip}"id ="it3">
    < f: validator binding="#{row.bindings.LastName.validator}"/ >
    < / af:inputText >
    < / af:column >
    < af:column sortProperty = "#{bindings." EmployeesView1.hints.DepartmentId.name}"sortable ="false ".
    headerText = "#{bindings." EmployeesView1.hints.DepartmentId.label}"id ="c11">
    "< af:selectOneChoice value =" #{row.bindings.DepartmentId.inputValue} "label =" #{row.bindings.DepartmentId.label} ".
    required = "#{bindings." EmployeesView1.hints.DepartmentId.mandatory}.
    shortDesc = "#{bindings." EmployeesView1.hints.DepartmentId.tooltip}"id ="soc1">
    < f: selectItems value = "#{row.bindings.DepartmentId.items}" id = "si1" / > "
    < / af:selectOneChoice >
    < / af:column >
    < / af:table >
    < / af:panelBox >


    Thank you
    Rajdeep

    Hello

    the reason in my opinion, this has to do with the creation of the employee, who sits on the company and not the iterator that displays the data in the table. Therefore, the iterator must re - query to view the data that you created in silent mode in the background

    Addition of

    employeesViewImpl.executeQuery ();

    to your AppModule Impl class at the end of the creation of the employee solve the problem that you see

    Frank

  • Problems with project (component selectmany and refreshing while browsing)

    Hello all, I have problem with my project.
    I made 3 jspx pages, each page I placed component selectmany
    (1) selectmanshuttle
    (2) selectmanycheckbox
    (3) selectmanylist

    Shuttle component works very well.
    But I have problems with 2 following components: I do not get in the values of checkbox selected DB and when I press the button next to navigration they don't refresh this component too.

    I put you navigation buttons refreshselected method
    I updated component selectmany partial trigers of the navigation buttons

    Here are 2 screens of my project:

    http://ImageShack.us/photo/my-images/821/nextButton.jpg/
    http://ImageShack.us/photo/my-images/832/11716972.jpg/

    Project and also I put here, so please someone look.

    http://failiem.lv/u/raocczx when open the page, click project and download it

    In the project, there is 2 sequel jspx. pages that do not work: untitled2.jspx and checkbox.jspx
    And ViewController/ApplicationSources/opinion are my 2 java files (koks.java bean of the mine and have all the methods) and (helper.java) where I call these methods


    Here is the page OF JSPX selectmanycheckbox SOURCE code:
       <af:selectManyCheckbox value="#{backingBeanScope.koks.selectedTeritory}"
                                                     label="#{bindings.TeritorijasStatussView1.label}"
                                                     id="smc2"
                                                     partialTriggers="cb1 cb2">
                                <f:selectItems value="#{backingBeanScope.koks.allTeritory}"
                                               id="si2"/>
                              </af:selectManyCheckbox>
    And the Navigation buttons code source:
    <af:commandButton actionListener="#{bindings.Next.execute}"
                                              text="Next"
                                              disabled="#{!bindings.Next.enabled}"
                                              id="cb1"
                                              action="#{backingBeanScope.koks.refreshSelectedList}"
                                              partialSubmit="true"/>
    Published by: Raivis on May 13, 2012 11:21

    Raivis:
    If you think that it is completely answered, you can mark this thread as a response to the answers and close this thread.
    And post your new question in a separate thread, as this thread goes too long.

    Edited by: umesh.agarwal May 14, 2012 03:28

    Edited by: umesh.agarwal May 14, 2012 03:30

  • problems with, phone, 6, Bluetooth kit, Nissan, after update, for, Rios, 1.0.2

    After the update to ios 10.0.2 - trying to use bluetooth to call my vehicle, it says: "this article is not in your phone book." How can I solve this problem?

    Greetings, joybelino1!

    Thank you for joining the communities Support from Apple! I can't wait to see that you are having problems with your Bluetooth in your car! The good news is that Apple has a great article that will help you with measures to try to resolve the problem. Read this article to gethelp to connect your iPhone, iPad, or iPod touch with your car radio. Even though he talks about problems with the connection, it also has the steps for other questions you may have once connected.

    If you use Bluetooth

    1. Consult the user manual of your car stereo to get the procedure to a Bluetooth device.
    2. On your iOS device, drag up to open Control Center, then press ontwice to turn on Bluetooth and turn it back on.
    3. Restart your iOS device.
    4. On your iOS device, Cancel the twinning of your car radio. On the screen of your car désapparier your iOS device and any other device. Restart your car and your iOS device, then pair and connect again.
    5. Update your iOS device.
    6. Install the updates to the firmware of your car radio.
    7. If you still not connect, contact Apple technical support.

    Have a great day!

  • Anyone having problems with WiFi connectivity after upgrade to Sierra?

    I was wondering if anyone else knows issues with WiFi connectivity since the upgrade to Sierra 10.12? I have not had any problems with connectivity WiFi previously on El Capitan. Now I have regular randomly loose connectivity. My internet is cable and when it is connected I have a 100% connection. My details of iMac and I have used only 10% of my storage.

    No problem with my iphone 6.

    Hello AspDesigns,

    I understand that, since the upgrade to Mac OS Sierra, your Mac seems to have trouble staying connected to Wi - Fi. Fortunately the diagnosis built-in wireless can help identify the source of so much trouble.

    Search for Wi - Fi using your Mac problems

    See you soon!

  • Problems with mail after switching to macOS Sierra

    Hey all

    After having recently upgraded to macOS Sierra, I am unable to read my mail.

    I get the following error every time I check on "Get Mail".

    There may be a problem with the mail server or the network. Check the account settings "*" or try again.

    The server returned the error: Mail could not connect to the server 'pop1.tribcsp.com' using SSL on the default ports. Verify that this server supports SSL and that your account settings are correct.

    What does this error message mean and how can I solve this problem.

    Thank you

    Hi Michael,

    I see your message that you get an error in the mail indicating that there is a problem with the mail server or the network.  To help get this problem resolved, I suggest that you follow the steps below:

    If mail refers to a problem with the mail server, or the network

    Mail will say that it is impossible to connect due to a problem with the mail server or the network. For example, the message may refer to a connection that has expired, or too many simultaneous connections:

    If you are connected to the Internet, but the connection has expired, your email provider might be affected by a discontinuance of service. Contact them or see their status Web page to ensure that their e-mail service is online. Examples of status pages:

    If the message indicates the number of simultaneous connections, too many of your devices is check your e-mail account at the same time. Quit Mail on one or more of your other devices.

    If you are still unable to send or receive e-mails

    1. Make sure that you have installed latest version of the Mac software updates, especially if the problem occurred immediately after the installation of a previous update.
    2. In OS X El Capitan or later version, you can see a status icon and the short error message in the upper right of the Mail window, under the search box. The message may indicate 'Network offline' or 'Connection failed', for example. Click the message to see more details on the issue.
    3. Check your connection to the Mail connection doctor. It might be able to say more on the issue.

    If you cannot send or receive e-mail on your Mac.

    Take care.

  • iMac 27 "mid-2011 - Intermittent problem with CPU fan running at full speed and sleep mode.

    Hello!

    My iMac 27 "has an intermittent problem with the CPU fan runs at full speed. Sometimes it happens at the time when I start it, sometimes only in my session, and sometimes only after a certain time. So does seem to be a problem of "heating".

    Second issue is with the mode 'sleep'. It may occur also at any time, at the start of the iMac, session, or after a certain time. But once he starts to go in mode 'sleep', when I wake up, it goes right back in mode after a few seconds and that it will continue indefinitely until I restart the computer.

    What could be?

    Please help me!

    4ntoine

    Here is my model of iMac:

    iMac 27 "mid-2011 model 12.2

    Intel Core i7 3.4 GHz

    AMD Radeon HD 6970M 1024 MB

    OS X El Capitan 10.11.6
    SMC 1.72f2

    Boot ROM IM121.0047.B23

    reset the SMC

    Reset the management system (SCM) controller on your Mac - Apple Support

  • problem with playing the clash of clans

    I'm having some problems while playing the clash of clans on my 2 mini ipad screen does not seem to meet sometimes as if it was some sort of delay so I have to tap several times in order to use a filter or throw the troops on the battlefield.

    Hi Trinitygr,

    Thanks for posting in the Community Support from Apple! I understand that you are having problems with your iPad screen while playing a game. I like to play games on my iPad and I don't see how this could be a nuisance. I'm happy to offer assistance.

    Are you only had this problem when using the app clash of Clans, or does it happen in all applications? I recommend to start by following the steps described in this article:
    If an application you have installed unexpectedly closes, unresponsive, or does not open

    Take care!

  • I'm having problems with an outdated Apple ID

    I have problems with updating Apps etc in my Apple account because he always asked an obsolete in sign.  How can I change this?

    Hello

    Go down to itunes apple ID Delete page homepage all ID and then add it back back.

    See you soon

    Brian

  • Anyone having problems with the new iPhone LTE connection 7 on Verizon?

    I am now on my iPhone second 7 with Verizon. I had four phones for me and my family. I have now had issues where I have no signal in the same areas where my signal allows to be strong. I can't solve the problem with the activation/deactivation of the airplane and then mode again in normal mode. My phone will rest with no signal for 5 minutes, then going to LTE with three bars. I also had the problem where I had only 1 x signal, while my son standing right next to me has LTE. And he had the same questions, where I'm on LTE and it gets no signal. I use to have LTE where I live and work all the time, now it's spotty at best. Apple has replaced me and my sons iPhones but not luck. Still do. Any ideas or an any other suffering?

    (1) go to settings/cell phone/cellular data Options/enable LTE and select ONLY the DATA. This seems to solve the problem (as a temporary solution) for most of the people affected by this problem. The bad part is your request might not be as clear (since they cannot use the highest LTE signals) and you can make calls and data at the same time. But it does not solve the issue.

    (2) there are rumors (but you didn't hear that from me that we only are not supposed to discuss beta software program Apple in this forum) that the new version of Apple Beta for iOS (which also includes an update of the software carrier Verizon to 26.0) seems to solve this problem. So, there's a light at the end of the tunnel.

  • Problem with some fonts of symbols after the installation of the Sierra

    Hello

    I have recently upgraded the OS on my iMac late 2012 for Sierra, since doing so, I noticed a problem with several fonts.

    All symbolic symbols Apple to Wingdings fonts not correctly displayed in the font book. Apple symbols looks like a standard wheelbase of san, and other symbolic fonts just show as question marks '?' where the images should be.

    In text editing, that I can't even see the symbolic fonts like Zapf Dingbats and Wingdings in the selector. However, they all work well in Adobe Illustrator (CS5) and Microsoft Word 2011. Apple symbols still looks like a standard font.

    I already tried the following:

    1. check the fonts in font book

    2 fix the duplicates in the font book

    3. using the "Restore Standard fonts" option in the font book

    4 deleting a file in the folder Preferences plist Fonts

    5 deleted the cache of police and the database

    I'm out of ideas. Has anyone else had the same problem found a fix?

    Kind regards

    Greville

    I'm just to add that I used the recovery partition to do a clean install of Sierra on a hard drive external and then booted into it to see if it had the same problem.

    And he does. Wingdings and other photo fonts appear as '?' in boxes where the letters must be in the font book.

    So this seems like a problem with the way Sierra displays these fonts, not with the font files themselves.

  • ios10 problem with non-users of iphone messaging

    After upgrading my iPhone 6 ios10, I had intermittent problems with the messaging of Android users (basically, the conversations no iMessage). In about 60% of the time it is not just to deliver the message no matter what I do (pressing the 'Try Again' don't work do not). He has no problem with the reception of the texts, but I can't answer to Android users (Interestingly, I can message users of Android if they are in a group with iPhone users text). I tried everything was updated to the last verision until reset of ios everything.

    I can't find anything online about this. I'm the only one who what?

    Group Messaging uses the MMS. Normal text messages using SMS. SMS uses the voice channel to transfer messages and is strictly a basic function. If you are experiencing problems sending SMS, contact your carrier.

  • I have problems with ios 9.3.5

    my ipod says it's still Friday, September 23 when it is Monday 26 and is stuck in the 04:00 time when I change the time, the screen turns off a color at random, then restarts then both will and I have to change but rest later if it changes at all used to date will not change anything and it runs still works when it wants to and it doesn't stay connected to WiFi , I have the ipod 5th generation and am not elligible for ios 10 Please if you can solve this problem with ios 9.3.5 I would be very grateful as I use my ipod for almost everything. Thanks - René

    It is a community based on the user. You do not speak to Apple directly. You can contact the Apple Support here: http://www.apple.com/ca/contact/

Maybe you are looking for

  • Connection to update iPad

    I don't remember my password to update my iPad. I thought it was my Apple id password but when I put in it does not work.  Instead of asking me if I want to update my password, it blocks me on my iPad. Huh

  • Problems with Skype's sound quality.

    Original title: I tried to use the skyp sistem to speak with my family in Colombia, but the sound is terrible. Very well, I can't speak. I wish bady help me, thank you.I'm away to make phone call with Skype, but the sound is terrible, thanks

  • While typing my mouse jumps in Outlook, the menus appear as if by magic...

    I have a new problem, for the most part in Outlook, but not totally.  When I type, e-mail address or mail content menus as magically appear and stop my typing.  As I try to select items in the top menu bar, the other menus appear.  Everywhere I go th

  • Internal hard drive Inspirson 530

    Hey guys I'm trying to add another hard disk on my computer because I have more memory. You guys can recommend me a cheap 1 TB hard drive internal for my inspiron 530. I'd like one that I can use another computer too if I decide to upgrade to a bette

  • Error "the file WMPLOC.dll has a version number of 12.0.7600.16667 where 12.0.7600.16415 was expected"

    Original title: Windows Media Player has lost during backup using windows to the top. Windows Media Player has lost during backup using windows to the top. Windows Media Player has been lost everything by working on computer disk backup hard WD I dis