ADF - ReturnListener not called after many clicks in dialog window

Hi all,
I´m using ADF dialog framework to implement a re-usable pop-up search window. Everything works fine except when the user performs serveral (more than 8) searches in the pop-up window.
When this happens the returnListener is not called and the selection is not made.
I´m using ADF with MyFaces.
JSP # 1:
<af:commandLink id="btn_buscar" styleClass="lin1" partialSubmit="true" useWindow="true" windowHeight="400" windowWidth="400"
action="#{bean1.buscarAction}" returnListener="#{bean1.cargarAL}" immediate="true" text="#{bundle.abm_general_buscar}">
</af:commandLink>
Bean1:
public String buscarAction() {
return "dialog:busqueda";
public void cargarAL(ReturnEvent evento) {
long idSeleccion = (Long) evento.getReturnValue();
try{
if (idSeleccion!=0){
getFormulario().setId(idSeleccion);
getFormulario().cargarRegistro(FacesUtils.getUsuarioBean().getUsuario(),true);
}else {
inicializar();
catch (IExcepcion e) {
FacesUtils.addErrorMessage(e,true);
inicializar();
refrescarFormulario();
JSP # 2 (Dialog):
<af:commandLink actionListener="#{bean2.elegirAL}" text="#{bundle.abm_general_elegir}"/>
Bean2:
public void elegirAL(ActionEvent e){
AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
afContext.returnFromDialog(getValorElegido(),null);
afContext.getProcessScope().clear();
I read lots of tutorials about ADF dialog framework with no luck.
Any help will be apreciated,
Thanks in advance.
Gabriel

Please see post [SOLVED] Re: ADFFaces: returnFromDialog fails to invoke return listener aft for resolution.

Similar Messages

  • HT1277 my mail will not open after I click on mail.when I try to shut down my laptop ,it wouldn't  telling that mail is preventing the computer from shutting down,asking to quit Mail and when I do mail dose not quit

    my mail will not open after I click on mail.when I try to shut down my laptop ,it wouldn't  telling that mail is preventing the computer from shutting down,asking to quit Mail and when I do mail dose not quit

    Mail is open but it is frozen, being this the reason why you cannot open the Mail window. Press Alt, Command and Esc keys or go to  > Force Quit, select Mail and force quit it. Finally, you will be able to turn off or restart the MacBook

  • HT1541 the email informing the giftee that album has been sent has not arrived after many resends. Email address is fine. Have even tried a second email address and still no joy!!!

    the email informing the giftee that album has been sent has not arrived after many resends. Email address is fine. Have even tried a second email address and still no joy!!!
    Anyone out there with any ideas?

    Your dad should go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • Trial version does not download after I click on the download button.

    Trial version does not download after I click on the download button.

    After 'playing' some more I've come to the conclusion that this is an account specific problem.  Logged in to my wife's ID, same iMac, ran through setups and voila, all the sharing options are working.  I booted in to Safe Mode, logged out of iCloud, Twitter, restarted (normal), set up iCloud, etc again but still no services for me.  I hope one of our 'genius' community people can work this out (shouldn't have to) so I'm hoping Apple can sort this with their next update, if not sooner!

  • Urgent Please.. ejbStore is not called after ejbCreate..

    Hi all,
    In one of the beanmanaged entity bean, the ejbStore is not called after ejbCreate. I am using wblogic 6.1 server. I've also coded similar types of entity bean and those are working perfectly.
    I am getting the following exception message when I call the create method from the client.
    java.lang.NullPointerException
    at weblogic.ejb20.locks.ExclusiveLockManager.unlock(ExclusiveLockManager.java:222)
    at weblogic.ejb20.manager.ExclusiveEntityManager.afterCompletion(ExclusiveEntityManager.java:466)
    at weblogic.ejb20.internal.TxManager$TxListener.afterCompletion(TxManager.java:421)
    at weblogic.transaction.internal.ServerSCInfo.callAfterCompletions(ServerSCInfo.java:466)
    at weblogic.transaction.internal.ServerTransactionImpl.callAfterCompletions(ServerTransactionImpl.java:2105)
    at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2077)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1938)
    at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1882)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:219)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:188)
    at weblogic.ejb20.internal.BaseEJBHome.postHomeInvoke(BaseEJBHome.java:373)
    at weblogic.ejb20.internal.EntityEJBHome.create(EntityEJBHome.java:210)
    at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl.create(CCustomerBean_g1748h_HomeImpl.java:86)
    at com.emirates.dacs.logical.datamanagement.misc.customer.CCustomerBean_g1748h_HomeImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:288)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:257)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks in advance

    To answer your question partly -- as per the EJB specification, the ejbStore is called after the invokation of the business method and not ejbCreate method.

  • ADF VO Row Fetch Range Issue: Action is not called after 10th row

    Hi People!
    I am working with an Application here in which one page has a table based on a view object. This table has range navigation, and the VO configuration for Tuning is to fetch rows in batches of 1000, all in one fetch. Now, i have a single selection configured in this table, and also a button on the <tableActions> facet which calls a method on the backing bean.
    The problem is, for the first 10 rows of this table, the method is called (seen through the debugger), but when we move the selection to the 11th row or further, the page only refreshes but does not call the method.
    This is not a problem with the data, because we tried two other approaches:
    1) removed the range navigation and shown all the records in the same page: the error persists for the 11th row ahead
    2) changed the VO query to return only the 11th row from the previous test using its ID: the action is called, now that the row is the first on the rowset.
    Have you experienced similar behavior? Why the Action is not executed when the selected row comes after the tenth row?
    Any help is greatly appreciated!
    Regards
    Thiago Souza

    Hi Frank, thanks for the reply.
    I have assembled a step-by-step based on the HR schema. For this example, i have created an EmployeesVO based on the EMPLOYEES table, and an App Module to provide a data control. From then on:
    1) Create a JSF JSP to list the Employees VO
    1.1) Bind the JSF Page to a Backing bean
    1.2) Create an af:page element on the page
    2) Drag the EmployeesVO from the Data Control Palette to the af:page
    2.1) Read-Only Table, Selection Enabled
    2.2) Do not include table navigation.
    3) Double-Click the automatically created submit button on the TableSelectOne section
    3.1) Bind it to a method on the Backing Bean
    3.2) Add some code to it, in my case i tested:
         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage("Teste"));
    4) Run the example and try two approaches:
    4.1) select one of the first ten rows and click on the button: The action is fired.
    4.2) select the eleventh row and click on the button: The action is not fired.
    4.3) select one of the first ten rows again and click on the button: The action is fired.
    This example didn't even include range navigation, but if you want to test you will see the result is the same.
    Please let me know if you want further info.
    Thanks a lot!
    Thiago Souza

  • Ipod classic will not restore and will not work after many attempts

    I have purchased and replaced 3 ipod models, This is my third one (80GB ipod classic) and with out fail after 1 year and 2 months after buying it, it stopped syncing with my itunes and now after 5 attempts to restore it will not restore and will not work. I am sick of this and find it preposterous. What is wrong with ipods..? what is wrong with my recent one?

    I have tried to restore via itunes and I still get the same message on the Ipod after many many restore attempts."Use iTunes to restore" with the picture of a plug on the screen and then it just shuts down. Exactly 1 year and 2 months after I purchased it as was the previous Ipod I had in 07.... what is going on?
    Are ipods not made to work with both macs and pc's? it seems they just shut down after a while
    what can I do?

  • ViClose session not called after Read operation Timeout in an IVI COM driver

    Hi everybody
    I have a small VI sample that is initializaing an IVI COM driver for an OPM instrument, set some parameters into the instrument then is doing a single Read power measurement. My Read operation receives a single parameter called MaxTimeout that user could change depending on his own interest. Inside the Read function I change temporarily the VISA query timeout to user timeout but at the end of Read operation the original VISA session timeout is reverted to its original value before Read operation was called. If the Read operation timeout is long enough for the Read operation to complete ( 100 ms or more) the VI is doing its job and when finished the viClose is called twice for DefaultHandler and for OpenHandler.
    If the Read operation timeout value decrease ( 50 ms) then Read operation could not be completed and a Read Operation Timeout error is thrown from inside this method. This error is then propagated trough Error path until the VI end in a Simple Error Handler. Now on my VI I close all open references to my driver interfaces but I don't know why VISA itself is not calling viClose on the DefaultHandler and OpenHandler as in the case when was no VI error. I could see all these diferences in my NI Spy window and I could post this if that could be of any help. Bear with me cause I am more a C, C++, VB programmer and much less of a LabVIEW programmer. BTW the Error Handling from LabVIEW looks a a little weird and the only sure thing is that I wired in Error In and Error Out path in all my VI calls. What kind of error handling should I perform on the Read method in order for VISA to close properly both OpenHandlers even if there is an error in my VI?
    Thansk
    sorinvalea

    So viClose is not called by VISA after an error takes place in a VI that is calling some operations on an IVI COM driver.
    I discovered that all VI sessions opened trough VI that encountered a timeout error in Read operation and that were not properly closed after VI completed are in fact viClose by the LabView itself when I am closing LabVIEW application.
    So these left over open vi sessions are kept aside by LabVIEW until it closes itself and then clean them one by one by calling viClose on them....

  • DefaultTableCellRenderer is not called after fireTableStructureChanged()

    I have a simple JTable application, the data model gets changed and fireTableStructureChanged() is called which repaints the table and I see the modifications.... However the DefaultTableCellRenderer is not called for each row in the modler. So, if I have any colors, or text size differences from the default, this all goes away as the renderer process is not called when the jtable is repainted. Is there anything Im missing? I have tried calling repaint and varous other "repaint" things on the table etc... Note initially when the JTable is displayed all works fine, the DefaultCellRenderer routine is called on each row.... Its only after fireTableStuctureChanged is called it doesn't happen... Thanks for your response.., Jay Schrock

    I had the same problem and the following solved it to some extent.
    Before creating the table I created a DefaultTableColumnModel and added TableColumns to it using
    the TableColumn(int index, int width, TableCellRenderer renderer, TableCellEditor editor) constructor.
    Then I created the JTable with the JTable(TableModel, TableColumnModel) constructor. This works fine and does not lose the renderer and editor when the model data is changed.
    Please let me know if you find anything wrong with the above way.

  • ITunes will not launch after upgrade--click, bounce bounce, nada

    iTunes will not launch after upgrade--rebooted nothing--2 bounce icon
    then shut down all and unplugged, restarted--no change, iTunes still will not launch after upgrade
    iTunes current version
    on imac w/10.6.8

    I have the same issue.
    Allready uninstalled iTunes and reinstalled it, but the same problem occurs.
    Icon keeps bouncing, and all that's visible is the first menu-item in the top menu bar, named iTunes. Nothing is clickable though.
    The iPhone Configuration Utility doesn't seem to work either, it crashes on uploading an app to my iPhone. I guess it's using some of iTunes' libs or something.
    Does anyone know how to get iTunes working again? I'm getting pretty desperate over here...
    Thanks!

  • App.launchURL not working after multiple click

    Hi,
    I am using below script to open the url in new window.
    app.launchURL(dynamicUrl
    , true);
    After clicking the buttons multiple times, new window get hanged, even requested url not came to server.
    Is there any solution for this? Please help for the same.
    Thanks,
    Abhijit Mohite

    Probably because that method is called launchURL, not launchUrl...
    On Tue, Mar 3, 2015 at 11:20 AM, jeyak27602442 <[email protected]>

  • Dynpro pai call after checkbox click in cl_salv_tree

    Hello experts,
    I have a cl_salv_tree in a custom container on a dynpro. I activated editable checkboxes. I want to pass data from the ALV to the dialogue program after activating the checkbox: So I set up an event handler for CHECKBOX_CHANGE. There I set some screen data of the dynpro. I do also some changes in the tree itself.
    The tree display is being updated in this way, but the dynpro data isn't because no PBO is being processed. To enforce this, I put a "leave screen" command at the end of the event handling. Now, the screen data shows up fine. But the tree does not refresh. How can I refresh both screen and tree control data?
    Thanks to all
    Joerg

    You could execute a CALL METHOD cl_gui_cfw=>set_new_ok_code to trigger a PAI/PBO
    Regards,
    Raymond

  • Copy Settings to multiple images - STILL A NOT WORKING AFTER MANY VERSIONS!

    I have reported the problem of pasting settings to multiple images for many versions and this simple bug is STILL present in LR4!
    In develop module, make changes to an image, click Copy button, select settings to copy.
    Now, select a range or a number of images to which you want to paste the settings, click Paste button.  Guess what?  Only the first image gets the settings!
    This functionality should work and is even documented in the manual.  There are other ways of copying settings but I can never remember how to do this.
    Am I doing something wrong or is this a genuine bug that only seems to affect a few people (I did a web search for V3), or do people just not use this function?
    Please developers, fix this bug if it really is a bug!

    Thanks Dorin for the information.
    I guess I am just frustrated that the program does not work the way it is documented.  There are two very prominent buttons, Copy & Paste and they don't work as documented or as you would expect them to.
    With sync you have to navigate menus to do what one click of the mouse should accomplish.  All I want is some acknowledgement from Adobe that this is a bug and for it to be adressed.  As a long-time IT person I know this would be VERY easy to fix.  If it cannot be fixed then update the documentation.
    Oh well, enough said.  I still love LR!!!

  • Flash Player Not Working after many reinstalls, reboots, et cetera.

    Hey everyone.
    Here's the required info as per the guidelines before I get too into the background of the problem:
    OS: Windows 7 Ultimate (SP 1)
    Web Browser: Internet Explorer 11.0.9600.17633   (Please note this is not typically my default browser. I usually use Chrome, and Firefox is somewhere on the machine).
    Flash Version: 16.0.0.305  (Although this also happens with the beta 17 version).
    I tried to get help with this on the skype forums as this was primarily a skype-centric problem at first, but it has quickly turned into a problem with my flash player on internet explorer. Skype apparently relies on IE and specifically IE's flash player, which I cannot recall using ever on this machine. Any website visited in IE that has flash content somewhere on the page will freeze with either a blank white screen, perpetually load with only one or two non-flash elements on the page (such as a big black bar at the top on the adobe flash help page: Flash Player Help.)
    The ultimate goal of this troubleshooting is to get IE's flash working again so that Skype will begin working again.
    I have uninstalled, reinstalled, and rebooted countless times. I uninstalled IE and reinstalled it from the ground up, I have done so many things to try and diagnose this problem, but I just can't understand what it is. My flash works fine in Chrome, which is separate from IE due to the flash player in IE needing ActiveX, from what I understand.
    I can provide any additional information on request, and I will also link to the skype support thread so as to not require you to go through another troubleshooting step that they didn't already have me go through: Skype Fails to Send Messages, Update Status, Numer... - Skype Community
    Thanks in advance for any help you can give me.

    Uninstall Flash Player from your Control Panel
    Download the Adobe Flash Player installer directly by clicking one of the following links.
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    For further info on trouble installing, see here: http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header

  • Hyperlinks Not Working After First Click AND Message Editable in Inbox

    Recently, we have noticed some marketing emails we'd sent out are acting weird when we receive them in Apple Mail.
    We are using a reputable email marketing company to send the messages so I assume the formatting should be OK but occasionally the emails we send out:
    1.) Will allow clicking a hyperlink once but not again. By this, I mean you can click on the link and launch the default browser and visit the link but, if you go back to the message and hover over the link, the cursor is an I beam instead of the link cursor.
    2.) The message, while still in the Inbox, is actually editable! This might be the crux of the link issue since, if Mail is authoring a message, it won't allow you to click on a link (but will once the message has been sent and is in the Sent folder.
    Other details:
    a.) The hyperlink cursor will actually fail any time you have clicked inside the message body. So clicking the link the first time counts as clicking inside the message body.
    b.) Closing and reopening the offending message will reset the message so you can click successfully once again.
    c.) If you close the message that is "edited" it will not be saved.
    This is happening on several OS and Mail combinations. (OS 10.5.8 and Mail 3.6, 10.6.4 and Mail 4.3 and 10.6.6 Mail 4.4)
    We've only noticed this on emails that emanate from our email marketing company but it could be happening with others. We were wondering if there is some formatting they use that could cause this or if it's an Apple Mail bug.
    Very hard to diagnose. Any help would be appreciated.

    Sorry, I wasn't clear. Let me clarify: not sure how it could be an Apple Mail preference thing since the problem seems to track certain messages more than anything and the problem appears in at least 3 Mail apps versions on 3 different computers across 3 different operating systems. That would be a pretty coincidental preference anomaly!
    And yes, I said it could be happening with others; the operative word is "could". I didn't mean to imply by "could" that it indeed was. Just didn't want to rule out that possibility.

Maybe you are looking for

  • Removing AddressBar, StatusBar from Default Application Window

    Hi, I want to hide address bar from default application window! This application would be triggered from a link in another (web dynpro / non-web dynpro) application. And user should not be able to see where he is gets navigated. So, is there anyway w

  • Cannot download Acrobat Reader version 9

    Hi, I have been trying to download Adobe Acrobat Reader 9 and it starts to download correctly and then the download procedure is cancelled for some unknown reason. I am running Windows Vista Home Premium Edition X64 bit. Hopefully you can help me? Th

  • Storing Brushes actions and images in the cloud

    I just want to know the pros and cons of this as I am looking to upload all my brushes, actions, styles and stock images so that I can access them from home and work thus keeping them in one location. Does anyone use it for this? or do people use it

  • Automatic update for IPS on Cisco`s site

    Hi all, with Cisco Service for IPS active my IPS that run in ASA module will be able to download the signatures on Cisco`s Web site and update them alone? thanks for your help. "Together we are even better"

  • [internalization] cannot get the correct local lang

    Hi there, I'm trying to develop an application based on the Internalization tutorial. I'm not getting any errors by the server, but the application doesn't change the local language. In the HTTP monitor I've got the following header parameter sent by