> From: phil [mailto:phil] On Behalf Of LEBRETON Philippe > > i want send parameter to the generator type serverpages. > My site map is : > <map:pipeline> > <map:match pattern="etatdb-*"> > <map:generate type="serverpages" > src="etatdb.xsp"> > <parameter name="client" value="{1}"/>
map:parameter! See also other reply, and *read* this: > org.apache.cocoon.components.language.LanguageException: Error compiling > etatdb_xsp: Line 315, column 67: > Exception org.apache.avalon.framework.parameters.ParameterException must > be caught, or it must be declared in the throws clause of this method. Vadim > </map:generate> > <map:transform src="etatdb.xsl"/> > <map:serialize/> > <map:handle-errors> > <map:transform > src="../stylesheets/system/error2html.xsl"/> > </map:handle-errors> > </map:match> > > </map:pipeline> > > on my xsp file, i add this line : > <xsp:expr>parameters.getParameter("client")</xsp:expr> > > but i have this exception : > type internal-server-error > > message Language Exception > > description org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Error compiling > etatdb_xsp: Line 315, column 67: > Exception org.apache.avalon.framework.parameters.ParameterException must > be caught, or it must be declared in the throws clause of this method. > Line 0, column 0: 1 error > ... --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>