提交 d6f758af 编写于 作者: K Kohsuke Kawaguchi

Accept "field" specified in the surrounding <f:entry> since this one expects <f:entry>

上级 89db519e
......@@ -65,7 +65,7 @@ THE SOFTWARE.
<!--
first try getFooBarDescriptors() then fall back to automatic inference by type
-->
<f:hetero-list name="${attrs.field}" items="${instance[attrs.field]}"
<f:hetero-list name="${field}" items="${instance[attrs.field]}"
descriptors="${descriptor[attrs.field+'Descriptors'] ?: descriptor.getPropertyType(instance,attrs.field).getApplicableItemDescriptors()}"
addCaption="${attrs.addCaption}" deleteCaption="${attrs.deleteCaption}"
hasHeader="${attrs.hasHeader}" honorOrder="${attrs.honorOrder}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册