Re: Tapestry via PHP proxy

2014-10-01 Thread Lance Java
Or you could decorate the BaseUrlSource service to check for request headers etc. On 1 Oct 2014 15:07, "Thiago H de Paula Figueiredo" wrote: > On Wed, 01 Oct 2014 10:58:18 -0300, John wrote: > > Thanks for this. >> >> My Tapestry components will inject into a number of different sites, so I >>

Re: Tapestry via PHP proxy

2014-10-01 Thread Thiago H de Paula Figueiredo
On Wed, 01 Oct 2014 10:58:18 -0300, John wrote: Thanks for this. My Tapestry components will inject into a number of different sites, so I think I must use LinkRewriter like Thiago suggests. This will allow me to assign the URLs dynamically depending on request I guess? Yep. You can impl

Re: Tapestry via PHP proxy

2014-10-01 Thread John
users Sent: Wednesday, October 01, 2014 1:43 PM Subject: Re: Tapestry via PHP proxy Tapestry has built-in support for rendering links to a proxy via the BaseUrlSource. If you contribute the following symbols to match your PHP server - SymbolConstants.HOSTNAME

Re: Tapestry via PHP proxy

2014-10-01 Thread Lance Java
Tapestry has built-in support for rendering links to a proxy via the BaseUrlSource. If you contribute the following symbols to match your PHP server - SymbolConstants.HOSTNAME - SymbolConstants.HOSTPORT - SymbolConstants.HOSTPORT_SECURE All links (and form post endpoints) generated by tapestry wi

Re: Tapestry via PHP proxy

2014-10-01 Thread Thiago H de Paula Figueiredo
On Wed, 01 Oct 2014 05:31:08 -0300, John wrote: But thanks for the point about URL rewriting, that seems to be the main problem. Could some Tapestry filter rewite the URLs based on the request header, You can do that using the LinkRewriter API or the old Tapestry URL rewriter API (for in

Re: Tapestry via PHP proxy

2014-10-01 Thread John
hould all be done in PHP. John - Original Message - From: Thiago H de Paula Figueiredo To: Tapestry users Sent: Tuesday, September 30, 2014 2:58 PM Subject: Re: Tapestry via PHP proxy On Tue, 30 Sep 2014 09:19:40 -0300, Chris Mylonas wrote: > > And wants the tap

Re: Tapestry via PHP proxy

2014-09-30 Thread Thiago H de Paula Figueiredo
On Tue, 30 Sep 2014 09:19:40 -0300, Chris Mylonas wrote: And wants the tapestry stuff to be embedded here - like a cool form This probably won't work without URL rewriting because otherwise the URL to which the form will POST will be wrong. By the way, why do something like that? Embe

Re: Tapestry via PHP proxy

2014-09-30 Thread Chris Mylonas
From: Lance Java To: Tapestry users Sent: Tuesday, September 30, 2014 12:11 PM Subject: Re: Tapestry via PHP proxy Sounds more like a php question than a tapestry question. On 30 Sep 2014 10:14, "John" wrote: > I'd like to be able to embed my tapestry pages incl

Re: Tapestry via PHP proxy

2014-09-30 Thread Charlouze
s forms. > > John > - Original Message - > From: Lance Java > To: Tapestry users > Sent: Tuesday, September 30, 2014 12:11 PM > Subject: Re: Tapestry via PHP proxy > > > Sounds more like a php question than a tapestry question. >On 30 Sep 2014

Re: Tapestry via PHP proxy

2014-09-30 Thread John
You are right, just wondering if anyone has achieved success with this here. My main concern comes with how tapestry secures forms. John - Original Message - From: Lance Java To: Tapestry users Sent: Tuesday, September 30, 2014 12:11 PM Subject: Re: Tapestry via PHP proxy

Re: Tapestry via PHP proxy

2014-09-30 Thread Lance Java
Sounds more like a php question than a tapestry question. On 30 Sep 2014 10:14, "John" wrote: > I'd like to be able to embed my tapestry pages including form interactions > via PHP script on a remote host. > > Is there any simple way to accoumplish this? I need to hide the > application server w

Tapestry via PHP proxy

2014-09-30 Thread John
I'd like to be able to embed my tapestry pages including form interactions via PHP script on a remote host. Is there any simple way to accoumplish this? I need to hide the application server with my Tapestry app from the client, so I need some kind of proxy interaction. John --- This email is