Why cocoon take this error
    Java.lang.Exception: XSP Java Compiler: Compilation failled for _myindex.java
    6735: Undefined variable: numcurves
    xspExpr(numcurves,document)   
 
in the nested statement:
 

         <xsp:logic>        
 
           <xsp:content>
            for(int subsection = 0; subsection &lt; 2; subsection++){
                   <subsection path="http://pc000450:8080/sla/images/indent15x15.gif">
                         <label><xsp:expr>viewer.getSubSectionLabel(subsection,u)</xsp:expr></label>       
                         int numTotReport = viewer.getNumReport(subsection,u);
                         for( int numreport = 0; numreport &lt; numTotReport ; numreport++){                          
                              int numTotCurves = viewer.getNumCurves(subsection,u,numreport);                   
                              for(int numcurves = 0; numTotCurves &lt; 2; numcurves++){                      
                                   <graph height="300" width="570" name= "" path="http://pc000450:8080/sla/servlet/otdr?id=">       
                                      <label>OTDR trace</label>
                                      <periodId><xsp:expr>u</xsp:expr></periodId>
                                      <curveId><xsp:expr>numcurves</xsp:expr></curveId>
                                      <type></type>
                                  </graph> 
                              } 
                          <report></report> 
                         } 
                 </subsection>
              } 
         </xsp:content>  
</xsp:logic>
 

Reply via email to