We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
public class BaseController extends Controller { public void form() { ... foo(); .... } protected void foo() { logger.info("PARENT FOO"); } }
and child controller class:
public class ChildController extends BaseController { @Override protected void foo() { logger.info("CHILD FOO"); } }
When action ChildController.form is executed, the message PARENT FOO is logged. Expected result: "CHILD FOO" should be logged.
ChildController.form
PARENT FOO
The text was updated successfully, but these errors were encountered:
aa3c307
Merge pull request #1106 from codeborne/support-controller-subclasses
3f739e8
Fixes #1105 invoke non-static method in child controller, not in pare…
asolntsev
No branches or pull requests
Let's assume we have parent controller class:
and child controller class:
Result
When action
ChildController.form
is executed, the messagePARENT FOO
is logged.Expected result: "CHILD FOO" should be logged.
The text was updated successfully, but these errors were encountered: