I think the apache portals bridge init param should be ViewPage not default-view


Von: Kapil Kataria [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 28. August 2006 13:31
An: MyFaces Discussion
Betreff: Error in JSF Portlet in Weblogic 8.1


Hi

I am getting the following error when running a JSF page in portlet in Weblogic portal 8.1 server

I have used the JSF Portal Bride to render my JSF page in Weblogic Portal


<portlet>
        <description>Login Portlet</description>
        <portlet-name>refware.loginPortlet</portlet-name>
        <display-name>Customer Admin Portlet</display-name>
        <portlet-class>
            org.apache.portals.bridges.jsf.FacesPortlet
        </portlet-class>
        <init-param>
            <name>default-view</name>
            <value>/WEB-INF/jsps/login.jsp</value>
        </init-param>
        <expiration-cache>0</expiration-cache>
        <supports>
            <mime-type>text/html</mime-type>
            <portlet-mode>view</portlet-mode>
        </supports>
        <supported-locale>en</supported-locale>
        <supported-locale>es</supported-locale>
        <portlet-info>
            <title>Login</title>
            <short-title>Login</short-title>
            <keywords>Login</keywords>
        </portlet-info>
    </portlet>

Still I am getting the error

avax.portlet.PortletException : Portlet refware.loginPortlet is incorrectly configured. No default View page is defined. at org.apache.portals.bridges.jsf.FacesPortlet.init(FacesPortlet.java:210) at com.bea.portlet.container.PortletStub.getPortletInstance(PortletStub.java:630) at



--
Regards,
Kapil kataria

Reply via email to