Pop/Push variable values in the templates
cbiosOct 17 2007 — edited Oct 24 2007Hi,
I've been working for some months with JHeadStart 10.1.3, and I've started to change the templates to adapt the behaviour to our project needs.
But I've discovered that the variables I set in a template have no context information (or I haven't found the way to establish its context), so the next time the generation goes through that template, the variable changes its value forever, and I'm not able to recover the value it had at the previous level.
Mainly, my problem is in the region management loops. As a group region can contain other regions, any variable I set in a region can be reseted in a child region and it will not have utility in the region that goes after the first, because the value is taken from the child region.
So, is there any way to push/pop variable value using the JHS api?
I hope I've been able to make me understand.
Thank you in advance.
Carles Biosca
BBR IngenierĂa de Servicios SL
www.bbr.cat