Questions tagged [gwtp]

GWTP, or gwt-platform, is a framework to facilitate the development of large applications for the Google Web Toolkit (GWT).

GWTP, or gwt-platform, is a framework to facilitate the development of large applications for the Google Web Toolkit (GWT). It facilitates the use of a Model-View-Presenter (MVP) architecture and it offers a command pattern supporting undo and redo.

The framework is hosted at: https://github.com/ArcBees/GWTP

348 questions
7
votes
3 answers

GWTP No Default Constructor For Interface

Can anyone help me solve a problem please? I'm upgrading from GWT 2.5.1 to 2.6.1 and am getting the following error when trying to run the codeserver of my project... [INFO] Compiling module [INFO] Validating units: [INFO] …
Peter L
  • 2,921
  • 1
  • 29
  • 31
6
votes
4 answers

clientBundleFieldNameUnlikelyToCollideWithUserSpecifiedFieldOkay_33_g$(...).style_86_g$ is not a function

Well, all of a sudden everything seems to be broken. I can't recall what I changed. I cleaned the whole project, I checked out an older version of it, I removed all code-server compiled files, restarted Eclipse etc. but I am getting the following…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
6
votes
2 answers

How to addStyleNames "Multiple css classes" into 1 element in UiBinder in GWT?

I have the need to apply many separated CSS classes into 1 element in UiBinder in GWT, but don't know how to do it. In my TestView.ui.xml, i have
Tum
  • 3,614
  • 5
  • 38
  • 63
5
votes
2 answers

GWT - Error constructing Java AST

What could possibly be causing this error during compilation? I have generated project from this archetype https://github.com/ArcBees/Arcbees-Archetypes and I have changed only thing - update GWT to 2.8.0 and GWTP to 1.5.3. [INFO] [ERROR] An…
leiblix
  • 626
  • 1
  • 8
  • 21
5
votes
1 answer

How to inject Session/User object after bootstrapping?

There are examples where different kinds of objects are getting injected into a presenter, but I can't find an explanation how this can be done. In the Bootstrap-Code example they are injecting e.g. a SecurityDelegate object. Also in the Gatekeeper…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
5
votes
2 answers

How to make FlowPanel flow its children vertically like VerticalPanel?

Google suggets use FlowPanel in replace of VerticalPanel since VerticalPanel does not work well in Standards Mode (http://www.gwtproject.org/doc/latest/DevGuideUiPanels.html). myflowPanel.getElement().getStyle().setFloat(Float.NONE); doesn't…
Tum
  • 3,614
  • 5
  • 38
  • 63
4
votes
3 answers

GWT-Platform login + session management

I am new to gwt and I am creating a login page using gwt and I need help with session managment. All answers already given here, explains how to manage sessions on server side, I need to use session on client side (browser's session) exactly like…
Igor Govorov
  • 43
  • 1
  • 4
4
votes
2 answers

GWTP Presenter prepareFromRequest - load data into form retrieved from event

I have been trying GWTP for the past couple of weeks and building a small project with it. Here's the question : I have a grid widget (attached screenshot) which shows a list of data. On selection of a checkbox of a row and clicking on Edit…
Arun Manivannan
  • 4,213
  • 3
  • 29
  • 38
3
votes
4 answers

Why am I not able to update my navigation bar (PermanentSlot)?

Short summary: I try to update a navigation bar after a place change event. To do so I created a GWTP Test*.java that I try to render in a SLOT_NavBar. However, this is not working. In order to see if I did something wrong I just made itself render…
3
votes
1 answer

How to display form validation constraints message on GWT Material inputs using Editor and Validation Framework from Presenter's class?

I use: Gwt-platform Gwt Validation Gwt UiEditor framework Gwt Material inputs After constraints validation I would like to display error messages. This is supported by gwt material inputs, like MaterialTextBox using method:…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
3
votes
0 answers

GWTP & Inject error

I recive an error when try to call service private void startSendPacket() { Timer timer = new Timer() { @Override public void run() { packetService.sendPacketMSGToServer(str, new…
LeshaRB
  • 1,345
  • 2
  • 23
  • 44
3
votes
1 answer

In GWTP, what are the difference of onBind, prepareFromRequest, revealInParent, onReveal, onReset in Context of Present-ChildPresenter? Very Confused

I am using GWTP, I am also using NestedPresenter in a form of parentPresenter (Ex: HeaderPage) and childPresenter (ContentPage). I also want to send info from parentPresenter to childPresenter (Ex: when user Loginned in HeaderPresenter then the info…
Tum
  • 3,614
  • 5
  • 38
  • 63
3
votes
1 answer

When should I use Code Splitting?, Are split fragments loaded once?

There's no Code Splitting option When I create PresenterWidget in Eclipse, so I assume that my PresenterWidget or DialogBox (that is initiated in HeaderPresenter) will be downloaded at the time the HeaderPresenter is called. Let see this code in…
Tum
  • 3,614
  • 5
  • 38
  • 63
3
votes
1 answer

GWTP NullPointerException with GWT RemoteServiceServlet

I am getting an NPE when I deploy to Tomcat (this doesn't happen every time, only sometimes when I re-deploy). The error is a NullPointerException when the RemoteServiceServlet tries to loadSerializationPolicy(..). I noticed that the issue was with…
Ben Dol
  • 427
  • 6
  • 18
3
votes
2 answers

Intermitant serialization exception with GWT Dev mode and external server

I have a GWT app which runs pretty much flawlessly in Dev mode with GWT's embedded jetty server. However, I need to move over to using an external jetty server (For various reasons). I followed the GWT documentation Compile & Debug for external…
Casey Jordan
  • 1,204
  • 1
  • 20
  • 39
1
2 3
23 24