cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Maxime.Ghey...@swisscom.com>
Subject <xsp:attribute> for <xsp-request:get-parameter>
Date Fri, 07 Mar 2003 08:37:43 GMT
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: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message