Liferay 6.1.20 EE + Orbeon 4.0 "Filter Sample Portlet"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Liferay 6.1.20 EE + Orbeon 4.0 "Filter Sample Portlet"

Stian Sigvartsen

Have anyone been able to get the “Orbeon Forms Filter Sample Portlet” to render a functional XForm when deployed to a page in Liferay 6.1.20 EE (or 6.1.x CE)?

For me it renders as if the filter isn’t doing any post processing. I believe this is because the following snippet in portlet.xml is commented out.

 

     <filter-mapping>

           <filter-name>orbeon-filter-sample-portlet</filter-name>

           <portlet-name>orbeon-separate-sample-portlet</portlet-name>

     </filter-mapping>

 

Uncommenting it doesn’t appear to fix the issue. Looks like the <filter-name/> element is actually referring to a portlet and not a filter. And the <portlet-name/> element is doesn’t match any defined portlet. I’ve tried replacing the snippet with the following which I believe should be correctly capturing what was intended:

 

     <filter-mapping>

           <filter-name>orbeon-forms-portlet-xforms-filter</filter-name>

           <portlet-name>orbeon-filter-sample-portlet</portlet-name>

     </filter-mapping>

 

This affects the sample portlet when deployed to a Liferay page, but it is rendering an error saying: “Orbeon Forms – Page Not Found”

The orbeon.log file contains the following message.

 

2013-03-18 12:44:32,850 INFO  PageFlowControllerProcessor  - not found {controller: "oxf:/page-flow.xml", method: "GET", path: "/xforms-trampoline/xforms-trampoline", resource: "/apps/xforms-trampoline/page-flow.xml"}

 

There is no xforms-trampoline directory in /apps . Should there be?

 

Any assistance / advice anyone could provide would be greatly appreciated. I really do not want to regress our Orbeon Forms 4.0 deployment to a milestone build where separate deployment was functioning, but one of my priority projects rely on this integration approach.

 

-Stian



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Liferay 6.1.20 EE + Orbeon 4.0 "Filter Sample Portlet"

Erik Bruchez
Administrator
Stian,

I replied to the issue on github and your tweet:

https://github.com/orbeon/orbeon-forms/issues/432
https://twitter.com/StianSigvartsen/status/313299777632731136

I think it just means it's broken right now.

To clarify, do you have any version in the 4.x line which was working?

-Erik

On Mon, Mar 18, 2013 at 5:51 AM, Stian Sigvartsen
<[hidden email]> wrote:

> Have anyone been able to get the “Orbeon Forms Filter Sample Portlet” to
> render a functional XForm when deployed to a page in Liferay 6.1.20 EE (or
> 6.1.x CE)?
>
> For me it renders as if the filter isn’t doing any post processing. I
> believe this is because the following snippet in portlet.xml is commented
> out.
>
>
>
>      <filter-mapping>
>
>            <filter-name>orbeon-filter-sample-portlet</filter-name>
>
>            <portlet-name>orbeon-separate-sample-portlet</portlet-name>
>
>      </filter-mapping>
>
>
>
> Uncommenting it doesn’t appear to fix the issue. Looks like the
> <filter-name/> element is actually referring to a portlet and not a filter.
> And the <portlet-name/> element is doesn’t match any defined portlet. I’ve
> tried replacing the snippet with the following which I believe should be
> correctly capturing what was intended:
>
>
>
>      <filter-mapping>
>
>            <filter-name>orbeon-forms-portlet-xforms-filter</filter-name>
>
>            <portlet-name>orbeon-filter-sample-portlet</portlet-name>
>
>      </filter-mapping>
>
>
>
> This affects the sample portlet when deployed to a Liferay page, but it is
> rendering an error saying: “Orbeon Forms – Page Not Found”
>
> The orbeon.log file contains the following message.
>
>
>
> 2013-03-18 12:44:32,850 INFO  PageFlowControllerProcessor  - not found
> {controller: "oxf:/page-flow.xml", method: "GET", path:
> "/xforms-trampoline/xforms-trampoline", resource:
> "/apps/xforms-trampoline/page-flow.xml"}
>
>
>
> There is no xforms-trampoline directory in /apps . Should there be?
>
>
>
> Any assistance / advice anyone could provide would be greatly appreciated. I
> really do not want to regress our Orbeon Forms 4.0 deployment to a milestone
> build where separate deployment was functioning, but one of my priority
> projects rely on this integration approach.
>
>
>
> -Stian
>
>
>
> --
> 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
>


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