Custom Jenkins parameter plugin is hanging with LOADING

9 views
Skip to first unread message

Graf László

unread,
May 15, 2015, 5:25:02 AM5/15/15
to jenkin...@googlegroups.com
Hi,

I have a custom Jenkins parameter plugin what hangs up with LOADING when I build it with parameters.

 
The parameter defines a List of applications:

public List<String> getApplications() {

     readApplications();

     LOGGER.log(Level.INFO, "getApplications()");

     return Collections.unmodifiableList(this.applications);

}


Its index.jelly looks like this:

<?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"

xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">

<table width="100%">

<th style="white-space:nowrap;">

<td align="left">${it.name} - ${it.description}</td>

</th>

<tr>

<td>

<table width="85%" align="right" border="1">

<f:repeatable var="app" items="${it.applications}" name="app" noAddButton="true">

<tr style="white-space:nowrap;">

<td>${app}</td>

</tr>

</f:repeatable>

</table>

</td>

</tr>

</table>

</j:jelly>

As soon as I remove the inner <f:repeatable> the LOADING disappears.
Is there any special tag or flag to indicate that loading was finished?

László Graf

Reply all
Reply to author
Forward
0 new messages