I am getting this module 'tdlat.AllTasks' may need to be (re)compiled
, when I link from my home page (ToDoList.html) to my 'AllTasks' page (AllTasks.html). But when I run directly from the AllTasks page I do not get this error. I am running this in Development Mode.
- I have read and followed the steps from GWT module may need to be (re)compiled REDUX, and I am still getting the same problem.
- I have tried clearing out my browser cache.
FILES PACKAGE
Code where the URL links to the error
Anchor link = new Anchor(true);
horizontalPanel_1.add(link);
link.setHTML("All Tasks");
link.setHref("AllTasks.html");
My link is linked to a separate module.
EDIT
link.setHref("AllTasks.html?gwt.codesvr=127.0.0.1:9997")
Fixed my problem, but I am not too sure how to make this work also in production mode. Here is what I have so far.
if (GWT.isProdMode()){
// What goes here? Thanks!
}
else
{
link.setHref("AllTasks.html?gwt.codesvr=127.0.0.1:9997");
}
Thank you for the assistance! Please let me know if there is any confusion.