How to access to Orbeon Runner from external web app context.

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

How to access to Orbeon Runner from external web app context.

daniele ippoliti
Hello,
I would like to integrate the Runner of Orbeon in Alfresco. so I should write something on alfresco level that is able to receive the request of the Orbeon Builder/ Orbeon Runner and serve them. Right ? This is the implementation of the REST API for the Persistence layer.

I saw also the article

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications#TOC-Separate-deployment

because infact I have a java application, but I don't understand this point

Passing XHTML and XForms as a request attribute

With this method, the output of your JSP or servlet is ignored by Orbeon Forms. Instead, you set an attribute into the HttpServletRequest object which is passed to servlets (and also accessible in JSP through the request variable):

request.setAttribute("oxf.xforms.renderer.document", xformsDocument);

The name of the attribute must be "oxf.xforms.renderer.document". It may contain XHTML and XForms as an XML Document Object Model (DOM), as a dom4j Document, or as a String containing XML.


If I build a request and I send it to be processed from the filter Am I using the Form Runner Environment?

If it's not ashow can I use the Form Runner from an external application ?


thank you


Daniele



--
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: How to access to Orbeon Runner from external web app context.

Erik Bruchez
Administrator
So this is similar to your other question. Let's follow-up there.

-Erik

On Tue, Nov 22, 2011 at 3:08 AM, daniele ippoliti <[hidden email]> wrote:

> Hello,
> I would like to integrate the Runner of Orbeon in Alfresco. so I should
> write something on alfresco level that is able to receive the request of the
> Orbeon Builder/ Orbeon Runner and serve them. Right ? This is the
> implementation of the REST API for the Persistence layer.
>
> I saw also the article
>
> http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications#TOC-Separate-deployment
>
> because infact I have a java application, but I don't understand this point
>
> Passing XHTML and XForms as a request attribute
>
> With this method, the output of your JSP or servlet is ignored by Orbeon
> Forms. Instead, you set an attribute into the HttpServletRequest object
> which is passed to servlets (and also accessible in JSP through the request
> variable):
>
> request.setAttribute("oxf.xforms.renderer.document", xformsDocument);
>
> The name of the attribute must be "oxf.xforms.renderer.document". It may
> contain XHTML and XForms as an XML Document Object Model (DOM), as a dom4j
> Document, or as a String containing XML.
>
>
> If I build a request and I send it to be processed from the filter Am I
> using the Form Runner Environment?
>
> If it's not ashow can I use the Form Runner from an external application ?
>
>
> thank you
>
>
> Daniele
>
>
>
> --
> 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