I got a binary release which exhibit this problem and I checked out the souce from CVS a couple of hours ago and it still got this problem.
-----Original Message----- From: Nathan Bubna [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 3:28 PM To: Velocity Developers List Subject: Re: Question with ParameterParser tool in VTL Ed said: > Here is the code: ... > pager_pageIndex - $reqParser.getInt($request, "pager_pageIndex", 0)<br> > > == $reqParser.getNumber($request, "pager_pageIndex") <br> > == $reqParser.getNumber($request, "pager_pageIndex", 0) <br> > > Here is the output: ... > pager_pageIndex - $reqParser.getInt($request, "pager_pageIndex", 0) > == 1 > == 1 yeah, that appears to be a bug in the version of velocity you are using. which version of velocity (not of the jdk) are you using? in the meantime, if you really need an primitive int you can just do $reqParser.getNumber($request, "pager_pageIndex", 0).intValue() Nathan Bubna [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
