Thank you very much for your suggestion. 
I solved using Javascript method in order to call a method in my action 
class. 

Best regards.
Valentina


Il giorno mercoledì 1 luglio 2020 14:27:11 UTC+2, Jesse Glick ha scritto:
>
> On Wed, Jul 1, 2020 at 7:40 AM Valentina <[email protected] 
> <javascript:>> wrote: 
> > […] I do not know how to handle the data when I click on the submit 
> button. 
> > 
> > I would like to use the checkboxes values and text areas in order to 
> perform other operations, such as create a new file in the workspace or 
> send information to another endpoint like elasticsearch. 
>
> This does not sound like a standard Jenkins configuration form, so the 
> usual links about “structured form submission” and typical controls 
> like `f:textbox` are probably irrelevant. If you have managed to 
> render an HTML form with the desired contents, you can just set the 
> submission `action` to be a web method in your action 
>
> HttpResponse doSubmit(StaplerRequest req) 
>
> and write the body like any servlet handler. 
>

-- 
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/e191a8d3-9400-49ad-84db-d08b524c2b41o%40googlegroups.com.

Reply via email to