| [ews.eclipse.technology.rap] Re: FileUpload |
Regards, Ben
Hi,
1.) FileUpload is available as separate bundle from CVS (/rt/org.eclipse.rap/sandbox/org.eclipse.rwt.widgets.upload).
2) Concerning images there have been a lot of threads in this newsgroup. You can simply use a Label or a Button to display the Image.
3) To display a PDF within a RAP application you can use the SWT Browser widget. For more information on how to provide the file as download to the user you may also want to search the newsgroup.
Regards, Stefan.
Ram schrieb:Probably noob questions, but I have to ask: 1. How do provide a file upload using/within the confines of RAP? Google shows me that org.eclipse.rwt.widgets has a utility to do this. But all I see is ExternalBrower in org.eclipse.rwt.widgets. am I missing something?
2. I have a table with an invoice number or some such. when clicked, I would like to show a JPG or some such. the jpg or png has already been generated. How do I show the image? What classes do I use?
3. Kind of related to #3. If I want to show a PDF, do I need to use the org.eclipse.rwt.widgets.ExternalBrowser? Or can I just add a new tabbed pane to an existing viewer?
Any help greatly appreciated.
bi
-- Benjamin Muskalla | EclipseSource Karlsruhe http://www.eclipsesource.com | http://twitter.com/eclipsesource