You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as discussed on mailing list
We have no way to guess Descriptors data model, until they move to DataBoundSetters to "document" their UI databinding.
But this is not enough : Descriptor are mutable objects, and DataBound mechanism don't reset object so some optional attribute becomes null if not-set on UI. So it might be necessary to ask plugin developers to implement the configure(StaplerRequest, JSONObject) method as:
reset everything to default values
invoke data binding req.bind(json)
save descriptor save()
Maybe there's some way to make this the default mechanism ?
The text was updated successfully, but these errors were encountered:
as discussed on mailing list
We have no way to guess
Descriptor
s data model, until they move toDataBoundSetter
s to "document" their UI databinding.But this is not enough : Descriptor are mutable objects, and DataBound mechanism don't reset object so some optional attribute becomes null if not-set on UI. So it might be necessary to ask plugin developers to implement the
configure(StaplerRequest, JSONObject)
method as:req.bind(json)
save()
Maybe there's some way to make this the default mechanism ?
The text was updated successfully, but these errors were encountered: