This content has been marked as final.
Show 3 replies
-
1. Re: javax.portlet.PortletException: INIT_VIEW_PARAMETER must
theute Jan 12, 2007 10:09 AM (in response to newto23)The init parameter for the Sun JSF implementation is:
com.sun.faces.portlet.INIT_VIEW
instead of "default-view" used by myFaces.
so in your portlet.xml you would have:<init-param> <name>com.sun.faces.portlet.INIT_VIEW</name> <value>/index.jsp</value> </init-param>
(Next time, please use "code" instead of "quote" to write done some XML so that it is not stripped.)
Hope this helps. -
2. Re: javax.portlet.PortletException: INIT_VIEW_PARAMETER must
newto23 Jan 12, 2007 10:18 AM (in response to newto23)Hi Thomas,
Thanks for the help. The exception is gone now.
However my JSF pages are not rendered, I simply get a blank screen.
The Jboss portal server throws the following warnings,10:14:24,891 WARN [ViewHandlerImpl] Unable to determine FaceServlet mapping for servlet path 'null'. 10:14:24,901 INFO [STDOUT] response content type text/html 10:14:26,486 INFO [[/helloworldjsfportlet]] No state saving method defined, ass uming default server state saving 10:14:26,765 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces .PRETTY_HTML' found, using default value true 10:14:26,765 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces .ALLOW_JAVASCRIPT' found, using default value true 10:14:26,765 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces .DETECT_JAVASCRIPT' found, using default value false 10:14:26,765 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces .AUTO_SCROLL' found, using default value false 10:14:35,089 WARN [ViewHandlerImpl] Unable to determine FaceServlet mapping for servlet path 'null'.
Please help me to resolve this. -
3. Re: javax.portlet.PortletException: INIT_VIEW_PARAMETER must
newto23 Jan 12, 2007 3:09 PM (in response to newto23)Hi Thomas,
My JSP page has 3 frames in it. When I give the individual pages in my <init-param> setting, my pages get rendered, where as if the frame page is called, I simply get a blank page with no exceptions.
Please let me know how to resolve this.
Thanks