Liferay

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

Liferay

wesoos
When using Orbeon forms with liferay can I assume the following:

1) Orbeon works with Liferay community edition?
2) Only the Orbeon runner and proxy portlets are available for Liferay?  Not the form builder?
3) Latest supported version of Liferay is 6.1.2 GA3?
3) All properties of the logged in user are available for the orbeon portlets, like userid, username, email, roles, organizations?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Liferay

Erik Bruchez
Administrator
> 1) Orbeon works with Liferay community edition?

Yes.

> 2) Only the Orbeon runner and proxy portlets are available for Liferay?  Not the form builder?

Correct.

> 3) Latest supported version of Liferay is 6.1.2 GA3?

Yes, 6.2 is not supported yet.

> 4) All properties of the logged in user are available for the orbeon portlets, like userid, username, email, roles, organizations?

Yes, except organizations, and only with the proxy portlet.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Liferay

wesoos
How can we possible get the organizations of the liferay user to orbeon forms?  Is there a custom way of passing additional liferay properties to orbeon?

Also, you can't obtain any liferay properties via form runner as a portlet?

If the above is true, and you can only get those properties via the proxy portlet, can the proxy portlet be used with orbeon CE?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Liferay

Erik Bruchez
Administrator
The proxy portlet passes the Liferay user/role/group information via headers. See the "Send Liferay user" option documented here:

http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/form-runner-proxy-portlet-guide

The proxy portlet is PE only.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Liferay

ajam0014
This post was updated on .
Hi Erik,
Using Guide, i have fetched user/roles/group information using headers.  But I am also looking to get the organizations of the liferay user to orbeon forms... Any possibility to work way around?  

Also any clue on..... Is there a custom way of passing additional liferay properties to orbeon? May through Session or Request parameters?


Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Liferay

Erik Bruchez
Administrator
Currently we don't pass any other information than those listed there from the proxy portlet to Form Runner. I don't think there is an easy workaround as this is hardcoded right now. You can see how it's done here:

https://github.com/orbeon/orbeon-forms/blob/master/src/main/scala/org/orbeon/oxf/portlet/liferay/LiferaySupport.scala

-Erik