ea why) removes this char, causing the problem.
sorry for the "inconvenient" question...
Bruno
2009/5/8 Bruno Ledesma
>
> Hello All!
>
> Im facing problems trying to Stream/download files through portlet. I also
> used DynamicWebResource and a Resource link to se
Hello All!
Im facing problems trying to Stream/download files through portlet. I also
used DynamicWebResource and a Resource link to serve the Resource Data. On a
simple Wicket application everything works fine, but when my war is deployed
as a portlet into a Liferay 5 instance, it doesnt work
Thijs and I debugged the code together this morning because when he read
this thread he was sure that both options (overriding setheaders and
onclick) should work. After some debugging we found a bug in Liferay
which could be easily fixed in our used version. The current (5.1.2)
version has a l
Awesome! I was pretty sure that I tried that too but probably not in
combination with other changes. I have overridden the onclick like this:
ResourceLink link = new ResourceLink("downloadLink", resource)
{
/* (non-Javadoc)
* @see org.apache.wicket.markup.html.link.ResourceLink#onC
what I'm
>>> doing wrong over here?
>>>
>>> Regards,
>>> Rob
>>>
>>> -----------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>&g
No, too bad. The headers aren't picked up.
Serkan Camurcuoglu wrote:
For the DynamicWebResource case, doesn't overriding setHeaders() in
DynamicWebResource and adding your http header in this method work?
By the way, which portlet container are you working with?
Rob Sonke wrote:
Hi,
W
Thanks for your answer. I think overriding the setHeaders will end up
with the same result as with adding the filename through the constructor
of DynamicWebResource but I'll try it in some minutes.
We're using Liferay as the portal.
Rob
Serkan Camurcuoglu wrote:
For the DynamicWebResource c
PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Stream-download-files-through-portlet-tp19980617p19981070.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
We're using wicket for our portlets now for almost 3/4 year and it's
great. We're following/try to help with the full implementation of jsr
286 in wicket too (Thijs and me, see other threads). But I'm having a
problem now with offering files through a portlet. There are actually
two optio