Dunno if this can be supported, but when a method is fired and in that methid the ClipBoard content is set, in the WebClient that doesn’t happen.
Teh clipboard content remains as it is.
Paul
Dunno if this can be supported, but when a method is fired and in that methid the ClipBoard content is set, in the WebClient that doesn’t happen.
Teh clipboard content remains as it is.
Paul
Paul,
Keep in mind you are working in a webbrowser.
This is not a java client.
I wonder if the Javascript DOM even allow you to set the clipboard of a browser.
I guess you experianced why a rich client is such a good idea
ROCLASI:
I wonder if the Javascript DOM even allow you to set the clipboard of a browser.
Yes, with Internet Explorer 4.0 and above. See:
I did some testing and indeed it’s for IE only. But then only for windows as well.
Safari (Mac), Firefox (Mac/Win), Opera (Mac/Win) all don’t work with this.
IE 5.2.3 for Mac OS X (the last version of IE that MS produced for the mac) doesn’t support it.
Keep in mind you are working in a webbrowser.
This is not a java client.
I wonder if the Javascript DOM even allow you to set the clipboard of a browser.
Hence the (yet) part in the subject header of this post
Paul
ROCLASI:
I did some testing and indeed it’s for IE only. But then only for windows as well.
Safari (Mac), Firefox (Mac/Win), Opera (Mac/Win) all don’t work with this.
IE 5.2.3 for Mac OS X (the last version of IE that MS produced for the mac) doesn’t support it.
Another exception might be writing files to local disk. I believe browsers were originally designed not to allow writing to disk for security reasons, however, you can write to disk with recent versions of Internet Explorer using the Windows Scripting Host (with VBScript and JScript, I am not sure about JavaScript). It will be interesting to see how the Web Client handles inconsistencies between browsers.
Are you passing a string to application.setClipBoardContent(…) ?
Yes, I’m passing the content of an global variable of type = text to the clipboard.
Paul
clipboard cannot be supported in webclient, your client/method is running in a server environment
ok, clear