Problem with GWT 2.5.1 + FF 40

2015-10-02 Thread André
Hello GWT users!

We still use GWT 2.5.1 and can't update it quickly.

Firefox v41 was released last week and came with this seemingly minor 
modification 

 
that makes our app unusable. Looks like this isn't compatible with GWT's 
history implementation 

.

Am I on the right track in that this is the root of our problem? Is it 
possible to override the settings in History.gwt.xml 

 in 
our own App.gwt.xml (preferrably in a way that it works across all FF 
versions)?

Thanks a lot in advance!

André

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT DataGrid does not display, CellTable does

2015-10-02 Thread Juan Pablo Gardella
try set height in pixels

On 1 October 2015 at 18:14, Patrick May  wrote:

> My application consists of a SplitLayoutPanel that has a StackLayoutPanel
> with two menu selections on the left and a DeckLayoutPanel on the right.
> The DeckLayoutPanel has two subpanels, one a SimpleLayoutPanel containing a
> Label and one a DockLayoutPanel containing a Label and another
> SimpleLayoutPanel.  The last SimpleLayoutPanel contains a DataGrid.
>
> SplitLayoutPanel (TestUI)
>   |
>   + StackLayoutPanel
>   |   |
>   |   + CellList (Profile)
>   |   |
>   |   + CellList (Admin)
>   |
>   + DeckLayoutPanel
>   |
>   + SimpleLayoutPanel
>   |   |
>   |   + Label
>   |
>   + DockLayoutPanel (BudgetPanel)
>   |
>   + Label
>   |
>   + SimpleLayoutPanel (LedgerPanel)
>   |
>   + DataGrid
>
> All subpanels have their height and width set to 100% by their containing
> panels.
>
> The code is all available here:
> https://github.com/patrickmay/data-grid-issue/tree/master/TestUI
>
> *Expected Behavior*
>
> The expected behavior is that clicking on the "Budget" menu item in the
> StackLayoutPanel will show the BudgetPanel, including the LedgerPanel's
> DataGrid.
>
>
> *Observed Behavior*
>
> When the "Budget" menu item is clicked, the DockLayoutPanel is displayed,
> with its header Label, the DataGrid column headers are displayed, but the
> DataGrid rows do not appear.
>
> When a Label is added to the south area of the DockLayoutPanel, the
> application compiles but nothing is displayed, not even the top level
> StackLayoutPanel.
>
> When the DataGrid is replaced with a CellTable, the data is displayed
> (although the height of each row is much more than necessary to hold the
> data).
>
>
> *Questions*
>
> What needs to be done to get the DataGrid to display as expected?
>
> How can the rows be styled to have a smaller height?
>
> --
> 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 google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with GWT 2.5.1 + FF 40

2015-10-02 Thread André
Thanks for the quick reply Daniel!

As a short term fix I added


  
  


to my App.gwt.xml which seems to fix our problems as it doesn't override 
decodeFragment(). As a long term solution I'll attempt an upgrade to 2.7.0.

Cheers
André

On Friday, October 2, 2015 at 10:23:08 AM UTC+2, Daniel Kurka wrote:
>
> This has been fixed in GWT 2.7.0. We refactored the history implementation 
> to not special case Firefox in this particular way. Just updating to GWT 
> 2.7 will fix this issue for you.
>
> If that is not possible here is the main patch to make history work:
> https://gwt-review.googlesource.com/#/c/5356/
>
>
>
> On Friday, October 2, 2015 at 10:12:10 AM UTC+2, André wrote:
>>
>> Hello GWT users!
>>
>> We still use GWT 2.5.1 and can't update it quickly.
>>
>> Firefox v41 was released last week and came with this seemingly minor 
>> modification 
>> 
>>  
>> that makes our app unusable. Looks like this isn't compatible with GWT's 
>> history implementation 
>> 
>> .
>>
>> Am I on the right track in that this is the root of our problem? Is it 
>> possible to override the settings in History.gwt.xml 
>> 
>>  in 
>> our own App.gwt.xml (preferrably in a way that it works across all FF 
>> versions)?
>>
>> Thanks a lot in advance!
>>
>> André
>>
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: two widgets communication

2015-10-02 Thread Luca Morettoni
On Fri, Oct 2, 2015 at 11:44 AM, naveen gayar  wrote:
> Hi
>
> I have widget on the left side and the widget on the right side. When i
> click the button in the left side, it should change the content in the right
> side widget.

this article could be a good start:

http://www.gwtproject.org/articles/mvp-architecture.html

