Re: Re: How can I get at the document url?
Posted by
Mathias Picker on
Aug 02, 2009; 12:05pm
URL: https://discuss.orbeon.com/How-can-I-get-at-the-document-url-tp44819p44821.html
Am Samstag, den 01.08.2009, 16:26 -0700 schrieb Erik Bruchez:
> Do you mean the URL of the document on the server, e.g.:
>
> oxf:/apps/my-app/foo.xhtml
>
> Or do you mean the URL as seen by the browser, e.g.:
>
>
http://example.com/orbeon/my-app/foo>
> -Erik
I mean the url the browser sees, including query string.
I know how to get instance data into xforms with orbeon, e.g. XInclude /
input:instance , but what would be a more portable way? If I could get
the document url (ok, browser document url) I could use the query string
and load an instance using a dynamic submission element.
I'm just curious, I have a solution for now.
/ Mathias
>
> On Fri, Jul 31, 2009 at 2:34 AM, Mathias Picker<
[hidden email]> wrote:
> > What would be the right way to get at the document url of the xforms
> > document? I only find fn:document-uri(), but can I get at the xforms
> > document with xpath, or only at instances defined in the model?
> >
> > Do I need to escape into javascript for this?
> >
> >
> >
> > Thanks for any pointers,
> >
> > Mathias
> >
> >
> >
> > --
> > 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> >
> >
> einfaches Textdokument-Anlage (message-footer.txt)
> --
> 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