Authentication problem

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

Authentication problem

StephR
I have just started Orbeon so I'm trying to discover how everything works out.

In a *.xpl file I have this :

        <p:processor name="oxf:scope-generator" xmlns:p="http://www.orbeon.com/oxf/pipeline"> 
                <p:input name="config">
                        <config>
                                <key>authentification</key>
                                <scope>session</scope>
                                <session-scope>application</session-scope>
                        </config>
                </p:input> 
                <p:output name="data" id="auth"/> 
        </p:processor>

I would like to print out the output. In a xsl file, I have written the following : <xsl:copy-of select="doc('input:instance')"/>. In the final source code, I have "<null xsi:nil="true"/>" which means that he doesn't find the document... I'm lost :(!

What do I have to do?
Reply | Threaded
Open this post in threaded view
|

Re: Authentication problem

Erik Bruchez
Administrator
For the page view to access that data, you need to make sure that the
output of your processor below is sent to the output of the XPL page model.

If you use the "data" output of the page model, then you can access it
with the XSLT view's main input (e.g. <xsl:copy-of select="/"/>). If you
send it to the "instance" output, then you can use doc('input:instance').

-Erik

StephR wrote:

> I have just started Orbeon so I'm trying to discover how everything works
> out.
>
> In a *.xpl file I have this :
>
> <p:processor name="oxf:scope-generator"
> xmlns:p="http://www.orbeon.com/oxf/pipeline">  
> <p:input name="config">
> <config>
> <key>authentification</key>
> <scope>session</scope>
> <session-scope>application</session-scope>
> </config>
> </p:input>
> <p:output name="data" id="auth"/>  
> </p:processor>
>
> I would like to print out the output. In a xsl file, I have written the
> following : <xsl:copy-of select="doc('input:instance')"/>
>
> What do I have to add ?
>

--
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