field attr must be redundantly specified on f:repeatableProperty

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

XMLWordPrintable

      <f:entry field="something" title="${%Something}">
          <f:textbox/>
      </f:entry>
      

      works fine. Yet

      <f:entry field="something" title="${%Something}">
          <f:repeatableProperty/>
      </f:entry>
      

      breaks page loading with a JavaScript error:

      TypeError: Cannot call method "next" of undefined (.../adjuncts/.../lib/form/radioBlock/radioBlock.js#53)
      
              var e = (function() {
                  var e = s;
                  var cnt=1;
                  while(cnt>0) {
                      e = $(e).next(); // ← HERE
      

      Using

      <f:entry field="something" title="${%Something}">
          <f:repeatableProperty field="something"/>
      </f:entry>
      

      works fine. But why must this attribute be specified on both elements? (It is needed on f:entry to make help work.) Normally attributes are inherited automatically, as the f:textbox example shows.

      I am guessing this has something to do with the delegation to

      <f:repeatable field="${attrs.field}" .../>
      

      but am unclear why that would confuse Jelly.

            Assignee:
            Unassigned
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: