Questions tagged [gwt-activities]

GWT 2.1 introduced a built-in framework for browser history management. The Activities and Places framework allows you to create bookmarkable URLs within your application, thus allowing the browser's back button and bookmarks to work as users expect.

GWT 2.1 introduced a built-in framework for browser history management. The Activities and Places framework allows you to create bookmarkable URLs within your application, thus allowing the browser's back button and bookmarks to work as users expect.

51 questions
1
vote
1 answer

GWT - Dialog Box with Places/Activities

I have a header bar at the top of the page which contains buttons and anchors. One of the anchors on the header bar opens a dialog doing the following: The view calls the activity which does a goTo to a new place, in the start method of the activity…
1
vote
1 answer

Using GWT Places and Activities or not in very large project

Imagine a very big gwt project of application. This is just a some form of scientific environment on the web. So for each user it stores the state of app and there is nothing related to browser history or bookmarks. History is something that can't…
Niko
  • 71
  • 5
0
votes
3 answers

GWT MVP - How to architect the application

I am trying to get the following UI. I am looking at using gwt mvp(activities and places). I am following the simple example provided with documentation. So far i have achieved a basic tab panel using GWT MVP(activities and places). The url changes…
blue01
  • 2,035
  • 2
  • 23
  • 38
0
votes
1 answer

What is best testing strategy and tool for a GWT project

I am developing with GWT since a few months. I have difficulties with testing. I am using MVP pattern and activities and places. I test the classes without any GWT specific code with Junit. But the client classes with lots of GWT dependencies are…
Kayser
  • 6,544
  • 19
  • 53
  • 86
0
votes
1 answer

GWT persistent URLs

I have a web-app built with GWT, Request Factory and Places/Activities. I'm curious whether history tokens I use are persistent or not. The task is basically just about having URLs that define exact places of my web-app (read as - "files/folders…
Andrey Agibalov
  • 7,624
  • 8
  • 66
  • 111
0
votes
5 answers

How to show previous url after user has canceled dialog with message from Activity#mayStop()?

In our app we need to check if the data is saved when we are in a particular place before navigating away from it. So the user should be able to negate a browser back button request. But by the time that the history value change event is received…
Bill Lyons
  • 19
  • 2
0
votes
2 answers

Send data between activities with custom variable

How can I send data, using a custom variable type I created, between activities? I have checked and the "putExtra/putExtras" option does not allow me to send my custom made variable, it only allows string/boolean/int/....
0
votes
2 answers

GWT tokenizer: How to change URL

I am using Activities and Places. I have a LoginPlace. The url displayed when I navigate to that place has this at the end: #LoginPlace:login How can I change this to just #login or something else? My tokenizer looks like this: public class…
user3629892
  • 2,960
  • 9
  • 33
  • 64
0
votes
2 answers

GWT Activities: Widget added to view again when using browser back button

The way I understand it, if I want to add widgets dynamically to a view created with UIBinder, I would do that in the start method of the activity that is the presenter for that view. Here's my code: @Override public void start(AcceptsOneWidget…
user3629892
  • 2,960
  • 9
  • 33
  • 64
0
votes
0 answers

Activities unexpectedly killed

I have 3 activities A, B, C. A activity has a fragment that holds a big amount of data. So does B. My problem is I go from A to B, and from B to C. And when i want to return from B to A with setResult() method. A activity starts from the beginning,…
Farruh Habibullaev
  • 2,342
  • 1
  • 26
  • 33
0
votes
1 answer

ActivityMapper, dealing with regions which don't change a lot

I'm new with GWT and recently I've added Actvivities, Places and ActivityMappers to my code. I have one ActivityManager-ActivityMapper per each region. Regions like the header or the menu dont't change a lot so I have to write a lot of boilerplate…
Nono St
  • 25
  • 7
0
votes
1 answer

Google layer appears wrong with gwt-openlayers

I use Gwt 2.6.1 (with Activities and Places framework) and gwt-openlayers 1.0 The problem comes when i use a google layer (Google or GoogleV3 instance) as base layer. The map appears but i can't zoom or drag and the openlayers controls are missing…
0
votes
2 answers

Understanding GWT onModuleLoad

Behold, my first GWT app's EntryPoint impl: public class MyModule implements EntryPoint { private SimplePanel mainPanel = new SimplePanel(); @Override public void onModuleLoad() { // Extract all root-level dependencies from the…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
3 answers

Understanding GWT AbstractActivity's start method

I'm trying to learn both GWT-recommended MVP and their Activities & Places API (yes, I know they are two different things, but they seem play nicely into each other). In a lot of code examples of Activities/Places, I keep seeing the following…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
1 answer

How to generate a navigable URL for a particular slotted place?

How do I generate the URL to navigate to a particular place in slotted? I know that to navigate the current user to a particular place, it would just be (assuming slottedController is defined and pointing to a valid SlottedController…
Jeff Evans
  • 1,257
  • 1
  • 15
  • 31