Closed GoogleCodeExporter closed 9 years ago
As long as your presenter and your LayoutView are in the same module, you
should have a singleton for MyView (otherwise, you need to create a crossmodule
singleton:
http://code.google.com/p/mvp4g/wiki/GinIntegration#Creating_Cross-Module_Singlet
on.
Also, when you add the @Singleton annotation, you need to restart your dev mode
for it to work.
I used @Singleton fine in the past, do you still have the issue? Do you have
this issue for any view?
Original comment by plcoir...@gmail.com
on 17 Jul 2012 at 7:12
It is currently a single module project.
I tried rebooting the server (Jboss), restarting eclipse and dev mode and the
problem persisted.
I did a "mvn clean" since it is a maven project and the error went away after
recompiling. It sounds like there was an object cached somewhere that never
got updated. Either way it now works exactly as I expect.
Original comment by jordan.t...@gmail.com
on 17 Jul 2012 at 8:59
Thanks, I'll mark this issue as fixed then.
Original comment by plcoir...@gmail.com
on 23 Jul 2012 at 10:53
Original issue reported on code.google.com by
jordan.t...@gmail.com
on 13 Jul 2012 at 7:23