session management with xforms

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

session management with xforms

Prameela R

Hello All,

 

I am trying to transfer instance from one war file to another war file of Liferay with xforms.

Doing google I got the functions like

<xforms:insert context="." origin="xxforms:set-session-attribute('document', instance('my-instance'))"/>

<xforms:insert nodeset="instance('my-instance')" origin="xxforms:get-session-attribute('document')"/>

 

In one portlet I used <xforms:insert context="." origin="xxforms:set-session-attribute('document', instance('my-instance'))"/>

To set instance from one portlet on xform construct done.

 

And In another portlet xform

 

<xforms:insert nodeset="instance('my-instance')" origin="xxforms:get-session-attribute('document')"/>

 To replace instance and get the values.

 

But it did not work,and also no errors.

 

Is that the right way to use.Can any body give suggessions.

 

Thanks & Regards

Prameela R

Software Engineer

Prodigy Systems & Services

Ph: +91 40 2001 6080 | +91 9052368989

Web: www.prodigygroupindia.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
Reply | Threaded
Open this post in threaded view
|

Re: session management with xforms

Markku Laine
I am not sure whether or not this is related to your problem. Anyway, today I downloaded the latest nightly build version of Orbeon Forms because I wanted to test the new xxforms:download feature. After a quick test session I found out that the download feature worked fine. What I also found out was that for some reason my web application didn't work as expected anymore (lost it's session, cookie).

Anyone else having problems with sessions when using the latest build version?

Regards


-Markku

On 6.3.2009, at 10.21, Prameela R wrote:

Hello All,
 
I am trying to transfer instance from one war file to another war file of Liferay with xforms.
Doing google I got the functions like
<xforms:insert context="." origin="xxforms:set-session-attribute('document', instance('my-instance'))"/>
<xforms:insert nodeset="instance('my-instance')" origin="xxforms:get-session-attribute('document')"/>
 
In one portlet I used <xforms:insert context="." origin="xxforms:set-session-attribute('document', instance('my-instance'))"/>
To set instance from one portlet on xform construct done.
 
And In another portlet xform
 
<xforms:insert nodeset="instance('my-instance')" origin="xxforms:get-session-attribute('document')"/>
 To replace instance and get the values.
 
But it did not work,and also no errors.
 
Is that the right way to use.Can any body give suggessions.
 
Thanks & Regards
Prameela R
Software Engineer
Prodigy Systems & Services
Ph: +91 40 2001 6080 | +91 9052368989
 

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: [hidden email]
For general help: [hidden email]
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: session management with xforms

Erik Bruchez
Administrator
In reply to this post by Prameela R
> I am trying to transfer instance from one war file to another war  

> file of Liferay with xforms.
> Doing google I got the functions like
> <xforms:insert context="." origin="xxforms:set-session-
> attribute('document', instance('my-instance'))"/>
> <xforms:insert nodeset="instance('my-instance')" origin="xxforms:get-
> session-attribute('document')"/>
>
> In one portlet I used <xforms:insert context="." origin="xxforms:set-
> session-attribute('document', instance('my-instance'))"/>
> To set instance from one portlet on xform construct done.
>
> And In another portlet xform
>
> <xforms:insert nodeset="instance('my-instance')" origin="xxforms:get-
> session-attribute('document')"/>
>  To replace instance and get the values.
>
> But it did not work,and also no errors.
>
> Is that the right way to use.Can any body give suggessions.
I don't think that sessions are shared between two WAR files in Liferay.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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