Announcement Announcement Module
No announcement yet.
Text field copy/paste not working in our RCP app Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Text field copy/paste not working in our RCP app

    First a couple of disclaimers: 1) I did in fact try to search for an answer first; 2) We are on an old snapshot of RCP and will likely have to stay here for a little while.

    Okay, with those out of the way, we have an RCP-based application delivered via Web Start. For some reason we can't copy/paste between text fields (within the app, or with other apps) regardless of whether they're in an RCP-based form or not. I assume that RCP has somehow disabled access to the clipboard and was wondering if anyone knew if there was a simple solution such as a setting in the application context for this before I start heavy debugging.

    Thanks in advance for any insights.

    Scott Wells

  • #2
    Remove the following line from you app context :

    <bean class="org.springframework.richclient.text.TextCom ponentPopupInterceptorFactory"/>

    Let me know it that fixes it.



    • #3
      Worked perfectly! Thanks so much. This resolved a VERY hot situation with a customer very quickly.


      • #4
        No worries.

        I think there's something about this interceptor that breaks copy and paste in non intercepted text components...

        I've raised an issue for this in out Jira: