Hi,

I would like to use f:validateButton control to validate my plugin config.
The problem is that I haven't got any Descriptor - I use class which extends
Plugin.

This code:
<f:validateButton title="Test" progress="Wait..." with="param1,param2"
method="testConfig"/>

returns 404.

I was trying to 'hack' method url:
<f:validateButton title="Test" progress="Wait..." with="param1,param2"
method="${rootURL}/plugin/myplugin/testConfig"/>

It does not work... It tries to invoke
http://localhost:8081/descriptorByName/jenkins.model.GlobalPluginConfiguration//plugin/myplugin/testConfig
:(

How can I use validateButton when I haven't got any descriptor?

--
View this message in context: 
http://jenkins.361315.n4.nabble.com/ValidateButton-without-descriptor-tp4409633p4409633.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

Reply via email to