Hi Jakub, I'm not sure that I got what you are suggesting to me?
Can you explain it a little bit to me. Bojan Jakub Vlasak wrote: > > Or you can do it from the other side. If the string isn't contained in the > array of your pages, then rewrite the url. > > On Thu, Dec 10, 2009 at 7:49 PM, blueboy6 <blueb...@gmail.com> wrote: > >> >> TNX Thiago, >> >> this really helped me a lot :) >> >> PS >> isn't url rewrite complicated to do when I have lots of diferent parts... >> (TWR-234, A34-TDS and so on) because I would need to create rule for all >> of >> them, I just read all documentation and didn't find anything similar. >> >> :) >> >> >> >> Thiago H. de Paula Figueiredo wrote: >> > >> > Em Thu, 10 Dec 2009 14:53:22 -0200, blueboy6 <blueb...@gmail.com> >> > escreveu: >> > >> >> Hello everyone, >> > >> > Hi! >> > >> >> I have interesting question. >> >> Is it posible to create permalinks for my pages like: >> >> www.test.com/TY45-234 >> >> I know that there is activation context but I need to do this in this >> >> shorter way. >> > >> > Two suggestions: >> > >> > 1) Have an Index page and use its activation context to redirect to the >> > proper page >> > 2) Implement a URL rewriting rule the verifies the URL and changes it >> to >> > /view/TY45-234, for example. This approach has the advantage of not >> using >> > redirects. >> > >> > -- >> > 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 >> > >> > >> > >> >> -- >> View this message in context: >> http://old.nabble.com/-T5--Permalinks-tp26730696p26732522.html >> Sent from the Tapestry - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > -- View this message in context: http://old.nabble.com/-T5--Permalinks-tp26730696p26749167.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org