Double click on menu = exception : managed bean problem ?

Hello,
I am a beginner with JSF and I have to work on an existing project.
In my Web application, my problem is that if the user doubles click on some navigation links, then an exception is raised.
Technically, I think that 2 consecutive HTTP requests sent to the server enter in competition and thus the state of certain variables becomes inconsistent. This problem appears when the 2nd click is sent to the server before the server answered the treatment of the 1st click.
My current assumption is directed towards the managed beans used in the application (I am not (yet ;) ) a master on the subject). In fact, the main menu is �attached� to managed bean which are all of type �session�. At the time of the creation of the bean, a certain quantity of treatment is done to prepare information to be posted on the page. Other treatments are obviously done during the treatment of page JSF (Java code called by JSF of the).
I think that at the time of the first call, the managed bean is possibly initialized. At the time of the 2nd click on the page, this bean re-initialized or is simply removed if the user has clicked on another menu (which refers to another bean).
Would you have an idea of the veracity of my assumption?
Would you have an idea how to solve the problem?
I am currently looking for a JavaScript which allows me to disable all buttons on the page before the complete response of the server (that in order to prevent the user from clicking on an action before its preceding action is not treated).
Thank you in advance for your help and all your ideas !

mharelick wrote:
the trash can icon is still having crashes.
Launch the Terminal utility and type this command, each followed by the "return" key:
ls -lad .Trash
ls -la .Trash
The "l" in those commands is the lower-case letter "L".
The first command shows you the ownership and permissions of the .Trash folder. On my system my user "short name" is listed as the owner and group. The permissions are "drwx------".
The second command shows you any files within the .Trashes folder. (Ignore the entries ending in one and two periods.) You should be the owner of anything in it. The permissions on anything there should start with "-rw" or "drw".
If you see anything different, describe what you see and someone will be able to give you instructions for repairing it.

