View Single Post
  #3  
Old 07-24-2020, 04:19 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Decorate a class isVisible method or delete the class view

That's good info thanks.
I guess I got it wrong RE #3 - so the list view is build before anything else? And whether class runs or not depends on if it's included in the list view or not?


In case you missed that - the ListChild directive is on the class not on the template.


What if I have to do this with say 10 classes from 2-3 different modules? Is #3 going to give me more benefits?
Also to consider with 10 classes and using #2 I'll have to create 10 new files to decorate, with #3 is few lines of code in one file which exists anyway.


Judgment call on per case basis?
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote