Questions tagged [mvp4g]

MVP4g is an extended / enhanced version of MVP which removes the boilerplated code by using annotations to bind the Model-View-Presenter along with EventBus.

GWT is a very powerful framework that allows you to build efficient applications, especially if you follow the Best Practices described by Ray Ryan at Google IO 2009:

  • Event Bus
  • Dependency Injection
  • Model View Presenter
  • Place Service

See http://code.google.com/events/io/2009/sessions/GoogleWebToolkitBestPractices.html

Mvp4g provides the tools to efficiently without masses of boilerplate code, achieve these Best Practices.

More Infos: http://mvp4g.github.io/mvp4g/

Source: https://github.com/mvp4g/mvp4g

42 questions
4
votes
3 answers

How do I disable/enable anchor in GWT?

Possible Duplicate: How to enable or disable an anchor using jQuery? I'm having a hard time disabling the anchor. I've read that there's an existing bug with Anchor.SetEnabled. anchor().setEnabled(false) does not work due to browser…
scriptgeeky
  • 185
  • 1
  • 2
  • 8
3
votes
1 answer

Calling LayoutPanel.add(child) from outside the constructor of my Composite Widget causes the child to not be appended to the DOM

I'm just trying to dynamically add children to the parent through a public method. If I call canvasContainer.add(Canvas.createIfSupported()) from inside the constructor, it works as intended, but from inside the insertLayerAt() method, it silently…
Jim
  • 713
  • 1
  • 6
  • 23
3
votes
1 answer

Intellij IDEA and mvp4g APT annotation checking

Was anyone able to configure annotation checking for mvp4g in their project? For eclipse there is this plugin ( http://code.google.com/p/mvp4g/wiki/APT ) so I'm just wondering if it'll work with Intellij's IDEA.
MatBanik
  • 26,356
  • 39
  • 116
  • 178
3
votes
0 answers

Overloading mvp4g events

I'm using mvp4g to develop an application and I have a quite complex view which displays a widget and a lot of filtering options that can be applied to this widget. As a requirement, all filters are included in the history token. I currently use a…
konradstrack
  • 2,852
  • 2
  • 18
  • 23
2
votes
1 answer

GWT and SSL not working?

I have a GWT app, I'm using the MVP4G framework. I'm able to pull up my app just fine if I use HTTP. However, when I try to open it using HTTPS it does not work. My entire site works fine with the SSL certificate I have. Is there a particular…
scriptgeeky
  • 185
  • 1
  • 2
  • 8
2
votes
1 answer

MVP4G and IE7 compatibility issues?

Is there anyone having issues with GWT, MVP4G and IE7? For some reason i'm having an issue only with that browser where the two presenters (and views) do not get kicked off. Essentially, I have the rootView and presenter with one eventbus. I have…
scriptgeeky
  • 185
  • 1
  • 2
  • 8
1
vote
2 answers

GWT target CheckBox widget within a flow panel

I have a CheckBox widget within a flowpanel, which is also within a flowpanel. Essentially, what I have is the following:
scriptgeeky
  • 185
  • 1
  • 2
  • 8
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 UiBinder Creating custom list widget with custom items widget

I am creating custom widgets, which is containing checkbox, firstname, lastname labels, which I am calling PersonItem.
Suule
  • 2,197
  • 4
  • 16
  • 42
1
vote
1 answer

Loading values from properties file dynamically in GWT

I am working on maven based GWT/MVP4G project. I have one property file and its corresponding interface at client side, both are named as MyConstants.properties and MyConstants.java and both are placed in a client folder. Interface is extended from…
Tushar Deshpande
  • 448
  • 2
  • 9
  • 28
1
vote
1 answer

debugging in MVP4G project

I have created a maven gwt project(2.7.0) and then integrated MVP4G into it. All is working fine but now when I wanted to debug my code to understand the flow, I am not able to debug the code. Maven goal : gwt:debug I am running the above mentioned…
1
vote
0 answers

GWT + mvp4g rewriting URL

In my java web project we use spring + gwt + mvp4g. We have several users on site, each of them is able to see several pages: Profile: mysite.com/#profile?user=blabla Orders: mysite.com/#orders?user=blabla and so on History tokens "user",…
1
vote
0 answers

MultiUploader render issue (GWT + mvp4g)

I am using MultiUploader and sometimes "uploader" button is cropped. It happens only if at the time of page loading uploader button is invisible. When I further make it visible, button becomes visible, but cropped. If page is loading with param=true…
Naturlih
  • 21
  • 3
1
vote
1 answer

Nested View's Presenter not getting initialized and not being able to handle its view's events

I am facing an issue, when I do inject a nested view into my base view's constructor using @inject. I am not able to handle the nested view's events in it own presenter. Because of which I need to handle them in the Base View's presenter. I have 2…
Nitish Borade
  • 367
  • 3
  • 18
1
vote
2 answers

GWT handle back, refresh, close buttons

I'm trying to run some RPC calls when the user closes the window, refreshes it or clicks the back button but just for one single page. I found a post talking about handling but the solution is not working well, missing back button handler (not…
gfelmer
  • 31
  • 1
  • 6
1
2 3