I got help from elsewhere, the solution is to use f:property:

<f:property field="jarFilePaths" />

Now everything works as I want.

On Tuesday, 1 July 2014 10:47:13 UTC+2, Robert Sandell wrote:
>
> It’s a bit hard to guess without a context to look at.
>
> But try a div tag around the include with a name attribute of the 
> contructor parameter the object is going in to and/or provide the “it” 
> attribute to the include tag.
>
>  
>
>  
>
>  
>
>  
>
> *Robert Sandell*
>
> Software Tools Engineer - SW Environment and Product Configuration
>
> Sony Mobile Communications
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Daniel Olausson
> *Sent:* den 1 juli 2014 10:06
> *To:* [email protected] <javascript:>
> *Subject:* Re: Include descriptor in form
>
>  
>
> If i use the dropdownDescriptorSelector everything works but I don't want 
> to have a dropdown list with only one element inside it, it looks terrible.
>
>  
>
> I can make it so that only the actual content of the descriptor's jelly 
> file is displayed by doing:
>
> <st:include from="${descriptor.getDescriptorToInclude()}"            
> page="${descriptor.getDescriptorToInclude().configPage}" 
> /> 
>
>  
>
> But then the form validation doesn't work and i cannot instantiate the 
> outer class.
>
>
> On Tuesday, 1 July 2014 08:29:23 UTC+2, Daniel Olausson wrote:
>
> Hi,
>
>  
>
> I have a describable/descriptor class that will be used at multiple 
> locations and i don't want to repeat the jelly code everywhere. But from i 
> can see on the jelly Taglib references page there are only options to 
> include a list of descriptors and not a single descriptor.
>
>  
>
>  
>
> Is it possible?
>
> -- 
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/optout.

Reply via email to