Hi,

is there a possibility to get the current view in a FormValidation?

I want to extend the view configuration (with ViewProperty). Therefore I 
created some fields.

Now I need the current view in my FormValidation method. There's an 
annotation @AncestorInPath, but this only works for items and not for views.

Is there any other annotation to get the current view? I don't mean the 
fields of the view, but something like this:
public FormValidation doCheckView(@AncestorInPath View view, @QueryParameter 
String value) {

//Do something with view.
...
}


Thank you very much!
Jochen Fürbacher

-- 
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/5706a4a0-5c73-42e8-b649-ad6a3c65a948%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to