Re: [Carbon-dev] Change the default Carbon UI "Home" link's location via property in product.xml

2011-04-19 Thread Milinda Pathirage
Committed changes after testing with Carbon distribution(without
product.xml) and BPS distribution(with product.xml).

Thanks
Milinda

On Tue, Apr 19, 2011 at 12:55 PM, Afkham Azeez  wrote:

> If it is working fine, please go ahead and commit.
>
>
> On Tue, Apr 19, 2011 at 12:27 PM, Milinda Pathirage wrote:
>
>> Hi Devs,
>>
>> Current Carbon UI implementation doesn't allow us to change the "Home"
>> link's location via product.xml, even though we can change the page
>> displayed after we logged into the console(done via defaultHomePage property
>> in product.xml). Attached patch fix the issue by getting the "Home" link's
>> location from product.xml via CarbonUIUtils. If product.xml doesn't have the
>> defaultHomePage property, default home page ("../admin/index.jsp") will be
>> used. This patch also contains relevant fixes for breadcrumb generation
>> where we replace "Home" link's location of breadcrumbs based on product.xml
>> property.
>> Is it ok to commit this fix?
>>
>> Thanks
>> Milinda
>>
>> --
>> Milinda Pathirage
>> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
>> http://wso2.com
>> Blog: http://blog.mpathirage.com
>>
>> Lean Enterprise Middleware
>>
>> ___
>> Carbon-dev mailing list
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*
> *
> email: **az...@wso2.com* * cell: +94 77 3320919
> blog: **http://blog.afkham.org* *
> twitter: **http://twitter.com/afkham_azeez*
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Milinda Pathirage
Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
http://wso2.com
Blog: http://blog.mpathirage.com

Lean Enterprise Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Change the default Carbon UI "Home" link's location via property in product.xml

2011-04-19 Thread Afkham Azeez
If it is working fine, please go ahead and commit.


On Tue, Apr 19, 2011 at 12:27 PM, Milinda Pathirage wrote:

> Hi Devs,
>
> Current Carbon UI implementation doesn't allow us to change the "Home"
> link's location via product.xml, even though we can change the page
> displayed after we logged into the console(done via defaultHomePage property
> in product.xml). Attached patch fix the issue by getting the "Home" link's
> location from product.xml via CarbonUIUtils. If product.xml doesn't have the
> defaultHomePage property, default home page ("../admin/index.jsp") will be
> used. This patch also contains relevant fixes for breadcrumb generation
> where we replace "Home" link's location of breadcrumbs based on product.xml
> property.
> Is it ok to commit this fix?
>
> Thanks
> Milinda
>
> --
> Milinda Pathirage
> Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
> http://wso2.com
> Blog: http://blog.mpathirage.com
>
> Lean Enterprise Middleware
>
> ___
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
*Afkham Azeez*
Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
*
*
*Member; Apache Software Foundation;
**http://www.apache.org/*
*
email: **az...@wso2.com* * cell: +94 77 3320919
blog: **http://blog.afkham.org* *
twitter: **http://twitter.com/afkham_azeez*
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


[Carbon-dev] Change the default Carbon UI "Home" link's location via property in product.xml

2011-04-18 Thread Milinda Pathirage
Hi Devs,

Current Carbon UI implementation doesn't allow us to change the "Home"
link's location via product.xml, even though we can change the page
displayed after we logged into the console(done via defaultHomePage property
in product.xml). Attached patch fix the issue by getting the "Home" link's
location from product.xml via CarbonUIUtils. If product.xml doesn't have the
defaultHomePage property, default home page ("../admin/index.jsp") will be
used. This patch also contains relevant fixes for breadcrumb generation
where we replace "Home" link's location of breadcrumbs based on product.xml
property.
Is it ok to commit this fix?

Thanks
Milinda

-- 
Milinda Pathirage
Technical Lead and Product Manager, Business Process Server - WSO2 Inc;
http://wso2.com
Blog: http://blog.mpathirage.com

Lean Enterprise Middleware


home_link.patch
Description: Binary data
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev