Hi Dilan,

Why don't you store this in registry?

Regards,

Dilshan


On Wed, May 21, 2014 at 11:44 AM, Chathura Dilan <[email protected]> wrote:

> Hi Niranjan, Can you raise this in a public list. I think this kind of
> situation still not handled by any team yet. So we can come to a solution.
>
>
> On Wed, May 21, 2014 at 11:33 AM, Niranjan Karunanandham <
> [email protected]> wrote:
>
>> Hi Dilan,
>>
>> In case we are uploading zip files then the user needs to the format of
>> the file in hand. I agree that we will have to store this files in the file
>> system but you are forgetting an important thing that is in this version,
>> the admin page will be there in the work nodes also. In this case, the
>> worker nodes should also have commit rights so that it can be synchronized
>> with the other nodes.
>>
>> Regards,
>> Nira
>>
>>
>>
>> On Wed, May 21, 2014 at 11:29 AM, Chathura Dilan <[email protected]>wrote:
>>
>>> Hi Niranjan,
>>>
>>> That field represent the theme folder of the tenant. So let's fix the
>>> tenant configuration first to change the theme. Then I'll looking in to
>>> that separately regarding the best way to handle it.
>>> Uploading a zip file from the UI is the only option what we can do from
>>> UI, otherwise admin have to manually copy the theme to the file system.
>>> IMO storing the theme files in the registry is not a good option.
>>>
>>> I'm adding Ruchira and SameeraM and Manu also for their opinions also.
>>>
>>>
>>> On Wed, May 21, 2014 at 11:05 AM, Niranjan Karunanandham <
>>> [email protected]> wrote:
>>>
>>>> Hi Dilan,
>>>>
>>>> In the Tenant configuration, there is a field called UI Theme. If I am
>>>> not mistaken there are quite a lot of files (images, css, etc...) that need
>>>> to be uploaded. How is this being implemented from the UI? I do not
>>>> recommend sending zip files since there are different formats in zip and
>>>> the pack can running in ubuntu, windows, mac, etc...
>>>>
>>>> Regards,
>>>> Nira
>>>>
>>>>
>>>>
>>>> On Wed, May 21, 2014 at 9:08 AM, Niranjan Karunanandham <
>>>> [email protected]> wrote:
>>>>
>>>>> Yes i had two more fields for ios but we need to have a separate one
>>>>> for email configs. Can u add it to the the tenant branch??
>>>>>  On 21 May 2014 08:50, "Chathura Dilan" <[email protected]> wrote:
>>>>>
>>>>>> Hi Niranjan,
>>>>>>
>>>>>> That's good. If you need more fields, what you have to do is add it
>>>>>> to .hbs file and that's all. other JS logic be will automatically 
>>>>>> handled.
>>>>>>
>>>>>>
>>>>>> On Wed, May 21, 2014 at 2:46 AM, Niranjan Karunanandham <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi Dilan,
>>>>>>>
>>>>>>> I have added some fields to the tenant configuration hbs files and
>>>>>>> committed it only to the feature/tenant-configurate file.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Nira
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, May 21, 2014 at 12:56 AM, Niranjan Karunanandham <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Its fixed. Had a chat with chan and he told me that files need to
>>>>>>>> be retrieved from request.getfile() and not from the ctx.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, May 20, 2014 at 11:56 PM, Niranjan Karunanandham <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hi Dilan,
>>>>>>>>>
>>>>>>>>> The file upload stream is not passed when the form is submitted. I
>>>>>>>>> am getting all the other values except the files. The two input with 
>>>>>>>>> type
>>>>>>>>> file is "undefined".
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Nira
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> *Niranjan Karunanandham*
>>>>>>>>> Senior Software Engineer - WSO2 Inc.
>>>>>>>>> WSO2 Inc.: http://www.wso2.com
>>>>>>>>> M: +94 777 749 661 <http:///>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> *Niranjan Karunanandham*
>>>>>>>> Senior Software Engineer - WSO2 Inc.
>>>>>>>> WSO2 Inc.: http://www.wso2.com
>>>>>>>> M: +94 777 749 661 <http:///>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *Niranjan Karunanandham*
>>>>>>> Senior Software Engineer - WSO2 Inc.
>>>>>>> WSO2 Inc.: http://www.wso2.com
>>>>>>> M: +94 777 749 661 <http:///>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> Chatura Dilan Perera
>>>>>> *(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
>>>>>> www.dilan.me
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Niranjan Karunanandham*
>>>> Senior Software Engineer - WSO2 Inc.
>>>> WSO2 Inc.: http://www.wso2.com
>>>> M: +94 777 749 661 <http:///>
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Chatura Dilan Perera
>>> *(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
>>> www.dilan.me
>>>
>>
>>
>>
>> --
>>
>> *Niranjan Karunanandham*
>> Senior Software Engineer - WSO2 Inc.
>> WSO2 Inc.: http://www.wso2.com
>> M: +94 777 749 661 <http:///>
>>
>
>
>
> --
> Regards,
>
> Chatura Dilan Perera
> *(Senior Software Engineer** - WSO2 Inc.* * [Mobile])*
> www.dilan.me
>



-- 
Dilshan Edirisuriya
Senior Software Engineer - WSO2
Mob: + 94 777878905
http://wso2.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to