You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Hans Braxmeier <ha...@uni-ulm.de> on 2007/04/20 21:20:25 UTC

Tapestry 5 and URL encoding

Hello together,

Today I installed T5 and it's a great
tool. Is there something like an URL
encoder implemented in Tapestry 5 and
how can the current URL be shown on a
page?

Thanks for any help,

Hans Braxmeier

--

Abteilungen SAI
und Stochastik

Universität Ulm
Helmholtzstr. 18
Raum E22
0731/50-23575

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry 5 and URL encoding

Posted by Howard Lewis Ship <hl...@gmail.com>.
Please double check that ... the source hasn't changed in a couple of
months.

On 5/25/07, Marcus <mveloso.java@gmail.com > wrote:
>
> Hi,
>
> Using this code
>
> @Inject
> private RequestGlobals _globals;
>
> there's no _globals.getHTTPServletRequest() method in T5.0.4
>
> Can you help me?
>
> Thanks,
>
> Marcus
>



-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.   http://howardlewisship.com

Re: Tapestry 5 and URL encoding

Posted by Marcus <mv...@gmail.com>.
Hi,

Using this code

@Inject
private RequestGlobals _globals;

there's no _globals.getHTTPServletRequest() method in T5.0.4

Can you help me?

Thanks,

Marcus

Re: Tapestry 5 and URL encoding

Posted by Hans Braxmeier <ha...@uni-ulm.de>.
Hi Nick,

Thanks, that was exactly what I was looking for.

Hans

On Mon, 23 Apr 2007, Nick Westgate wrote:

>      @Inject
>      private RequestGlobals _globals;
>
> Then you can use _globals.getHTTPServletRequest().getRequestURL()
> and other methods from javax.servlet.http.HttpServletRequest.
>
> Cheers,
> Nick.
>
>
> Hans Braxmeier wrote:
> > Hello together,
> >
> > Today I installed T5 and it's a great
> > tool. Is there something like an URL
> > encoder implemented in Tapestry 5 and
> > how can the current URL be shown on a
> > page?
> >
> > Thanks for any help,
> >
> > Hans Braxmeier
> >
> > --
> >
> > Abteilungen SAI
> > und Stochastik
> >
> > Universität Ulm
> > Helmholtzstr. 18
> > Raum E22
> > 0731/50-23575
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


--

Abteilungen SAI
und Stochastik

Universität Ulm
Helmholtzstr. 18
Raum E22
0731/50-23575

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry 5 and URL encoding

Posted by Nick Westgate <ni...@key-planning.co.jp>.
     @Inject
     private RequestGlobals _globals;

Then you can use _globals.getHTTPServletRequest().getRequestURL()
and other methods from javax.servlet.http.HttpServletRequest.

Cheers,
Nick.


Hans Braxmeier wrote:
> Hello together,
> 
> Today I installed T5 and it's a great
> tool. Is there something like an URL
> encoder implemented in Tapestry 5 and
> how can the current URL be shown on a
> page?
> 
> Thanks for any help,
> 
> Hans Braxmeier
> 
> --
> 
> Abteilungen SAI
> und Stochastik
> 
> Universität Ulm
> Helmholtzstr. 18
> Raum E22
> 0731/50-23575
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org