Server-side validation with jelly repeatableDeleteButton

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Server-side validation with jelly repeatableDeleteButton

Martin Weber-2
Hi,

is it possible to add Server-side validation to a jelly
repeatableDeleteButton? Tried to add a method doCheckDelete() to my descriptor
but it doesn't get called.

I am looking for a way to prevent jenkins admins from deleting a tool that has
been added on the global tool configuration page if the tool is used in one or
more jobs. Without that, deletion will break each job that uses the tool.
This could be related to [1].



[1] https://groups.google.com/d/msg/jenkinsci-dev/KF-hdeXo_Zg/r6FYTu2ldRwJ
--
Cd wrttn wtht vwls s mch trsr.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/3874108.9EH1eXyihy%40linux.
For more options, visit https://groups.google.com/d/optout.
Loading...