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 < 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 < numTotReport ; numreport++){
int numTotCurves =
viewer.getNumCurves(subsection,u,numreport);
for(int numcurves = 0; numTotCurves < 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>
|
- RE: C1: problem with FOR STATEMENT Simone Bortolaso
- RE: C1: problem with FOR STATEMENT JEULIN Olivier