cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Vos <fred....@planet.nl>
Subject Re: use-request-parameters with checkboxes
Date Mon, 02 Oct 2006 15:47:49 GMT
Hello Peter,

On Mon, Oct 02, 2006 at 04:19:44PM +0100, Peter Flynn wrote:
> Jeroen Reijn wrote:
> >Hi Peter,
> >
> >splitting values based on #'s isn't the best solution imho. 
> 
> I agree, but for a very simple application it's easy enough
> using contains($ref,@id) to identify the elements needed.

If you can use another separator, like comma, Cocoon will handle all values as
a single request parameter. Using the str:tokenize function (see
http://www.exslt.org/str/functions/tokenize/index.html) you can split the
values from within xsl.

Fred

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


Mime
View raw message