Hi,
We are creating the action URL from ResourceResponce i.e resourceResponse.createActionURL();
http://localhost:8080/portal/site/siteName/template.SINGLEPORTLET/action.process/menuitem.f39ec65e471e36c6aaaee655f1c647a0/?javax.portlet.action=true¤tTemplateID=SINGLEPORTLET&javax.portlet.tpst=e81743dd0d6285ec1b09ee07f02000a0&
javax.portlet.prp_e81743dd0d6285ec1b09ee07f02000a0_serviceId=0405109346&javax.portlet.prp_e81743dd0d6285ec1b09ee07f02000a0_action=serviceSet
&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken
Above url doesn't work, it throws the error ;
ERROR com.epicentric.template - Style.execute: Primary file [singleportlet.jsp] for template [SINGLEPORTLET] for style [SINGLEPORTLET] either could not be compiled or threw a Runtime Exception: java.lang.InstantiationException: bean portletWindow not found within scope
When we use the above portlet as BINARYPORTLET, it works. But we want to use this as SINGLEPORTLET.
When we remove manually "¤tTemplateID=SINGLEPORTLET" from above action url, it works.
When we replace manually "¤tTemplateID=SINGLEPORTLET" with "¤tTemplateID=PAGE" from above action url, it works.
We want to use the portlet as "SINGLEPORTLET"
Can someone please help on this?
Regards,
Rajnish