You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm going through this the whole day but I can't find the issue and GWTP is not giving any form of information back about what could be the problem. I'll just post here the content of my stackoverflow question. Whatever the problem is here.. the issue imho is that I'm not getting any hint on what is the actual problem.
Short summary:
I try to update a navigation bar after a place change event. To do so I created a GWTP Test*.java that I try to render in a SLOT_NavBar. However, this is not working. In order to see if I did something wrong I just made itself render in my SLOT_AdminToolMainContent slot which is working perfectly fine. The question is why I can render TestView in one slot but not in the other. GWTP is not giving me any clues about what I'm doing wrong here and I can't find anything in the documention that would help me out here.
I'm sure the problem must be either a misunderstanding from my side or something really stupid that I'm doing but I just fail to see the reason why this is not working.
Please explain to me why this is not working - it is driving me nuts. I'm not getting anything from GWTP like "dude, you're trying to do something strange here". No warning, error or info. Just nothing and I don't see what I do wrong here!
The text was updated successfully, but these errors were encountered:
From what I can see from your code, you're trying to reveal the TestPresenter from the MenuPresenter which is a PresenterWidget. You can't do that. It should be the other way around. I suppose what you really want to do is to nest the MenuPresenter inside the TestPresenter. If that is the case, you need to inject MenuPresenter in TestPresenter and call TestPresenter.setInSlot(<your_slot>, <your_presenter>). Take a look at this article on Typed Slots and let me know if you still have problems!
I'm going through this the whole day but I can't find the issue and GWTP is not giving any form of information back about what could be the problem. I'll just post here the content of my stackoverflow question. Whatever the problem is here.. the issue imho is that I'm not getting any hint on what is the actual problem.
Short summary:
I try to update a navigation bar after a place change event. To do so I created a GWTP
Test*.java
that I try to render in aSLOT_NavBar
. However, this is not working. In order to see if I did something wrong I just made itself render in mySLOT_AdminToolMainContent
slot which is working perfectly fine. The question is why I can renderTestView
in one slot but not in the other. GWTP is not giving me any clues about what I'm doing wrong here and I can't find anything in the documention that would help me out here.I'm sure the problem must be either a misunderstanding from my side or something really stupid that I'm doing but I just fail to see the reason why this is not working.
I'm having here a "root" presenter:
AdminToolPresenter
and its view:
AdminToolView
Everything I'm doing with this is working just fine for example:
TestPresenter
No problem at all! However, if I try to bind this to another slot:
Then it's simply doing nothing! I only changed the slot - so why is this not working? Here is the
MenuPresenter
and related code:MenuPresenter
MenuView
Please explain to me why this is not working - it is driving me nuts. I'm not getting anything from GWTP like "dude, you're trying to do something strange here". No warning, error or info. Just nothing and I don't see what I do wrong here!
The text was updated successfully, but these errors were encountered: