Jenkins plugin design with radioblock -
all,
i have been trying figure ui piece of jenkins plugin few hours now. trying nest checkboxes inside radioblock. problem having checkboxes not hidden when page loads @ first. hide them have highlight radio deselect.
<f:section title="deployment method"> <f:radioblock checked="true" name="deploymethod" title="deploy new servers" value="deploy new servers"/> <f:radioblock checked="false" name="deploymethod" title="script deploy" value="script deploy"> <j:foreach var="script" items="${account.scripts}"> <f:entry> <f:checkbox name="scripts" value="${script.scriptname}" title="${script.scriptname}"/> </f:entry> </j:foreach> </f:radioblock> </f:section>
you need put content want hide inside this:
<f:radioblock checked="false" name="deploymethod" title="script deploy" value="script deploy"> <f:nested> .... </f:nested> </f:radioblock>
Comments
Post a Comment