You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2008/10/14 18:20:53 UTC

Images && Portlets

Hi.
Is it possible with struts stable (2.0.11.2) - afaik there is no 
portletUrlType resource there - to render images or other binary content?

At the moment i am using the "workaround" to configure the FilterDispatcher 
(which got this annoying shutdown bug ...) and using the "<s:url value="" />" 
hack.

I guess the answer is that it is not possible, but maybe someone got an 
idea ;)

-- 
Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html

Really, I'm not out to destroy Microsoft. That will just be a 
completely unintentional side effect."
	-- Linus Torvalds

Re: Images && Portlets

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
It's not really at limitation of struts 2. The portlet spec (jsr168)  
does not specify support for "resources". Some containers implement å  
custom window state for this, but since it's not portable, it's not  
supported in the portlet plugin. So until the jsr286 plugin is ready,  
you have to do it this way.

Nils-H

Den 14. okt.. 2008 kl. 18.20 skrev Torsten Krah <tkrah@fachschaft.imn.htwk-leipzig.de 
 >:

> Hi.
> Is it possible with struts stable (2.0.11.2) - afaik there is no
> portletUrlType resource there - to render images or other binary  
> content?
>
> At the moment i am using the "workaround" to configure the  
> FilterDispatcher
> (which got this annoying shutdown bug ...) and using the "<s:url  
> value="" />"
> hack.
>
> I guess the answer is that it is not possible, but maybe someone got  
> an
> idea ;)
>
> -- 
> Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge.
> Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
>
> Really, I'm not out to destroy Microsoft. That will just be a
> completely unintentional side effect."
>    -- Linus Torvalds

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org