On 7/8/02 3:34 PM, "Ed Yu" <[EMAIL PROTECTED]> wrote:

> 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.

Yep it's broken.  I am absolutely floored that with what *must* be the
worlds longest release candidate cycle (late 3/02 to early 7/02) no one
seemed to find it.  Good grief.  Will fix tonight and do a 1.3.1

> 
> -----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]>
> 

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
[EMAIL PROTECTED]
+1-203-247-1713



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to