I'm trying to do a similar thing but with a hudson.model.ManagementLink. 

Problem is that I can't extend ManagementLink AND AbstractDescribableImpl
(as in the example of ProxyConfiguration). 

If I implement Describable<MyManagementLink> and create the inline
Descriptor<MyManagementLink>, I can't do the normal getDescriptor()
override, which should be... 

        @Override 
        public Descriptor<MyManagementLink> getDescriptor() { 
                return (MyManagementLinkDescriptor) super.getDescriptor(); 
        } 
        
...since ManagementLink doesnt have a getDescriptor() since it isn't itself
describable. 

Note also, the contents of the index.jelly for MyManagementLink is a series
of components within a <f:form> tag.



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

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to