Oh yes, I have already tested that also, but my ZAProxy constructor is
never called and so my values are never saved. In the second config.jelly
(in *src/main/resources/ZAProxy), *here what I have :
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler"
xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson"
xmlns:f="/lib/form">
<f:entry title="${%Target URL}" field="targetURL">
<f:textbox clazz="required" />
</f:entry>
<f:optionalBlock title="${%Spider URL}" field="spiderURL" inline="true" />
</j:jelly>
Is it the good way (*field *value) to save values into my ZAProxy class ?
Le mercredi 8 avril 2015 14:37:07 UTC+2, Vojtech Juranek a écrit :
>
> On Wednesday 08 April 2015 03:21:48 Ludovic Roucoux wrote:
> > *<st:include page="config.jelly" class="${ZAProxy}"/>*
> > but without success.
>
> have you tried fully-qualified class name, e.g.
>
> <st:include page="config.jelly"
> class="org.jenkinsci.plugins.zap.ZAProxy"/>
>
> ? This IMHO should work.
>
> HTH
> Vojta
--
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/8751e02b-5c29-440c-a960-69f6b21e11ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.