On Wed, Nov 5, 2014 at 5:12 AM, George Christman <[email protected]>
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 annotation is too simplistic for routes.


> deploys to localhost:8080/auto/index adding auto where production it
> deploys to the root, domain/index. Is that a correct way to do this?
> Renaming the page locally with /dealer-signup puts the page in the root
> localhost:8080/dealer-signup where jetting isn't listing.
>

Please first read the documentation I linked to, especially the part about
Index pages. Experiment with it and then come back with questions.

Kalle


On Nov 4, 2014 10:46 PM, "Kalle Korhonen" <[email protected]>
> wrote:
>
> > On Tue, Nov 4, 2014 at 6:05 PM, George Christman <
> [email protected]>
> > 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 things so much simpler for SEO.
> > >
> >
> > You mean something like http://tynamo.org/tapestry-routing+guide?
> >
> > @At("/dealer-signup")
> > public class DealerSignup
> >
> > Kalle
> >
> >
> > >
> > > On Tue, Nov 4, 2014 at 8:55 PM, George Christman <
> > [email protected]>
> > > wrote:
> > >
> > > > Hi, does anybody happen to know how to rewrite a url in tap 5.4? I'm
> > > > looking to rewrite the following
> > > >
> > > > /dealersignup to /dealer-signup
> > > >
> > > > Thanks
> > > >
> > >
> > >
> > >
> > > --
> > > George Christman
> > > CEO
> > > www.CarDaddy.com
> > > P.O. Box 735
> > > Johnstown, New York
> > >
> >
>

Reply via email to