Simon, that's a very nice site you have there!

Geoff
----- Original Message ----- 
From: "Simon Robins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 4:45 PM
Subject: Re: [Tapestry-developer] getAbsoluteURL problems


> Thanks Howard and thanks for all the other times you've helped.
> 
> I had a similar problem to this on the previous application I worked on 
> (http://mailhost.ibase.com/gtj - don't blame me for the rubbish 
> graphics :-) which seemed to disappear when I moved up to the latest 
> Tapestry but in hindsight this must have been a configuration problem.
> 
> Cheers,
> 
> Simon
> 
> On Tuesday, December 17, 2002, at 09:11  pm, [EMAIL PROTECTED] wrote:
> 
> > Not directly.  Tapestry is limited by what information is given to it 
> > by the
> > Servlet API.
> >
> > This came up a ways back, I added a hook.
> >
> > IRequestDecoder is an interface that is used by Tapestry to override 
> > the
> > information provided by the Servlet API.
> >
> > I'm not sure what ProxyPass does; perhaps it passes the necessary 
> > information
> > along as extra HTTP headers?
> >
> > Anyway, you can easily put your own implementation in place as an 
> > application
> > extension.  See the RequestContext class for more information on this.
> >
> >
> > --
> > [EMAIL PROTECTED]
> >
> > http://tapestry.sf.net
> >> Hi,
> >>
> >> I have a Tapestry app running under JBoss which is behind Apache HTTPD
> >> using ProxyPass etc.
> >>
> >> The problem I have is that as part of the registration to this site I
> >> want to send an email containing a URL back into the site so that I 
> >> can
> >> validate the email address I have been given. The code I have is as
> >> follows:
> >>
> >> IEngineService service =
> >> cycle.getEngine().getService(IEngineService.PAGE_SERVICE);
> >>
> >> Gesture gesture = service.buildGesture(cycle, null, new String[] {
> >> getName() } );
> >>
> >> String path = gesture.getAbsoluteURL();
> >>
> >> The path to the site is http://localhost/bl/ mapped to
> >> http://localhost:8080/bl/ in httpd.conf.
> >>
> >> The 'path' variable comes back as
> >> 'http://localhost:8080/bl?service=page&context=Register'
> >>
> >> Is there a way of getting the 'correct' path from tapestry?
> >>
> >> Cheers,
> >>
> >> Simon
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This sf.net email is sponsored by:
> >> With Great Power, Comes Great Responsibility
> >> Learn to use your power at OSDN's High Performance Computing Channel
> >> http://hpc.devchannel.org/
> >> _______________________________________________
> >> Tapestry-developer mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility 
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> 



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to