Missing portlet filter class / Inaccurate Wiki page?

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

Missing portlet filter class / Inaccurate Wiki page?

Stian Sigvartsen
Missing portlet filter class / Inaccurate Wiki page?

Hi all

I'm attempting to create a separate web application that outputs xforms mark-up for the Orbeon xForms processor to interpret.

I've been following the instructions on the following Wiki page:
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-separate-deployment-with-portlets

This page says you need to include "orbeon-xforms-filter.jar" in your web application and configure "OrbeonPortletXFormsFilter" as a portlet filter for the standalone application.

This class doesn't appear to exist!  At the very least not within the mentioned .jar.
Has anyone had any luck following these instructions?

I'm working with Orbeon forms 3.8 + Liferay 6.0.5 + Liferay IDE 1.1 (separate web application initially created using the Liferay SDK).

Kind regards,
Stian Sigvartsen



--
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: Missing portlet filter class / Inaccurate Wiki page?

fl.schmitt(ops-users)
Hi Stian,

> This page says you need to include "orbeon-xforms-filter.jar" in your
> web application and configure "OrbeonPortletXFormsFilter" as a portlet
> filter for the standalone application.

> This class doesn't appear to exist!  At the very least not within the
> mentioned .jar.

i think you're right concerning the stable 3.8.0 build - it seems that
the wiki page assumes a commit from end of august:

http://github.com/orbeon/orbeon-forms/commit/84c1e16d1dec8fa12abb8cf8ec6d6020f6e06899#diff-0

(hope the link works...)

But this means that the classes should be available in the nightly
builds, instead: http://forge.ow2.org/nightlybuilds/ops/ops/

HTH
florian


--
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: Re: Missing portlet filter class / Inaccurate Wiki page?

Stian Sigvartsen
Hi Florian

Thanks so much for taking the time to reply.
I downloaded the nightly build and it's now finding the filter class.  I really appreciate your help!

Following on from this, I've tried writing a single portlet which simply dispatches to one of the Orbeon bundled .xhtml files (the contact form example) as a way to test the filter.
Doesn't look like it's modifying the .xhtml output.  All the <xform:xyz> tags remain after the filter has finished processing.

It might not be appropriate to have a embedded resource like the .xhtml respond with a full <xhtml:html/> document (with <xhtml:head/> and everything) when it's destined to display in a portlet, but without this, how do you define the <xforms:instance/> for example?

Do you know somewhere I can get some sample file to test the portlet filter with?
I've thoroughly searched the Orbeon site and googled for it too, but there doesn't appear to be much out there on this topic!

Kind regards,
Stian





-----Original Message-----
From: Florian Schmitt [mailto:[hidden email]]
Sent: Thu 9/30/2010 17:11
To: [hidden email]
Subject: [ops-users] Re: Missing portlet filter class / Inaccurate Wiki page?
 
Hi Stian,

> This page says you need to include "orbeon-xforms-filter.jar" in your
> web application and configure "OrbeonPortletXFormsFilter" as a portlet
> filter for the standalone application.

> This class doesn't appear to exist!  At the very least not within the
> mentioned .jar.

i think you're right concerning the stable 3.8.0 build - it seems that
the wiki page assumes a commit from end of august:

http://github.com/orbeon/orbeon-forms/commit/84c1e16d1dec8fa12abb8cf8ec6d6020f6e06899#diff-0

(hope the link works...)

But this means that the classes should be available in the nightly
builds, instead: http://forge.ow2.org/nightlybuilds/ops/ops/

HTH
florian



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

