• Lucas Ennouchi InCloud
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
In my lightning app I use a lot component inheritance.

Basically, i have a 'framework' component that contains most of the behaviours, and the only specific behaviours are defined on inheriting component. 
Since LockerServer,  the command component.getConcreteComponent().getDef().getHelper() doesn't work anymore, coz getDef() is not accessible. 
What is the workaround to do that ?

Note: my code follows the principle of this example : https://developer.salesforce.com/blogs/developer-relations/2015/03/salesforce-lightning-components-by-example-component-extension.html

Many thanks & best regards

 
Hi,
In my lightning app I use a lot component inheritance.

Basically, i have a 'framework' component that contains most of the behaviours, and the only specific behaviours are defined on inheriting component. 
Since LockerServer,  the command component.getConcreteComponent().getDef().getHelper() doesn't work anymore, coz getDef() is not accessible. 
What is the workaround to do that ?

Note: my code follows the principle of this example : https://developer.salesforce.com/blogs/developer-relations/2015/03/salesforce-lightning-components-by-example-component-extension.html

Many thanks & best regards