You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Simone Bortolaso <bo...@softhome.net> on 2001/06/19 11:03:34 UTC

Re: which is the problem? thanks for all...

Ok now it works very well. The only thing i dont' understand is the correct
use of <xsp:content> tag.

<xsp:logic>
 <threshold>
      <label>Thresholds:</label>
          <date-header>Date</date-header>
      <pre-alarm-header>Pre-alarm Threshold </pre-alarm-header>
      <alarm-header>Alarm Threshold </alarm-header>


      <xsp:content>
       <xsp:logic>
          for(int u = 0; u &lt; viewer.getThrValues().length;

           <value>
             <date><xsp:expr>formatDate(u,1,viewer)</xsp:expr></date>

<pre-alarm><xsp:expr>formatDate(u,2,viewer)</xsp:expr></pre-alarm>
                <alarm><xsp:expr>formatDate(u,3,viewer)</xsp:expr></alarm>
           </value>
          }
       </xsp:logic>
      </xsp:content>
      </threshold>
</xsp:logic>



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>