In your jelly, you must be sure that the descriptor and instance variables
are present.
On Jul 15, 2015 4:46 PM, "Felipe Wannmacher" <[email protected]> wrote:
> 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
> <https://groups.google.com/d/msgid/jenkinsci-dev/a5f821bd-6cf6-46a4-aae3-3479bb840cd0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CAPc4eF-ihH_cvcq7UaznCfaS7QDLPmzBGbs%3DN5NPpU_iHMXJsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.