paste option in text widget [message #12663] |
Tue, 27 March 2007 17:59 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03470 seconds