Not sure if I am following you but I will give it a try.
Did you mean how Theme.xml file is loaded?
Look at OFBIZ_HOME/framework/base/config/component-load.xml and see below
line
<load-components parent-directory=*"themes"*/>
It scans all folders under themes folder assuming they are themes.
And then look at org.apache.ofbiz.widget.model.ThemeFactory.java
Code looks for Theme.xml file to load your theme's definitions.
Thanks and Best Regards,
Girish Vasmatkar
On Sat, Aug 25, 2018 at 3:02 PM Shrilesh Korgaonkar <
[hidden email]> wrote:
> Plugins – e-commerce
>
> How does plugins\ecommerce\widget\Theme.xml
>
> Where it is defined as the theme file
>
> Or it automatically loader with others files which are there in the widget
> folder
>