xxforms:get-session-attribute() function

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

xxforms:get-session-attribute() function

masjab-2
Hey,

I tried two days to work with the scope-generator and the scope-
serializer...=( because of saving a session-based languageVariable so  
that the user can change the language of his app....
Although I  got lots of help (thx to florian & erik) I couldn´t get it  
to work.
I just do not know how to save data from an instance to a scope...and  
read again from it...
I think it´s because I´m very new to all this but anyway: STILL IT  
MAKES LOTS OF FUN:

Erik wrote to me:

BTW we have an xxforms:get-session-attribute() function in the nightly  
builds, and we will be adding an xxforms:set-session-attribute() as  
well soon. This could help you I think if you want to use the user's  
session to store language and other application-global preferences.


Does anyone how this works and do I have to update my orbeon system?

--
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: xxforms:get-session-attribute() function

Erik Bruchez
Administrator
Search for get-session-attribute() under this section of the doc:

   http://www.orbeon.com/ops/doc/reference-xforms-2#ops-extensions

Yes you need a recent version of OF.

-Erik

On Jun 14, 2008, at 12:16 AM, Masen J wrote:

> Hey,
>
> I tried two days to work with the scope-generator and the scope-
> serializer...=( because of saving a session-based languageVariable  
> so that the user can change the language of his app....
> Although I  got lots of help (thx to florian & erik) I couldn´t get  
> it to work.
> I just do not know how to save data from an instance to a  
> scope...and read again from it...
> I think it´s because I´m very new to all this but anyway: STILL IT  
> MAKES LOTS OF FUN:
>
> Erik wrote to me:
>
> BTW we have an xxforms:get-session-attribute() function in the  
> nightly builds, and we will be adding an xxforms:set-session-
> attribute() as well soon. This could help you I think if you want to  
> use the user's session to store language and other application-
> global preferences.
>
>
> Does anyone how this works and do I have to update my orbeon system?
> --
> 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
--
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