Hi, Can I get and set session variables in my Orbeon app? I saw there is an xforms function get/set-session-attribute(), however, I have disabled the xforms engine in my app since I rely on a client side engine, so that is probably not useful to me. Any ideas? Thanks, Mats -- 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 |
Administrator
|
Mats,
We do have xxforms:get-session-attribute() and xxforms:set-session-attribute(), callable from XForms, but as you say that will work only in our XForms engine: http://www.orbeon.com/ops/doc/reference-xforms-functions With the pipeline engine, you can use oxf:scope-generator: http://www.orbeon.com/ops/doc/processors-generators#scope-generator -Erik On Wed, Aug 12, 2009 at 2:33 PM, Mats Eklund<[hidden email]> wrote: > Hi, > > Can I get and set session variables in my Orbeon app? I saw there is an > xforms function get/set-session-attribute(), however, I have disabled the > xforms engine in my app since I rely on a client side engine, so that is > probably not useful to me. Any ideas? > > Thanks, > Mats > > > > > -- > 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 |
Ok, thanks for confirming. The scope-generator is only for getting, not setting, right..?
In order to be able to get/set session variables using the xxforms:set-session-attribute(), is there perhaps a way to use the client side xforms solution in parallel with the orbeon's xforms engine?
Would a custom processor be appropriate for solving this task?
Thanks,
Mats
From: Erik Bruchez <[hidden email]> To: [hidden email] Sent: Wednesday, August 12, 2009 8:41:08 AM Subject: [ops-users] Re: Session variables Mats, We do have xxforms:get-session-attribute() and xxforms:set-session-attribute(), callable from XForms, but as you say that will work only in our XForms engine: http://www.orbeon.com/ops/doc/reference-xforms-functions With the pipeline engine, you can use oxf:scope-generator: http://www.orbeon.com/ops/doc/processors-generators#scope-generator -Erik On Wed, Aug 12, 2009 at 2:33 PM, Mats Eklund<[hidden email]> wrote: > Hi, > > Can I get and set session variables in my Orbeon app? I saw there is an > xforms function get/set-session-attribute(), however, I have disabled the > xforms engine in my app since I rely on a client side engine, so that is > probably not useful to me. Any ideas? > > Thanks, > Mats > > > > > -- > 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 |
oxf:scope-generator to get, oxf:scope-serializer to set.
You could write a custom processor, but I would do this only if oxf:scope-serializer doesn't do the job (or if it can't be enhanced to do the job). xxforms:set-session-attribute() requires the server-side XForms engine to run, so I am not sure how to integrate this with client-side XForms. -Erik On Wed, Aug 12, 2009 at 3:22 PM, Mats Eklund<[hidden email]> wrote: > Ok, thanks for confirming. The scope-generator is only for getting, not > setting, right..? > > In order to be able to get/set session variables using the > xxforms:set-session-attribute(), is there perhaps a way to use the client > side xforms solution in parallel with the orbeon's xforms engine? > > Would a custom processor be appropriate for solving this task? > > Thanks, > Mats > > ________________________________ > From: Erik Bruchez <[hidden email]> > To: [hidden email] > Sent: Wednesday, August 12, 2009 8:41:08 AM > Subject: [ops-users] Re: Session variables > > Mats, > > We do have xxforms:get-session-attribute() and > xxforms:set-session-attribute(), callable from XForms, but as you say > that will work only in our XForms engine: > > http://www.orbeon.com/ops/doc/reference-xforms-functions > > With the pipeline engine, you can use oxf:scope-generator: > > http://www.orbeon.com/ops/doc/processors-generators#scope-generator > > -Erik > > On Wed, Aug 12, 2009 at 2:33 PM, Mats Eklund<[hidden email]> wrote: >> Hi, >> >> Can I get and set session variables in my Orbeon app? I saw there is an >> xforms function get/set-session-attribute(), however, I have disabled the >> xforms engine in my app since I rely on a client side engine, so that is >> probably not useful to me. Any ideas? >> >> Thanks, >> Mats >> >> >> >> >> -- >> You receive this message as a subscriber of the ops-users@ow2..org 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 > > -- 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 |
Ok! I overlooked the scope-serializer(), which ought to solve my problem, thanks!
Mats
From: Erik Bruchez <[hidden email]> To: [hidden email] Sent: Wednesday, August 12, 2009 9:28:46 AM Subject: [ops-users] Re: Re: Re: Session variables oxf:scope-generator to get, oxf:scope-serializer to set. You could write a custom processor, but I would do this only if oxf:scope-serializer doesn't do the job (or if it can't be enhanced to do the job). xxforms:set-session-attribute() requires the server-side XForms engine to run, so I am not sure how to integrate this with client-side XForms. -Erik On Wed, Aug 12, 2009 at 3:22 PM, Mats Eklund<[hidden email]> wrote: > Ok, thanks for confirming. The scope-generator is only for getting, not > setting, right..? > > In order to be able to get/set session variables using the > xxforms:set-session-attribute(), is there perhaps a way to use the client > side xforms solution in parallel with the orbeon's xforms engine? > > Would a custom processor be appropriate for solving this task? > > Thanks, > Mats > > ________________________________ > From: Erik Bruchez <[hidden email]> > To: [hidden email] > Sent: Wednesday, August 12, 2009 8:41:08 AM > Subject: [ops-users] Re: Session variables > > Mats, > > We do have xxforms:get-session-attribute() and > xxforms:set-session-attribute(), callable from XForms, but as you say > that will work only in our XForms engine: > > http://www.orbeon.com/ops/doc/reference-xforms-functions > > With the pipeline engine, you can use oxf:scope-generator: > > http://www.orbeon.com/ops/doc/processors-generators#scope-generator > > -Erik > > On Wed, Aug 12, 2009 at 2:33 PM, Mats Eklund<[hidden email]> wrote: >> Hi, >> >> Can I get and set session variables in my Orbeon app? I saw there is an >> xforms function get/set-session-attribute(), however, I have disabled the >> xforms engine in my app since I rely on a client side engine, so that is >> probably not useful to me. Any ideas? >> >> Thanks, >> Mats >> >> >> >> >> -- >> 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 > > -- 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 |
Free forum by Nabble | Edit this page |