Hello Arnaud, Steve, Can we have a hangout? I need to clarify few things about using JavaScript and Jelly. I tried few methods to implement the front end part for the bundle browsing feature. It would be great if you could help me to find the best way for the implementation. Please let me know a convenient time for you.
Thanks a lot. On Sun, May 22, 2016 at 6:28 PM, Baptiste Mathus <[email protected]> wrote: > Hi Minudika, > > I think you want to have a look at https://github.com/jenkinsci/js-libs > and more specically at > https://github.com/jenkinsci/js-libs/tree/master/jquery-detached > > Also, you most probably wanna watch: > https://www.youtube.com/watch?v=15947ISwA2w > > Cheers > > 2016-05-21 20:34 GMT+02:00 Minudika Malshan <[email protected]>: > >> Hi all, >> >> I tried to use some jQuery libraries with Jelly. What I did was, I put >> the JavaScript files to the folder * >> "/support-core-plugin/src/main/resources/com/cloudbees/jenkins/support/SupportAction"* >> and tried to reffer to them from the *"supportAction/index.jelly"* >> script as follows. >> >> >> >> *<script src="jquery.js" type="text/javascript"></script><script >> src="jquery.easing.js" type="text/javascript"></script><script >> src="jqueryFileTree.js" type="text/javascript"></script>* >> >> >> *<link href="jqueryFileTree.css" rel="stylesheet" type="text/css" >> media="screen" />* >> But it gives the following errors. >> >> >> *"NetworkError: 404 Not Found - http://localhost:8080/jenkins/jquery.js >> <http://localhost:8080/jenkins/jquery.js>"* >> >> *"NetworkError: 404 Not Found - >> http://localhost:8080/jenkins/jqueryFileTree.js >> <http://localhost:8080/jenkins/jqueryFileTree.js>"* >> >> *"NetworkError: 404 Not Found - >> http://localhost:8080/jenkins/jquery.easing.js >> <http://localhost:8080/jenkins/jquery.easing.js>"* >> *"NetworkError: 404 Not Found - >> http://localhost:8080/jenkins/jqueryFileTree.css >> <http://localhost:8080/jenkins/jqueryFileTree.css>"* >> >> How to give the correct path in the index.jelly, for those JavaScript and >> css files. >> >> Thank you! >> Minudika >> >> On Sun, May 15, 2016 at 12:47 PM, Minudika Malshan <[email protected] >> > wrote: >> >>> Thanks a lot Arnaud and Steve.. That hangout was really helpful for me :) >>> >>> On Sat, May 14, 2016 at 1:33 AM, Minudika Malshan <[email protected] >>> > wrote: >>> >>>> Thanks a lot both of you!! >>>> On May 13, 2016 11:47 AM, "Arnaud Héritier" <[email protected]> >>>> wrote: >>>> >>>>> Let's do this. I am sadly too often up at this hour ... (kids ...) >>>>> >>>>> On Fri, May 13, 2016 at 6:56 AM, Minudika Malshan < >>>>> [email protected]> wrote: >>>>> >>>>>> +1 from me.. >>>>>> On May 13, 2016 6:13 AM, "Steve Christou" <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> @Arnaud @Minudika if you want we can do 8AM On Sunday for you which >>>>>>> is 11:30 AM (GMT +5:30) and 2 AM for me. >>>>>>> >>>>>>> On Wed, May 11, 2016 at 5:43 PM Arnaud Héritier <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> I will try to be available but it is often less easy for me the WE >>>>>>>> with my kids >>>>>>>> If it's not between midnight and 9AM my time I could try to join >>>>>>>> >>>>>>>> On Wed, May 11, 2016 at 10:18 PM, Minudika Malshan < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> Thanks a lot Steve. I am OK with anytime on Saturday and Sunday. >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> ----- >>>>>>>> Arnaud Héritier >>>>>>>> http://aheritier.net >>>>>>>> Mail/GTalk: aheritier AT gmail DOT com >>>>>>>> Twitter/Skype : aheritier >>>>>>>> >>>>>>> >>>>> >>>>> >>>>> -- >>>>> ----- >>>>> Arnaud Héritier >>>>> http://aheritier.net >>>>> Mail/GTalk: aheritier AT gmail DOT com >>>>> Twitter/Skype : aheritier >>>>> >>>> >>> >> -- >> 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/CAMqS2UdLQ7tEAsQuRW0E_2O_jaBSsohE92hz-2BX3ZAfxyLqNA%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAMqS2UdLQ7tEAsQuRW0E_2O_jaBSsohE92hz-2BX3ZAfxyLqNA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5MERE8LwBeZL7osQmntQupCshF_CMUm5y%2BXvxAf6RraQ%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5MERE8LwBeZL7osQmntQupCshF_CMUm5y%2BXvxAf6RraQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAMqS2UeaPdrGS8hCX%2Bs_oK7ZHHDL350Q3eZ0uTEjqWjqPxaDKg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
