This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes jsp page table has right click disabled. Why? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jsp page table has right click disabled. Why? " Watch "jsp page table has right click disabled. Why? " New topic
Author

jsp page table has right click disabled. Why?

Tiya Khambadkone
Ranch Hand

Joined: Sep 15, 2011
Posts: 52
I am using jsp, js, json and dojo. The table on my page which uses a div tag, has right click functionality disabled . I want to enable copy-paste functionality. How can I do that ? I have no clue what makes a right-click functionality disabled ?
sri ramvaithiyanathan
Ranch Hand

Joined: Nov 20, 2010
Posts: 109
Let me ask you one question, why you have disabled right click funcitonality and why you want to enable it again.
If you not disabled it means, may be your ancestor used javascript functionality to disable the right click functionality.

I dont think you can enable right click only for copy and paste.

select the value which you want to copy and use ctrl+c and ctrl+ v
As of now, I got only this solution for you.

For java examples,ebooks,interview questions,visit this blog
http://periodicupdates.blogspot.com/
Tiya Khambadkone
Ranch Hand

Joined: Sep 15, 2011
Posts: 52
I found a solution.. this was done by dojo...
Dojo.DataGrid definition had selected = "false" ..

I changed it to true and atleast I can now select the text on my JSP page and use Cntrl-C, Cntrl-V.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp page table has right click disabled. Why?
 
Similar Threads
Disable a link a href
Javascript not running on next page in displaytag.tld
on hiding right click menu
Need Help for JSP
enable Right click in BIRT reports used in JSP.