Home » Developer & Programmer » Forms » Can't paste OS clipboard into Web ORACLE FORM (Windows 2000, IE 5.5 FORMS 6i web deployed)  () 1 Vote
icon4.gif  Can't paste OS clipboard into Web ORACLE FORM [message #317982] Mon, 05 May 2008 03:46 Go to next message
pc131
Messages: 36
Registered: May 2006
Member
I've faced an issue of pasting OS clipboard to java applet (Oracle Form 6i exacltly but served by Java runtime in web browser). When I use Microsoft Java in web browser it allows me to paste the clipboard of operating system into the oracle forms text area (this form is as I stated before java applet in IE browser window).

But when I use Sun Java in web browser I cannot paste anything from
operating system into the applet - applet can't see OS clipboard. I've found some articles about security policy of Java appltes (java.policy file). But so far none of soultion worked for me.

If any of You knows the solution of found similar problem(pasting OS clipboard into java applet) and worked it out, please let me know.

Regards,
Tom

[Updated on: Mon, 05 May 2008 03:52]

Report message to a moderator

Re: Can't paste OS clipboard into Web ORACLE FORM [message #318434 is a reply to message #317982] Tue, 06 May 2008 19:04 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Does the 'right mouse button' produce a 'pop-up' which has a 'paste' in it?

This question is really a Java versus Microsoft issue, and seeing that they hate each other you may have to wait until you get to a higher level of Java before it works.

Anyway, I googled 'java paste cut not working' and found http://dev.eclipse.org/newslists/news.eclipse.platform/msg26067.html Look at the three 'Follow-Ups' and especially the link in the first one to https://bugs.eclipse.org/bugs/show_bug.cgi?id=70077

http://forums.spywareinfo.com/lofiversion/index.php/t85281.html looks like a better bet to fix this problem.

David
Re: Can't paste OS clipboard into Web ORACLE FORM [message #318462 is a reply to message #317982] Tue, 06 May 2008 22:58 Go to previous messageGo to next message
alister
Messages: 101
Registered: August 2007
Location: India
Senior Member
Hi PC131
I had a similar problem of not being able to paste clipboard to forms or windows OS/notepad/ms word etc. Then I put caps lock off and then I was able to paste. So just try it out it may work.

Regards.


Alister
FIXED!! - Can't paste OS clipboard into Web ORACLE FORM [message #318583 is a reply to message #318462] Wed, 07 May 2008 03:52 Go to previous messageGo to next message
pc131
Messages: 36
Registered: May 2006
Member
ALL!!!!

I got solution not only for Forms but for all JAVA APPLETS!

Place in your home directory i.e. "C:\Documents and Settings\djmartin" file named .java.policy - remember about dot before word "java"

Its contents should look like this:

grant codeBase "http://forms_server/-" {
permission java.awt.AWTPermission "accessClipboard";
permission java.awt.AWTPermission "accessEventQueue";
permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
};

This will allow You to copy text from Notepad and paste it to text field in Forms or any Java applets in this case served from http://forms_server/

Hope it helps all of You!
Re: FIXED!! - Can't paste OS clipboard into Web ORACLE FORM [message #318760 is a reply to message #318583] Wed, 07 May 2008 20:54 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Thank you for this information.

David
Re: Can't paste OS clipboard into Web ORACLE FORM [message #318767 is a reply to message #317982] Wed, 07 May 2008 22:42 Go to previous messageGo to next message
alister
Messages: 101
Registered: August 2007
Location: India
Senior Member
Thank you for the information and the feedback.

Alister
Re: Can't paste OS clipboard into Web ORACLE FORM [message #318835 is a reply to message #318767] Thu, 08 May 2008 03:03 Go to previous message
pc131
Messages: 36
Registered: May 2006
Member
No problem, You always are willing to help here, so I share my knowledge!

I was struggling heavily with that issue, because what i was missing was using PASTE_REGION method in Forms. I prepared quite complex Excel Macro that was generating scrambled data for usage then in Forms. Macro exported it to clipboard, but then it came out that Sun Java (MS Java allowed clipboard operation) wouldn't allow clipboard operation. So i was diggind through many forums and finally found some tips in Sun Java Bug forums.

I feel big relief now!

Regards,
Tom
Previous Topic: How to call a report?
Next Topic: going into query mode problem
Goto Forum:
  


Current Time: Wed Apr 24 13:15:03 CDT 2024