You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Dávid Ignjič <ig...@skms.sk> on 2006/05/22 01:15:56 UTC

How to generate binary content from portlet

I look on example :
org.apache.portals.gems.file.FilePortlet
i modify that portlet and every time i get html page with binary content 
i want see only binary content  .


How i can do it ?

Modify  this in pipelines.xml?

 <bean id="fileServerValve"
       class="org.apache.jetspeed.aggregator.FileServerValve"
       init-method="initialize"
 >
    <!-- portlet -->
    <constructor-arg 
index="0"><value>demo::ContentViewer</value></constructor-arg>       
<!-- entity -->
    <constructor-arg 
index="1"><value>public.content.21</value></constructor-arg>    </bean>


where i can found documentation for this ?


I think the solution is modify  pipeline, but i don't fully understand 
pipelines to implement (when portlet generate content -type like 
application/pdf stoping pipeline and serve only binary context).


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