Erik,
Thanks for looking in to it. I am not getting any error. Just blank. Yes, I am using separate deployment. Am I missing some thing?
Thanks
Karun
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On Behalf Of Erik Bruchez
Sent: Friday, October 30, 2009 8:53 PM
To:
[hidden email]
Subject: [ops-users] Re: Getting the User Information from Session
Karun,
Your use of xxforms:get-session-attribute('user') should work. Are you
getting an error, or just a blank value? Are you using separate
deployment?
-Erik
On Thu, Oct 29, 2009 at 3:56 PM, Ganaphathy, Karunamoorthy
<
[hidden email]> wrote:
> Hey,
>
>
>
> I am setting the User information in the Http Session like below in our java
> app.
>
>
>
> getSession().put("user", "admin");
>
>
>
> But when I try to access it in xforms, I am not able to get it. But, If I
> pass as parameters to the URL I am getting using get_request_parameter.
>
> <xforms:setvalue ref="instance('security-instance')/user"
> value="xxforms:get-session-attribute('user')"/>
>
> Is this the right way to do it? If not what alternative I have instead of
> passing as url params?
>
>
>
> Thanks in advance.
>
>
>
> Karun
>
> --
> 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