Re: Thanks to GWT developers/maintainers

2016-01-05 Thread Terry Birch
Another thanks here to all of the GWT developers and contributors. On Monday, January 4, 2016 at 3:21:36 AM UTC-5, salk31 wrote: > > I do my fair share of whinging but many, many thanks to the people that > develop and maintain GWT. > > I'm not sure I could face using another framework and

Re: MVP and Polymer elements

2016-01-05 Thread vadim
Thomas, you were absolutely right -- I missed that reference at my .html file. I got MVP working with Polymer on simpler example - hellomvp. With mobilewebapp I have errors now, but I think they are connected to GIN. -- You received this message because you are subscribed to the Google Groups

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread Thomas Broyer
On Monday, January 4, 2016 at 8:31:56 PM UTC+1, confile wrote: > > I want to insert GWT Widgets like FlowPanel, HTMLPanel inside and iframe > using GWT. > TL;DR: you can't. > I find out how to insert GWT Widgets and Panels programmatically into GWT. > Here is how I do it: > > > public

Re: MVP and Polymer elements

2016-01-05 Thread Thomas Broyer
Maybe you also need to load the webcomponents.js polyfill? https://github.com/vaadin/gwt-polymer-elements/tree/1.2.1.0#add-the-web-components-polyfill On Tuesday, January 5, 2016 at 8:03:42 AM UTC+1, va...@ant.ee wrote: > > Hello all, > >It seems that MVP framework is not compatible

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread Grzegorz Nowak
According to this 'ensureInjected' uses StyleInjector.injectStylesheet(String) to inject the text of the style into head of $doc. You would have to manually inject it (Use

Re: Is it possible to disable assertions in GWT development mode?

2016-01-05 Thread Daniel Kurth
I also would like to disable assertions while debugging GWT. I agree that in general assertions are a good thing and it seems obvious you'd always want them, but sometimes there are assertions in dev mode for code that that runs fine in production, Though they don't affect production I

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread confile
Do you have an example for a custom linker? Am Dienstag, 5. Januar 2016 18:40:28 UTC+1 schrieb Thomas Broyer: > > Ideally, probably use a custom linker that makes it so that $wnd and $doc > point to an iframe created during "bootstrap" of the app. > Or as I said before, don't use widgets. --

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread Thomas Broyer
Ideally, probably use a custom linker that makes it so that $wnd and $doc point to an iframe created during "bootstrap" of the app. Or as I said before, don't use widgets. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from

[gwt-contrib] Re: CSS Resources are not set in Panels in an iframe

2016-01-05 Thread confile
Hi Thomas, the reason why I want to use an iframe is the following. I want to create a JavaScript widget which is integrated into another third party page. Have a look at this: https://www.livechatinc.com/ They have a chat widget which has the following structure: // widget content

Re: [gwt-contrib] Re: 2.8.0-beta1 SDM not always detecting changes properly

2016-01-05 Thread stuckagain
I tried to use it... the effect is even worse: changes are never seen. I must be missing something obvious ? On Monday, January 4, 2016 at 3:15:25 PM UTC+1, Jens wrote: > > > Not sure if that property still exists in GWT 2.8 beta as we use some GWT >> snapshot build thats in between 2.7 and

Re: Activities and Places - Enabling History to reflect an updated data item

2016-01-05 Thread Juan Pablo Gardella
I think you need to program it in the start() method in the activity. On 5 January 2016 at 12:44, Paul Mazzuca wrote: > Let's say I have a view with a list of items. When I click on an item I go > to a new Place and view with details about that item. In this details >

Activities and Places - Enabling History to reflect an updated data item

2016-01-05 Thread Paul Mazzuca
Let's say I have a view with a list of items. When I click on an item I go to a new Place and view with details about that item. In this details view, I do some update to the item, then want to return back to the list view, but only using the back button on the browser. If the user clicks

Re: Using MVP with GWT2.7

2016-01-05 Thread Frank Hossfeld
You can try mvp4g. (http://mvp4g.github.io/mvp4g/) Using mvp4g, the events are defined in a interface. Am Dienstag, 5. Januar 2016 22:47:12 UTC+1 schrieb Richa Kulkarni: > > Is it mandatory to have a separate Handler and Event class for every event > while trying t use the event bus? Can i

Re: Using MVP with GWT2.7

2016-01-05 Thread Richa
Thanks Troncoso. I get what you say, and agree that its not a very good approach. But my concern is, For a huge application having around 200 events . Will I have to write 200 Event handlers, 200 Event Classes and Event types ? On Tue, Jan 5, 2016 at 4:55 PM, N Troncoso

Re: GWT maven plugin can't find shared sources (take 2)

2016-01-05 Thread N Troncoso
Well... upon using the debug flag, I found that I needed to add gwt-lib to the dependency.. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Using MVP with GWT2.7

2016-01-05 Thread Juan Pablo Gardella
It's old, but check the comments at http://wanderingcanadian.ca/2010/11/05/hello-mvp-with-gin/ On 5 January 2016 at 16:15, Richa wrote: > Thanks Troncoso. > I get what you say, and agree that its not a very good approach. > But my concern is, For a huge application

Re: Using MVP with GWT2.7

2016-01-05 Thread Collins, Pablo
Hi Richa, Have you looked at EventBinder? https://github.com/google/gwteventbinder Pablo On Jan 5, 2016, at 5:15 PM, Richa > wrote: Thanks Troncoso. I get what you say, and agree that its not a very good approach. But my concern is,

GWT Maven plugin can't find shared source

2016-01-05 Thread N Troncoso
I migrated a maven-gwt-plugin project to "Maven Plugin for GWT" (https://tbroyer.github.io/gwt-maven-plugin/). To do this, I generated a new project with the archetype provided. Upon simply running that application, it worked fine. Then I copied client files to the client, server to server,

Re: Layout principles for UIBinder with Polymer elements

2016-01-05 Thread N Troncoso
The DockLayoutPanel is designed to take up the whole screen. You only have to define the size of the north/south/east/west panels (or don't give them a size for them to not appear). The center takes up the rest of the available space. As for Polymer, look at the catalog for the elements you

Re: Using MVP with GWT2.7

2016-01-05 Thread N Troncoso
You could technically do that, but you'd need some way to differentiate between events; Maybe with an enum: public class MyEvent extends GwtEvent { public static enum EventTypes { THIS_EVENT, THAT_EVENT; }; public interface Handler extends EventHandler {

Re: GWT maven plugin can't find shared sources (take 2)

2016-01-05 Thread N Troncoso
After looking more carefully, I'm only getting this for 1 class: [ERROR] Line 65: No source code is available for type com. path.to.shared.i18n.PhxMessages; did you forget to inherit a required module ? I get that a whole bunch of times (cause it's referenced many times). Then after that, I

GWT maven plugin can't find shared sources (take 2)

2016-01-05 Thread N Troncoso
Sorry. I really needed to edit this post, but it doesn't seem that I can. So I had to delete it and remake it. Anyway... I migrated a maven-gwt-plugin project to "Maven Plugin for GWT" ( https://tbroyer.github.io/gwt-maven-plugin/). To do this, I generated a new project with the archetype

Re: GWT Maven plugin can't find shared source

2016-01-05 Thread N Troncoso
I can't edit my post, but my module.gwt.xml should be: -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Using MVP with GWT2.7

2016-01-05 Thread Richa Kulkarni
Is it mandatory to have a separate Handler and Event class for every event while trying t use the event bus? Can i not use a single class for all the events? How can I do this? Any sample code will be greatly appreciated. TIA. -- You received this message because you are subscribed to the

Re: Activities and Places - Enabling History to reflect an updated data item

2016-01-05 Thread N Troncoso
Juan is correct. If you populate the list in the start() method of the activity, that will be called everytime the place corresponding to that activity is loaded, so you can refresh it then. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

Re: Using MVP with GWT2.7

2016-01-05 Thread Jens
> > I get what you say, and agree that its not a very good approach. > But my concern is, For a huge application having around 200 events . Will > I have to write 200 Event handlers, 200 Event Classes and Event types ? > There is https://github.com/google/gwteventbinder which avoids defining