Bookshelf Form in Orbeon Forms Example Portlet

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

Bookshelf Form in Orbeon Forms Example Portlet

Artem
HI there,
I am trying to use Orbeon Forms Example Portlet.
When I run simple form like "xforms-calculator", it works fine.
But I cannot run Bookshelf Form:
   ProcessorService  - /fr/orbeon/bookshelf/summary/ - Received request
   ProcessorService  - /fr/service/i18n/fr-resources/orbeon/bookshelf - Received request
   ProcessorService  - /fr/service/i18n/fr-resources/orbeon/bookshelf - Timing: 203 - Cache hits for cache.main: 341, fault: 64, adds: 66, expirations: 0, success rate: 84%
   ERROR XFormsServer  -                   xforms-submit-error - response {status code: "200"}
  WARN  XFormsServer  -                   xforms-submit-error - error while parsing response body as XML,  defaulting to plain text. {throwable: "org.orbeon.oxf.common.OXFException: line 1, column 1 of  file:///fr/service/i18n/fr-resources/orbeon/bookshelf: Fatal error: Content is not allowed in prolog.
file:///fr/service/i18n/fr-resources/orbeon/bookshelf, line 1, column 1: Fatal error: Content is not allowed in prolog.
        at org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:422)

Please, help. Why does it not work?

Artem
Reply | Threaded
Open this post in threaded view
|

Re: Bookshelf Form in Orbeon Forms Example Portlet

Alessandro  Vernet
Administrator
Artem,

What do you mean by "use Orbeon Forms Example Portlet"?

Alex

On Wed, Mar 31, 2010 at 6:47 AM, Artem <[hidden email]> wrote:

