Re: [Dev] Demote action is visible for Uploadable apps - APPFAC-2702

2015-01-15 Thread Dimuthu Leelarathne
Hi all,

The lifecycle page is the weakest page in AF and not fully dynamic. It
needs to be rewritten at some point.

thanks,
dimuthu


On Fri, Jan 16, 2015 at 7:16 AM, Janaka Ranabahu jan...@wso2.com wrote:

 Hi Danushka,

 On Wed, Jan 14, 2015 at 11:57 PM, Danushka Fernando danush...@wso2.com
 wrote:

 Hi all
 [1] is fixed by having a check in ui to check whether its an uploadable
 application. But currently we have a different lifecycle for uploadable
 applications. So shouldn't we fix this by changing something in lifecycle.
 Since we are moving towards lifecycle per app type, I prefer fixing this by
 looking at the lifecycle. WDYT?

 ​True. The UI should be generated by reading all the transition
 elements(where the event attribute is the action that is showed in the
 UI) of each stage. That way, the per app type lifecycle model will work
 without any issue.
 Please note that a lifecycle stage can have 0 or more transitions.

 Thanks,
 Janaka




 [1] https://wso2.org/jira/browse/APPFAC-2702


 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729




 --
 *Janaka Ranabahu*
 Senior Software Engineer; WSO2 Inc.; http://wso2.com


 *E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861
 %2B94%20718370861*

 Lean . Enterprise . Middleware




-- 
Dimuthu Leelarathne
Architect  Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


Re: [Dev] Demote action is visible for Uploadable apps - APPFAC-2702

2015-01-15 Thread Janaka Ranabahu
Hi Danushka,

On Wed, Jan 14, 2015 at 11:57 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi all
 [1] is fixed by having a check in ui to check whether its an uploadable
 application. But currently we have a different lifecycle for uploadable
 applications. So shouldn't we fix this by changing something in lifecycle.
 Since we are moving towards lifecycle per app type, I prefer fixing this by
 looking at the lifecycle. WDYT?

​True. The UI should be generated by reading all the transition
elements(where the event attribute is the action that is showed in the
UI) of each stage. That way, the per app type lifecycle model will work
without any issue.
Please note that a lifecycle stage can have 0 or more transitions.

Thanks,
Janaka




 [1] https://wso2.org/jira/browse/APPFAC-2702


 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729




-- 
*Janaka Ranabahu*
Senior Software Engineer; WSO2 Inc.; http://wso2.com


*E-mail: jan...@wso2.com http://wso2.com**M: **+94 718370861*

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


Re: [Dev] Demote action is visible for Uploadable apps - APPFAC-2702

2015-01-14 Thread Dimuthu Leelarathne
On Wed, Jan 14, 2015 at 11:57 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi all
 [1] is fixed by having a check in ui to check whether its an uploadable
 application. But currently we have a different lifecycle for uploadable
 applications. So shouldn't we fix this by changing something in lifecycle.
 Since we are moving towards lifecycle per app type, I prefer fixing this by
 looking at the lifecycle. WDYT?


Exactly correct!




 [1] https://wso2.org/jira/browse/APPFAC-2702


 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729




-- 
Dimuthu Leelarathne
Architect  Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


[Dev] Demote action is visible for Uploadable apps - APPFAC-2702

2015-01-14 Thread Danushka Fernando
Hi all
[1] is fixed by having a check in ui to check whether its an uploadable
application. But currently we have a different lifecycle for uploadable
applications. So shouldn't we fix this by changing something in lifecycle.
Since we are moving towards lifecycle per app type, I prefer fixing this by
looking at the lifecycle. WDYT?


[1] https://wso2.org/jira/browse/APPFAC-2702


Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev