Repeatable Jelly tag varStatus attribute cannot be used unless set to loopStatus name

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When I try to use the varStatus property or the repeatable Jelly tag, I usually get null value.

      With the following code, the title is set to "null":

              <f:repeatable var="arg" items="${instance.buildStepArgs}" name="buildStepArgs" minimum="1" varStatus="status">
                  <f:entry field="arg" title="${status.count}">
                      <f:textbox value="${arg}" />
                  </f:entry>
              </f:repeatable>
      

      But if I use varStatus="loopStatus", then I'll get the right count value:

              <f:repeatable var="arg" items="${instance.buildStepArgs}" name="buildStepArgs" minimum="1" varStatus="loopStatus">
                  <f:entry field="arg" title="${loopStatus.count}">
                      <f:textbox value="${arg}" />
                  </f:entry>
              </f:repeatable>
      

            Assignee:
            Unassigned
            Reporter:
            Francis Labrie
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: