Access header information in theme

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

Access header information in theme

nvdbleek
Hi,

I need to access iv-user and iv-groups header fields in my theme.xsl

The default epilogue-servlet.xpl only forwards only the accept header, would a github pull request that forwards all header fields, or a configurable set of header fields be applied to the Orbeon master if I would do one?

I prefer not to manually change the epilogue-servlet.xpl file in my installation (I try to keep the global files to changes as minimal as possible)

Regards,

Nick Van den Bleeken.
Reply | Threaded
Open this post in threaded view
|

Re: Access header information in theme

Erik Bruchez
Administrator
Nick,

Which build are you using? In recent builds, we have made more XPath
extension functions available from XSLT, in particular the
request-related functions:

http://wiki.orbeon.com/forms/doc/developer-guide/xforms-xpath-functions#TOC-HTTP-request-functions

If that's the case you should just be able to use
xxforms:get-request-header() from XSLT.

-Erik

On Tue, Jul 24, 2012 at 6:15 AM, nvdbleek <[hidden email]> wrote:

> Hi,
>
> I need to access iv-user and iv-groups header fields in my theme.xsl
>
> The default epilogue-servlet.xpl only forwards only the accept header, would
> a github pull request that forwards all header fields, or a configurable set
> of header fields be applied to the Orbeon master if I would do one?
>
> I prefer not to manually change the epilogue-servlet.xpl file in my
> installation (I try to keep the global files to changes as minimal as
> possible)
>
> Regards,
>
> Nick Van den Bleeken.
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Access-header-information-in-theme-tp4655537.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
>


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