Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » A Dialog that asks user to save file to their local filesystem
A Dialog that asks user to save file to their local filesystem [message #511156] Sat, 30 January 2010 14:46 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi all,

When our application throws exception we want users to be able to report
it by saving the stacktrace as text file and then send it via email.
This requires a Save As Dialog, but since RAP does not support File
Dialog does anybody know the alternatives ? Will FileUpload widget do
the job ?

Any advice will be greatly appreciated.


Regards,

Setya
Re: A Dialog that asks user to save file to their local filesystem [message #511329 is a reply to message #511156] Mon, 01 February 2010 05:00 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Setya,

I guess what you are looking for is a download link to save a text file
with the stacktrace.
But if the information should be sent by email, why don't you send it
right away from within the application? That would save you the download
link. And it would save the user the process of downloading, attaching
and sending the stacktrace.

HTH
Rüdiger
--
Rüdiger Herrmann
http://eclipsesource.com

On 30.01.2010 15:46, Setya wrote:
> Hi all,
>
> When our application throws exception we want users to be able to report
> it by saving the stacktrace as text file and then send it via email.
> This requires a Save As Dialog, but since RAP does not support File
> Dialog does anybody know the alternatives ? Will FileUpload widget do
> the job ?
>
> Any advice will be greatly appreciated.
>
>
> Regards,
>
> Setya
Re: A Dialog that asks user to save file to their local filesystem [message #511340 is a reply to message #511329] Mon, 01 February 2010 05:50 Go to previous message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

> I guess what you are looking for is a download link to save a text file
> with the stacktrace.

Sort of. When the exception occurs, the page will show a Hyperlink that
pops up a dialog to show the stacktrace, the dialog contains a button
that opens a 'Save As' dialog.

> But if the information should be sent by email, why don't you send it
> right away from within the application? That would save you the download
> link. And it would save the user the process of downloading, attaching
> and sending the stacktrace.

We already have plan for this feature in the future, but at the moment
we're still focusing on other things, so for now we ask user to send it
manually.


Regards,

Setya
Previous Topic:set SWT.Table on foreground
Next Topic:JDT in RAP
Goto Forum:
  


Current Time: Tue Nov 30 04:11:18 GMT 2021

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

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

Back to the top