> On Jul 24, 2015, at 02:15, Thiago Augusto Ventura Lima <[email protected]> > wrote: > > First, thanks for your quick answer, Kansantsin. :) Good defaults is a headache in jenkins. I just asked few days ago jglick about the same issues. And he provided one idea what can be enhanced (i plan try it but need get free time). > > And, yeah, I mean exactly the 2nd option. > > Assume I have a setting like "List<Foo> foos", where Foo is something like > > class Foo { > public String propertyA; > public String propertyB; > } <hidden> First of all from programatically configured code view point you should provide default for fields (also don’t use public fields;). <hidden/> > > What I'm trying to do is to default "foos" to an "one element list", say it > "[Foo('valueA', 'valueB')]", when this class is firstly loaded and there's no > instance. > > So, it's not implemented yet, right? Thanks anyway... :) I will reply and reply later. > > ps: sorry for the mixed notation pseudo-code :) no problems > > On Thu, Jul 23, 2015 at 8:00 PM Kanstantsin Shautsou > <[email protected] <mailto:[email protected]>> wrote: > There is no such functionality and description sounds weird. > > If you submitted data, then you don't default entries because they become > real. > If you mean default when this class/ui instance firstly loads (and instance > object is null) then it not implemented yet. > > Could you clarify what exactly default do you expect? > > > On Friday, July 24, 2015 at 1:42:45 AM UTC+3, Thiago Augusto Ventura Lima > wrote: > I know this is a really old question, but I couldn't find any answer... Any > answer? > > On Thursday, June 13, 2013 at 3:51:33 PM UTC-3, Zhengyuan Shen wrote: > Can any body tell me how to set the default value of repeatable items in > Jelly to the value of previously submitted forms? > > Thanks > -- > Thiago Lima > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/T0oJMWm3MP8/unsubscribe > <https://groups.google.com/d/topic/jenkinsci-dev/T0oJMWm3MP8/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAP%2BsHjk5ULFXde1vNStGqUh9T5HvRRQGXz2HtfHHJzLgYdWSBA%40mail.gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/CAP%2BsHjk5ULFXde1vNStGqUh9T5HvRRQGXz2HtfHHJzLgYdWSBA%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>.
-- 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/EE7C2D81-812C-4B20-9255-8169FF5E1A87%40gmail.com. For more options, visit https://groups.google.com/d/optout.
