All,
With the Page Flow Controller, you can extract request parameters and
elements of the request path quite easily:
http://www.orbeon.com/ops/doc/reference-page-flow#url-extractionThis is sometimes optimal, sometimes maybe a little heavy, but it works.
Now would it make sense to make it easier to access request parameters
directly from the page? I see two ways of doing it:
1. Hooking up oxf:request to the XForms page so that you can access a
full request document with input:request, e.g.:
<xforms:instance src="input:request"/>
in the same way you access input:data or input:instance.
2. Use the XPath approach and define XPath functions to access
different request values, very much like eXist does:
http://demo.exist-db.org/xquery/functions.xq#N10B33Or maybe both?
The main drawback I see in #2 is that if in the future we want to
perform more aggressive caching of pages, we will need to determine
dependencies based on the use of request functions. This is a little
harder to implement than #1, which allows free caching capabilities
based on the pipeline engine.
Any thoughts?
-Erik
--
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