[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Function "Paste clipboard content by popup menu"  XML
Forum Index -> Development
Author Message
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

(Question sent by mail - and answered through the forum)

Since 20221005 there is a function to add a default popup menu item to any popup menu on FIELDs that allows to copy the current content of the clipboard into the FIELD instance.

This functions is invoked by setting CLIENTCONFIG-popupmenupasteclipboard to "true" (or by calling the equivalent Java API: Client.instance().setPopupmenupasteclipboard(true);...)

Why may this not work in your environment?

1. wrong browser - this function is not supported on Firefox. See the full matrix of browser support here: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/readText

2. not using "https://". The function is only available in https, not in http (as many browser functions which are secured...). Only exception: for "localhost" you do not need https.

Kind regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team