Re: Re: Re: Versioned resources in separate deployment

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Versioned-resources-in-separate-deployment-tp1574338p1579126.html

Ah, yes, indeed, in the case of an <xforms:instance src="/path">
you'll have a connection opened back to your server, and in that case
you'll need to set the oxf.http.proxy.host/port properties
appropriately. I don't think there is any way around it.

Alex

On Thu, Mar 4, 2010 at 6:46 PM, npujol73 <[hidden email]> wrote:

>
> right this makes sense for links of xhtml elements (link,javascript,img
> etc...) but how about for xforms:instance src?
>
> I have an xform who is produced by a jsp and contains a xforms:instance with
> a src pointing to a servlet that is hosted in the same war (separate
> deployment setup) like this:
>
> <xforms:instance id="fr-url-0" xxforms:readonly="true" xxforms:cache="true"
> src="/LookupValues?op=mcSet&amp;id=15"/>
>
> That definitely looks like a case of orbeon having to open a connection back
> to the server is it not? The only way i have been able to get this to work
> is to use the url-rewriting property and hard code the host and port of the
> server. This is particularly true in a proxied environment where the request
> url may not be valid on the local machine. Is there way to make this work
> with a relative link WITHOUT having to play around with the
> url-rewriting/proxy-host/proxy-port properties?
>
> Thanks Alex for any feedback.
> --
> View this message in context: http://n4.nabble.com/Versioned-resources-in-separate-deployment-tp1574338p1579118.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet