247
questions
0
votes
2
answers
282
views
How to run a GWTP web application with IntelliJ on local Tomcat server?
Is there a way to run a gwtp project on Intellij Idea and local Tomcat server?
I tried it with run smart Tomcat and GWT configration, but I received an error like this:
Uncaught Error: java.lang....
0
votes
0
answers
538
views
Error injecting <Object>: Unable to create or inherit binding: No @Inject or default constructor found for <Object>
I'm new to gwt and gwtp. I'm trying to make a simple application that could connect and use EasyPost API. And when I try to run my code, it shows this error.
[INFO] --- gwt-maven-plugin:2.9.0:compile ...
0
votes
0
answers
35
views
GWTP single slot getChild always returns null
Using GWTP, I have a page with two single slot elements that get dynamically loaded with widgets. This works fine and the widget displays. When I try to get the contents of the slot using getChild, it ...
0
votes
1
answer
158
views
non-singleton PresenterWidgets/Views in GWTP project
I'm using GWT with the GWTP framework in my projects.
Until now all presenters/views where of type singleton (one dedicated window for each implementation type). Now i have a special (document) window ...
0
votes
1
answer
93
views
Multiple entry points in GWTP
GWTP uses Formfactors to support multiple targets like;
Desktop
Web Mobile
Tablet
Next to multiple targets, i want to support multiple Desktop versions of my project by means of different domains ...
0
votes
1
answer
276
views
How to implement multiple view for single presenter widget
I am using GWT-Platform and I read in PresenterWidget document that it is possible to implement multiple views with single PresenterWidget.
I am not getting idea how should I do that? Can anyone ...
0
votes
1
answer
121
views
GWTP Rest dispatch: replace DefaultRequestBuilderFactory with own implementation
My GWT frontend is on port 8888. REST backend is on 8080. By default cookies not work. Seems that cookies should be passed if I will call RequestBuilder.setIncludeCredentials() for the request.
In ...
5
votes
2
answers
4k
views
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 ...
0
votes
1
answer
382
views
GWT Platform with REST dispatch: get http status code from exception handler
I'm usng GWTP rest dispath with ResourceDelegate and I want to catch all exceptions in client REST requests.
My REST backend return:
401 or 403 status codes if no authorization/forbidden
500 for ...
1
vote
2
answers
309
views
GWTP create new presenter each time
I have:
Simple Nested presenter (ChannelPresenter) which has table(grid) with records in it. I need to create new ChannelEditorPresenter instance in each ChannelPresenter.displayEditor() call.
Popup ...
0
votes
1
answer
126
views
Pass parameters between two presenter widgets efficiently with GWT-Platform
I have one presenter called as ParentPresenter and two presenterWidgets, ChildPresenter1 and ChildPresenter2.
ParentPresenter contains both ChildPresenter1, ChildPresenter2. ChildPresenter1 has more ...
0
votes
2
answers
167
views
How to add Nested presenter to slot, that will change browser url to presenter's name token when revealing?
How to add Nested presenter to slot, that will change browser url to presenter's name token when revealing?
I use GWT 2.7 and GWTP 1.5.
Please help.
0
votes
1
answer
86
views
NestedSlot presenter with own url- how to setup url for NestedSlot presenters
I have parent presenter: UsersListPresenter that contains nested presenter: UserPresenter in NestedSlot.
public class UsersListPresenter extends ApplicationPresenter<UsersListPresenter.MyView, ...
0
votes
1
answer
2k
views
GWT, how to fire event from widget or composite using EventBus from HandlerManager
I have widget. I would like to fire an event as follow:
fireEvent(new IndicatorStartEvent("Message"));
But it dosn't work.
Normally I use Presenter for this (GWTP), but now I just would like to ...
1
vote
2
answers
316
views
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 ...
0
votes
1
answer
101
views
GWT-RPC: cannot use javax.security.auth.Subject on server-side
I'm trying to implement an RPC-authorization service for my GWT/GWTP app, but I've got some problems. Intellij IDEA treats this using of Subject class on the server-side like an error:
Class '...
2
votes
0
answers
129
views
Why "onReset()" method called twice?
So I have following presenter and it shows "reset" twice, I need to fix that problem...There is no call of onReset() in my presenter, by the way onReset is protected excluding probability of calling ...
3
votes
4
answers
465
views
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 ...
5
votes
1
answer
295
views
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. ...
2
votes
1
answer
536
views
GWTP get access from child presenter/view to parent presenter/view
I have 2 presenters/view. Lets call them parent and child. parent presenter is a container (using slot mechanism) for the child presenter.
In the child presenter's view user clicked button and I would ...
0
votes
1
answer
308
views
GWTP how to pass data from presenter to view
I have view with table. I would like to pass data to that table. Data is got from server using rest.
What is the best and clean way to pass data?
I've would do this using constructor? But view is ...
0
votes
2
answers
478
views
GWTP ViewWithUiHandlers: uiHandlers are not set. Did you call getUiHandlers() from your view's constructor? in PresenterWidget
I have problem that I do not understand. I think I've done what I supposed to do, but it dosnt work.
I cannot executed presenter methods from view using ui handlers. Error says that I did not set ui ...
0
votes
1
answer
246
views
GWTP how to pass PlaceManager object to view?
I have view, that communicates with server to upload and download file.
I've added EventHandler for Unauthorized response from server to my view.
Now I would like to redirect user to login page:
...
1
vote
1
answer
224
views
GWTP - Clear Presenter Data
What is the recommended way to clear presenter data? I would like to clear my UI on login.
As an example of the current problem, I have a NestedPresenter which is used to collect form data. ...
0
votes
1
answer
826
views
Assisted injection error while trying to create presenter
I already used Gin assisted injection a few times but I'm new to gwtp and I'm facing an error message I don't understand while trying to instantiate a PresenterWidget using my factory, even after ...
2
votes
0
answers
358
views
RestyGWT. How to download file from rest service?
I would like You to ask what is the best way to download the file from server (Rest Spring Service) to the GWT Client?
As far I know I can use 2 options:
Window.open (have tested)
iframe (haven't ...
0
votes
1
answer
29
views
center of the DocLayoutPanel is not rendering properly when embebed inside SimplePanel/SimpleLayoutPanel/ResizeLayoutPanel.
Child view has DocLayoutPanel and Want to embed it into SimplePanel. center position is ScrollView and it is not displayed properly.
position in Parent View
<ui:SimplePanel ui:field="...
0
votes
1
answer
130
views
GWTP Bootstraper doesn't work
I've followed instruction from here. But unfortunately it doesn't work at all.
According to documentation I should:
Implement Bootstrapper interface.
Write implementation of method void onBootstrap()...
0
votes
1
answer
721
views
GWTP displays default place on application start even if url say to go to other place
I wonder how to change gwtp behaviour.
When I start gwt app (enter app url in browser) it always displays for me default place. But when I enter url as follow: localhost/app#settings gwtp should open ...
0
votes
1
answer
174
views
GWTP - Identify when Presenter is removed from Slot
I want to add a confirmation popup when a user navigates away from one of my presenters and is replaced in a NestedSlot. Can I intervene before a place is revealed and check the current presenter?
...
1
vote
2
answers
107
views
GWTP how to execute code on application initialization/start
I would like to execute asynchronous call to the server when the application starts (have been loaded in users browser).
To communicate with server I use RestyGWT.
On application start I wanna call ...
1
vote
1
answer
1k
views
GWTP. How to get access from one presenter to another- they are not connected by slots mechanism
I have one presenter for login screen purpose. And I have AppPresenter for the whole application. Each view (except login) is displayed inside AppView slots.
In AppView I have logout button, which ...
0
votes
1
answer
210
views
Other way to achive GWTP placeManager than Constructor's @Inject annotation
I use GWTP and restyGWT. I would like to use placeManager in restyGWT DispatcherCallback, when my rest server will answer with 401 unauthorised I would like to redirect application to login page, that ...
0
votes
1
answer
314
views
Gwt-platform with UiBinder and UiEditors Framework (GWT Editors)
I struggle with Editor framework of gwt. Mostly because the documentation is lame- no hurt feelings- just saying.
Now I have problem that I cannot execute button event on editor. This is my error:
...
1
vote
1
answer
115
views
GWTP typesafe with @UiHandler for ui elements
Before GWTP, I used aproach like this:
Button button = new Button();
button.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
...
0
votes
1
answer
73
views
Using ProviderBundle from gwtplatform to bundle together non-presenter classes
For presenters, we can use @ProxyCodeSplitBundle to bundle the presenters in a ProviderBundle implementation.
How can we bundle the non-presenter classes together in a ProviderBundle?
0
votes
3
answers
723
views
GWTP and abstract presenter classes
In my design I want to have a view/presenter pair where the presenter is an abstract class that gets extended. For example, my design consists of a bunch of questions that get asked one at a time. I ...
0
votes
1
answer
318
views
GWTP not displaying UI
I'm trying to use GWTP in my GWT 2.7 application but the UI in my uibinder is not displaying. My app compiles and runs in Super dev mode without any errors, but I get a blank screen. I expected the ...
0
votes
1
answer
158
views
How to handle the reveal action after hits the cancel button in popup
When I click a add link it opens a popup and I cancel the popup then it goes to the previous place.
private class CancelHandler implements ClickHandler {
@Override
public void onClick(...
0
votes
0
answers
111
views
gwtp overrides relative url
I've started new project with gwt 2.7 and gwtp 1.4
I have some relative path for my application:
"127.0.0.1:8080/studyext"
I have two places defined:
public static final String home = "Home";
...
1
vote
1
answer
110
views
NoSuchMethodFound error: dependency error in GWTP. ResourceDelegate usage
I'm working in a GWTP + GAE project based on the CarStore example delviered by ArcBees. Maven dependencies are taken from that project too. My current version of GWTP is 1.5-SNAPSHOT.
The project ...
1
vote
1
answer
167
views
Is there any way to know that from where PlaceRequest is called in GWT?
In my presenter I have prepareFromRequest() method where I want to know that from which place request has come to this method.
As revealPlace() gets called from many places with my current name token,...
1
vote
1
answer
980
views
GWTP Invalid attempt to reveal errorplace, but then works normally
I have a couple of places set up, and they work correctly, except with a delay caused by this issue. They're using nested presenters.
For one place, it appears that any repeat attempt to load it ...
1
vote
1
answer
939
views
GWTP - An error occured for ClassEnhancer "ASM" when trying to call the method "org.datanucleus.enhancer.asm.ASMClassEnhancer"
I am trying to setup GWTP in eclipse and create a simplest possible POC.
I have installed Google plugin with GWT 2.6, Appengine 1.9.18 and GWTP plugin 0.6.1.
I am using Windows 7, and Eclipse luna 4....
1
vote
2
answers
493
views
Optional module installation
With GWTP/Gin, is it possible to optionally install a module during compile? We have a case where we would like to have a presenter and view only available in the application when running in "...
1
vote
1
answer
553
views
My fired GWT event is not handled by the parent presenter
I have a child presenter (added to the parent in a slot) that fires an event through the eventBus (on a condition) when onBind() is called :
class ChildPresenter extends PresenterWidget<?> {
...
0
votes
1
answer
610
views
Access remote service using GWTP Rest Dispatch
I want to separate packages for UI and backend development of my GWTP app.
Currently my UI access the backend using Rest dispatch configured like this:
bindConstant().annotatedWith(...
0
votes
1
answer
943
views
Error injecting com.gwtplatform.dispatch.rest.client.ActionMetadataProvider
I have the following problem:
12:45:47.505 [ERROR] [cGui] Error injecting com.gwtplatform.dispatch.rest.client.ActionMetadataProvider: Unable to create or inherit binding: No @Inject or default ...
0
votes
0
answers
192
views
Issue while executing buildscript for generating war for GWTP project
I am getting an error while trying to run a build for generating a war file for my gwtp application. The error is as follows:
> gwtc:
[java] Loading inherited module 'com.google.gwt.user....
1
vote
1
answer
721
views
How to create a Dynamic table in GWTP
I am a new GWTP user and I am not sure how to create a table in GWTP. I know how to make one in GWT.
// Create a CellTable.
CellTable<Contact> table = new CellTable<Contact>();
// Create ...