提交 4cc6223c 编写于 作者: K kohsuke

@items doesn't exist for <f:select>. C&P error from <f:dropDownList>.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30415 71c3de6d-444a-0410-be80-ed276b4c234a
上级 871fb61e
......@@ -33,9 +33,6 @@ THE SOFTWARE.
<st:attribute name="clazz">
Additional CSS classes that the control gets.
</st:attribute>
<st:attribute name="items">
List of possible values. Either this or nested &lt;f:editableComboBoxValue/>s are required.
</st:attribute>
<st:attribute name="field">
Used for databinding.
</st:attribute>
......@@ -48,6 +45,5 @@ THE SOFTWARE.
class="setting-input ${attrs.checkUrl!=null?'validated':''} select ${attrs.clazz}"
name="${attrs.name ?: '_.'+attrs.field}"
value="${attrs.value ?: instance[attrs.field] ?: attrs.default}"
ATTRIBUTES="${attrs}" EXCEPT="field clazz">
</m:select>
ATTRIBUTES="${attrs}" EXCEPT="field clazz" />
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册