Prevent further user interaction when UIX application busy?

We have developed an application using ADF/UIX with JDeveloper 10.1.2.1.0 and have a problem where our application allows users to continue interacting with the application when it is busy processing.
For example, if a user clicks a button to post a form, they can then click this same button again (or another button) when the application is busy processing the first request, and still has the IE progress bar showing. This then causes errors in the system including, but not limited to, row currency has changed errors
We would expect the mouse pointer to change to an hourglass to prevent this from happening, but this does not seem to be the default behaviour and we cannot find how to do this with UIX.
Does anyone know of anything we can do to solve this problem?

I have now found an answer to this and thought I would share it in case anybody else out there is looking for the same thing.
The fix was to use blockOnEverySubmit=true in the body tag of the UIX page, which means that user input will be blocked after EVERY submit (not just PPR submits)

Similar Messages

  • I need to prevent unauthorized users from accessing the application pages

    Hi^^,
    I have created an application in jsp and servlets. It has several pages like manager, supervisor accountant. I need to prevent unauthorised users from accessing these pages. In other words I need to implement a filter. Anyone who types a url other than that of the login page needs to be blocked. However I am not able to conceptualize the code that is going to be inside the doFilter() method. Please help
    Sincerely,
    Prashant

    Hi^^,
    I admit that there were some mistakes in the previous posting. I have corrected the mistakes and now there is going to be no compile time error. However when i put in the login id and the password it is redirecting me to the login page. I think that the front end jsp is directing the control to the controller servlet. But as "YOU" have pointed out in your previous post,
    "by default requestDispatcher.forward(...) does not pass through the filter change. If the user requests the login page from their browser however, then they will still get the error message, which may not be appropriate."
    I feel we need to somehow make the code pass through the requestDispatcher.forward(...) method of the servlet.
    I am again posting the corrected code.
    package com;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class SecurityFilter implements Filter
      public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws   ServletException, IOException
      HttpServletRequest req = (HttpServletRequest)request;
      HttpServletResponse res = (HttpServletResponse)response;
      String X = req.getRequestURI();
      if(X.equals(http://localhost:8080/MyProject/LoginPage.jsp))
         //writing code for passing through the filter
         final class MyGenericFilter implements javax.servlet.Filter
          public FilterConfig filterConfig;
          public void doFilter( final ServletRequest request, final ServletResponse response, FilterChain chain) throws java.io.IOExeption, javax.servlet.ServletException
          chain.doFilter(request,response);
          public void init(final FilterConfig filterConfig)
          this.filterConfig = filterConfig;
          public void destroy()
    else
       HttpSession session = req.getSession();
       String username = (String)session.getAttribute("username");
       if(null==username)
         request.setAttribute("Error","Session has ended. Please login");
         RequestDispatcher rd = request.getRequestDispatcher("Login.jsp");
         rd.forward(request,response);
         chain.doFilter(request,response);
        else
         RequestDispatcher rd = request.getRequestDispatcher("X");
         rd.forward(request,response);
    public void init(final FilterConfig filterConfig)throws ServletException
          public void destroy()
      Edited by: pksingh79 on Aug 12, 2008 5:23 AM

  • How can I get rid of and prevent further duplicate contacts when syncing?

    I have checked preventing automatic syncing and any other places that seemed to give me some limiting conrol. But I noted the tiny print today that says when syncing by connection with Itunes, mobile me is also in contact wirelessly. I can't see any place mobile me gives me a choice to prevent syncing contacts. I have already spent hours cleaning up the contacts of my iphone 4 and will now have to do it again. Is the only way not to connect to I tunes? How then can you ever get music and other info into this smart phone?

    Did you check this article? iPhone/iPod touch: Resolving duplicates and removing all contacts/calendars/bookmarks with MobileMe
    This thread may also help: https://discussions.apple.com/thread/2241007?threadID=2241007&tstart=0

  • Prevent user interaction using mx:html

    Hi,
    Is there a way to prevent the user interaction when html is loaded inside a panel. The page should not get redirected when the user clicks on any links in the page.

    The easiest way to do this is by loading the content inside an iframe, and putting a fixed positioned div on top of it, like in "<div id="overlay" style="position: fixed; top:0; left:0; width: 600; height:400"></div>" (you can calculate the size dynamically, of course).
    When you want to disable all interactions, you simply set the div's visibility to "visible" (loader.htmlLoader.window.document.getElementById("overlay").style.visibility = "visible";)
    When you want to enable the interactions again, you simply hide the div (loader.htmlLoader.window.document.getElementById("overlay").style.visibility = "hidden";)

  • Any method to prevent a user login with 1 account, but several machines?

    May I ask for your recommendations to prevent a user to login my application with his/her account through different computers?
    Background information:
    1. My application is developed with BC4J framework.
    2. Login details: Once a user's is validated with their user id and password stored in a backend database table, he/she would be granted the right to use my application with a common connection account, as stated with the configuration details specified.
    Here is my solution:
    - When a user login my application, I'll lookup if there is any existing user record in a database table, let say, TBL_CURR_USERS. If no user record is found, the user will be granted the right of launching my applications and have a user record written down in the table TBL_CURR_USERS. If a user record is found, the user will receive an error message - "Your specified account is in use. You are not allowed to enter until your specified account has been logged off."
    - Problem: My problem is - how to trigger the event for removing the record in the table TBL_CURR_USER when user logs out implicity or internet connection interrupts. Let say, when the user close the browser by clicking the 'X' icon, I have nothing to trigger my deletion for the user record in the TBL_CURR_USERS table. If so, in the long term, many users will not be able to use my application until housekeeping is done for the table TBL_CURR_USERS ... what should I do? Any Java solutions or JDeveloper solutions available?
    Thanks for your replying!

    I had the same problem and I resolved in a different way. In the application server I have a Set in the context and I add a user when the login is successful and I remove it (I store the user even in the session) when the session expires (I have a session listener) or when the user explicitly logouts.
    I don't need table and I don't need to do anything if the application server crashes.
    If you don't use connection pooling you could use a logon trigger on the database.
    I hope it helps,
    Giovanni

  • Help needed, M getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem but instead I cannot login I to my itune account.

    Help needed,
    I am getting this message sandbox environment error no test user account, when downloading any application from iTunes, friend told me to sign out and sign in iTunes it might solve the problem , and i triyed it but still  I cannot login I to my itune account. Same message keeping. Popping up,  this problem started supricly today.

    Take a look at the instructions here.
    http://www.technogal.net/2012/03/this-is-not-test-user-account-please.html

  • How do I sign my VB / VS 2010 based shared COM add-in for Excel so it loads when the user has checked "Require application add-ins to be signed by a trusted publisher"?

    My COM add-in is developed using VS 2010 and VB. It's a shared COM add-in (not VSTO) and it works with Excel 2007 - 2013. My installer is signed with a code signing certificate but it would appear that my add-in's .dll should also be signed if the user has
    checked the "Require application add-ins to be signed by a trusted publisher" option.
    The "Sign the assembly" option is checked in my add-in's VB -> My Project -> Signing. I have a .snk file selected which I seem to recall generating 6 or 7 years ago when I ported the COM add-in from VB6 to .NET. 
    I have an up-to-date Comodo code signing certificate (a pfx file called MyCompanyCodeSigningCertificatePrivateKey.pfx) which I purchased to use with the installer and was wondering if and how I could use this.
    I tried selecting my pfx file in the My Project -> Signing -> "Choose a strong name key file" dialog. It made a copy of the pfx file in my project folder but when I tried to build the project, I got the following error:
    Error 1 Cannot import the following key file: MyCompanyCodeSigningCertificatePrivateKey.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the
    following key container name: VS_KEY_C0B6F251F0FB6016
    After a little research, I found out I might be able to use signtool to sign the dll in a post-build step.
    I added the following command to the post-build event, before the command I use to regasm the assembly.
    "path to signtool\signtool" sign /f "MyCompanyCodeSigningCertificatePrivateKey.pfx" /p "xxxx" /v "$(TargetPath)"
    When I built the project, the dll appeared to get signed (the output window showed a bunch of confirming text as well as "Successfully signed: c:\MyAddIn\bin\Release\MyAddIn.dll") but the next step in the post-build (regasm myaddin.dll /codebase)
    issued a warning RA0000 (see below) but reported "Types registered successfully".
    Here's the message I get from regasm, even though the output window says the dll was sucessfully signed:
    RegAsm : warning RA0000: Registering an unsigned assembly with /codebase can cause your assembly to interfere with other applications that may be installed on the same computer. The /codebase switch is intended to be used only with signed assemblies. Please give your assembly a strong name and re-register it.
    Types registered successfully
    I'm not using a shim if that makes a difference.
    How do I sign my add-in so it loads when the user has checked "Require application add-ins to be signed by a trusted publisher"?
    Any tips would be appreciated.

    Hello,
    Why do you need to use the regasm utility from the post-build action?
    There is a difference between signing the assembly with a strong name and digital signature. The
    How to: Sign an Assembly with a Strong Name article in MSDN explains how to sign an assembly with a strong name (.snk). See
    How to digitally sign a strong named assembly for adding a digital signature.
    You may also find the
    What's the Difference, Part Five: certificate signing vs strong naming article helpful.

  • I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!

    I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!

    You have 14 days to return the computer w/no questions asked.  Plus you have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems.

  • How sharepoint understand when user requests for web applications by their DNS names

    HI
    I configured Alternate access mapping in my sharepoint farm for default ,intranet zones
    and spt farm has two web front end servers and they load balancing by F5 device
    in WFE servers there are different web applications are running on different ports
    so here I want to know how load balancing works, load balancing configured in F5 device.
    when users request a webapplication from browser (ex http://cms) where this request will go
    1)when I ping cms and other web applicaations  it returns me a loadbalancer  server IP  for all web applications;
    ping cms : it returns 10.xxx.0.80 , same ip returns when I ping for other web app
    but ex CMS web application run on the 10.xxx.1.26:81 port in sharepoint server
    2) and these sharepoint web applications running on different ports in sharepoint  web servers , so here  how sharepoint understand when user requests for web applications by their DNS names
    http://cms and http://products  etc
    adil

    I'm not sure if the F5 can add a port number (I'm not an expert on load balancers).  But in general if you design the SharePoint site to run on port 81 then you need to have port 81 appended to the request or it won't work.  http://cms in your
    example would take you to http://cms:80 not http://cms:81.  But in general DNS will resolve the address back to the F5 load balancer.  The load balancer will look at the header of the HTTP request (which contains the original address you requested)
    and forward the request to the appropriate web front end IP address.  If your web front end is using one IP address for multiple sites then those sites need to be differntiated by using a custom port like 81 (which must be included in the original request)
    or because a host header was bound to the web application when it was created.  If they are running on different port numbers then the request must include the port number by the time it gets to the SharePoint server.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • ERR-7620: When User tries to access application in development

    Hi,
    Is there anyone that can help me?
    When my application is still in development and I create a username and password for a user on the application before it is in production state why can they not log in?
    ERR-7620 Could not determine workspace for application ().
    Only once I run the development application using my developement log-in and URL and then returning to the users URL and log-in does it work. I understand this has to do with the cookies. Is there a cleaner way of fixing this problem?
    Thanks,
    Sam

    Sam - See Re: IDs and moving between test and production
    "Using the application alias is fine but you have to be careful if you use the same alias for different applications in different workspaces. The first criteria it uses is to see if your browser has a cookie for the development environment (Builder) for an application with the requested alias. If it finds one, it assumes you want to run the application having the requested alias in the workspace associated with the current cookie. If there is no cookie, you get an error. To be certain you run the correct application, put &c=<workspace name> or &c=<workspace ID> at the end of the f?p URL when first requesting the application. Most URLs generated thereafter would normally not use an application alias, but would use &APP_ID. in the application ID position so this is not an issue after the initial request."
    Scott

  • When creating application: SYS and SYSTEM users may not create applications

    Dear all,
    When i am performing the below mentioned operations
    1) Importing Application
    2) Create Application
    3) Create from Spreadsheet
    4) Demonstration Application
    am getting this error message
    "SYS and SYSTEM users may not create applications"
    Please do the needfull

    Create application using SYS or SYSTEM user is not good idea. Your objects will be created in SYSTEM tablespace, it's fatal option. Create new Workspace and create there your app.

  • HT4889 When I transferred my data from a 128GB Macbook Air to 256GB Macbook Air (brand new version as of 9/1/13) I end up with 188GB used!   I add up the size of Users, System, Library and Applications and it comes to 90GB.  What am I missing?

    When I transferred my data from a 128GB Macbook Air to 256GB Macbook Air (brand new version as of 9/1/13) I end up with 188GB used!   I add up the size of Users, System, Library and Applications and it comes to 90GB.  What am I missing?  How did I "use" up so much space in migrating from one Mac to another?

    Did you use the Setup Assistant available at the beginning of the new machine's setup process? Or did you use Migration Assistant later after you had set up the new machine?
    If you used Migration Assistant, you generally wind up with two accounts (the new one you set up on the new machine plus the old one you ported over) - that may explain your excessive use of space. In that case, you can either manually combine/remove all unnecessary duplicate files, or you can start over by using Command + R, wiping your drive, and downloading the OS. Once it's downloaded, use the Setup Assistant offered at the beginning of the install/setup process.

  • Prevent same user login  more than twice in Online examination Application

    Hello Every Body,
    I want to prevent my user login more than twice in my application so what should i do?
    If user login twice then third time he must not be able to login and must not be able to attend online exam..
    Please somebody help me ....

    BalusC wrote:
    Implement HttpSessionListener or HttpSessionAttributeListener and get hold of all logged in Users and its Sessions in a Map. During login just check in the Map if the User isn't already in there. If it isn't, then add it to the map. If it is, then disallow login (or better, invalidate the previous Session and replace it in the Map it with current login). During logout, remove the User from the Map. During destroy of the session, remove the User from the Map.+"I want to prevent my user login more than twice in my application so what should i do?+
    +If user login twice then third time he must not be able to login and must not be able to attend online exam.."+
    Well i'm afraid that would not solve cause the end user's requirement.To me end user actually wants to stop any user to login his application(for taking an exam) more that twice. He has not added a clause stating end user at the sametime. Therefore, it is up to end user clearly define what is actual requirement is.

  • Can iPhone create feature which enable authorized user to key in password before switch off the phone? When phone is lost, it may prevent unauthorized user to switch off the phone, by this we can detect our phone's exact location.

    Can iPhone create feature which enable authorized user to key in password before switch off the phone? When phone is lost, it may prevent unauthorized user to switch off the phone, by this we can detect our phone's exact location.

    http://www.apple.com/feedback

  • Is it possible to remove user interaction in a eventListener ?

    Hi,
    I am working on two scripts that both need to deal with the user interaction.
    This following script works just fine. The only matter is that Indesign alerts me that the script prevented the UI dialog from opening.
    What if I don't want any alert ?
    #targetengine "newdialog"
    Application.prototype.main = function(){
         //app.addEventListener ("beforeNew", preventMe, false);
         var myMenuAction = app.menuActions.item("$ID/Document...");
         myMenuAction.addEventListener ("beforeInvoke", preventMe, false)
    function preventMe(myEvent){
         //alert(myEvent.cancelable);
         myEvent.stopPropagation();
         myEvent.preventDefault();
    app.main();
    I thought about userInteractionLevel but I tried to use it recently and I couldn't get it working. My intention was to get an automated update of my modified links when opening a file.
    It's like
    app.scriptPreferences.userInteractionLevel
    couldn't be set once the script has been launched.
    #targetengine "autolinkupdate"
    main();
    function main(){
         var myMenuAction = app.menuActions.item("$ID/kPMOpenDocTextKey");
         myMenuAction.addEventListener("beforeInvoke",removeInteraction,false);
         //app.addEventListener("beforeOpen",removeInteraction, false);
         app.addEventListener("afterOpen",updatelinks, false);
    function updatelinks(myEvent){
         var doc=myEvent.parent;
         var lk = doc.links;
         for(var i=0; i<lk.length; i++){
              try{
                   lk[i].update();
              catch(e){}
         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    function removeInteraction(myEvent){
         app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    So my question is : Is it possible to remove user interaction in a eventListener ?
    Thanks,
    Loic

    Assuiming NHTEST is a database link to the remote database connecting with SCOTT, use user_Tab_cols@NHTESTNicolas.

Maybe you are looking for