Jelly Repeatable inside Repeatable

18 views
Skip to first unread message

JoshuadV

unread,
Aug 3, 2015, 11:41:13 AM8/3/15
to Jenkins Developers
Hi there,

Im trying to figure out how I can get the data from the following Jelly file into my builder.

<f:repeatable header="Exe File" add="Add new Exe" minimum="1" field="ExeFilePath">
<f:textbox/>
<div align="right">
<f:repeatableDeleteButton></f:repeatableDeleteButton>
</div>
<f:repeatable header="Ini File" add="Add new Ini" minimum="1">
<f:textbox/>
<f:checkbox title="Check for False Alert" value="Checkbox"></f:checkbox>
<div align="right">
<f:repeatableDeleteButton></f:repeatableDeleteButton>
</div>
</f:repeatable>
</f:repeatable>

I tried pretty much everything I found in the net, and also tried to figure out on my own how it works but I found no solution (yet).
It already works that the data is saved in the xml File, but 1. it is not shown in the config and 2. when i add another entry to an existing repeatable,
it crashes with this Exception:
java.lang.ClassCastException: JSON keys must be strings.

Hope you guys have any hints for me :)

Thanks in advance,

Joshua
Reply all
Reply to author
Forward
0 new messages