EGL Development User Group

Expand all | Collapse all

Unable to Copy/paste in EGL web pages

  • 1.  Unable to Copy/paste in EGL web pages

    Posted Wed September 23, 2020 08:17 AM
    Hi All

    Is there a way we can enable the copy and paste in EGL RUI forms or deployed EGL web pages? If none, what is the reason behind as our users are used to copy and paste from Mainframe emulator.

    Thanks,
    Jojo

    ------------------------------
    Jojo DURANTE
    ------------------------------


  • 2.  RE: Unable to Copy/paste in EGL web pages

    Posted Thu September 24, 2020 07:58 AM
    try

    RUILib.setTextSelectionEnabled(true);

    ------------------------------
    nick jones
    ams
    englewood cliffs NJ
    ------------------------------



  • 3.  RE: Unable to Copy/paste in EGL web pages

    Posted Thu September 24, 2020 08:35 AM
    thank you will try it and let you know if it works.

    ------------------------------
    Jojo DURANTE
    ------------------------------



  • 4.  RE: Unable to Copy/paste in EGL web pages

    Posted Thu September 24, 2020 01:34 PM
    By the way we are using Terminal3270 form. Perhaps there's a way we can enable the copy and past function in the Form

    ------------------------------
    Jojo DURANTE
    ------------------------------



  • 5.  RE: Unable to Copy/paste in EGL web pages

    InnerCircle
    Posted Thu September 24, 2020 09:36 PM
    Hi Jojo,

    We need to distinguish between RUI and TUI. For "Terminal3270 form", we usually called it EGL Java TUI form. It is not a web page and it is not RUI. 

    For Java TUI form, copy/paste is never supported. There is already a RFE for it. We are evaluating it. Unfortunately, there is no workaroud now.
    For RUI,  please try Nick's suggestion.

    Thanks.

    ------------------------------
    Jiyong Huang
    ------------------------------



  • 6.  RE: Unable to Copy/paste in EGL web pages

    Posted Fri September 25, 2020 06:37 AM
    Hi Jiyong,

    We are using TUI then as the forms we have has this codes.  Please confirm

    ruiController RUIGatewayController;
    terminal Terminal3270 { screenSubmitter = handleEventKey, conversedForm = formDefinition };
    formDefinition FormDefinition

    Thanks,
    Jojo

    Thanks,
    Jojo

    ------------------------------
    Jojo DURANTE
    ------------------------------



  • 7.  RE: Unable to Copy/paste in EGL web pages

    InnerCircle
    Posted Fri September 25, 2020 06:48 AM
    Hi Jojo,

    The code sample is not a typical EGL Java TUI code. It looks more like a RUI code.
    "Terminal3270" looks like a third party RUI widget/component. The copy/paste behavior should be managed by this widget itself.  Is the application migrated automatically? Is this application depends on Syncrhony's widget library? 

    ------------------------------
    Jiyong Huang
    ------------------------------



  • 8.  RE: Unable to Copy/paste in EGL web pages

    Posted Fri September 25, 2020 07:24 AM
    Hi Jiyong,

    Yes it is migrated automatically via conversion tool of Synchrony. You're right it's under Synchrony libraby which is not editable...  terminal3270.ir

    Is it possible to extract and update the ir?

    Thanks,
    Jojo

    ------------------------------
    Jojo DURANTE
    ------------------------------



  • 9.  RE: Unable to Copy/paste in EGL web pages

    InnerCircle
    Posted Sat September 26, 2020 09:49 PM
    Hi Jojo,

    No, it is impossible to update the IR. 
    But the RUI copy/paste is a global property instead of a widget-wise property. It is likely that "Terminal3270" disable it. You can re-enable it after "Terminal3270" instantiation.

    terminal Terminal3270 { screenSubmitter = handleEventKey, conversedForm = formDefinition }; // In start function or any function runs after terminal instantiated function start() RUILib.setTextSelectionEnabled(true); end



    ------------------------------
    Jiyong Huang
    ------------------------------



  • 10.  RE: Unable to Copy/paste in EGL web pages

    Posted Mon September 28, 2020 08:05 AM

    I understand that you want to copy the entire screen in a RUI as you did in TUIs, mainframe? it is ? I suggest using the Windows "tool and capture" (magnifying glass) for this.

    ------------------------------
    Osvaldo Jose de Oliveira Menezes
    Analista
    RellegusTI
    Orlândia
    +55 16 3818-0203
    ------------------------------



  • 11.  RE: Unable to Copy/paste in EGL web pages

    Posted Tue September 29, 2020 08:06 AM
    Sorry magnifying glass? I don't see any copy and paste function there. I thought that is only for zooming

    Thanks

    ------------------------------
    Jojo DURANTE
    ------------------------------