Is it allowed to use two server side controllers in lightning component? If so how.

Like in visualforce we can extend the standard controller

<apex:page standardController="Account" extensions="myControllerExtension">

No you cannot have to controllers for the same component. You can however extend components by marking the super component as abstract and using the extends keyword on the sub component.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.