>
> HI there,
> I am trying to use Orbeon Forms Example Portlet.
> When I run simple form like "xforms-calculator", it works fine.
> But I cannot run Bookshelf Form:
>   ProcessorService  - /fr/orbeon/bookshelf/summary/ - Received request
>   ProcessorService  - /fr/service/i18n/fr-resources/orbeon/bookshelf -
> Received request
>   ProcessorService  - /fr/service/i18n/fr-resources/orbeon/bookshelf -
> Timing: 203 - Cache hits for cache.main: 341, fault: 64, adds: 66,
> expirations: 0, success rate: 84%
>   ERROR XFormsServer  -                   xforms-submit-error - response
> {status code: "200"}
>  WARN  XFormsServer  -                   xforms-submit-error - error while
> parsing response body as XML,  defaulting to plain text. {throwable:
> "org.orbeon.oxf.common.OXFException: line 1, column 1 of
> file:///fr/service/i18n/fr-resources/orbeon/bookshelf: Fatal error: Content
> is not allowed in prolog.
> file:///fr/service/i18n/fr-resources/orbeon/bookshelf, line 1, column 1:
> Fatal error: Content is not allowed in prolog.
>        at org.orbeon.oxf.xml.XMLUtils.inputSourceToSAX(XMLUtils.java:422)
>
> Please, help. Why does it not work?
>
> Artem
> --
> View this message in context: http://n4.nabble.com/Bookshelf-Form-in-Orbeon-Forms-Example-Portlet-tp1746802p1746802.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Bookshelf Form in Orbeon Forms Example Portlet

Artem
In reply to this post by Artem
Alex,

I have deployed Orbeon as a portlet. And I cannot run Bookshelf Form.

Artem
Reply | Threaded
Open this post in threaded view
|

Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Alessandro  Vernet
Administrator
Artem,

Are you deploying Orbeon Forms as a portlet in a portal server such as Liferay?

Alex

On Thu, Apr 1, 2010 at 2:52 AM, Artem <[hidden email]> wrote:

>
> Alex,
>
> I have deployed Orbeon as a portlet. And I cannot run Bookshelf Form.
>
> Artem
> --
> View this message in context: http://n4.nabble.com/Bookshelf-Form-in-Orbeon-Forms-Example-Portlet-tp1746802p1747880.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Artem
Alex,

Yes, I am deploying Orbeon Forms in Liferay. I suppose form runner does not work in a portlet. Is it possible to run form runner into my own portlet? Thanks.

Artem
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Alessandro  Vernet
Administrator
Hi Artem,

It is, and was working ca. end of 2008, but since then we must have
introduced a "glitch" (read: bug!) that prevents Form Runner from
running as a portlet. At this point, this is not one of our top
priorities, so this most likely won't get ironed out until we get a
request to handle this from a client with a Developer plan
(http://www.orbeon.com/support-services/development), in case this is
an option for you.

Alex

On Tue, Apr 6, 2010 at 1:14 AM, Artem <[hidden email]> wrote:

>
> Alex,
>
> Yes, I am deploying Orbeon Forms in Liferay. I suppose form runner does not
> work in a portlet. Is it possible to run form runner into my own portlet?
> Thanks.
>
> Artem
> --
> View this message in context: http://n4.nabble.com/Bookshelf-Form-in-Orbeon-Forms-Example-Portlet-tp1746802p1752534.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Artem
Hi Alex,

Thanks for your answer. I have deployed Orbeon Forms 3.7.1 (Developer Release) like a portlet in Liferay and I was able to run XForms from my database.
But I wold like to create my portlet, which could run Xforms, that are stored in a oracle database.
Can I use orbeon*.jar files to run form runner? Thanks.

Artem
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Alessandro  Vernet
Administrator
Artem,

Yes, there is nothing special about running Form Runner as a portlet,
vs. running other XForms pages as a portlet. So if it works for you
for other pages with that version of Orbeon Forms, it might work as
well for Form Runner. Of course the downside is that you will be using
a relatively old version of Form Runner.

Alex

On Tue, Apr 6, 2010 at 1:03 PM, Artem <[hidden email]> wrote:

>
> Hi Alex,
>
> Thanks for your answer. I have deployed Orbeon Forms 3.7.1 (Developer
> Release) like a portlet in Liferay and I was able to run XForms from my
> database.
> But I wold like to create my portlet, which could run Xforms, that are
> stored in a oracle database.
> Can I use orbeon*.jar files to run form runner? Thanks.
>
> Artem
> --
> View this message in context: http://n4.nabble.com/Bookshelf-Form-in-Orbeon-Forms-Example-Portlet-tp1746802p1753400.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Artem
HI Alex,

It's me again :)
I use orbeon release 3.71 like a portlet and it works well.
I figured out a little bit how orbeon engine works. Now I would like to use new version of Orbeon.
As you said before, you have some bug with running orbeon form runner in the portlet.
Well, can you give me some information about this bug?  (where I can fix it)
Will you take my patch for your new orbeon release if I will fix this bug?

Thanks.

Artem
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Alessandro  Vernet
Administrator
Artem,

I can't give you any hints at this point, as we haven't yet
investigated this ourselves yet. It is a matter of reproducing the
problem, finding that error is based on information in the logs, and
tracing it back to the Java code. You'll let us know if you get to
make some progress on this; as you might have seen, you are not the
only one around here interested in running Orbeon Forms in a portal.
:)

Alex

On Thu, Apr 29, 2010 at 11:41 AM, Artem <[hidden email]> wrote:

>
> HI Alex,
>
> It's me again :)
> I use orbeon release 3.71 like a portlet and it works well.
> I figured out a little bit how orbeon engine works. Now I would like to use
> new version of Orbeon.
> As you said before, you have some bug with running orbeon form runner in the
> portlet.
> Well, can you give me some information about this bug?  (where I can fix it)
> Will you take my patch for your new orbeon release if I will fix this bug?
>
> Thanks.
>
> Artem
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Bookshelf-Form-in-Orbeon-Forms-Example-Portlet-tp1746802p2076028.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Artem
ok but I need to know you will take my changes in new version of Orbeon
if I will fix this bug. :)

Artem
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Bookshelf Form in Orbeon Forms Example Portlet

Alessandro  Vernet
Administrator
Artem,

We'll be most definitely interested in integrating your changes if you
get to fix those problems. You'll let us know if you need any help
with anything.

Alex

On Tue, May 4, 2010 at 3:18 AM, Artem <[hidden email]> wrote:

>
> ok but I need to know you will take my changes in new version of Orbeon
> if I will fix this bug. :)
>
> Artem
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Bookshelf-Form-in-Orbeon-Forms-Example-Portlet-tp1746802p2125271.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet