# Get Template Root from Component Inside the Template

**URL:** <https://forum.inductiveautomation.com/t/get-template-root-from-component-inside-the-template/40504>\
**Category:** Ignition\
**Created:** [November 10, 2020, 8:02pm UTC](https://forum.inductiveautomation.com/t/get-template-root-from-component-inside-the-template/40504 "2020-11-10T20:02:50Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 9, 2020, 1:10am UTC](https://forum.inductiveautomation.com/t/get-template-root-from-component-inside-the-template/40504/8 "2020-12-09T01:10:11Z")

</div>

Well, yes, with some help. Java Swing methods that work on this level are unaware of the special behavior of Vision Components. If you install my Simulation Aids module, it installs a generic fix for this in the Jython interpreter. And then your component methods and custom properties will work in jython no matter how you get a hold of the object. (:

If you want your brain fried, look at this topic (start here but go back through the whole thing for context):

> [@Transaction groups triggered expression item updating when trigger is false](http://forum.inductiveautomation.com/t/transaction-groups-triggered-expression-item-updating-when-trigger-is-false/17196/15):
>
> Thank you very much for the quick fix. Been testing this new beta on a few use cases and haven’t issued any gotchas yet slight_smile

---

_[View the full topic](https://forum.inductiveautomation.com/t/get-template-root-from-component-inside-the-template/40504)._
