First the length of the code type is 2,attr 4:
Where the type id=1 has three properties
Type=2 has a property
<c:foreach items= "${typelist}" var= "type" varstatus= "index" > <tr> <th width= "15%" & GT; classification information </th> <th>${type.typename} <input type= "hidden" name= "Type${index.index}" value= "${TYPE.I" D} "/> </th> </tr> <c:if test=" ${fn:length (addattrlist) ==0} "> <c:foreach items=" ${a Ttrlist} "var=" attr "varstatus=" seq "> <c:if test=" ${type.id = = Attr.type} "> <tr> <TD&G
T;${attr.name} <input type= "hidden" name= "Attr${index.index}${seq.index}" value= "${attr.id}"/> <input type= "hidden" name= "Name${index.index}${seq.index}" value= "${attr.name}"/> </td> < td> <input type= "text" id= "Value${index.index}${seq.index}" Name= "Value${index.index}${seq.index}" value
= "" "class=" required "title=" Please enter attribute value "/> </td> </tr> </c:if> </c:forEach> </c:if>
It's a simple loop, a loop,
Why 13 instead of 10 ....
That is to say that SEQ started at the beginning of the second cycle not from 0 ...
I'm going, it's too bad. With the usual for the loop so much worse ... Keng
Well, it's a posture rise today ...