{doc('input:instance')/*/form-id}/en" - unclear to me

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

{doc('input:instance')/*/form-id}/en" - unclear to me

ilango_g
Hi
In the Goverment forms, I did not quite understand the following statment.

src="/forms/service/resources/{doc('input:instance')/*/form-id}/en"

I tried looking for forms/service/resources but only found:
forms/services/import-documents.xpl.

Perhaps the pipeline is the piece of the puzzle that I am missing?

Any pointers would be appreciated. Many thanks!
Reply | Threaded
Open this post in threaded view
|

Re: {doc('input:instance')/*/form-id}/en" - unclear to me

Erik Bruchez
Administrator
xforms:instance/@src resolves against the URL requesting the current  
page, which is an HTTP URL.

Say you request http://localhost:8080/orbeon/forms, that URL will  
become something like:

   http://localhost:8080/orbeon/forms/service/resources/123456/en

That URL will reach the page flow under RESOURCES/apps/form/page-
flow.xml, which defines what to do when that URL is requested, namely  
to send back resources in the requested language.

-Erik

On Mar 13, 2008, at 2:37 PM, someperson wrote:

>
> Hi
> In the Goverment forms, I did not quite understand the following  
> statment.
>
> src="/forms/service/resources/{doc('input:instance')/*/form-id}/en"
>
> I tried looking for forms/service/resources but only found:
> forms/services/import-documents.xpl.
>
> Perhaps the pipeline is the piece of the puzzle that I am missing?
>
> Any pointers would be appreciated. Many thanks!
> --
> View this message in context: http://www.nabble.com/%7Bdoc%28%27input%3Ainstance%27%29-*-form-id%7D-en%22---unclear-to-me-tp16039086p16039086.html
> Sent from the ObjectWeb 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
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws