How to create portlet from a Orbeon "app"

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

How to create portlet from a Orbeon "app"

Stian Sigvartsen
How to create portlet from a Orbeon "app"

Hi

The page at http://wiki.orbeon.com/forms/doc/developer-guide/admin/deployment-portlet states "Orbeon Forms hides the complexity of the Portlet API to allow most Orbeon Forms applications to work unmodified within portlet containers and to follow best practices allowed by the Web Application Controller."

I've been trying to locate some documentation on this, but I haven't been successful.

From just browsing the Orbeon file system, I notice that the out of the box portlet that comes with Orbeon appears to be pointed at the "\apps\home" application.

Can it be configured (and duplicated) to point at any application stored in "\app"?

As many of you are aware, I've been looking into separate web app deployment strategy using Orbeon, but the problem there is that I would need to pick a MVC technology to compliment it.  E.g. the role of the page-flow.xml.  Although I definitely see a use case for this in complex applications development (maybe utilising Spring MCV or Webflow), it would be very useful to be able to produce simple portlets using the Orbeon "application" strategy.  Also it would be great if these could be built using form builder.

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: How to create portlet from a Orbeon "app"

Erik Bruchez
Administrator
Stian,

The idea is that you use the page flow as you would in a servlet
environment: each page has a path which can be bound to a page or
service defined in the page flow.

The fact that page-flow-portlet.xml is used is determined in
portlet.xml, which uses prologue-portlet.xpl. You could configure
multiple portlets to point to different homes by changing portlet.xml

On the portlet home page: this is determined in page-flow-portlet.xml.
You can change how "/" is handled there.

-Erik

On Thu, Oct 14, 2010 at 3:53 AM, Stian Sigvartsen
<[hidden email]> wrote:

> Hi
>
> The page at
> http://wiki.orbeon.com/forms/doc/developer-guide/admin/deployment-portlet
> states "Orbeon Forms hides the complexity of the Portlet API to allow most
> Orbeon Forms applications to work unmodified within portlet containers and
> to follow best practices allowed by the Web Application Controller."
>
> I've been trying to locate some documentation on this, but I haven't been
> successful.
>
> From just browsing the Orbeon file system, I notice that the out of the box
> portlet that comes with Orbeon appears to be pointed at the "\apps\home"
> application.
>
> Can it be configured (and duplicated) to point at any application stored in
> "\app"?
>
> As many of you are aware, I've been looking into separate web app deployment
> strategy using Orbeon, but the problem there is that I would need to pick a
> MVC technology to compliment it.  E.g. the role of the page-flow.xml.
> Although I definitely see a use case for this in complex applications
> development (maybe utilising Spring MCV or Webflow), it would be very useful
> to be able to produce simple portlets using the Orbeon "application"
> strategy.  Also it would be great if these could be built using form
> builder.
>
> 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
>
>


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