If you check the super tenant registry resource /_system/ governance/repository/components/org.wso2.carbon. all-themes/Default/admin/main.css its there and if you update the file system it will get updated at restart. And If you want to check which one is used (registry or fs) in a setup with several products (say we have ESB and AS), change main.css in AS fs and restart and let registry caching get invalidated in ESB and try to access ESB. You will see the changed themes there as well. This is due to its reading from registry. This is some thing I experienced.
Thanks & Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Mon, Sep 29, 2014 at 10:08 PM, Udara Rathnayake <[email protected]> wrote: > Hi Danushka, > > On Mon, Sep 29, 2014 at 8:15 AM, Danushka Fernando <[email protected]> > wrote: > >> Its getting loaded from tenant registry AFAIK for both cases. >> > > Then any idea why we refer https://<HOST>:<PORT>/carbon/styles/css/main.css > for super tenant and https://<HOST>:<PORT>/ > registry/resource/_system/governance/repository/components/org.wso2.carbon.all-themes/Default/admin/main.css > for tenant? > > > >> But the issue with super tenant is its updating the registry entry with >> file system contents at each server startup. >> > > Now we have ReloadThemeOnServerRestart config parameter to disable that. > >> >> Thanks & Regards >> Danushka Fernando >> Software Engineer >> WSO2 inc. http://wso2.com/ >> Mobile : +94716332729 >> >> On Mon, Sep 29, 2014 at 7:54 PM, Udara Rathnayake <[email protected]> >> wrote: >> >>> Hi Dhanushka, >>> >>> This is not about getting the same theme. What I want is to load the >>> theme from registry for tenant as well as to supertenant. >>> >>> sent from my nexus4, ignore any typos >>> On Sep 29, 2014 3:13 AM, "Danushka Fernando" <[email protected]> wrote: >>> >>>> Hi Udara >>>> AFAIK it always refers to registry resource of the particular tenant. >>>> When you restart the server with the changed file it will update the super >>>> tenant registry resource. And it will get copied to tenant when we create >>>> the tenant. So tenant is getting the theme that super tenant had at the >>>> point of tenant creation. >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 >>>> >>>> On Mon, Sep 29, 2014 at 12:28 PM, Udara Rathnayake <[email protected]> >>>> wrote: >>>> >>>>> Hi all, >>>>> >>>>> Is there a specific way to do the $Subject? >>>>> >>>>> For example we use https://<HOST>:<PORT>/carbon/styles/css/main.css >>>>> to load main.css for super-tenant and >>>>> https://<HOST>:<PORT>/registry/resource/_system/governance/repository/components/org.wso2.carbon.all-themes/Default/admin/main.css >>>>> to load main.css for tenants. >>>>> >>>>> I want to use the same main.css from registry for both tenant and >>>>> super-tenant. >>>>> >>>>> Regards, >>>>> UdaraR >>>>> >>>>> -- >>>>> *Udara Rathnayake* >>>>> Software Engineer >>>>> WSO2 Inc. : http://wso2.com >>>>> >>>>> Mobile : 1 4087864651 >>>>> Twitter : http://twitter.com/udarakr >>>>> Blog : http://udarakr.blogspot.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >> > > > -- > *Udara Rathnayake* > Software Engineer > WSO2 Inc. : http://wso2.com > > Mobile : 1 4087864651 > Twitter : http://twitter.com/udarakr > Blog : http://udarakr.blogspot.com > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
