Edgar Poce wrote:
Hi,

I'm working in a portlet that provides CMS features backed by JCR
(jsr 170, java content repository), AFAIK jetspeed uses a rdbms to
store the pages and there are some efforts in graffito towards a jcr
implementation.  I'd like the content to be stored replicating the
portal hierarchy.

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...


One more question, is there any way to add a custom portlet mode in
j2?, I'd like to add a "content" mode to my portlet.

Look into how we implemented the custom Print Mode.
See jetspeed.properties for starters where extended portlet modes and window states are defined.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to