Questions tagged [gwt-places]

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

49 questions
2
votes
2 answers

GWT Places/Activities - what should be used for navigation?

I have a GWT Places/Activities web application. I use Anchor's click event to move user in a new "place", so there's no way user can open any "link" in a new window or tab. The question is - how do I make all these links real?
Andrey Agibalov
  • 7,624
  • 8
  • 66
  • 111
2
votes
1 answer

Redirecting from servlet to GWT place?

There's a GWT application that uses GWT Places/Activities facility. There's also a servlet (currently, not related with GWT by all means) that I need to be able to redirect users to GWT app. Is there a way I can build a Place description in my…
Andrey Agibalov
  • 7,624
  • 8
  • 66
  • 111
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

GWT using Activities and Places when screen layout changes per place

My understanding of GWT's Activities and Places is that for a given region on a screen you have an ActivityManager and an ActivityMapper. You can have multiple regions on the screen which means you can have multiple ActivityManagers and…
tleef
  • 3,516
  • 1
  • 24
  • 34
2
votes
1 answer

How to use in-page HTML anchors with hashbang URLs (in GWT)?

I have a little problem with implementing in-page HTML anchors while also having bookmarkable URLs via hashbang. The description is easy: I visit some URL of my application: http://www.mypage.com/Test.html#!mycontent On this page there is a lot of…
Benjamin M
  • 23,599
  • 32
  • 121
  • 201
1
vote
1 answer

VIA the GWT places API how do you change the URL/PLACE/Place-Token without reloading the page?

We have a giant table of orders in a GWT page. As users click on an order the bottom half of the page loads the details for that order. When OnSelect of an entry in the table I could fire a place change event and change the place token from…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
1
vote
1 answer

GWT and Third Party Cross Domain JavaScript

I currently have a GWT project utilizes the Activities and Places model provided by Google. We are integrating with a third party cross domain JavaScript solution that renders an external domain's JSP in an iframe and utilizes window.location…
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
2 answers

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 server to check is user logged in (is his…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
1
vote
1 answer

How to handle invalid GWT token in places

In Contacts project, if a user entered an invalid token for contact editing, how to should handle it, for example, instead of #contactId:12 , entered #contactId:abc. Or in another app, maybe for security reason (such as authorization), the user does…
Askar
  • 544
  • 1
  • 6
  • 17
1
vote
1 answer

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 table = new CellTable(); // Create name column. TextColumn nameColumn = new…
Trisha
  • 63
  • 7
1
vote
0 answers

latest SmartGWT 4.1 to solve IE 11 issues

I am using smartgwt 3.0 to create my project. However, with this smartgwt version, I'm facing UI issues in IE11. After investigation, I found that it was due to the outdated version of smartgwt. I tried to use smartGWT 4.1 in pom.xml instead of…
1
vote
1 answer

GWT: A way to cancel PlaceChangeEvent?

I'm using Activity/Place in my GWT project, if current user is not logged in, when he navigates to some Place, the user will be redirect to login page, if the user has logged in, then he will be taken to that Place. How to implement this logic…
Mike
  • 3,515
  • 10
  • 44
  • 67
1
vote
2 answers

GWT Places/Activities versus GWTP PlaceManager

I am new to GWT and I am a bit confused if I should use GWTP PlaceManager or GWT Places/Activities. I read into GWTP and the PlaceManager and it seems pretty easy and works with less code than Activities, Places and the Mapper which seems really…
nsrlady
  • 105
  • 1
  • 6