Also isn't their a way to test it's a liferay portlet to determine use of LiferayPortletEncoder rather than having to configure it. I like the ability to be able to override explicitly but it would be good if the generic PortletLinkEncoder had the smarts to chose the right implementation to use depending on the Portlet container it was in.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also isn't their a way to test it's a liferay portlet to determine use of LiferayPortletEncoder rather than having to configure it. I like the ability to be able to override explicitly but it would be good if the generic PortletLinkEncoder had the smarts to chose the right implementation to use depending on the Portlet container it was in.
Yes that would be nice :) Go for it!