• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mouse Lock

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I need to create an entity in the database using the create.jsp. But if there is any exception, I display the message using one more popup window (create.jsp will still be open). If the user closes the popup window, create.jsp page will not react to the mouse. I have to switch the windows or I have to right click on the create.jsp to make th mouse work for that page.
How can I handle this mouse lock?
Regards,
Sharada
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have never heard of a situation like this, but in any case it's a client-side rather than a JSP issue, so I'm moving this off to the HTML/Javascript forum.
[ March 07, 2004: Message edited by: Bear Bibeault ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If this is the case it is most likely that the window is not in focus when the other page is closed. If you click on the other window once, I am guessing that you are able to use the mouse on that page??
In the pop up you may want to add this code to the body tag
onunload="window.opener.focus()"
Eric
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post some code? That might help.
 
reply
    Bookmark Topic Watch Topic
  • New Topic