Hi,
I am developing a functionality in a Jenkins plugin, and I have a problem when 
passing a variable to a Java method.
Let's see if I explain it well, and if you can help me:

- What I want to do is to choose one of the options from a ComboBox, and this 
option to pass it as a parameter to the method, so that the internally shows me 
what I want.
 So:
  


 
1. When I choose an option of the ComboBox, I have an EventListener that 
collects that value ('SCT' in this case) and changes the value of the variable 
pack_var. Up to here, everything OK.

2. Then I want to use that variable, to pass it as a parameter of a Java method 
(the one I have declared inside the variable 'orderForPackage' that is: 
getOrdersForPackage (pack_var), but when passing the variable in this way, it 
does not do anything to me.


My question is how can I pass the value of the option obtained by parameter. To 
get this out:
(Here I forced an option, but it would be the final result): 









Resultados de la búsquedaMi duda es como puedo pasar el valor de la opción 
obtenido por parámetro. Para que me salga esto: (Aquí he forzado una 
opción, pero sería el resultado final)t


























































Thaks!

-- 
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/bd8d4bb9-0f99-48ba-95dd-0b64ffcf0155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to