I face the same problem. Untill now, I have found no way to "dynamically" generate parameters. The <xsp-request:get-parameter> must always include the "name" attribute. Assigning an <xsp:attribute> never seems to work for me either.
I was trying to work around this with the tags <xsp-request:get-parameter-names> and <xsp-request:get-parameter-values> The names thing works (returning all the params in xml format or string) but the values always came up empty. I'm still looking for a solution to this problem. So I will keep listening. > I try to get each text field (paranameX) where X are the text fields > from the previous page : > > ... > <esql:query> > INSERT INTO Process_Parameters > (pp_process, pp_pmid, pp_name) > VALUES > ..., > <'xsp-request:get-parameter><xsp:attribute > name="name">paraname<xsp:expr>mycount</xsp:expr> > </xsp:attribute></xsp-request:get-parameter>') > ... > <xsp:logic> > mycount = mycount + 1; > </xsp:logic> > ... > > > This line : > <'xsp-request:get-parameter><xsp:attribute > name="name">paraname<xsp:expr>mycount</xsp:expr> > </xsp:attribute></xsp-request:get-parameter>') > > Gives me the following error : > org.apache.cocoon.ProcessingException: Exception in > ServerPagesGenerator.generate(): java.lang.NullPointerException > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Met vriendelijke groeten, Kind regards, Bien à vous, Yves Vindevogel Implements Kempische Steenweg 206 -- 3500 Hasselt -- Belgium Phone/Fax: +32 (11) 43.55.76 -- Mobile: +32 (478) 80.82.91 Mail: [EMAIL PROTECTED] -- www.implements.be Quote: The winner never says participating is more important than winning. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]