It's a matter of the least non-desirable behavior. Tapestry's default scheme URL scheme results in very short, very human-like URLs, but adds the difficulty that it isn't reasonable to determine which URLs are for a page and which are bogus.
We could resolve this in a couple of ways, the most effective of which would be to use a query parameter for the activation context, rather than using extra path (path after the portion that identifies the page to activate). However, query parameters in URLs are undesirable because they interact poorly with web spiders, such as Google. On Sat, Nov 21, 2009 at 6:33 AM, Thiago H. de Paula Figueiredo <thiag...@gmail.com> wrote: > Em Sat, 21 Nov 2009 12:23:19 -0200, EasyStrutser <jae...@aol.com> escreveu: > >> You are totally right, i added some css directly in the .tml file using >> "css/app.css" instead of ${context:css/app.css}, that's the problem. after >> correction, the application work perfectly, thx for your tips, it seems that >> you have met the problem before?! :D > > I and many people here in this list met this problem too. :) > >> I think T5 should be more robust to resolve such path problems. > > I can't figure how. If your page is /somepage and you use a css/app.css > relative URL, it becomes /somepage/css/app.css. Tapestry looks at it and > thinks it is a request for the /somepage page with an activation context > value of css/app.css. Anyway, the use of relative URLs for assets can be > problematic at times. > > -- > 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