cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Holz <h...@fiz-chemie.de>
Subject Re: XSP and sitemap parameters
Date Wed, 21 Apr 2004 17:15:52 GMT
olivier demah <odemah@messagio.com> writes:

> Carmona Perez, David a écrit :
> 
> > Thanks.
> >  I think there is other way
> 
> >  <xsp:expr>parameters.getParameter("my-param")</xsp:expr>
> 
> 
> parameters requiers 2 parms if i'm not wrong :
> parameters.getParameter("your-parm","defaultvalue");

There are two versions of parameters.getParameter().
The one argument variant will throw a  ParameterException
if the parameter does not exist.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message