Ate Douma wrote:
> 
> That was my initial attempt at it.
> For Jetspeed, I have much improved/simplyfied this after I added
> ResourceURL handling natively to the portal (internally), and I only need
> to set a predefined 
> flag/parameter to tell it to use it (instead of creating a plain RenderURL
> which simply won't do):
> 
>    public class PortletResourceURLFactoryImpl implements
> PortletResourceURLFactory
>    {
>        /*
>         * (non-Javadoc)
>         *
>         * @see
> org.apache.portals.bridges.common.PortletResourceURLFactory#createResourceURL(javax.portlet.PortletConfig,
>         *      javax.portlet.RenderRequest, javax.portlet.RenderResponse,
>         *      java.util.Map)
>         */
>        public String createResourceURL(PortletConfig config, RenderRequest
> request, RenderResponse response, Map parameters)
>                throws PortletException
>        {
>            PortletURL url = response.createRenderURL();
>            if (parameters != null)
>            {
>                url.setParameters(parameters);
>            }
>           
> url.setParameter(PortalReservedParameters.PORTLET_RESOURCE_URL_REQUEST_PARAMETER,
> "");
>            return url.toString();
>        }
>    }
> 

Yes, I saw this implementation and tried looking for a parameter like this
in Liferay, but couldn't find any.


Ate Douma wrote:
> 
> Well, you'll have to check the Liferay portal/container internals for it
> as it must be told not to create a plain RenderURL (as your current
> implementation 
> does) but instead switch to this pre-JSR-286 ResourceURL handling. How to
> do that (if it is already supported) I can't tell you as I don't know
> anything about 
> Liferay's internals.
> 
> Well, yes. Without the ResourceURL support you're out of luck I'm afraid.
> I suggest just keep pinging the Liferay devs (maybe they use IRC?).
> 

Indeed. The issue has been open for almost 2 weeks now and there's been no
reply. I will try updating it with what you mention here, see if that
simplifies it for them, but I don't want to be a pain since Liferay is free
and open source... If only they pointed me in the right direction I'm sure I
could do something with it. It's cold and lonely out here! :D

Patrick
-- 
View this message in context: 
http://www.nabble.com/Portlet-howto-tf4587073.html#a13113086
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to