Interesting idea, but I'm not sure that will work when 'connector' is null 
because the object is being created by the user of the config form. I was going 
to do something similar in the Java code but realized I needed to get the 
descriptor of connector's class, not of connector itself.

----- Original Message -----
From: [email protected]
To: [email protected]
At: Jul 12 2013 09:51:54

On 07/12/2013 09:41 AM, Kevin Fleming (BLOOMBERG/ 731 LEXIN) wrote:
> <st:include "class=hudson.plugins.sshslaves.SSHConnector" page="config.jelly" 
> it="${it.connector}"/>
>
> Unfortunately, when this is rendered, Jelly looks for 
> doFillCredentialsIdItems (needed for one of the fields in SSHConnector's 
> config.jelly) in *my* DescriptorImpl, not
> the one in SSHConnector.

Maybe try

<j:set var="descriptor" value="${it.connector.descriptor}"/>

?

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


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