cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Bortolaso" <bortol...@softhome.net>
Subject Re: which is the problem? thanks for all...
Date Tue, 19 Jun 2001 09:03:34 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message