Jenkins插件-保存并加载配置对话框后,Radioblock中的文本框值不持久

时间:2019-01-13 19:44:26

标签: jenkins jenkins-plugins jelly

您好,请在config.jelly中找到以下用于jenkins插件开发的代码段。保存并加载配置选项后,radioBlock内的文本框将保持空白。

<f:block> 

       <f:radioBlock name="radio" value="one" title="Test" checked="${true}">
            <f:entry title="${%Suite}" field = "suite">
              <f:textbox clazz="required" style="width:80%;"/>

              <select style = "width:20%;" name = "sE">
                <option value ="test">test</option>
                <option value ="tests">tests</option>
              </select>

            </f:entry>
          </f:radioBlock>
          <f:radioBlock name="radio" value="two" title="Run multiple Tests" checked="${false}">
            <f:entry title="Tests">
              <f:textbox name="Tests" value=""/>
            </f:entry>
          </f:radioBlock> 

   </f:block> 

0 个答案:

没有答案