I struggle to register a custom Controller , maybe some we'll find the reason why :)
Here, I register the route
Then I have my Controller :
I register the dependencies :
On load, the MapRoute is being hit, all right,
So my register dependencies is working as well,
My CustomDashboard class implementing IDashboard is working ok, since the tab appears
but I have a 404 error
With a breakpoint in my "generateLink" method within the controller, I don't reach it out. I guess I made a mistake in the MapRoute, I keep looking over and over, I can't make it work
(the view behind is a simple p tag , but I can't even reach the Controller, I Guess the view is not the problem)
Let me just add that the SurfaceControllers and Block Controllers That I have all works properly.
Custom Backend Controller using MVC
Hi
I struggle to register a custom Controller , maybe some we'll find the reason why :) Here, I register the route
Then I have my Controller :
I register the dependencies :
On load, the MapRoute is being hit, all right, So my register dependencies is working as well,
My CustomDashboard class implementing IDashboard is working ok, since the tab appears
but I have a 404 error
With a breakpoint in my "generateLink" method within the controller, I don't reach it out. I guess I made a mistake in the MapRoute, I keep looking over and over, I can't make it work
(the view behind is a simple p tag , but I can't even reach the Controller, I Guess the view is not the problem)
Let me just add that the SurfaceControllers and Block Controllers That I have all works properly.
Again, thanks a lot for helping
Sylvain
I found my solution a few minutes after ....
:D
missing a forward slash at the beginning of the View String in the TokenGenetatorDashboard ...
Damn, it took my a few hours :D
Thanks anyway !
I let this here for further queries ;)
is working on a reply...