Questions tagged [gwt-mvp]

This is an implementation of the Model-View-Presenter pattern for GWT.

This is an implementation of the Model-View-Presenter pattern for GWT (Google Web Toolkit) based on the "GWT App Architecture Best Practices - Ray Ryan" GWT Model-View-Presenter is a design pattern for large scale application development. Being derived from MVC, it divides between view and logic and helps to create well-structured, easily testable code

124 questions
0
votes
1 answer

Refactoring a class implementing an interface by creating subclasses in GWT /java

I am implementing the frontend of an application in GWT (see attached picture) and I have view class which is getting bigger as more widgets are added to the frontend. As stated in GWT tutorial, the view class must implement the Display interface…
Gerko Ford
  • 41
  • 2
  • 12
0
votes
3 answers

String.indexOf(String s) in GWT fails when deployed to tomcat server

I seem to be having having an issue with String.indexOf(String s)/String.lastIndexOf(String s) in my GWT2 app when running it on a tomcat server. The following code is in a Presenter (client side). It works perfectly when running via the GWT…
upshake
  • 969
  • 1
  • 11
  • 22
0
votes
2 answers

GWT MVP Problem

I am a newbie to GWT .I am trying to implement my code using MVP. So following a tutorial I have created a View, I have created a Presenter, I created a Display interface inside the presenter, My view implements my Presenter.Display…
krishna
  • 137
  • 1
  • 2
  • 4
0
votes
1 answer

GWT ListBox with HasValue and @UiTemplate

I am trying to use ListBox with HasValue interface implemented, I got code / idea from the following link and I made the my own list box class http://turbomanage.wordpress.com/2010/04/01/selectonelistbox-for-use-with-gwtmvp/ Now the problem is I…
Saket Bansal
  • 156
  • 1
  • 12
0
votes
1 answer

Why page cannot get bookmarked with History mechanism in GWT/MVP4G.?

I am trying to implement history mechanism with a GWT app but has problem with page bookmark i.e. in my case, I have created 3 pages where one get invoked from another. Now, the problem is if page3 is bookmarked then while invoking that bookmark it…
Pratik Rawlekar
  • 327
  • 4
  • 14
0
votes
1 answer

Why two approaches of implementing interface (view and presenter) used GWT-MVP tutorial?

My question is based on GWT Tutorial http://code.google.com/webtoolkit/articles/mvp-architecture-2.html Here we have two pair of view and presenter In EditContactPresenter we are defining the view interface inside the presenter class…
Saket Bansal
  • 156
  • 1
  • 12
0
votes
1 answer

Based on the MVP (Model View Presenter) how should I implement this?

I have a app on Google App Engine and I'm using GWT, and when the user goes to www.myapp.com/#show I need to show a graph, and in that page there is a button to search and add nodes to that graph, when the search Button is clicked I need to show a…
Mike W
  • 1,303
  • 1
  • 21
  • 31
0
votes
2 answers

Warn the user that he is about to loose his change in Edit view when leaving to view to another in GWT

I want to prevent the user that he will loose his changes in an EditView when changing the view to another. I use MVP4G in my project and the project is divided as mvp's structure (one package for the template another one for views ..) is there any…
essalprod
  • 28
  • 1
  • 8
0
votes
3 answers

Connecting gwt-dispatch with guice and mvp4g

I have some questions regarding gwt-dispatch and guice. I'm using Guice 2.0, gwt-dispatch 1.1.0 snapshot, mvp4g 1.1.0 and GIN 1.0 First of all, I have defined simple action, result and handler: ListContactsAction.java public class ListContactsAction…
jjczopek
  • 3,319
  • 2
  • 32
  • 72
0
votes
1 answer

History mangement in multi-level view in gwt using mvp

I have to create multi-level views for eg. TopLevelView contains a series of button horizontally place (works as menu).On clicking on buttonX-TopLevelView,It creates anotherView call MiddleView that gets appended in the container of…
Ajay Yadav
  • 1,625
  • 4
  • 19
  • 29
0
votes
1 answer

GWT Mvp and handlers

I've been learning GWT the past couple months and found out that the Mvp is one of the best ways to design your project. I've read google's tutorial MVP part 1 and in their tutorial they put the clickHandlers ( for example) in the presenter. Now I…
Maroun Sassine
  • 319
  • 5
  • 14
0
votes
2 answers

Looking for input on GWT / MVP action w/o browser history change

I am trying to develop a GWT app with the MVP pattern. So far so good except for one specific case of actions: actions that do not change the url (no browser history change). In the GWT MVP pattern, events are sent from presenters, the an app…
user198313
  • 4,228
  • 6
  • 24
  • 19
0
votes
1 answer

Mvp4gAnnotationException when using SimpleDateFormat

I am writing a GWT application using java and eclipse. I am trying to add date validation to a text field and I am coming across the oddest issue. When trying to build my ant build, I get the following…
ola
  • 882
  • 2
  • 12
  • 29
0
votes
1 answer

GWT MVP: HandlerManager EventHandler vs GUI EventHandler

I am using GWT MVP to develop an application. I saw we can have two kinds of event handlers in GWT MVP code, but I am not very sure about which kind should I use in which place: 1) HandlerManager (eventBus) EventHandlers (e.g. EditEventHandler…
Pat
  • 2,223
  • 4
  • 19
  • 25
0
votes
1 answer

GWT Maven Application Entry Point not loaded

I'm trying to build a new gwt-project (also using maven and spring). My project structure is: - ... directory myapp.admin-webapp -- src/main/java --- com.myapp.admin.webapp.client AdminEntryPoint.java ---…
vicR
  • 789
  • 4
  • 23
  • 52
1 2 3
8 9