Message Boards

ADF Faces portlet/problem with portletrequestdispatcher.include

Stefan H Kuhn, modified 16 Years ago.

ADF Faces portlet/problem with portletrequestdispatcher.include

New Member Post: 1 Join Date: 11/8/07 Recent Posts
Hi all,
I try to develop a portlet for including Orace ADF Faces-based applications in Liferay. I went along the lines of the Icefaces sample portlet. First question: Is this reasonable? Or is the idea bad?
Secondly: So far it seems to work. But when I try to include the jsp pages with portletrequestdispatcher.include as done in the Icefaces sample, the response is empty. The application can be called with a url like this: http://localhost/testjsf/jsf/test.jspx, so I tried calling getPortletContext().getRequestDispatcher(viewId); with /testjsf/jsf/test.jspx and /jsf/test.jspx, but no result (no exception, just empty portlet). To verify, I get the page via URL class and write this to the response, it works. Any idea?
Thanks,
Stefan