Thanks Nathan, Sorry for delay in replying.
Showcase.war helped me to get what I need. Appreciate your help. Regards Maruthi > Date: Fri, 15 May 2009 09:26:31 -0700 > Subject: Re: Facing issues with PagerTool > From: nbu...@gmail.com > To: user@velocity.apache.org > > $link is an instance of the LinkTool. You'll need to have that in > your toolbox for the example on that page to work. Also, if you try > out the showcase.war application that comes with VelocityTools you'll > get some live examples of how to setup and use these tools. Those > might be more useful. > > Also, does Spring MVC support Tools 2.0 now? Last i checked, they > didn't. If you're not sure and still having trouble, consider > downgrading to Tools 1.4. > > On Thu, May 14, 2009 at 9:57 PM, Maruthi srinivas Marpaka > <mmarp...@hotmail.com> wrote: > > > > Hi, > > > > I need to implement pagination in my current project, in which we are > > using Velocity and Spring. > > > > > > > > After a bit googling, I found Nathan's posts, and tried to use PagerTool ( > > > > http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/PagerTool.html > > > > ). > > > > The initial display is working fine but the links for 'Next' /2nd Page are > > not correct (these are not interpreted properly). > > > > The links are are pointing to "$pagelink.param('index',$!index)" . > > > > I observed that this pagelink is set from $link and I can't understand > > where the $link is coming from? > > > > Am I missing anything? > > > > We are using velocity-tools-view-2.0-beta4.jar/ velocity 1.5/JDK1.6 > > > > > > > > I appreciate all your help. > > > > > > > > Thanks > > > > MM > > > > > > > > > > > > > > > > _________________________________________________________________ > > Windows Live™: Keep your life in sync. > > http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@velocity.apache.org > For additional commands, e-mail: user-h...@velocity.apache.org > _________________________________________________________________ Lauren found her dream laptop. Find the PC that’s right for you. http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290