problem with ops 3.6 portlet

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

problem with ops 3.6 portlet

Laxmi Narayana-3
Hi ,
     This is urgent requirement(high priority) in our project plz help me .
 
   does liferay 4.2.2 supports ops 3.6 portlet or not.
  
   My application name is callisto in that I have Systemconfiguration(folder),sites,screens,sites,page-flow.xml etc..
  while loading it acts as portlet.if i click on any button  it shows apps/systemconfiguration/page-flow.xml cannot load with webapp loader.

  If i change orbeon/web-inf/resources/page-flow.xml like below It acts as web application. why it behaves like this iam not getting.
<page id="apps" path-info="/([^/]+)/.*" matcher="oxf:perl5-matcher" model="apps/callisto/page-flow.xml"/>
  
actually :<page id="apps" path-info="/([^/]+)/.*" matcher="oxf:perl5-matcher" model="apps/${1}/page-flow.xml"/>
  
  I configured my portlet like this:

Liferay-display.xml:

 <category name="callisto genpact">       
        <portlet id="callisto" />   
    </category>

Liferay-portlet.xml:

<portlet>
        <portlet-name>callisto</portlet-name>
</portlet>

web.xml:


<servlet>
        <servlet-name>callisto_servlet</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</servlet-name>
        <url-pattern>/callisto/*</url-pattern>
    </servlet-mapping>

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>  
Plz help me how to solve this problem.
thanks in advance,


--
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