ops 3.6 portlet submission problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ops 3.6 portlet submission problem

Laxmi Narayana-3

Hi all,
I developed ops3.6 portlet in liferay(I deployed orbeon.war through admin portlt only).It displayed fine.
while loading it acts as portlet (http://localhost:8082/c/portal/layout?p_l_id=PRI.15.2)  but if i perform any event on portlet it acts as webapplication ,uses url like this  http://localhost:8082/orbeon/xforms-server-submit and throwing error 'cannot load apps/page-flow.xml with webapploader'. I checked  all the internal files but where is the problem i am not getting.

I am sending sample portlet as attachment .

to get this example as portlet i configure like this in liferay-display.xml:
<category name="Callisto Genpact">       
        <portlet id="Callisto" />   
    </category>

portlet.xml:

<portlet>
        <portlet-name>Callisto</portlet-name>
        <portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
        <init-param>
            <name>oxf.main-processor.name</name>
            <value>{<a href="http://www.orbeon.com/oxf/processors}page-flow">http://www.orbeon.com/oxf/processors}page-flow</value>
        </init-param>
        <init-param>
            <name>oxf.main-processor.input.controller</name>
            <value>oxf:/apps/Callisto/page-flow.xml</value>
        </init-param>

        <init-param>
            <name>oxf.error-processor.name</name>
            <value>{<a href="http://www.orbeon.com/oxf/processors}pipeline">http://www.orbeon.com/oxf/processors}pipeline</value>
        </init-param>
        <init-param>
            <name>oxf.error-processor.input.config</name>
            <value>oxf:/config/error.xpl</value>
        </init-param>
        <supports>
            <mime-type>text/html</mime-type>
        </supports>
        <portlet-info>
            <title>MyTest</title>
        </portlet-info>
    </portlet>   
web.xml:

<servlet>
        <servlet-name>Callisto</servlet-name>
        <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class>
        <init-param>
            <param-name>portlet-class</param-name>
            <param-value>org.orbeon.oxf.portlet.OPSPortlet</param-value>
        </init-param>
        <load-on-startup>3</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Callisto</servlet-name>
        <url-pattern>/Callisto/*</url-pattern>
    </servlet-mapping>

plz help me .this is urgent requirement in our project.
Thanks in advance,
Laxminarayana Yadavalli.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Callisto.zip (5K) Download Attachment