First, thanks for your quick answer, Kansantsin. :)

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;
}

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... :)

ps: sorry for the mixed notation pseudo-code :)

On Thu, Jul 23, 2015 at 8:00 PM Kanstantsin Shautsou <
[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 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/CAP%2BsHjk5ULFXde1vNStGqUh9T5HvRRQGXz2HtfHHJzLgYdWSBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to