cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olivier demah <>
Subject [GROOVY] parameters
Date Thu, 03 Jun 2004 14:06:24 GMT

With XSP ; i usually do

String action             = parameters.getParameter("action","");
String rub_id[]           = request.getParameterValues("rub_id[]");

to get parameters from the sitemap or an array from a previously form i 
filled ;

how can i do the same with Groovy ?

because currently for those 2 lines i get the following errors :
BSFException in ScriptGenerator.generate()

org.apache.cocoon.ProcessingException: BSFException in 
ScriptGenerator.generate(): org.apache.bsf.BSFException: exception from 
Groovy: java.lang.NullPointerException: Cannot invoke method: 
getParameter on null object



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message