Hi
I have seen lines like this on the attached files:
//Don't do the rendering twice
if (request instanceof PortletRequest &&
((PortletRequest)request).getAttribute(PPR_DONE_ATTR) != null) {
return;
}
The problem here is that doing this makes that tomahawk requires portlet api
to work, in non portlet environments.
The same problem is present on MYFACES-434 patch.
Can anyone suggest a way to avoid this dependency? or we should put portlet
api as compile dependency for tomahawk?
regards
Leonardo Uribe