Multiple Orbeon Portlets in Single WAR file using Liferay Portal

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

Multiple Orbeon Portlets in Single WAR file using Liferay Portal

Manjeera
Hello All,

We are trying to integrate multiple Orbeon XForm portlets into a single WAR file and we are using Liferay Portal.

To do this we have changed web.xml, portlet.xml,  liferay-display.xml, liferay-portlet.xml.  Each Portlet has its own page flow so created multiple page-flow-portlet.xml in oxf:resources folder. Also created multiple page-flow.xmls in portlet-welcome folder which get invoked through page-flow-portlet.xml which in turn get invoked from prologue-portlet.xpl based on the portlet which is getting loaded.

Here the problem is in one WAR file, we are trying to add 3 portlets. Each time a portlet is getting loaded, the other 2 portlets are also getting loaded. Therefore for 3 portlets to get loaded it is taking nine iterations  (3 times for each portlet).

Firstly can anybody suggest if I am missing something here? Secondly is this the right way to integrate multiple portlets into a single WAR file?

TIA,
Manjeera
Reply | Threaded
Open this post in threaded view
|

Re: Multiple Orbeon Portlets in Single WAR file using Liferay Portal

rishi4you
Hi Manjeera,
 
I would go about deploying each of the portlet as a seperate war and then add it through liferay . The problem with all the portlet in a single war could be the sharing of the context. How do you distinguish between the context of portlet 1 via portlet 2 .?
 
Rishi

On Tue, Jun 9, 2009 at 4:44 AM, Manjeera <[hidden email]> wrote:

Hello All,

We are trying to integrate multiple Orbeon XForm portlets into a single WAR
file and we are using Liferay Portal.

To do this we have changed web.xml, portlet.xml,  liferay-display.xml,
liferay-portlet.xml.  Each Portlet has its own page flow so created multiple
page-flow-portlet.xml in oxf:resources folder. Also created multiple
page-flow.xmls in portlet-welcome folder which get invoked through
page-flow-portlet.xml which in turn get invoked from prologue-portlet.xpl
based on the portlet which is getting loaded.

Here the problem is in one WAR file, we are trying to add 3 portlets. Each
time a portlet is getting loaded, the other 2 portlets are also getting
loaded. Therefore for 3 portlets to get loaded it is taking nine iterations
(3 times for each portlet).

Firstly can anybody suggest if I am missing something here? Secondly is this
the right way to integrate multiple portlets into a single WAR file?

TIA,
Manjeera
--
View this message in context: http://www.nabble.com/Multiple-Orbeon-Portlets-in-Single-WAR-file-using-Liferay-Portal-tp23920511p23920511.html
Sent from the ObjectWeb 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
Reply | Threaded
Open this post in threaded view
|

RE: Re: Multiple Orbeon Portlets in Single WAR file using Liferay Portal

Manjeera

Hi Rishi,

 

Yes I see that the context is the same. I am redirecting from prologue-portlet to various page-flows based on the container-namespace value which we get as part of the request.

 

The reason why we started this exercise was to place the supporting jar files like xerces, orbeon etc  in one location, rather than have them in the lib folder of all the WAR files. If we place the supporting  jar files in one location, the page-flow is always going to the first loaded portlet.

 

I hope you understood our case. Do you have any ideas on sharing the jar files? We are using JBOSS as our Server.

 

TIA,

Manjeera.

 

 


From: Rishi [mailto:[hidden email]]
Sent: Tuesday, June 09, 2009 8:34 PM
To: [hidden email]
Subject: [ops-users] Re: Multiple Orbeon Portlets in Single WAR file using Liferay Portal

 

Hi Manjeera,

 

I would go about deploying each of the portlet as a seperate war and then add it through liferay . The problem with all the portlet in a single war could be the sharing of the context. How do you distinguish between the context of portlet 1 via portlet 2 .?

 

Rishi

On Tue, Jun 9, 2009 at 4:44 AM, Manjeera <[hidden email]> wrote:


Hello All,

We are trying to integrate multiple Orbeon XForm portlets into a single WAR
file and we are using Liferay Portal.

