Re: Downloading a BLOB

2008-10-13 Thread Johan Compagner
til.resource.ResourceStreamNotFoundException; >> >> >> >> >> >> /** >> >> >> * An InputStreamResourceStream is an IResource implementation for >> >> >> files. >> >> >> * >> >> >> *

Re: Re: Downloading a BLOB

2008-10-13 Thread bruno . borges
eption >> { >> if (inputStream != null) >> { >> inputStream.close(); >> inputStream = null; >> } >> } >> >> /** >> * @see IResourceStream#getContentType() >> */ >> public String getContentType() >> { &

Re: Downloading a BLOB

2008-10-13 Thread Johan Compagner
se(); >>inputStream = null; >>} >>} >> >>/** >> * @see IResourceStream#getContentType() >> */ >>public String getContentType() >>{ >>//

Re: Downloading a BLOB

2008-10-13 Thread Bruno Borges
ut stream for this resource. The same > input stream is returned until > * InputStreamResourceStream.close() is > invoked. > * > * @throws ResourceStreamNotFoundException > */ >public InputStream getInputStream() throws > ResourceStreamNotFoundException >

RE: Downloading a BLOB

2008-10-10 Thread Dane Laverty
Sent: Friday, October 10, 2008 3:37 PM To: users@wicket.apache.org Subject: Re: Downloading a BLOB i didnt say use the downloadlink, i said see how it works... -igor On Fri, Oct 10, 2008 at 3:32 PM, Dane Laverty <[EMAIL PROTECTED]> wrote: > DownloadLink appears to accept only a file pathname

Re: Downloading a BLOB

2008-10-10 Thread Igor Vaynberg
to wait > until the user clicks the link to stream the BLOB to them. > > -Original Message- > From: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2008 3:26 PM > To: users@wicket.apache.org > Subject: Re: Downloading a BLOB > > see how downloadli

RE: Downloading a BLOB

2008-10-10 Thread Dane Laverty
To: users@wicket.apache.org Subject: Re: Downloading a BLOB see how downloadlink works -igor On Fri, Oct 10, 2008 at 3:21 PM, Dane Laverty <[EMAIL PROTECTED]> wrote: > The title basically says it all. I've got a BLOB in a database, and I > want the user to be able to click a lin

Re: Downloading a BLOB

2008-10-10 Thread Igor Vaynberg
see how downloadlink works -igor On Fri, Oct 10, 2008 at 3:21 PM, Dane Laverty <[EMAIL PROTECTED]> wrote: > The title basically says it all. I've got a BLOB in a database, and I > want the user to be able to click a link and download it. Any wicket > solutions to do this? Thanks much. > > > > --

Downloading a BLOB

2008-10-10 Thread Dane Laverty
The title basically says it all. I've got a BLOB in a database, and I want the user to be able to click a link and download it. Any wicket solutions to do this? Thanks much.