This will probably my last question about this plugin.
I have what seems as a simple issue. I want to give a default value to a textbox in my PlotBuilder\config.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:entry>
<table width="100%">
...
<f:entry title="${%CSV filename *}" field="csvFileName" help="/plugin/plot-pipeline/help-csvfile.html">
<f:textbox name="csvFileName" value="${plot.csvFileName}" clazz="required" default="${it.csvFileName}"/>
</f:entry>
...
</table>
</f:entry>
</j:jelly>
My PlotBuilder.java contains the following method:
public String getCsvFileName() {
return "plot-" + String.valueOf( (int)Math.round( Math.random() * 100000000 ) ) + ".csv";
}
This resulted in nothing, the textbox in completely empty.
I was able to do this in different jelly with a different java but not here. The other java implemented Action and StaplerProxy, and for the sake of it I tried to implement those in my PlotBuilder.java as well but without success.