Re: Jelly Repeatable produces Javascript error

2016-03-07 Thread Jesse Glick
On Fri, Mar 4, 2016 at 2:21 PM, 'konrad' via Jenkins Developers wrote: > I am trying to use a repeatable inside a config.jelly of my jenkins plugin: Unless you really know what you are doing, I recommend staying away from low-level tags like this. Use `f:repeatableProperty` with a separate `Descr

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread 'Konrad Jurk' via Jenkins Developers
Alright, good to know :) What happens if I just use JobProperty instead of OptionalProperty? Does it blow up existing jobs? Could you take a look at my other question above? :) (how to access my JobProperty instance from config.jelly) Kanstantsin Shautsou schrieb am Sa., 5. März 2016 um 17:09 Uh

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread Kanstantsin Shautsou
Ah right! I also had issues with embedding one forms into other forms. Note, JobProperty shouldn’t be available for all jobs by default, so you would need some tricks (you may search for existing plugins) or require to some latest core where Jesse implemented OptionalJobProperty that doesn’t rend

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread 'konrad' via Jenkins Developers
Okay, I have the solution. You can't use f:entry inside a f:repeatable. If you do it, that will destroy the generated HTML and jenkins repeatable.js (line 112) can't find the div with class 'repeatable-insertion-point' as it is outside of 'repeated-container' div. Kanstantsin, how can I access

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread 'konrad' via Jenkins Developers
I tried to extend the xml with this: xmlns:st="jelly:stapler" But it doesn't help :( I am stuck in this view: -- You received this message because you are

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread Kanstantsin Shautsou
Well, if you do something custom then you need to place stapler-bag or stapler-class. Would keep this magic description to somebody else :) > On Mar 5, 2016, at 17:14, 'konrad' via Jenkins Developers > wrote: > > It neither works with 1.580.3. Do you have any other idea where the issue > coul

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread 'konrad' via Jenkins Developers
It neither works with 1.580.3. Do you have any other idea where the issue could be? Did I forget something in the jelly file? I always do a mvn clean, thats developer cargo cult isn't it :D Am Samstag, 5. März 2016 15:07:29 UTC+1 schrieb Kanstantsin Shautsou: > > Did you make `mnv clean` after s

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread Kanstantsin Shautsou
Did you make `mnv clean` after switching to new version? If it wouldn’t work, then issue is somewhere else. > On Mar 5, 2016, at 17:05, Kanstantsin Shautsou > wrote: > > Try 1.580.3 firstly, some versions had bug but i don’t exactly remember what. > >> On Mar 5, 2016, at 16:23, 'konrad' via Je

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread Kanstantsin Shautsou
Try 1.580.3 firstly, some versions had bug but i don’t exactly remember what. > On Mar 5, 2016, at 16:23, 'konrad' via Jenkins Developers > wrote: > > Thanks for your answer. I am using 1.580.1 :D I'll try 625 > > Am Freitag, 4. März 2016 21:23:14 UTC+1 schrieb Kanstantsin Shautsou: > What cor

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread 'konrad' via Jenkins Developers
I am on 1.625.3 now and the problem is the same. Any other ideas? :) -- 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 jenkinsci-dev+unsubscr...@googlegroups

Re: Jelly Repeatable produces Javascript error

2016-03-05 Thread 'konrad' via Jenkins Developers
Thanks for your answer. I am using 1.580.1 :D I'll try 625 Am Freitag, 4. März 2016 21:23:14 UTC+1 schrieb Kanstantsin Shautsou: > > What core version do you use? 1.609.X? It broken, try 1.625.3 at least. > > On Friday, March 4, 2016 at 10:21:12 PM UTC+3, konrad wrote: >> >> I am trying to use a r

Re: Jelly Repeatable produces Javascript error

2016-03-04 Thread Kanstantsin Shautsou
What core version do you use? 1.609.X? It broken, try 1.625.3 at least. On Friday, March 4, 2016 at 10:21:12 PM UTC+3, konrad wrote: > > I am trying to use a repeatable inside a config.jelly of my jenkins plugin: > > > xmlns:l="/lib/layout"> > > > > > noAddButton="true" minimum="0"

Jelly Repeatable produces Javascript error

2016-03-04 Thread 'konrad' via Jenkins Developers
I am trying to use a repeatable inside a config.jelly of my jenkins plugin: This produces the following javascript error: Uncaught TypeError: Cannot read property 'hasClassName' of undefined (anonymous function) @ repeatable.js:112 (anonymous function) @ b