portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <woon_...@yahoo.com>
Subject Re: RESTful portlet URLs
Date Mon, 20 Dec 2010 21:40:19 GMT
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.



--- On Mon, 12/20/10, Patrick Trainor <PatrickTrainor@smarttech.com> wrote:

> From: Patrick Trainor <PatrickTrainor@smarttech.com>
> Subject: RESTful portlet URLs
> To: "jetspeed-dev@portals.apache.org" <jetspeed-dev@portals.apache.org>
> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message