They only way I see is to copy the select.jelly 
(https://github.com/jenkinsci/jenkins/tree/master/core/src/main/resources/lib/form
 
<https://github.com/jenkinsci/jenkins/tree/master/core/src/main/resources/lib/form>)
 
into your plugin and try to rewrite it so that it works with your JS and CSS.

> Am 12.05.2021 um 09:15 schrieb Daniel Akua <[email protected]>:
> 
> I am using this element in a "build environment" step in the configuration 
> page.
> And I must use the f:select because i need the binding.
> 
> On Tuesday, May 11, 2021 at 10:48:59 PM UTC+3 [email protected] wrote:
> Where do you want to use the element? In one of your views? Or in a job 
> configuration page?
> 
> It is not required to use a f:select. Can’t you directly use the select or 
> what is missing in that case (data binding?)?
> 
> 
>> Am 10.05.2021 um 11:37 schrieb Daniel Akua <[email protected] 
>> <applewebdata://A9B70DE0-9F58-4E29-99EB-69BF6879A59B>>:
>> 
> 
>> Hi all,
> 
>> In my plugin I have a <f:select> element with the multiple attribute 
>> (multi-select) that is changing according to another field.
>> My problem is that I want to apply JavaScript and CSS to it to make it look 
>> better than the standard multi-select element.
>> 
>> it currently looks like this:
> 
>> <before.png>
>> 
>> and I want it to look something like this:
> 
>> <after.PNG>
>> 
>> I have the required JS and CSS files and it is working on a normal <select> 
>> element but not on <f:select>.
>> 
>> How do I apply JavaScript and CSS on <f:select>?
>> Is there some guide on how to do it?
>> 
>> Tips or links will be appreciated.
> 
>> 
>> -- 
>> 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] 
>> <applewebdata://A9B70DE0-9F58-4E29-99EB-69BF6879A59B>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-dev/5c068520-dace-47bf-beff-5fbdc7392038n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-dev/5c068520-dace-47bf-beff-5fbdc7392038n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>> <before.png><after.PNG>
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/29e9b8b5-8ae2-4059-b40e-26053dfe58c7n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/29e9b8b5-8ae2-4059-b40e-26053dfe58c7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/E2CAF2E0-D4E5-4EA6-8A8E-E126AA9581AD%40gmail.com.

Reply via email to