Hi All, I want to access session variable in crud.xpl.I will explain
my scenario. I had created one java servlet which will take user name and
password from user on success It will redirect the user to our form builder page. What I want
here is I am setting username is request and trying to access the request
attribute in crud.xpl But it’s not at all coming there(<username><xsl:value-of
select="$request/username/></username>)thinking that the
request is getting lost by the time it reaches the crud.xpl. I am trying to set
this variable in session. Hoping session will be there. But I don’t know
how to access this session variable in crud.xpl. Can anyone help me out. Also how put print statements in
xforms. Regards, Smaran Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.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 |
Administrator
|
I replied on the xxforms:get-session-attribute() function separately.
Now whether crud.xpl will have a access to the session, it depends! There is an HTTP request going on inbetween. You could try to set the oxf.xforms.forward-submission-headers to forward JSESSIONID through the service: <property as="xs:string" name="oxf.xforms.forward-submission-headers" value="JSESSIONID"/>
-Erik On Wed, Mar 9, 2011 at 9:52 PM, <[hidden email]> wrote:
-- 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 |