-- 
Luca Morettoni  | http://www.morettoni.net
http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni
Google+ profile: https://www.google.com/+LucaMorettoni
Member of GDG Perugia: http://perugia.gtugs.org

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with GWT 2.5.1 + FF 40

2015-10-02 Thread Daniel Kurka
This has been fixed in GWT 2.7.0. We refactored the history implementation 
to not special case Firefox in this particular way. Just updating to GWT 
2.7 will fix this issue for you.

If that is not possible here is the main patch to make history work:
https://gwt-review.googlesource.com/#/c/5356/



On Friday, October 2, 2015 at 10:12:10 AM UTC+2, André wrote:
>
> Hello GWT users!
>
> We still use GWT 2.5.1 and can't update it quickly.
>
> Firefox v41 was released last week and came with this seemingly minor 
> modification 
> 
>  
> that makes our app unusable. Looks like this isn't compatible with GWT's 
> history implementation 
> 
> .
>
> Am I on the right track in that this is the root of our problem? Is it 
> possible to override the settings in History.gwt.xml 
> 
>  in 
> our own App.gwt.xml (preferrably in a way that it works across all FF 
> versions)?
>
> Thanks a lot in advance!
>
> André
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Ongoing discussion of Jetty problems in Eclipse with 2.6.1-rc2 (issue #8526)

2015-10-02 Thread Kevin Wilson
Hello I have this problem when I try to start my local host (127.0.0.1) 
Could not find required bundle org.eclipse.jetty.webapp. Would you happen 
to know where I might download and install this missing bundle?

Kevin

On Tuesday, May 6, 2014 at 12:23:42 PM UTC-6, pron...@gmail.com wrote:
>
> This is a place where we can continue the discussion about issue #8526, 
> rather than having a conversation within the bug report.
>
> https://code.google.com/p/google-web-toolkit/issues/detail?id=8526
>
> Summary so far: GWT 2.6.1-rc2 includes changes intended to fix issue 
> #8526.  I've tested the changes, and they appear to work when I start dev 
> mode on the command-line.  All of my Cucumber tests work in this situation, 
> and I haven't seen anything broken when spot-checking by hand.  
>
> However, when I try to start dev mode from Eclipse, using the standard Run 
> As > Web Application provided by the Google Plugin for Eclipse, things are 
> different. I get basically the same error I saw with GWT 2.6.0, prior to 
> the recent fix (stack trace below).
>
> I am working in Eclipse Kepler (build id 20130320-2352) using Google 
> Plugin for Eclipse 3.5.1.v201312301723-rel-r43.  Although I use the Google 
> Plugin for Eclipse, all of my dependencies come from Maven (via Gradle), 
> and I do not rely on any bundled SDK provided by the Eclipse plugin.
>
> I've tried a variety of different workarounds as documented in the bug 
> report.  I've also tried a few other wild guesses not documented there, 
> like starting over in a completely fresh workspace, changing JVMs (both 1.6 
> and 1.7), installing new bundled SDKs , moving the GWT jars to the top and 
> bottom of the Eclipse classpath.  The result is the same no matter what I 
> do.  
>
> KEN
>
> --
>
> Starting Jetty on port 
>[WARN] Failed startup of context 
> c.g.g.d.s.j.WebAppContextWithReload{/,file:/C:/Ken/Workspaces/GWT/SscTestSite/SscTestSite/war/},C:\Ken\Workspaces\GWT\SscTestSite\SscTestSite\war
> java.lang.IllegalArgumentException: Object of class 
> 'com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload' is 
> not of type 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type 
> Class are from different loaders.
> at 
> org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:323)
> at 
> org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:281)
> at 
> org.eclipse.jetty.webapp.JettyWebXmlConfiguration.configure(JettyWebXmlConfiguration.java:103)
> at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:468)
> at 
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1237)
> at 
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
> at 
> com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:541)
> at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at 
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> at 
> org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:162)
> at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at 
> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
> at org.eclipse.jetty.server.Server.doStart(Server.java:282)
> at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
> at 
> com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:740)
> at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:522)
> at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1104)
> at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:844)
> at com.google.gwt.dev.DevMode.main(DevMode.java:322)
>
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


two widgets communication

2015-10-02 Thread naveen gayar
Hi


I have widget on the left side and the widget on the right side. When i 
click the button in the left side, it should change the content in the 
right side widget.

Thanks
navjyothi

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT DataGrid does not display, CellTable does

2015-10-02 Thread Thomas Broyer

