Why does my Web Experience Factory Portlet receive a ResourceRequest instead of an ActionRequest? My code is expecting to work with an ActionRequest and ActionResponse, but it's getting a Resource request and response at runtime.
In Web Experience Factory (WEF) 7.0.1 and later, WEF automates partial page refresh (smart refresh) for you by default, so that only the portlet being acted on refreshes. To do AJAX based portlet requests, the JSR286 specification supplies a different type of PortletRequest and response called Resource requests and responses (when you access a resource from a portlet app it doesn't refresh the whole portal page), so WEF smart refresh / partial page refresh leverage JSR286 Resource requests.
If you have one or two UI controls (button / link builders) that control the action that triggers your code in this case, you can tell those UI controls NOT to use smart / partial page refresh by going to the Post Action behavior section of the builder and setting that behavior to always reload the top most page (in this case, it would be the portal page) and then it should result in a JSR286 Action based URL instead of a Resource based URL.
I hope that info helps,