Login  Register

RE: Re: RE: Re: RE: Re: RE: Re: <p:param type="input" name="instance"/>

Posted by smaran on Mar 07, 2011; 1:22pm
URL: https://discuss.orbeon.com/p-param-type-input-name-instance-tp3338458p3338940.html

Hi,
Trust me I am struggling from 5 days breaking my head why username is not getting stored in database.
Now I am able to see the user name in data base(got confused with patch you attached which contains username entry twice).Actually I want user-id also to be inserted in database. Like I need to add column userID.Is that possible. If so please tell me where I need to modify the code exactly.so that we can go ahead and close this poc before we purchase your
PE of orbeon
Regards,
Smaran.

-----Original Message-----
From: Florian Schmitt [mailto:[hidden email]]
Sent: Monday, March 07, 2011 6:39 PM
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: RE: Re: <p:param type="input" name="instance"/>

Smaran,

i can't help with the error message without knowing the _complete_ crud.xpl. The error contains a line number which is useless without the complete file.

> <xsl:copy-of select="doc('input:instance')"/>
>                  </document>
>                  <timestamp><xsl:value-of select="current-dateTime()"/></timestamp>
>                 <username><xsl:value-of select="$request/headers/header[name = 'orbeon-username']/value"/></username>
>                 <username><xsl:value-of select="$request/remote-user"/></username>
>                  <roles><xsl:value-of select="$request/headers/header[name = 'orbeon-roles']/value"/></roles>
>                  <app><xsl:value-of select="$matcher-groups[1]"/></app>
>                  <form><xsl:value-of
> select="$matcher-groups[2]"/></form>

hmm - this fragment shows two username entries, not one. I would recommend to remove the first username entry containing the reference to orbeon-username.

HTH
florian



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