|
Does the following seem like the correct behavior?
In the main-decorator you have the following...
<set field="layoutSettings.companyName"
from-field="uiLabelMap.AccountingCompanyName" global="true"/>
in a screen that is called that is decorated by the main-decorator you
have the following:
<set field="layoutSettings.javaScripts[]" value="/images/myJS.js"/>
When you render the screen, layoutSettings.companyName is undefined.
It's as if the layoutSettings.javaScripts[] overwrote the
layoutSettings map instead of simply appending to it. If both are
global="true", it works correctly and if both are global="false" it
works correctly.
I assumed (perhaps incorrectly) that global="true" meant that even if
the decorated screen had a layoutSettings.companyName set, the value in
the main-decorator would be used.
Thanks for any clarification.
|