Re: Tapestry URL rewriter

2014-11-06 Thread Thiago H de Paula Figueiredo
On Thu, 06 Nov 2014 13:09:56 -0200, George Christman wrote: You would need to specify the value. The real issue with tapestry is the tml must be named to match the java class and java classes can't be created with a dash, however search engines would prefer page names that are written lik

Re: Tapestry URL rewriter

2014-11-06 Thread George Christman
It's on my todo list to try out Kalles implementation. On Wed, Nov 5, 2014 at 12:04 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Wed, 05 Nov 2014 01:40:53 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > > Figured it out, but I still think it would be cool if t

Re: Tapestry URL rewriter

2014-11-05 Thread Thiago H de Paula Figueiredo
On Wed, 05 Nov 2014 01:40:53 -0200, George Christman wrote: Figured it out, but I still think it would be cool if there was some sort of SEO annotation ;) How could Tapestry figure out how what's the SEO value <-> your data structures mapping? ;) Of course, it's possible to implement UR

Re: Tapestry URL rewriter

2014-11-05 Thread Kalle Korhonen
On Wed, Nov 5, 2014 at 5:12 AM, George Christman wrote: > Looks very promising kalle. I haven't had a chance to play with it yet, but > it would be really nice if its function was similar to hibernates table > rename. @table(name="dealer-signup"). Now while using Jetty locally my app > That anno

Re: Tapestry URL rewriter

2014-11-05 Thread George Christman
Sorry I meant the context On Wed, Nov 5, 2014 at 8:12 AM, George Christman wrote: > Looks very promising kalle. I haven't had a chance to play with it yet, > but it would be really nice if its function was similar to hibernates table > rename. @table(name="dealer-signup"). Now while using Jetty

Re: Tapestry URL rewriter

2014-11-05 Thread George Christman
Looks very promising kalle. I haven't had a chance to play with it yet, but it would be really nice if its function was similar to hibernates table rename. @table(name="dealer-signup"). Now while using Jetty locally my app deploys to localhost:8080/auto/index adding auto where production it deploys

Re: Tapestry URL rewriter

2014-11-04 Thread Kalle Korhonen
On Tue, Nov 4, 2014 at 6:05 PM, George Christman wrote: > I'm assuming this is the most current way to do it? > > http://tapestry.machina.com.br/2013/10/1/tapestry-url-rewriter-2-0-0-released > It would be amazing if tapestry had a way to annotate a page with a display > url. This would make thin

Re: Tapestry URL rewriter

2014-11-04 Thread George Christman
Figured it out, but I still think it would be cool if there was some sort of SEO annotation ;) public class PageLinkTransformer implements PageRenderLinkTransformer { @Override public Link transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters) { if (defa

Re: Tapestry URL rewriter

2014-11-04 Thread George Christman
I'm assuming this is the most current way to do it? http://tapestry.machina.com.br/2013/10/1/tapestry-url-rewriter-2-0-0-released It would be amazing if tapestry had a way to annotate a page with a display url. This would make things so much simpler for SEO. On Tue, Nov 4, 2014 at 8:55 PM, Georg