Actually I don't think there is an option, because the indexed="true" in the
current logic is not an attribute of iterate so that the following has an
incomplete result. In other words the the current tag only can do one level.

  <!-- begin ScoreFactor -->
  <logic:iterate id="factor" name="category" property="scoreFactorTree">
    <tr class=authordata>
        <td>&nbsp;<bean:write name="factor" property="name" /></td>
            <!-- begin EffectParts -->
            <logic:iterate id="part" name="factor" property="effectList" >
                   <td><html:text name="part" property="value"
indexed="true"/></td> <!--ONE LEVEL ONLY -->
            </logic:iterate> <!-- end EffectParts -->
  </tr>
  </logic:iterate> <!-- end ScoreFactor -->


Results in
  <!-- begin ScoreFactor -->

    <tr class=authordata>
    <td>&nbsp;Acquisition Cost Efficie</td>
      <!-- begin EffectParts -->

        <td><input type="text" name="part[0].value" value=""></td>

       <!-- end EffectParts -->
  </tr>

    <tr class=authordata>
    <td>&nbsp;Cost Per Mission</td>
      <!-- begin EffectParts -->

        <td><input type="text" name="part[0].value" value=""></td>

       <!-- end EffectParts -->
  </tr>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to