Hi all,

I've a problem in using the ParameterParser tool within VTL:

$reqParser.getInt($request, "pager_pageIndex", 0)

result in an invalid reference:

2002-07-08 14:14:20 - /VelocityStrutsTest:  Velocity   [info]
ResourceManager : found /pager_test.vm with loader
org.apache.velocity.tools.view.servlet.WebappLoader
2002-07-08 14:14:20 - /VelocityStrutsTest:  Velocity   [warn]
org.apache.velocity.runtime.exception.ReferenceException: reference :
template = /pager_test.vm [line 32,column 19] :
$reqParser.getInt($request, "pager_pageIndex", 0) is not a valid
reference.

The strange thing is that $reqParser.getString($request,
"pager_pageIndex", "0") works fine and I've just check out from CVS and
build form source. This behavior is also found in the binary
distribution (velocity-tools-library-0.2.jar).

Any ideas?

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Ed Yu, IBM Certified Specialist - AIX System Administrator
Information Technology Manager,
University of South Carolina,
Advanced Solutions Group, Physics Dept.,
Columbia, SC 29208
Office (803)777-8831, FAX (803)777-8833, Email [EMAIL PROTECTED]


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

Reply via email to