Hi Jesse ,

Thanks a lot.. Your solution resolved the problem.. I was wondering is 
there any detailed tutorial/documentation available on what classes we need 
to extend and why for writing the jenkins plugin? We do have some basic 
tutorials available and the java doc. but its seems little difficult to get 
complete picture of how a jenkins plugin works. 

On Monday, 26 August 2013 19:28:47 UTC+5:30, Jesse Glick wrote:
>
> On Mon, Aug 26, 2013 at 6:40 AM, polymor <[email protected]<javascript:>> 
> 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