RE: URL rewriting help

2016-03-10 Thread Tony Nelson
> -Original Message-
> From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com]
> Sent: Thursday, March 10, 2016 10:02 AM
>
> On Thu, 10 Mar 2016 10:55:41 -0300, Tony Nelson 
> wrote:
>
> > Hi All,
>
> Hello, Tony!
>

Hello again Thiago,

> > I need to map URLs from our old application to the new URLs in our 5.3
> > app.  Yesterday I found this page:
> >
> > http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/
>
> For rewriting incoming requests, but not for rewriting the URLs generated by
> Tapestry (usually, you need to have both), I suggest taking a look at
> this:
> http://tapestry.machina.com.br/2013/10/1/tapestry-url-rewriter-2-0-0-
> released.
> The T5.1 was very bad for rewriting outgoing URLs, but I think it was very
> good for incoming ones.
>

This was SO MUCH EASIER!  And to top it off, it works.

> By that way, that very blogging engine was written by me and uses Tapestry
> URL rewriter 2.0.0 itself. Sources here:
> https://github.com/thiagohp/eloquentia.
>

I had to look in the AppModule of your blogging software to figure out how to 
contribute my rules, maybe you could copy that to the example in the blog post.

Thanks again for all your hard work Thiago.

Tony

Since 1982, Starpoint Solutions has been a trusted source of human capital and 
solutions. We are committed to our clients, employees, environment, community 
and social concerns.  We foster an inclusive culture based on trust, respect, 
honesty and solid performance. Learn more about Starpoint and our social 
responsibility at http://www.starpoint.com/social_responsibility

This email message from Starpoint Solutions LLC is for the sole use of  the 
intended recipient(s) and may contain confidential and privileged  information. 
 Any unauthorized review, use, disclosure or distribution is prohibited.  If 
you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original message.  Opinions, conclusions and 
other information in this message that do not relate to the official business 
of Starpoint Solutions shall be understood as neither given nor endorsed by it.


Re: URL rewriting help

2016-03-10 Thread Thiago H de Paula Figueiredo
On Thu, 10 Mar 2016 10:55:41 -0300, Tony Nelson   
wrote:



Hi All,


Hello, Tony!

I need to map URLs from our old application to the new URLs in our 5.3  
app.  Yesterday I found this page:


http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/


For rewriting incoming requests, but not for rewriting the URLs generated  
by Tapestry (usually, you need to have both), I suggest taking a look at  
this:  
http://tapestry.machina.com.br/2013/10/1/tapestry-url-rewriter-2-0-0-released.  
The T5.1 was very bad for rewriting outgoing URLs, but I think it was very  
good for incoming ones.


By that way, that very blogging engine was written by me and uses Tapestry  
URL rewriter 2.0.0 itself. Sources here:  
https://github.com/thiagohp/eloquentia.


--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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