Edgar Poce wrote:
Hi,
On 9/12/06, David Sean Taylor <[EMAIL PROTECTED]> wrote:
Edgar Poce wrote:
> Could anyone help me to implement the following method with j2 api or
> portlet api?:
>
> /**
> * resolves the path for the given request
> *
> * @param request
> * the portlet request
> * @return the path to the portlet entity
> */
> public String getPath(PortletRequest theRequest);
Let me understand, you want to make the URL available to portlets and
then return "the path to the portlet entity"?
Im not sure if I follow...
Sorry I wasn't clear, let me try again :). I'd like the portlet to
know the path where it's deployed in the portal site hierarchy. The
above method should return the path to the fragment of type portlet
where the portlet was added. E.g. if I deploy a wysiwyg portlet at
/default.psml I'd like to get the path to the fragment of type portlet
where the portlet is shown. Something like "/default.psml/twocolumns
fragment-id1/portlet fragment-id12/".
That is not a part of the standard.
Jetspeed does provide a non-standard way to access a fragment using the
portlet pipeline. Here is an example of getting the content of the
locale selector portlet on the sample portal home page:
http://localhost:8080/jetspeed/portlet/default-page.psml?entity=dp-3&portlet=j2-admin::LocaleSelector
Take a look at the Jetspeed Desktop, as it using the portlet pipeline to
do client side aggregation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]