On Mon, Aug 26, 2013 at 6:40 AM, polymor <[email protected]> wrote:
>     public Descriptor<FileDetails> getDescriptor() {
>         return Jenkins.getInstance().getDescriptor(getClass());
>     }

Sounds like the same as super. You need to actually create a
DescriptorImpl. (displayName can be "".)

>         <f:entry title="fileDetails Name" field="fileDetails.fileName">
>              <f:textbox/>
>         </f:entry>
>         <f:entry title="fileDetails list" field="fileDetails.fileList">
>              <f:textbox"/>
>         </f:entry>

I think you rather need

<f:optionalProperty field="fileDetails" title="File Details"/>

(for an optional FileDetails, i.e. nullable) and then have a
config.jelly for FileDetails with its own field="fileName" and
field="fileList".

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