Never mind. I just saw and tested Johan Campagner's posted solution and it
resolves
all issues. This is why I like Wicket and its developers.
>That is exactly what I am looking for. Perhaps someone could show a sample
>of implementation or even better to make it in the release?
>Sorry if there was any misunderstanding of my question but this is something
>Wicket should excel against other frameworks.
>
>>That looks like an excellent API. Would it be very hard to implement this?
>>
>>Personally I am also looking for something like this, but then
>>bookmarkable. I got some suggestions on how to do this with the current
>>APIs, but I did not like them at all. So now I am using a servlet.
>>
>>Regards,
>> Erik.
>>
>>
>>Al Maw wrote:
>>> I think he makes a valid point, personally. People do want to do this sort
>>> of thing quite frequently. It wouldn't kill us to implement an
>>> OutputStreamLink that looked like this:
>>>
>>> add(new StreamingLink("link") {
>>> public String getFileName() {
>>> return "download.xls";
>>> }
>>> public String getMimeType() {
>>> return "application/vnd.excel"; // Or whatever it is.
>>> }
>>> public void writeToOutputStream(OutputStream outputStream) {
>>> excelGenerator.writeOutput(outputStream);
>>> }
>>> });
>>>
>>> I don't think the current API here is very pleasant or obvious to use.
>>>
>>> Regards,
>>>
>>> Al
>>>
>>>
>>
>>
>>--
>>Erik van Oosten
>>http://www.day-to-day-stuff.blogspot.com/
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]