Posted by
Mathias Picker on
URL: https://discuss.orbeon.com/How-can-I-get-at-the-document-url-tp44819p44824.html
Am Sonntag, den 02.08.2009, 13:55 -0700 schrieb Hank Ratzesberger:
[snip]
Ja, that's what I'm doing right now.
>
> (If I have it right this time)
:-) Thanks for still thinking about it.
I was looking for something not orbeon-specific, but included in xforms,
but maybe there is no such thing.
Cheers, Mathias
PS:
I thought with xforms 1.1 I could do something like
<submission replace="instance" instance="instanceToBeEdited">
<resource
value="concat(instance('conf')/path/to/data, string-after(document-uri(/), '?'))"/>
</submission>
and trigger it at xforms-ready. (The "parsing" here obviously sketchy, and it's not tested
and I'm not yet fluent in xforms so the example is probably faulty, but I hope good
enough to show what I thought could work.)
I will test it in a few days, but I hoped I could get an obvious
solution on this list, freeing me from experimenting.
PPS: searching for a solution I found
http://www.ibm.com/developerworks/xml/library/x-xformsdynamic/index.htmlwhich is a javascript way to do it in xforms 1.0. I still hope for
something within xforms.
>
>
>
> Cheers,
> Hank
>
>
>
> 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