Login  Register

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

Posted by smaran on Mar 07, 2011; 9:41am
URL: https://discuss.orbeon.com/p-param-type-input-name-instance-tp3338458p3338606.html

Hi All,
Can you tell me
<xforms:action if="xxforms:property('oxf.fr.authentication.method') = 'container'">
            <!-- Case where we get the username and roles from the container -->
            <xforms:setvalue ref="instance('fr-authentication-headers')/header[@name = 'username']/@value" value="xxforms:get-remote-user()"/>
            <xforms:message level="xxforms:log-debug">Roles: <xforms:output value="xxforms:property('oxf.fr.authentication.container.roles')"/></xforms:message>
            <xforms:action xxforms:iterate="tokenize(xxforms:property('oxf.fr.authentication.container.roles'), '\s+')">
                <xxforms:variable name="role" select="."/>
                <xforms:action if="xxforms:is-user-in-role($role)">
                    <xforms:setvalue ref="instance('fr-authentication-headers')/header[@name = 'roles']/@value" value="if (. = '') then $role else concat(., ' ', $role)"/>
                </xforms:action>
            </xforms:action>
        </xforms:action>


From where the username its expecting
smarna

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

Smaran,

> <p:param type="input" name="instance"/>
>
> What does this indicate?can any one let me know

i suppose it's a fragment of a XPL pipelines. It defines an input parameter passed to that pipeline:

http://www.orbeon.com/orbeon/doc/reference-xpl-pipelines#param

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