Hello,

 

We are currently looking for a way to enable ajax requests and file
downloads with jetspeed-2 inside the security context of jetspeed. We
have looked at the different pipelines and got some things to work but
it is very hacky. Several things remain unclear to allow us to implement
a clean solution.

 

First question is how to build an url to a different pipeline?

 

Standard ways of building an url with <portlet:someURL /> or
RenderResponse.createSomeURL() do not allow one to specify a different
base url. From a portlet page that was requested as
www.host.com/jetspeed/portal/blablabla using standard url utilities
results in a www.host.com/jetspeed/portal/blablabla url while I would
wish to have a www.host.com/jetspeed/fileserver/blablabla url. Is this
possible?

 

The current hack in use is a manually created url like
www.host.com/jetspeed/fileserver/export?portlet=portletwar::portletname&
blablabla 

This will call the correct portlet. The problem is that the
PortletRequest object has no parameters set. Neither is there a way to
specify that the processAction() should be called instead of the
render() method.

 

Any help is appreciated,

 

 

JWA van Golverdinge Schut

 

 



DISCLAIMER:

Dit bericht (met bijlagen) is zorgvuldig samengesteld. Voor eventuele 
onjuistheid en/of onvolledigheid van de hierin verstrekte informatie aanvaardt 
Kennisnet geen aansprakelijkheid. Aan de inhoud van dit bericht (met bijlagen) 
kunnen geen rechten worden ontleend. De inhoud van dit bericht (met bijlagen) 
kan vertrouwelijke informatie bevatten en is uitsluitend bestemd voor de 
geadresseerde van dit bericht.

Reply via email to