winmail.dat (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Re: Missing portlet filter class / Inaccurate Wiki page?

darrencruse
Just a short note that I too am interested in the outcome...

Stian - any chance if you get your's working you could post your code somewhere? :).

(even if a stripped down version I just need a reference).

In particular, if this approach would allow me to take a form built with Orbeon Form Builder and present just that form (or possibly the Form Runner "list" view leading to that form) in a LifeRay portlet, then that's exactly what I'm looking for...
Reply | Threaded
Open this post in threaded view
|

RE: RE: Re: Missing portlet filter class / Inaccurate Wiki page?

Stian Sigvartsen
In reply to this post by Stian Sigvartsen
Hi Darren

I've just caught up on your other thread "Orbeon Form Builder/Form
Runner for a regular web site?" which I hadn't noticed before.

I'm glad to hear that it's recognised that Orbeon 3.8.0 introduced
issues with the Liferay integration through the bundled Orbeon portlet
and that this is now resolved!  Guess I was just unfortunately that I
implemented 3.8.0 as my first exposure to Orbeon xforms.  I will
definitely make some time to download a recent nightly build and try
this out.

Like yourself, I feel confused about when to use which Orbeon deployment
option in our enterprise.
At present I have parked my research into Form Builder / Runner and
focussed on the topic of this thread; using Orbeon as a xforms processor
for arbitrary standards based xforms markup in content produced by
arbitrary web applications deployed separately to the Orbeon context.

For me, this seems like a sensible risk mitigation approach to achieving
our goals without relying too much on vendor specific implementation
details that we not yet fully understand.  Hopefully we will understand
Orbeon's strategy more clearly in the future and then feel comfortable
relying on it for more.  Also at present, we have a priority need to
modernise our application development environment (which requires forms
capability) rather than our standalone eForms environment.

That said, the latter is a priority as well.  We do need a way for the
less technical persons of our enterprise to build eForms and publish
through on our website as portlets through Liferay.  Orbeon Form Builder
/ Runner seems like a great option for this!

I am definitely going to share all my code/findings in this area with
you (and the community) and would very much appreciate if you did the
same.  We appear to both be considering Orbeon from a more enterprise
architecture point of view.

Kind regards,
Stian Sigvartsen


-----Original Message-----
From: darrencruse [mailto:[hidden email]]
Sent: 05 October 2010 17:30
To: [hidden email]
Subject: [ops-users] RE: Re: Missing portlet filter class / Inaccurate
Wiki page?



Just a short note that I too am interested in the outcome...

Stian - any chance if you get your's working you could post your code
somewhere? :).

(even if a stripped down version I just need a reference).

In particular, if this approach would allow me to take a form built with
Orbeon Form Builder and present just that form (or possibly the Form
Runner
"list" view leading to that form) in a LifeRay portlet, then that's
exactly
what I'm looking for...
--
View this message in context:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Missing-portlet-filter
-class-Inaccurate-Wiki-page-tp2720997p2956410.html
Sent from the Orbeon Forms (ops-users) mailing list archive at
Nabble.com.


--
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: RE: Re: Missing portlet filter class / Inaccurate Wiki page?

darrencruse
Thanks Stian I'll definitely share anything I learn here.

For now I mostly wanted to mention regarding your comment:

Stian Sigvartsen wrote
I'm glad to hear that it's recognised that Orbeon 3.8.0 introduced
issues with the Liferay integration through the bundled Orbeon portlet
and that this is now resolved!  Guess I was just unfortunately that I
implemented 3.8.0 as my first exposure to Orbeon xforms.  I will
definitely make some time to download a recent nightly build and try
this out.
That as you'll see in my other thread I am getting an assortment of errors even using the bundled Orbeon Portlet in the latest nightly build with the latest LifeRay under Tomcat.  If you or others try it and have better luck I'd love to hear as that would mean something about my configuration - but I really did take care to get the latest and follow the directions precisely yet it's still giving me trouble (more details in the other thread).

Though - as you indicated in your comments above - even if it had worked it doesn't seem the best approach I think the path you're taking is the better one.  Because it seems that bundled portlet provides no direct way if playing a specific form, it's actually running orbeon from the Examples page as the starting point where the user would have to navigate to the form (that I really just want to deploy directly as the thing the portlet is presenting and let LifeRay's portal pages control the "navigation").
Reply | Threaded
Open this post in threaded view
|

Re: Missing portlet filter class / Inaccurate Wiki page?

ceebee
In reply to this post by Stian Sigvartsen
Did any methods succed to get XForms properly running with Liferay 6 ?

I am trying to get a spring-mvc-portlet - based generator to work with Orbeon XForms ...


or dosen't this work, because of the JSP / Portlet bug ?

My Other Question is, where do I have to put the parts like xForms Model (xForms:Instance ... ), when using a Portlet ?
Reply | Threaded
Open this post in threaded view
|

Re: Re: Missing portlet filter class / Inaccurate Wiki page?

Erik Bruchez
Administrator
> Did any methods succed to get XForms properly running with Liferay 6 ?
>
> I am trying to get a spring-mvc-portlet - based generator to work with
> Orbeon XForms ...
>
>
> or dosen't this work, because of the JSP / Portlet bug ?
>
> My Other Question is, where do I have to put the parts like xForms Model
> (xForms:Instance ... ), when using a Portlet ?

The idea is that your portlet generates an entire XForms page, that is
XHTML containing XForms elements.

-Erik

> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Missing-portlet-filter-class-Inaccurate-Wiki-page-tp2720997p3027420.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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