Hi, Maybe try something like this...
https://tapestry.apache.org/page-navigation.html Read about page activation and have a look at the bottom of that page example. When you do something like: <a t:type="pagelink" page="topnews" context="3-11">More News</a> You are passing this context into your "next page". The next page, in your case TopNews. The TopNews.java file will have an onActivation method where you have passed in the "context". You can set the context to "3-11". When TopNews is called it will receive "3-11" and you can then parse that to get "3" and "11" and do your logic to fetch the pages (stories) you want. FYI - Other sources of examples are: http://jumpstart.doublenegative.com.au/jumpstart/ https://tapestry.apache.org/tapestry-tutorial.html The hi-lo game is a good example to try if you haven't. Good Luck! Chris On 22/02/2012, at 9:34 PM, karthi wrote: > Hi, > > I have a page link like this: > > <t:pagelink page="TopNews">More News</t:pagelink> > It works fine here I have a page with a name TopNews - invokes a page > http://localhost:8080/News/topnews > > > I want to pass parameters with this page name like below: > <t:pagelink page="TopNews?startIndex=3;endIndex=11">More News</t:pagelink> - > here I mean I want to invoke a page like > http://localhost:8080/News/topnews?startIndex=3;endIndex=11 > > How can I achieve this? > > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/How-to-pass-page-name-with-parameters-in-pagelink-tp5504751p5504751.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 > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org