提交 c7bb6896 编写于 作者: K kohsuke

added @name

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15242 71c3de6d-444a-0410-be80-ed276b4c234a
上级 eb0ca615
......@@ -27,9 +27,14 @@ THE SOFTWARE.
Submit button themed by YUI. This should be always
used instead of the plain <input tag.
<s:attribute name="name">
If specified, becomes the value of the name attribute.
When you have more than one submit button on the form, this can be used to determine
which button is pressed, as the server will get a parameter by this name.
</s:attribute>
<s:attribute name="value" use="required">
The text of the submit button. Something like "submit", "OK", etc.
</s:attribute>
</s:documentation>
<input type="submit" name="Submit" value="${attrs.value}" class="submit-button" />
<input type="submit" name="${h.defaulted(attrs.name,'Submit')}" value="${attrs.value}" class="submit-button" />
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册