# Template repeater render issue

**URL:** <https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [July 6, 2018, 10:32am UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751 "2018-07-06T10:32:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [July 6, 2018, 10:32am UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751/1 "2018-07-06T10:32:39Z")

</div>

A template repeater should show 10 instances of a template like this:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/e/e77fc848bb89d0fe7ad7f6943047d668926cfeed.png)  
Sometimes they show up like in the following screenshot:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/63224a8a6922a3354b59c818fd853ef592c0a866.png)  
All leds are Images from the builtin library: each image `Color Swap Filter` property is bound to a custom property of the template itself.  
Any suggestion about what combination of parameters could avoid such a mess-up? I tried already to play with the template `Enable Layout` and `Combine Repaints` properties but with no success.

Thanks in advance, regards

---

<div class="post-metadata">

**Author:** ![m.edmonson](https://avatars.discourse-cdn.com/v4/letter/m/8e7dd6/32.png) [@m.edmonson](https://forum.inductiveautomation.com/u/m.edmonson)\
**Post date:** [July 6, 2018, 4:12pm UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751/2 "2018-07-06T16:12:08Z")

</div>

is this inside the designer? If so try raising your designer memory.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [July 6, 2018, 4:28pm UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751/3 "2018-07-06T16:28:02Z")

</div>

Yes Mr rmonson, it is inside the designer, but I saw just the same behaviour in the runtime, no metter the size of the memory allocated for the client.

Thanks for your help

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 6, 2018, 4:56pm UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751/4 "2018-07-06T16:56:28Z")

</div>

No guarantee this will do anything at all (make sure to use the NCL/clear the java cache if you do try this) but you can try modifying the Java rendering properties defined in Configure → Gateway Settings:

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/575555bce0ba9828738b7bb42b8ef3f21b50aa66.png)

This is almost certainly a bug in Java Swing, rather than Ignition’s codebase, so there’s not a lot other than general attempts to offer.

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [July 6, 2018, 7:55pm UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751/5 "2018-07-06T19:55:35Z")

</div>

I’m curious if you’re passing any UDTs as parameters? Passing entire UDTs as a parameter can really slow things down because it loads the entire UDT each time its passed.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [July 9, 2018, 7:52am UTC](https://forum.inductiveautomation.com/t/template-repeater-render-issue/18751/6 "2018-07-09T07:52:31Z")

</div>

> [@mrogers](#):
>
> I'm curious if you're passing any UDTs as parameters? Passing entire UDTs as a parameter can really slow things down because it loads the entire UDT each time its passed.

Yes mrogers, I do pass a whole UDT as a parameter. But while I can accept that window loading slows down, what is not acceptable is that loading is wrong.

> [@paul-griffith](#):
>
> No guarantee this will do anything at all (make sure to use the NCL/clear the java cache if you do try this) but you can try modifying the Java rendering properties defined in Configure -\> Gateway Settings:

Not yet tried: I will do it as soon as possible and I will be back to you with the result.

Thanks, regards
