on 08-18-2014 2:59 PM
Hi Experts,
Is there a way to disable ctrl + v in a Web Dynpro Java Application Input Field. We are currently using SAP EP 7.01.
Regards,
Suvankar Mondal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well,
since it was extremely simple to do what has been asked, this is a sample webdynpro component that disables 'Paste' on a single input (tested in Chrome, IE/11 and Firefox)
dropbox public link: https://dl.dropboxusercontent.com/u/16071953/MyComponen00_0.sca (150kb)
import this SCA into your 'MyComponents' (make sure to create a backup of your contents, or start over in a new workspace)
hope this help both of you Suvankar and Govardan -- also good to keep a sample for future user reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Govardan,
not possible is not the same as 'not supported by the framework' -- there's some stuff which is sort of 'not extremely straight-forward' to do, but nonetheless you should use not possible when something really is not possible.
you add the function in a javascript.. I thought the information was clear enough since I added a selector in my last reply.
Cheers,
D.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi suvankar ,
That option is not possible in wdj application .
@daniel ruiz
using IFrame and Cross Frame , where will you add the function ?
Regards
Govardan Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suvankar,
just use an iFrame and a cross-frame function to disable it.. you can always look for input[id$='ViewName.InputElementName'] (endsWith) on a jQuery selector.. WDJ has not modified the way it renders the tree since they added the ls script.
Hope it helps,
D.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
seems not
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.