Hi Patrick, I don't think there's any built-in support for that. However, I'd like to mention that there are much of API and custom assembly supports anyway with JS-2.2.1. For example, you can add your custom JAX-RS service component (See jetspeed-restful-services.xml). You can retrieve current request portal path with additional information. (See PageLayoutService.java) Also, you can invoke a specific portlet to render or to serve resource request. (See ResourceValveImpl). Also, refer to the portlet pipeline with PortletAggregatorImpl.java as an example if you want to have another pipeline instead of adding a custom JAX-RS service bean.
Regards, Woonsan --- On Mon, 12/20/10, Patrick Trainor <[email protected]> wrote: > From: Patrick Trainor <[email protected]> > Subject: RESTful portlet URLs > To: "[email protected]" <[email protected]> > Date: Monday, December 20, 2010, 5:38 PM > Does anyone know if there's a way to > make a portlet URL user friendly/REST-like? For example, > rather than > > http://localhost:8080/jetspeed/portal/_ns:YnRlbXBsYXRlLXRvcDJfX3BhZ2UtdGVtcGxhdGVfX2RwLTFfX2RwLTIzfGMwfGQxfGY_ > > I would like to somehow redefine the URL as: > > http://localhost:8080/jetspeed/portal/my_admin_portlet/users > > I know there's a Rest API for portlet administration; I'm > looking for a way to invoke the portlets themselves. > > There's a feature in the Liferay portal called > FriendlyURLMapper > (http://www.liferay.com/community/wiki/-/wiki/Main/FriendlyURLMapper). > I guess my question could be rephrased as: Is there an > equivalent for Apache Jetspeed 2? > > > Thanks, > > Patrick > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
