Thanks mattiasclaesson for the input. It was correct: adding an ID to the jelly pane was enough to be able to minimize it.
<l:pane width="2" title="Get a number" id="MyUniqueWidgetId"> -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/797dabff-7811-4fc4-9b84-34b932c0fbe0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
