(*) global config jelly:
<f:repeatable field="images">
<st:include page="config.jelly" class="hudson.plugins.delta_cloud.DCImage" />
</f:repeatable>
(**) nested jelly page
<f:entry title="${%Image}" field="image" >
<f:select />
</f:entry>
(***) descriptor of class configured via nested jelly page
@Extension
public static final class DescriptorImpl extends Descriptor<DCImage>
public ListBoxModel doFillImageItems() {
System.out.println("Fill images called");
ListBoxModel model = new ListBoxModel();
for(Image image:images){
model.add(image.getName(),image.getId());
}
return model;
}
}
So I'd like you to use something like FireBug to see if the browser is
sending the AJAX request to the server. If it's not, it's probably
failing to apply behaviour rules for some reasons. If it is, then there
must be a URL generation problem, and the request must be getting sent
to the wrong place.
Is this plugin visible publicly? I'd be happy to take a look.
--
Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/