Hello,
I would like to include a link in a CAF Notification that points to a portlet. So I tried the following code:
IPortletURL portletURL = PortletURLFactory.createRenderUrl(getFacesContext());
This call fails with this exception:
2011-03-23 14:27:26 CET (/investapplicationtasks:INFO) - Unable to create portlet url when without portlet container
The problem here seems to be that facesContext.getExternalContext().getResponse() returns a ServletResponse and no RenderResponse.
Is there any way to create a portlet URL in a CAF Notification.
Any ideas are highly appreciated.
Regards,
Mathias
#webMethods#MWS-CAF-Task-Engine#webMethods-BPMS