xforms:instance src uri traversed from client or server?

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

xforms:instance src uri traversed from client or server?

Adrian Baker-2
In OPS, if I have a xforms:instance with a src attribute, does the
connection to this URI get made from the client or from the server?



--
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
Reply | Threaded
Open this post in threaded view
|

Re: xforms:instance src uri traversed from client or server?

Erik Bruchez
Administrator
Adrian Baker wrote:
> In OPS, if I have a xforms:instance with a src attribute, does the
> connection to this URI get made from the client or from the server?

 From the server. But it is still resolved against the request URL, i.e.
the HTTP URL.

-Erik




--
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
Reply | Threaded
Open this post in threaded view
|

Re: xforms:instance src uri traversed from client or server?

Adrian Baker-2
Ok, so would this mean that if the form xml is submitted from the client
(using replace="instance"), that the connection would be using a
different HTTP session?

Erik Bruchez wrote:
> Adrian Baker wrote:
>> In OPS, if I have a xforms:instance with a src attribute, does the
>> connection to this URI get made from the client or from the server?
>
> From the server. But it is still resolved against the request URL,
> i.e. the HTTP URL.
>
> -Erik




--
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
Reply | Threaded
Open this post in threaded view
|

Re: xforms:instance src uri traversed from client or server?

Erik Bruchez
Administrator
Instance submission with replace="instance" also occurs from the server.
The only circumstance where "submission" occurs from the client (and I
assume you mean by that the web browser) is when you do a submission
with the GET method.

As far as the session is concerned, we forward the JSESSIONID cookie
upon submission, which means that the session should be the same,
assuming you are submitting on the same web application.

-Erik

Adrian Baker wrote:

> Ok, so would this mean that if the form xml is submitted from the client
> (using replace="instance"), that the connection would be using a
> different HTTP session?
>
> Erik Bruchez wrote:
>> Adrian Baker wrote:
>>> In OPS, if I have a xforms:instance with a src attribute, does the
>>> connection to this URI get made from the client or from the server?
>>
>> From the server. But it is still resolved against the request URL,
>> i.e. the HTTP URL.
>>
>> -Erik



--
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