To do this we have changed web.xml, portlet.xml,  liferay-display.xml,
liferay-portlet.xml.  Each Portlet has its own page flow so created multiple
page-flow-portlet.xml in oxf:resources folder. Also created multiple
page-flow.xmls in portlet-welcome folder which get invoked through
page-flow-portlet.xml which in turn get invoked from prologue-portlet.xpl
based on the portlet which is getting loaded.

Here the problem is in one WAR file, we are trying to add 3 portlets. Each
time a portlet is getting loaded, the other 2 portlets are also getting
loaded. Therefore for 3 portlets to get loaded it is taking nine iterations
(3 times for each portlet).

Firstly can anybody suggest if I am missing something here? Secondly is this
the right way to integrate multiple portlets into a single WAR file?

TIA,
Manjeera
--
View this message in context: http://www.nabble.com/Multiple-Orbeon-Portlets-in-Single-WAR-file-using-Liferay-Portal-tp23920511p23920511.html
Sent from the ObjectWeb 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
Reply | Threaded
Open this post in threaded view
|

RE: RE: Re: Multiple Orbeon Portlets in Single WAR file using Liferay Portal

Gopi Krishna-5

Hi Manjeera,

 

Are you able to use Orbeon form builder in liferay? I was getting an error trying to access it. I was using tomcat bundle of liferay. I followed the instructions given in the following website.

http://wiki.orbeon.com/forms/doc/developer-guide/deployment-portlet

If you know something on this, please help.

 

Thanks,

Gopi Krishna

 

From: Manjeera [mailto:[hidden email]]
Sent: Wednesday, June 10, 2009 5:27 PM
To: [hidden email]
Subject: [ops-users] RE: Re: Multiple Orbeon Portlets in Single WAR file using Liferay Portal

 

Hi Rishi,

 

Yes I see that the context is the same. I am redirecting from prologue-portlet to various page-flows based on the container-namespace value which we get as part of the request.

 

The reason why we started this exercise was to place the supporting jar files like xerces, orbeon etc  in one location, rather than have them in the lib folder of all the WAR files. If we place the supporting  jar files in one location, the page-flow is always going to the first loaded portlet.

 

I hope you understood our case. Do you have any ideas on sharing the jar files? We are using JBOSS as our Server.

 

TIA,

Manjeera.

 

 


From: Rishi [mailto:[hidden email]]
Sent: Tuesday, June 09, 2009 8:34 PM
To: [hidden email]
Subject: [ops-users] Re: Multiple Orbeon Portlets in Single WAR file using Liferay Portal

 

Hi Manjeera,

 

I would go about deploying each of the portlet as a seperate war and then add it through liferay . The problem with all the portlet in a single war could be the sharing of the context. How do you distinguish between the context of portlet 1 via portlet 2 .?

 

Rishi

On Tue, Jun 9, 2009 at 4:44 AM, Manjeera <[hidden email]> wrote:


Hello All,

We are trying to integrate multiple Orbeon XForm portlets into a single WAR
file and we are using Liferay Portal.

To do this we have changed web.xml, portlet.xml,  liferay-display.xml,
liferay-portlet.xml.  Each Portlet has its own page flow so created multiple
page-flow-portlet.xml in oxf:resources folder. Also created multiple
page-flow.xmls in portlet-welcome folder which get invoked through
page-flow-portlet.xml which in turn get invoked from prologue-portlet.xpl
based on the portlet which is getting loaded.

Here the problem is in one WAR file, we are trying to add 3 portlets. Each
time a portlet is getting loaded, the other 2 portlets are also getting
loaded. Therefore for 3 portlets to get loaded it is taking nine iterations
(3 times for each portlet).

Firstly can anybody suggest if I am missing something here? Secondly is this
the right way to integrate multiple portlets into a single WAR file?

TIA,
Manjeera
--
View this message in context: http://www.nabble.com/Multiple-Orbeon-Portlets-in-Single-WAR-file-using-Liferay-Portal-tp23920511p23920511.html
Sent from the ObjectWeb 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

 

This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
Powered by STPL Portal .



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