cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Odd problems with Cocoon
Date Wed, 12 Jul 2000 00:02:17 GMT
Nicki Møller wrote:
> 
> Hi All,
> 
> I seem to have run into some odd problems with Cocoon.
> When I try use for-loops like this
> 
> ----------
>     <xsp:logic>
>      for (int i=0; i lt; 7;i++)

You mean:

      for (int i=0; i &lt; 7;i++)

right?

I suggest to use

 <xsp:logic><![CDATA[
  for (int i=0; i < 7; i++) {
    j++;
  }
 ]]></xsp:logic>

It's much more readable that way.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message