提交 07a19fcc 编写于 作者: I intelradoux

Update ChoiceParameterDefinition

The "it.value" don't exist, so we need to set the defaultParameterValue. 

It help me display correctly parameter for my multilauncher plugin. 
Note that other ParameterDefinition use the default value to display parameter, so IMO it is safe to do this.
上级 fb8a8b40
......@@ -31,9 +31,9 @@ THE SOFTWARE.
<input type="hidden" name="name" value="${it.name}" />
<select name="value">
<j:forEach var="value" items="${it.choices}">
<f:option selected="${it.value==value}">${value}</f:option>
<f:option selected="${it.defaultParameterValue.value==value}">${value}</f:option>
</j:forEach>
</select>
</div>
</f:entry>
</j:jelly>
\ No newline at end of file
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册