Open GVogeler opened 3 years ago
Check https://github.com/icaruseu/mom-ca/blob/59703228e9de2b222be9439fc61cdd530a8c78bd/my/XRX/src/mom/app/charter/widget/charter.widget.xml#L1278 , https://github.com/icaruseu/mom-ca/blob/59703228e9de2b222be9439fc61cdd530a8c78bd/my/XRX/src/mom/app/charter/widget/my-charter.widget.xml#L514 and https://github.com/icaruseu/mom-ca/blob/59703228e9de2b222be9439fc61cdd530a8c78bd/my/XRX/src/mom/app/charter/widget/saved-charter.widget.xml#L332 (and consider how to refactor this to have only one definition of this)
my-charter.widget and saved-charter.widget inherit the properties of the charter-widget anyway, but inheritance seems to be restricted to top level structures (i.e. xrx:divs), see https://github.com/icaruseu/mom-ca/wiki/XRX-plus-plus--Inheritance. Moving the xrx:div into a xrx:subwidget seems to be a solution.
e.g. https://www.monasterium.net/mom/AT-NOeLA/HA_Stettl/HA_Stetteldorf_Urk_030/charter
and
https://www.monasterium.net/mom/CensimentoDOZA/201/charter