Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » paste option in text widget
paste option in text widget [message #12663] Tue, 27 March 2007 17:59 Go to next message
Eclipse UserFriend
Originally posted by: vek.silistix.com

I need to allow the user to open a text file on the client machine and the
file contents will be set in the text widgest. Is there a way to do this in
RAP? Also, is there a way to paste the contents of clipboard into text
widgest? Any info on this would be really useful.

Thanks.

Venki
Re: paste option in text widget [message #12832 is a reply to message #12663] Wed, 28 March 2007 10:28 Go to previous message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi,

Venkatesh Velayutham schrieb:
> I need to allow the user to open a text file on the client machine and the
> file contents will be set in the text widgest. Is there a way to do this in
> RAP?

As far as I know, the only way to access client-side files is to upload
them to the server. There you can read them and set the text of the Text
widget using setText(). To receive the uploaded file on the server side,
you'd another servlet. Although this is generally possible, RAP does not
provide any facilities for this scenario yet.

> Also, is there a way to paste the contents of clipboard into text
> widgest? Any info on this would be really useful.

Copy and paste works out of the box with the Text widget in RAP.

Regards,
Ralf
Previous Topic:populate ComboViewer
Next Topic:I can consider eclipse rap for a project in my company
Goto Forum:
  


Current Time: Sat Jul 27 12:34:50 GMT 2024

Powered by FUDForum. Page generated in 0.03951 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top