How can I do that? The instance is present, but how can I assure the 
presence of the descriptor?

Em quarta-feira, 15 de julho de 2015 13:27:29 UTC-3, Ivo Bellin Salarin 
escreveu:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> 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/523c9bd2-9eb5-4593-9145-d8029a68a8b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to