I'm trying to use something like this:


public ListBoxModel doFillGoalTypeItems() {
    ListBoxModel items = new ListBoxModel();

    for (BuildGoal goal : getBuildGoals()) {
        items.add(goal.getDisplayName(), goal.getId());
    }

    return items;
}
<f:entry field="goalType" title="Choose Goal Type">
    <f:select />
</f:entry>

That sample works perfectly in a configuration section, but the select is 
not filled when used in a RootAction. All I get is the following error:


POST http://localhost:8080/jenkins/my-plugin/null 404 (Not Found) 

No matching rule was found on <com.my.plugin.MyRootAction@1aa70942> for 
> "/null"
>

I've already tried the doFillXyzItems method either inside or outside the 
descriptor and nothing seems to help.

Any ideas?

-- 
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/a5f821bd-6cf6-46a4-aae3-3479bb840cd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to