Similar Messages

  • HT5858 Before IOS7, I was able to double click the menu button and turn off apps to save battery, Is there a way to do this with IOS7?

    Before IOS7, I was able to double click the menu button and turn off apps to save battery, Is there a way to do this with IOS7?

    Sure thing...You're very welcome!
    Thank you for the points!

  • Where's the double click the menu bar to minimize?

    In Lion, I can no longer double click a window menu bar to minimize it. I can't find an option in the System Preferences for it. Is it really gone or can I just not find it? Thanks

    It doesn't appear in my General preferences either.

  • Double-Click to Open Folders in Mavericks Problem

    Since I installed Mavericks on my 27" iMac, I have had a problem with double-clicking to open a drive or a folder. It seems to be working only about one out of every tenth time I try it. I can open them with a right click and select open. If a drive is open I can open them using the small grey right arrow next to the folder. Other than that I get failure most of the time. I have tried trashing the Finder preference file, but this does not seem to work. I have tried restarting with no success.
    The only think I did that may be connected is regarding Finder Preferences Tags. I wanted to see what choices there were there. Each colored tag had a small blue square to the right with a minus sign in it. I checked the Red tag to make it a check mark. I can't seem to get it back to the small minus sign. I am not sure if this is connected.
    Anyone else with the same problem or a solution?

    I tried creating a new duplicate account with Migration Assistant, but this did not change. I now suspect it has to do with overall size of my account - many files, pictures, movies, music, etc accumulated over many years. I see that Spotlight is still trying to index all of the files, which may be what is slowing things down.
    The main effect is the inability to double-click a drive or folder to open it up. It works only about 1/3 of the time. When the main folder opens, the next level folder most often still has a problem.
    I will report back when Spotlight finishes its indexing.
    Anyone else have this problem?

  • My downloads will not open when I double click or right click in the download manager. What is going on?

    I cannot open my download by right clicking and opening, or by double clicking in the download manager. I have windows 7. What is the problem? I do not have a problem with internet explorer with the same download.

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Trigger click event on RichLink from Managed Bean

    I want to fire a click event from a managed bean of a RichLink which has a clientListener of click type.
    For this, I have tried many options, but nothing works.
    My problem is that the RichLink doesn't have action and actionListener properties, then I couldn't launch ActionEvent, since doesn't exists.
    I have tried few options:
    //NOT WORKS
    public void option1() {
      RichLink linkF11 = (RichLink) JSFUtils.findComponentInRoot("cil2");
      String script = "var link = AdfPage.PAGE.findComponentByAbsoluteId('"+linkF11.getClientId()+"');" +
                        "link.click();";
      addJavaScript(script;)
    //NOT WORKS
    public void option2() {
      RichLink linkF11 = (RichLink) JSFUtils.findComponentInRoot("cil2");
      String script = "var link = AdfPage.PAGE.findComponentByAbsoluteId('"+linkF11.getClientId()+"');" +
                      "link.queueEvent('click');";
      addJavaScript(script;)
    //NOT WORKS
    public void option3() {
      RichLink linkF11 = (RichLink) JSFUtils.findComponentInRoot("cil2");
      String script = "var link = AdfPage.PAGE.findComponentByAbsoluteId('"+linkF11.getClientId()+"');" +
                      "AdfCustomEvent.queue(link, "tooglePanelSplitter",{}, false);";
      addJavaScript(script;)
    //WORKS -> DOM EVENTS, NOT ADF
    public void option4() {
      RichLink linkF11 = (RichLink) JSFUtils.findComponentInRoot("cil2");
      String script = "var link = document.getElementById('"+linkF11.getClientId()+"');" +
                      "link.click();";
      addJavaScript(script;)
    private void addJavaScript(String script) {
      FacesContext facesContext = FacesContext.getCurrentInstance();
      ExtendedRenderKitService service = (ExtendedRenderKitService) Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
      service.addScript(facesContext, script);
    Finally, I could find a solution, but I have read that, we should avoid call javascript standard code in ADF.
    jsf code
    <af:link text="Modo Comp." id="cil2"
      partialSubmit="true" styleClass="icon-list-alt"
      shortDesc="Modo Compatibilidad"
      clientComponent="true">
      <af:clientAttribute name="psId" value="#{myBean.psF11.clientId}"/>
      <af:clientListener method="tooglePanelSplitter" type="click"/>
    </af:link>
    javascript code
    function tooglePanelSplitter(event) {
        var psId = event.getSource().getProperty('psId');
        comp = AdfPage.PAGE.findComponent(psId);
        if (comp) {
            comp.setProperty("collapsed", !comp.getProperty("collapsed"));
        }  else {
            alert('not found');
    PS: jdeveloper 12c (12.1.2.0.0)

    I wanted to fire the ClientListener from a managed bean, but finally I have solved executing a new javascript code from managed bean.
    In my first javascript code, I toggle the position of a panelSplitter, and in this new code, I set the position to not collapsed.
    //SOLUTION
    public void option4() {
      String psId = ztBean.getPsF11().getClientId();
      String script = "var psl = document.getElementById('"+psId+"');" +
                      "psl.setCollapsed(false);";
      addJavaScript(script);
    private void addJavaScript(String script) {
      FacesContext facesContext = FacesContext.getCurrentInstance();
      ExtendedRenderKitService service = (ExtendedRenderKitService) Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
      service.addScript(facesContext, script);

  • Problem with Action binding for a command button in a Managed Bean

    Hi
    Thank you for reading my post
    I am trying to use a backing bean for a button action binding.
    I followed all steps as they seems to be correct. i did not made any changes directly by hand , all of changes are introduced by oracle
    Jdeveloper wizards. but now i get this exception
    Managed bean is defined in faces-config.xml (it shows in preview mode) , the method is there in managed bean (Jdeveloper itself create the method i just enter its name)
    can you please take a look and tell me what can be wrong?
    thanks
    here is method and its body in managed bean
    public String userAccept_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
        }here is the exception that i recive
    javax.faces.FacesException: #{ButtonActions.userAccept_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adf.share.security.authentication.AuthenticationFilter.handleAuthentication(AuthenticationFilter.java:177)
         at oracle.adf.share.security.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:112)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at webui.common.CharacterEncoding.doFilter(CharacterEncoding.java:26)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:105)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:167)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:415)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:143)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 34 more
    Caused by: javax.faces.FacesException: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:292)
         at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
         at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)
         at oracle.adfinternal.view.faces.model.VariableResolverUtils$JspResolver.resolveVariable(VariableResolverUtils.java:79)
         at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         ... 37 more
    Caused by: javax.faces.FacesException: The scope of the referenced object: '#{bindings}' is shorter than the referring object
         at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:911)
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:567)
         at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:253)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:282)
         ... 43 more

    Thank you for reply , but it does not helps or maybe i did not apply it correctly
    here is faces-config.xml code snippet :
    <managed-bean>
        <managed-bean-name>ButtonActions</managed-bean-name>
        <managed-bean-class>webui.common.actionListener.ButtonAction</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
        <managed-property>
          <property-name>bindings</property-name>
          <value>#{bindings}</value>
        </managed-property>
      </managed-bean>here is binding for the button in jsp file :
    <af:commandButton
                                    text="#{res['button.accept']}"
                                    disabled="#{!bindings.Commit.enabled}"
                                    action="#{ButtonActions.userAccept_action}"/>and here is some code portion of ButtonAction class
    package webui.common.actionListener;
    import oracle.binding.BindingContainer;
    import oracle.binding.OperationBinding;
    public class ButtonAction {
        private BindingContainer bindings;
        public ButtonAction() {
        public BindingContainer getBindings() {
            return this.bindings;
        public void setBindings(BindingContainer bindings) {
            this.bindings = bindings;
        public String userAccept_action() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding =
                bindings.getOperationBinding("Commit");
            Object result = operationBinding.execute();
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
    }and i still get the same error.

  • Double clicking does not open an app or a folder

    I'm writing this for a friend, because she cannot get to this page. Double-clicking (almost always - except when it doesn't) opens a query window. If it's an app in the dock, it queries "Remove from dock, open @ log in ..." When I double click Documents, the window says "open, get info, open enclosing folder ..." When I click the Sȃfari app from the app folder, the window sez "get info, show package content ..." When I double click a document the window says "open with, Print, get info ..." If I open the **** thing (any of the above) I have this same problem with any links on the page. She has a Mac 10.4.10 with a 2.16 GHz Intel Core 2 Duo, Imac 5,1

    System Preferences->Keyboard & Mouse->Mouse tab and check the double-click speed. If changing that doesn't fix the problem, create a new admin user account, log into it, and see if the behavior continues. Post back with the results. She needs to have registered to get to these pages.

  • Petition for Zen Micro to have double-click capabil

    <SPAN>I would like to submit a petition to have the Zen Micro have double-click capability. We all experience the annoyance of the sensitivity of the touch pad.<SPAN> It seems to response to any single click we do.<SPAN> Now, instead of having a single click, let?s have a double-click.<SPAN> Except for the volume control, let?s have every function, or most functions response with a double click.<SPAN> If we want to play, double click.<SPAN> If we want to go to the menu, double click. If we want to select an option, double click.<SPAN> If we want to select a window in the menu, double click.<SPAN>
    <SPAN>
    <SPAN>What do people think?<SPAN> Any other suggestion regarding this? I hope people sign. I would love this option. I think it would allow me to select tracks, and control volume (among many other things) while the Micro still being in my pocket.
    <SPAN>
    <SPAN>Also, is there a place I should send this to to have Creative read the petition?
    <SPAN>
    <SPAN>Thanks.

    It's not so much as making things idiotproof. That's why people put up petitions. It's to make things more convenient that makes the usage easier. It also adds options. People don't have to use it if they don't like. Personally, I like it because you wouldn't hit any button by accident, especially if it's in your pocket.

  • Firefox crashes every time I double click on the web screen

    Okay, this may sound funny and I've tried searching the web to no avail. I've just recently upgraded my Firefox and so far it's working...until when I double-clicked on the web page (the fast way to block a whole paragraph to be copied). The Firefox then suddenly crashed. First I thought there might be a web page which caused the problem, but when I experimented double-clicking on the Firefox Homepage, the problem persisted. This hasn't happened before and I have no idea what error does the double-click induces. The other processes---downloading, uploading, etc.---works fine. Maybe you guys will find it minor, but still it annoys me every time I forget and double-click.
    == Crash ID(s) ==
    bp-37c72e77-c637-4ff1-8c22-0b73d2100707

    You have or had an extension installed (MegaUpload toolbar) that has changed the user agent from Firefox/3.6.7 to Firefox/3.5.3.
    You can see the Firefox version at the top and the user agent at bottom of the "Help > About" window (Mac: Firefox > About Mozilla Firefox).
    You can check the '''general.useragent''' prefs on the '''about:config''' page.
    You can open the ''about:config'' page via the location bar, just like you open a website.
    Filter: '''general.useragent'''
    If ''general.useragent'' prefs are bold (user set) then you can right-click that pref and choose ''Reset''.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • Double-click in Files panel will not open a file

    Double-click in Files panel will not open a file. Instead
    alert message appears (I will translate from Czech): "Design notes
    are not allowed for this file. If you want to use Design notes...".
    I do not want use Design notes, I want to open a file from File
    Panel.
    The same issue is when opening by right-click/Open. The only
    (and unconfortable) way to open a file from Files panel is to
    right-click/Open in program/Dreamweaver, this works.
    Do you know why? help me, please, this disturbs me very much.
    I have clean installation of up to date CS3 Design Premium
    (Version 9.0 build 41) on WinXP SP2. Previous version of DW (v8)
    worked fine in this way. Associations in system are set OK, I
    think, because double-clicking in my file manager really opens for
    examle PHP files in DW.

    Also Drag & Drop from Files panel is not functioning.
    Sometimes neither alert appears, simply nothing happen.
    Note: I am trying usual files like PHP or HTML files, but
    also others (PDF, CSS) with the same result - nothing
    happens.

  • Double Click Navigation with ABAP Source Codes of Reports On ABAP Workbench

    Hi,
    i have a problem about double click on abap source code on abap workbench. double clicking doesn't work after first double clicked on abap codes. that is going to row of first double clicking.
    did anyone have the same problem? can somebody help me please?
    thanks.

    Nurullah RÜSTEM wrote:
    > isn't there any radical solution to solve this problem?
    > these are very kill-time
    You feel
    Source Code Editor --> Utilities --> Update Navigation Index
    is not radical & kill-time.
    Can you please define "radical" & "kill-time" ?
    BR,
    Suhas

  • Slow Start-Up / Slow Detection to double click

    Hi,
    My ibook has been ok until my friend installed a 1 GB fonts into my com, and this resulted in a slow start up to my ibook, even though ive already uninstalled it.
    Secondly, the com also seems to be slower in detecting double clicking.
    Anyone can solve the problem???
    Angela An

    Hi, Angela. Welcome to Apple Discussions.
    Have you tried resetting the PMU?

  • One click it a double click

    When I click my mouse it mostly double clicks. I has the same problem on my logitec and my apple magic mouse so it must be the software.

    This is what it is set too.

  • When i double-click the mozilla icon, it doesn't start. In the task manager i noted that the process "firefox.exe" appears and desappear after 5 seconds. The problem remains in mozilla safe-mode, but not in windows safe-mode. Thks!

    Yesterday i installed the firefox 6.0 on my windows 7 computer. When i double-click the mozilla icon, it doesn't start. I opened the task manager and noted that the process "firefox.exe" appears and desappear after 5 seconds. I tried to start mozilla in safe mode but the problem remains. The only way to use mozilla in my computer is restarting the windows in safe-mode. Last thing: i already tried to reinstall the program. Please help me!

    I'm also using Windows 7 on a Lenovo U310 laptop.

Maybe you are looking for