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
1 answer

GWT: development mode behaves different from server mode

this is a 10 million dollar question! I am developing with GWT 2.1.1, MVP framework, GIN and deploying on tomcat 6. Never had any problem so far. I added a regular expression (RE) client side to check an input text input. Well, it happens that the…
Christian Achilli
  • 5,547
  • 2
  • 25
  • 24
1
vote
1 answer

How to I properly use ActivityMapper/ActivityManager in order to position views displayed on a main page layout?

This app attempts to display its 3 views on the main display page, as follows: the AAAView at the "top of page" the BBBView at the "middle of page" the CCCView at the "bottom of page" PROBLEM: Though the app runs, it does NOT position the views…
sairn
  • 461
  • 3
  • 24
  • 58
1
vote
1 answer

GWT MVP pattern - change different parts of page on an event

I am creating a GWT application using MVP pattern. I have an index page which uses DockLayoutPanel. I have view and presenter for each section of dockLayoutPanel (ex: NorthView and NorthPresenter). I have four buttons in the center panel (NorthBtn,…
Mithun
  • 7,747
  • 6
  • 52
  • 68
1
vote
1 answer

While using CellTree where to implement TreeViewModel (View / Presenter)

I am trying to use CellTree, i am confused about placement of class implementing TreeViewModel, This class will need Collection of elements required to be rendered as tree if this is view type class i need to push collection from the presenter. If…
Saket Bansal
  • 156
  • 1
  • 12
1
vote
2 answers

GWT MVP Pattern (Guice-Dispatcher) Performace Problem

I am using MVP pattern in my GWT project (Guice and Dispatch and..) But each RPC to the server after 30 sec after last RPC take a delay(about 1 sec). IT seems something is being cached in the server for 30sec and guess it is for Guice runtime…
Nav
  • 4,450
  • 10
  • 53
  • 84
1
vote
2 answers

How to get EventBus instance in Composite extending class?

How to get com.google.web.bindery.event.shared.EventBus instance in com.google.gwt.user.client.ui.Composite extending class?; I've readed: How to use EventBus for non-Presenter class in GWTP?, but I am looking for answer like: BEST APPROACHES TO…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
1
vote
2 answers

How to collect a number of asynchronous callbacks?

Are there any techiques to collect a number of gwt-rpc service callback results? I have a dialog window used to create new or edit existing object. These objects have a number of references to other object. So when user creating or editing an object…
Dmitrii
  • 321
  • 6
  • 17
1
vote
1 answer

How to handle Datagrid column's events from Presenter?

I am using GWT MVP and I would like to handle events in columns of DataGrid from Presenter. From GWT DataGrid ShowCase ... // First name. Column firstNameColumn = new Column(new EditTextCell()) { …
Cataclysm
  • 7,592
  • 21
  • 74
  • 123
1
vote
1 answer

Integrating a GWTP project with a standard GWT project

I have a GWTP application which has no entry point because I don't ever need to run this application on its own. Rather I want to use it within a standard GWT application which has an entry point, implements its own history management mechanism,…
mkhezr
  • 309
  • 1
  • 2
  • 7
1
vote
0 answers

GWT spring security login

I´m using GWT and MVP and 2.4 and Spring security for securising my application .but dont want to use JSP login page(default page).i want to use my propre page. this is my securitydemo.xml: logtest is the name of my project, i use lohtest.html …
1
vote
1 answer

GXT + GWT MVP in a single application?

I am working on this project which uses 100% gxt code. Now we have another small project which is written using GWT MVP pattern and we are tasked to integrate the 2 projects into one.So pretty much we will be making back and forth method calls…
yonikawa
  • 581
  • 1
  • 9
  • 32
1
vote
1 answer

Model-View-Presenter with Google Web Toolkit (GWT)

I am thinking about developing a new application using web toolkit. I decided that the best option is going to be to use the Model-View-Presenter Design Pattern. After doing plenty of research, I found two different ways of implementing the skeleton…
bubbles
  • 861
  • 4
  • 13
  • 30
1
vote
2 answers

gwt mvp pattern with activities and gin

i am new to GWT MVP.I have read MVP documentation provided on Google site and also searched on other sites. But i am getting confused with MVP ,activities and gin .Can u please suggest me some good sites which have provided good explanation on it…
Rohan
  • 3,068
  • 1
  • 20
  • 26
1
vote
2 answers

MVP pattern. How to reduce code repeating?

MVP pattern assumes that View expose methods to Presenter. For example in View we can write: public HasClickhandlers getButton() { return myBtn; } and access to this method from presenter, like view.getButton().addclickhanlder() ... But…
WelcomeTo
  • 19,843
  • 53
  • 170
  • 286
1
vote
2 answers

Is it possible to create a multi module application with GWT

Is it possible to create a multi-module application with GWT? What i mean is, to create 2 module, one for front-end website, one for admin management that manage the front-end website. Hope you understand my approach :)
ducnh
  • 260
  • 1
  • 3
  • 10
1 2 3
8 9