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
2
votes
2 answers

Convert an AngularJS app to GWT (MVP)

I need to convert the following AngularJS application to a GWT application (though the question applies to any angular application). I would like to use the MVC pattern and UiBinder as suggested in the documentation but I'm unsure as to how the…
Bartek
  • 1,059
  • 6
  • 18
2
votes
1 answer

Some GWT MVP newbie questions

I have worked with ASP.NET(C#, classic/MVC), Django(Python) and CI(php) but I am completely new to GWT and JSP/servlets, and I have been told to learn GWT MVP. So, I read a tutorial for GWT-MVP from google. I downloaded the project Contacts, which…
mshsayem
  • 17,557
  • 11
  • 61
  • 69
2
votes
2 answers

GWT Activities and places: Reusing modal dialogs?

I am trying to get my head around GWT Activities and Places. And I am not sure how to implement a specific functionnality. Let's assume here that I am also using MVP, and that my Activities are my Presenters. Say I have an activity (let's call it…
bug
  • 659
  • 4
  • 13
2
votes
1 answer

GWTP Hiding the parameters from the URL

Is it possible to hide the parameters from the URL? placeManager.revealPlace(new PlaceRequest("show").with("t", "e").with("x", "1"), true); URL: gwt.codesvr=127.0.0.1%3A9997#show;t=e;x=1 I want the URL to be gwt.codesvr=127.0.0.1%3A9997#show. Is…
Blacklabel
  • 826
  • 1
  • 10
  • 19
1
vote
2 answers

What is the best way to allow page refresh in gwtp?

I am beginner in gwtp and I want to build an application that displays a list of products, and by clicking I displays the details of the selected product... My question is how to refresh the page to allow page product Detail to refresh while…
user405458
  • 1,107
  • 3
  • 24
  • 38
1
vote
1 answer

GWT multiple dialogs application architecture and MVP/Activities/Places

GWT Activities/Places/MVP concepts were discussed quite a lot here, but I haven't found a good example of how to apply those concepts to a multi dialog portal-like GWT application. I'm working on a GWT application that should have multiple…
dimchez
  • 2,004
  • 1
  • 15
  • 9
1
vote
0 answers

Mvp4g multiple view

I have implemented multiple Presenter in mvp4g using @Presenter(..., multiple = true) How can I create multiple instances of view for each new presenter? I need to add Tabs on TabPanel, each one will be the new view. Should I need to use…
BraginiNI
  • 576
  • 1
  • 16
  • 30
1
vote
1 answer

GWT Places & Activities - passing around collections

I'm pretty new to GWT and MVP and thinking I MAY be going the wrong way with my client design. I have a place/activity -pair (e.g. ListContactsPlace) that presents the user with a table of contacts (around 10k of them). The user is allowed to…
toman
  • 308
  • 2
  • 6
1
vote
2 answers

GWT Activities - performance implications of using SimplePanel vs DeckPanel (card panel)

In most of the Activities and Places examples I've seen, people use a SimplePanel as the display for an ActivityManager. I was wondering if there's a benefit to using a DeckPanel/DeckLayoutPanel instead of SimplePanel. It's fairly trivial to create…
nogridbag
  • 3,521
  • 4
  • 38
  • 51
1
vote
3 answers

Suggested way to encode name/value pairs in the Token of a GWT Activitie's place Token

In GWT using the History/Activities/Places apis you end up with urls like this http://192.168.0.104:8888/brokerage.html?gwt.codesvr=192.168.0.104:9997#StartPlace:params Where the word params is the place "token" where parameters can be passed into…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
1
vote
2 answers

roo 1.1.5 sample gwtNoEntities fails to load

I'm building roo samples gwtNoEntities, I'm getting following failure log. Could any one fixed this problem. please let me know. [ERROR] ScaffoldMobileApp.java:[3,0] packag e com.springsource.foo.client.managed.activity does not exist [ERROR]…
Raghu
  • 722
  • 3
  • 8
  • 19
1
vote
1 answer

Issue with order of event registeringe, sending, receiving and activities/places

I just finished my first own example with activities/places and MVP. all works fine but some events aren't send or received properly if i change back to a place (from another place). but on "moduleLoad" where this place is set as default place all…
dermoritz
  • 12,519
  • 25
  • 97
  • 185
1
vote
2 answers

GWT: RPC and MVP and Place Tokenizer

I'm just starting off on my first attempt at the MVP architecture in GWT. My understanding is that the job of PlaceTokenizer.getPlace(String) is to take the token in the URL after the hash, parse it, and return a Place with the object to which that…
Ray
  • 4,829
  • 4
  • 28
  • 55
1
vote
1 answer

Pro and Cons to create a REST architechture using [SPRING MVC] or [GWT + MVP] (and using spring ROO)?

I am asking this question because, I see that Roo include SPRING MVC and GWT...but - GWT (on its website) shows an example of a MVP pattern but I think it is not comparable with the SPRING MVC framework (indeed Spring MVC has more features. I have…
user662264
1
vote
1 answer

GWT mvp : Places , RequestFactory and SmartGwt and gwt-sl

I am new to GWT and MVP and have explored a few libraries (gwt-sl, gwt-presenter,gwt-dispatch) and frameworks (smartgwt ..) and i am getting very confused. I have decided to stick with using smartgwt ui components and gwt mvp to handle them.…
sunny
  • 824
  • 1
  • 14
  • 36
1 2 3
8 9