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
1
vote
2 answers

Best practice - data submission GWT MVP

I'm looking for some best practices for form submission in GWT with MVP. In my application a Dialog box is opened where a simple from is rendered. When the 'Ok' button is clicked, element values are read and assigned to a value object. This object…
Sree
  • 746
  • 6
  • 21
0
votes
3 answers

GWT MVP - How to architect the application

I am trying to get the following UI. I am looking at using gwt mvp(activities and places). I am following the simple example provided with documentation. So far i have achieved a basic tab panel using GWT MVP(activities and places). The url changes…
blue01
  • 2,035
  • 2
  • 23
  • 38
0
votes
1 answer

GWT MVP on TabLayoutPanel

i'm just learning GWT MVP design pattern for weeks. now, i'd like to use this design pattern on a large web application. this application is a web ordering system wherein it has a login page and a main page. in the main page, it has buttons and a…
vvns
  • 3,548
  • 3
  • 41
  • 57
0
votes
1 answer

Inject views into other views with Gin

I am using an MVP architecture (or at least an approximation of one) and have a hierarchy of presenters, with similarly nested views. I'll stick to the first 2 levels for simplicity: AppPresenter/AppView at the top level.…
David Mason
  • 2,917
  • 4
  • 30
  • 45
0
votes
1 answer

GWT - Unable to find type 'com.myapp.launcher.client.LauncherInitializer' multi-module architecture

I have a project with the following structure: com.myapp.gwt: Basic.gwt.xml Launcher.gwt.xml - inherits Basic.gwt.xml Module1.gwt.xml - inherits Basic.gwt.xml com.myapp.gwt.ui.basic.client: AppActivityMapper.java …
Yervand Aghababyan
  • 1,100
  • 1
  • 18
  • 39
0
votes
1 answer

GWT sharing services between several modules

I have a project where depending on the user role he's being redirected to completely different UIs right after logging in. I'm planning to separate the project structure into several GWT modules like this: 1. Base module 2. Login module 3.…
Yervand Aghababyan
  • 1,100
  • 1
  • 18
  • 39
0
votes
1 answer

GWT Place Class enhancement viability

I am having thought experiments investigating the viability of enhancing Place class. Presuming Google would grant us courtesy of such an enhancement, would the following enhancement to the Place class be helpful? Let us say that the Place class is…
Blessed Geek
  • 21,058
  • 23
  • 106
  • 176
0
votes
2 answers

Using Something Other Than HasClickHandlers in my GWT MVP

I am facing a similar issue to the problem faced by the similar StackOverflow question Way to specify multiple interfaces in Java but as it specifically applies to the GWT MVP example framework presented in…
Coder
  • 597
  • 7
  • 22
0
votes
1 answer

Many MVP's for the same page?

I have started experimenting with GWT 2.8 and MVP pattern. I want to make a simple browser app that sends and fetches data from client to server, that has only one page. Should I use only one MVP that handles everything in the page? Or can I use…
JimmiB
  • 1
  • 1
0
votes
1 answer

I can not understand clean architecture's part (MVP) from uncle Bob book

I read "Clean Architecture book" by uncle Bob. And I tried to implement simple examples. I have this diagram: I can not understand how can I implement part in the red line. For example, I have a simple web page: I have 2 buttons, one edited text,…
Pavel Petrashov
  • 1,073
  • 1
  • 15
  • 34
0
votes
1 answer

how to keep view "humble" -using SuggestBox with special Oracle and Suggestion

i learned how to implement my own SuggestionOracle("AuSuggestOracle") and own Suggestions("AuMultiWordSuggestion"). In my case the suggestion object is constructed with a DTO. On a selection event i need this dto (or some fields of it) to react…
dermoritz
  • 12,519
  • 25
  • 97
  • 185
0
votes
1 answer

Issue when trying to Deploy GWT web application in Jboss

I have a strange error I created a web application using gin,Presenter and dispatcher and then I successfully deployed in JBoss but when I trying to deploy in process server I followed the same way by copying war folder and including that…
Murali
  • 1
  • 1
0
votes
1 answer

Data Presentation Widgets + MVP

I am trying to use the new Data Presentation Widgets (cellTable) Now for a demo I am making, I used the example from here How to use GWT 2.1 Data Presentation Widgets to create a button in a column for each row. My understanding of MVP is that I…
Nadin
  • 81
  • 1
  • 7
0
votes
2 answers

How to implement a Compound View/Presenter for a GWT DecoratedTabPanel?

I'm new to GWT, and I've been reviewing the MVP implementation which uses the rpcService and the eventBus. I was wondering how a tab panel can be implemented such that each tab has its own sub-view. I have been waffling between making a custom…
Kieveli
  • 10,944
  • 6
  • 56
  • 81
0
votes
1 answer

How do GWT 2.1 data presentation widgets work in conjunction with MVP?

The Data Presentation Widgets in GWT 2.1 seem to have it all sewn up: model, view and presenter. So how does all of this data presentation goodness fit in with MVP? For example; how might I associate presenter (aka Activity) instances with the nodes…
David
  • 5,184
  • 3
  • 41
  • 67
1 2 3
8 9