On Fri, Feb 20, 2015 at 3:51 AM, Stefan Wolf <[email protected]> wrote:
> So seems like I need to implement something.

Seems so.

> Any ideas how to add default values for a field like that?

I would suggest focusing your time on adding validation, which is more
broadly useful than default values. (Default values also tend to
interact poorly with other features.)

You would have to dig around to see where and how this is implemented
for existing controls. Search for checkUrl attribute in taglibs, CSS
class ‘validated’, and hudson-behavior.js sections for
registerValidator and FormChecker and controlValue.

-- 
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/CANfRfr0K0egOVPo%2BrwPpNYggGXCo%3D4ZA9Vmvo2ocAWrrcHT_rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to