Hello all,
I just want to ask if I founded some strange bug or I'm missing some configuration.
I have a forEach in xls file (with 3-4 values) that need to be repeated 10 times (ten columns).
I have just called the transform(pathIn, pathOut, beans) to translate the template but with the last version of jett core the cells style of the cell populated by the forEach loop get shifted and copied.
I've tried the 0.8 version and this thing it's not happening (I've tried it beacuse i work on a platform that already implement that version).
Is there some new setting I'm missing?
Below I add the screenshoots for best understandig, don't look at the values they are just as example.
Please excuse me for mine bad english.
Thanks all in advance.
Paolo
Hello all,
I just want to ask if I founded some strange bug or I'm missing some configuration.
I have a forEach in xls file (with 3-4 values) that need to be repeated 10 times (ten columns).
I have just called the transform(pathIn, pathOut, beans) to translate the template but with the last version of jett core the cells style of the cell populated by the forEach loop get shifted and copied.
I've tried the 0.8 version and this thing it's not happening (I've tried it beacuse i work on a platform that already implement that version).
Is there some new setting I'm missing?
Below I add the screenshoots for best understandig, don't look at the values they are just as example.
Please excuse me for mine bad english.
Thanks all in advance.
Paolo
Last edit: Paolo Dibitonto 2017-02-14
Hi Paolo,
If you don't want cells to be shifted (along with their formatting), just add attribute fixed="true" to your forEach tag.
Not sure why behavior is different in 0.8 and 0.10, in my memory this attribute is always false by default, even in old JETT versions...
Hi Etienne,
Thank you very much, that was the missing attribute.