On Tue, Feb 23, 2010 at 12:23 PM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > On Tue, 23 Feb 2010 17:14:22 -0300, Howard Lewis Ship <hls...@gmail.com> > wrote: > >> I agree that I'm a bit unhappy with the current API, but we now have a >> larger issue: backwards compatibility (from 5.1 to 5.2). We may >> eventually deprecate the current approach and create an improved >> approach and maintain both for one release. > > We can keep the current API for incoming URLs and create another for > outgoing ones. Or create an ImprovedURLRewriteRule, extending > URLRewriteRule, that adds a Link rewrite(Link link) method. My original plan > was to provide the user the same way of dealing with incoming and outgoing > URLs, making it easier,, but now I see it wasn't a good idea. It would even > be simpler to implement the URL rewrite support with different approaches > for incoming and outgoing requests. :( My apologies. >
We learn by doing! You should see how ugly some of the original Tapestry 1 code was! I'm still learning and still improving and hope that continues forever. > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, software architect and developer, Ars Machina Tecnologia da > Informação Ltda. > http://www.arsmachina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org