til.resource.ResourceStreamNotFoundException;
>>
>> >>
>>
>> >> /**
>>
>> >> * An InputStreamResourceStream is an IResource implementation for
>>
>> >> files.
>>
>> >> *
>>
>> >> *
eption
>> {
>> if (inputStream != null)
>> {
>> inputStream.close();
>> inputStream = null;
>> }
>> }
>>
>> /**
>> * @see IResourceStream#getContentType()
>> */
>> public String getContentType()
>> {
&
se();
>>inputStream = null;
>>}
>>}
>>
>>/**
>> * @see IResourceStream#getContentType()
>> */
>>public String getContentType()
>>{
>>//
ut stream for this resource. The same
> input stream is returned until
> * InputStreamResourceStream.close() is
> invoked.
> *
> * @throws ResourceStreamNotFoundException
> */
>public InputStream getInputStream() throws
> ResourceStreamNotFoundException
>
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
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
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
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.
>
>
>
>
--
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.