Hello,
  I am having an issue in my plugin.  I have a textbox in the job 
configuration and it has both a doAutoComplete and a doCheck method.  When 
the User starts typing in the textbox the autoComplete drop down appears 
and works very nicely. When the User selects one of the items from the 
autoComplete suggestions, the doCheck method is run on the partial string 
that was entered and when the User clicks away from the field the doCheck 
method is called again on the full String in the textbox.

Both of these methods has "@QueryParameter" for the value in the textbox. 
 I also have a drop down list that is filled by a doFill...Items method 
which also has a "QueryParameter" for the value in the textbox so I can 
update the items in the drop down list based on the results of the doCheck 
method when the field is changed.

The issue I am having is, when the User selects the suggestion they want 
from the drop down list the doCheck and the doFill...Items methods are both 
run on the partial string that was originally entered by the User.   This 
gives me incorrect results, and when the User clicks away from the field 
the doCheck method is run again on the full String of the textbox BUT the 
doFill...Items method is not triggered again.

Does anyone have any suggestions on how to get this scenario to run 
correctly? Or any suggestions on how to do this differently? Any input 
would be appreciated.

Thanks!
-James Richard

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to