cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Bortolaso" <bortol...@softhome.net>
Subject which is the problem?
Date Tue, 19 Jun 2001 07:52:57 GMT
The compilator say:

java.lang.Exception: XSP Java Compiler: Compilation failed for _index.java
2385: Undefined variable: u
             xspExpr(formatDate(u,1,viewer),document)
     

.........................................
End the code is:



<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>
      for(int u = 0; u &lt; u++){
       <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:content>

   </threshold>    

<xsp:logic>


Mime
View raw message