Hi Danushka,

On Mon, Sep 29, 2014 at 8:15 AM, Danushka Fernando <danush...@wso2.com>
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 <uda...@wso2.com> 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" <danush...@wso2.com> 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 <uda...@wso2.com>
>>> 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
>>>> Dev@wso2.org
>>>> 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
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to