On Fri, Oct 4, 2013 at 6:55 AM, RDR <[email protected]> wrote:
> The problem occurs when I go back into the config screen -
> the original value is displayed in text box and if I apply/save the
> configuration then my modified value is over written.

Does it work if you remove default="target/results/"? If so, it sounds
like a bug in textbox.jelly, though the code looks right to me.

I would not really recommend using the ‘default’ attribute anyway; it
is better not to serialize anything if the user has not made
customizations to a field. Just let a blank value be saved, and in
your perform() method or whatever, treat a blank value as whatever
default makes sense in that context. (And create help-resultsDir.html
that explains this.)

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to