Java 如何更改果冻表单布局?
我正在开发jenkin插件。我用下面的jelly脚本创建了一个表单Java 如何更改果冻表单布局?,java,jenkins,jenkins-plugins,jelly,Java,Jenkins,Jenkins Plugins,Jelly,我正在开发jenkin插件。我用下面的jelly脚本创建了一个表单 <?jelly escape-by-default='true'?> <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> <f:section title="Cat
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:section title="Catalyst Login">
<f:entry title="Catalyst Url" field="catUrl">
<f:textbox />
</f:entry>
<f:entry title="Username" field="catUser">
<f:textbox />
</f:entry>
<f:entry title="Password" field="catPass">
<f:textbox />
</f:entry>
<f:validateButton
title="${%Test Connection}" progress="${%Testing...}"
method="testConnection" with="catUrl,catUser,catPass" />
</f:section>
</j:jelly>
这个from布局是多行一列的。我的意思是一行中只显示一个输入框。
是否可以在一行中有两个输入框?尝试使用
表格
,在那里可以操作行数和列数
例如:
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:section title="Catalyst Login">
<table>
<tr>
<td>
<f:entry title="Username" field="catUser">
<f:textbox />
</f:entry>
</td>
<td>
<f:entry title="Password" field="catPass">
<f:textbox />
</f:entry>
</td>
</tr>
</table>
<f:validateButton
title="${%Test Connection}" progress="${%Testing...}"
method="testConnection" with="catUrl,catUser,catPass" />
</f:section>
</j:jelly>
尝试使用
表格
,在那里可以操作行和列计数
例如:
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:section title="Catalyst Login">
<table>
<tr>
<td>
<f:entry title="Username" field="catUser">
<f:textbox />
</f:entry>
</td>
<td>
<f:entry title="Password" field="catPass">
<f:textbox />
</f:entry>
</td>
</tr>
</table>
<f:validateButton
title="${%Test Connection}" progress="${%Testing...}"
method="testConnection" with="catUrl,catUser,catPass" />
</f:section>
</j:jelly>