Re: Relative path for submission?
Posted by
Erik Bruchez on
Feb 01, 2011; 2:36am
URL: https://discuss.orbeon.com/Relative-path-for-submission-tp3228459p3250420.html
Sorry it seems like we missed this message
Have you tried with a nightly build?
Also, as a workaround you could use a custom property in your properties-local.xml, and write your submission like:
<xf:submission action="{xxforms:property('my.property.uri')}/exist/queries/login.xql" ...>
-Erik
On Thu, Jan 20, 2011 at 12:47 PM, dk16
<[hidden email]> wrote:
So I have a submission that looks something like this (the irrelevant
attributes have been omitted to keep it simple):
<xf:submission method="post" action="/exist/queries/login.xql"
replace="instance" f:url-norewrite="true"/>
When I fire this submission, it appears to fail, as the instance to be
replaced remains blank. However, when using the same submission above but
with the full absolute path given
(http://localhost:8080/exist/queries/login.xql), the replace works
perfectly. I can also see the full expected XML when using replace="all",
whether I use the relative path or the absolute one. The only time it fails
is on replace="instance" with a relative path.
I'm using Orbeon 3.8 deployed on Tomcat 6.0 alongside eXist 1.4. The query
is being executed from the file system by eXist's XQueryServlet (hence the
'.xql' instead of 'xq'). I've set the crossContext in Tomcat, and I've set
the "oxf.xforms.local-submission-forward" and
"oxf.xforms.local-submission-include" properties to "true" in Orbeon's
config files.
I really need to be able to use relative paths so I can avoid writing out
the host portion, which will change constantly for me as I sync changes back
and forth between my development server and my production server.
--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Relative-path-for-submission-tp3228459p3228459.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