Re: Open a local file with GWT

2009-04-10 Thread ffs1985
I tried adding a button when the callback success and on click event of that button, call to window.open(path,"_blank",""). this didn't work, I think that the thing is that the browser doesn't know how to open that path. The thing I don't understand is why if I open a new tab on firefox or I Explo

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
I don't know what is a PipedReader if you could send me more information i will appreciate very much Thanks, Federico On Apr 7, 11:21 am, "@vi" wrote: > Did you try using a PipedReader? > > On Apr 7, 4:04 pm,ffs1985 wrote: > > > Hi I'm trying to make a func

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
ipt. Applets or > Gears are a way to go. Another way is that user just opens your file > instead of downloading it ;-) > > On 7 Apr., 13:04,ffs1985 wrote: > > > Hi I'm trying to make a function that let the user download a file > > from my application and see it. I could

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
w and it's not blocked by browsers. > First do an asynchronous call to retrieve the url and once you have > show and anchor element with a _blank target with your url, the user > just needs to click it to download the file > > On 7 abr, 13:04,ffs1985 wrote: > > > Hi I&#x

Re: Open a local file with GWT

2009-04-07 Thread ffs1985
Hi sorry, here is the thing, inside my application an user could upload documents. Then in some other time if he wants to see any of this documents he select it from a table and click on a view button on the selected row. There the AsyncCallback that I've wrote is called, this makes a local copy o

Open a local file with GWT

2009-04-07 Thread ffs1985
Hi I'm trying to make a function that let the user download a file from my application and see it. I could copy the file from server to a local root but when I've tried to open it, does it work on hosted mode but in web mode fails always, no matter what browser I try(IE 7, Firefox and Chrome). My