[jboss-user] [JBoss Portal] - javax.portlet.PortletException: INIT_VIEW_PARAMETER must be
NewTo23
do-not-reply at jboss.com
Fri Jan 12 09:49:45 EST 2007
Hi,
I have my Sun JSF application deployed successfully in my JBoss portal server 2.4.1
While launching the portal application, I am getting an exception like,
2007-01-12 09:38:40,729 ERROR [org.jboss.portal.portlet.container.com_sun_faces_portlet_FacesPortlet] The portlet threw an exception
javax.portlet.PortletException: INIT_VIEW_PARAMETER must be specified
at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:290)
My portlet.xml file is,
anonymous wrote :
| <portlet-name>TestPortlet</portlet-name>
| <portlet-class>com.sun.faces.portlet.FacesPortlet</portlet-class>
| <init-param>
| default-view
| /index.jsp
| </init-param>
|
| <mime-type>text/html</mime-type>
| <portlet-mode>VIEW</portlet-mode>
|
| <portlet-info>
| Test JSF Portlet
| </portlet-info>
|
My -object.xml file is,
anonymous wrote :
|
| <if-exists>overwrite</if-exists>
| <parent-ref>default.default</parent-ref>
|
| <window-name>TestPortletWindow</window-name>
| <instance-ref>TestPortletInstance</instance-ref>
| center
| 1
|
|
|
My portlet-instances.xml file is,
anonymous wrote :
|
|
| <instance-id>TestPortletInstance</instance-id>
| <portlet-ref>TestPortlet</portlet-ref>
|
|
|
Please help me in resolving this issue.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000970#4000970
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000970
More information about the jboss-user
mailing list