On Friday, October 2, 2015 at 1:14:34 AM UTC+2, Patrick May wrote:
>
> My application consists of a SplitLayoutPanel that has a StackLayoutPanel 
> with two menu selections on the left and a DeckLayoutPanel on the right. 
>  The DeckLayoutPanel has two subpanels, one a SimpleLayoutPanel containing 
> a Label and one a DockLayoutPanel containing a Label and another 
> SimpleLayoutPanel.  The last SimpleLayoutPanel contains a DataGrid.
>
> SplitLayoutPanel (TestUI)
>   |
>   + StackLayoutPanel
>   |   |
>   |   + CellList (Profile)
>   |   |
>   |   + CellList (Admin)
>   |
>   + DeckLayoutPanel
>   |
>   + SimpleLayoutPanel
>   |   |
>   |   + Label
>   |
>   + DockLayoutPanel (BudgetPanel)
>   |
>   + Label
>   |
>   + SimpleLayoutPanel (LedgerPanel)
>   |
>   + DataGrid
>
> All subpanels have their height and width set to 100% by their containing 
> panels.
>

Don't do that. ProvidesResize panels do set the size of their children.
 

>
> The code is all available here:  
> https://github.com/patrickmay/data-grid-issue/tree/master/TestUI
>
> *Expected Behavior*
>
> The expected behavior is that clicking on the "Budget" menu item in the 
> StackLayoutPanel will show the BudgetPanel, including the LedgerPanel's 
> DataGrid.
>
>
> *Observed Behavior*
>
> When the "Budget" menu item is clicked, the DockLayoutPanel is displayed, 
> with its header Label, the DataGrid column headers are displayed, but the 
> DataGrid rows do not appear.
>

Possibly related to https://github.com/gwtproject/gwt/issues/4694 (or 
similar bug).
Try calling forceLayout() on the DockLayoutPanel when you switch to it in 
the DeckLayoutPanel.
 

> When a Label is added to the south area of the DockLayoutPanel, the 
> application compiles but nothing is displayed, not even the top level 
> StackLayoutPanel.
>

IIRC, the "center" area must always be added last. Calling addSouth() 
before add() might be enough to fix the problem (it's been a while since I 
last manipulated layout panels)
 

> When the DataGrid is replaced with a CellTable, the data is displayed 
> (although the height of each row is much more than necessary to hold the 
> data).
>

This is (probably) because the widget is given explicit dimensions by the 
SimpleLayoutPanel (through the ProvidesResize/RequiresResize chain up to 
the RootLayoutPanel).

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT DataGrid does not display, CellTable does

2015-10-02 Thread Patrick May
On Friday, October 2, 2015 at 9:48:59 AM UTC-4, Juan Pablo Gardella wrote:
>
> try set height in pixels
>
>
 I'll give it a try, but that's not really a robust approach.  GWT should 
be able to calculate the area it needs.  Setting explicit sizes seems error 
prone and inelegant.

Thanks for the response.

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT DataGrid does not display, CellTable does

2015-10-02 Thread jaga
I'd try placing each widget in its own container and showing hiding the 
containers rather than the tables.  If you use a layoutpanel as a container for 
each container then you can call LayoutPanel.setWidgetVisible().

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT DataGrid does not display, CellTable does

2015-10-02 Thread Patrick May
On Friday, October 2, 2015 at 12:15:05 PM UTC-4, Thomas Broyer wrote:
>
>
> All subpanels have their height and width set to 100% by their containing 
>> panels.
>>
>
> Don't do that. ProvidesResize panels do set the size of their children.
>

Thanks for the pointer.  I removed all of those.
 

> *Observed Behavior*
>>
>> When the "Budget" menu item is clicked, the DockLayoutPanel is displayed, 
>> with its header Label, the DataGrid column headers are displayed, but the 
>> DataGrid rows do not appear.
>>
>
> Possibly related to https://github.com/gwtproject/gwt/issues/4694 (or 
> similar bug).
> Try calling forceLayout() on the DockLayoutPanel when you switch to it in 
> the DeckLayoutPanel.
>

That did it!

Thank you very much,

Patrick

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT DataGrid does not display, CellTable does

2015-10-02 Thread Patrick May
On Friday, October 2, 2015 at 9:48:59 AM UTC-4, Juan Pablo Gardella wrote:
>
> try set height in pixels
>

Okay, I tried that and the data still doesn't appear.  However, I resizing 
the browser window, even with the 100% height, does cause the data to 
appear.  Calling the DataGrid's onResize() method, even in a 
ScheduledCommand from the container's onLoad() method, does not cause the 
data to be displayed.

Where can I report this as a bug?

Thanks again.
 

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.