Hello,
How can I set http-headers for a view. The view is configured as follows in the page-flow.xml: <page path-info="/spil-edit/secure/search" model="services/run-get-session.xpl" view="generated/search.xhtml" id="startpage" /> I know http-headers can be set with the processor "HTTP Serializer", but how do I use this processor to include headers for "/spil-edit/secure/search" ? Gts, Ronny -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Ronny,
You can't set them specifically for a particular page in the page flow. As a workaround, you can use a p:when in the epilogue and serialize with different headers depending on the path of your page. That's not ideal, but it would work. -Erik [hidden email] wrote: > Hello, > > How can I set http-headers for a view. The view is configured as follows in the page-flow.xml: > <page path-info="/spil-edit/secure/search" model="services/run-get-session.xpl" > view="generated/search.xhtml" id="startpage" /> > > I know http-headers can be set with the processor "HTTP Serializer", but how do I use this processor to include headers for "/spil-edit/secure/search" ? > > Gts, > Ronny 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Ronthe
Erik,
Ok, thank you. Gts, Ronny -----Oorspronkelijk bericht----- Van: Erik Bruchez [mailto:[hidden email]] Namens Erik Bruchez Verzonden: Wednesday, February 07, 2007 6:08 PM Aan: [hidden email] Onderwerp: Re: [ops-users] set http-headers for views Ronny, You can't set them specifically for a particular page in the page flow. As a workaround, you can use a p:when in the epilogue and serialize with different headers depending on the path of your page. That's not ideal, but it would work. -Erik [hidden email] wrote: > Hello, > > How can I set http-headers for a view. The view is configured as follows in the page-flow.xml: > <page path-info="/spil-edit/secure/search" model="services/run-get-session.xpl" > view="generated/search.xhtml" id="startpage" /> > > I know http-headers can be set with the processor "HTTP Serializer", but how do I use this processor to include headers for "/spil-edit/secure/search" ? > > Gts, > Ronny -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |