Unresponsive tabs in Chrome and Safari after upgrading to GWT 2.8

2017-01-31 Thread Bradley
We recently attempted to upgrade to GWT 2.8, but ran into an issue where a 
small number of users report browser tabs hanging (eventually putting up 
kill/wait popups) in Chrome 55.0.2883.95 and Safari 10.0.2. Seems to 
primarily affect Mac users. Going back to GWT 2.7 made the issue go away. 
We haven't been able to reproduce the issue ourselves, so it doesn't seem 
to be a general issue. Has anybody experienced anything similar after 
upgrading?

-- 
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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


[no subject]

2012-06-25 Thread Adam Bradley


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Abridged summary of google-web-toolkit@googlegroups.com - 8 Messages in 4 Topics

2012-06-25 Thread Adam Bradley


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Abridged summary of google-web-toolkit@googlegroups.com - 38 Messages in 16 Topics

2012-06-22 Thread Adam Bradley


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Abridged summary of google-web-toolkit@googlegroups.com - 43 Messages in 20 Topics

2011-12-27 Thread Bradley Woods
On Tue, Dec 27, 2011 at 8:42 AM, wrote:

>   Today's Topic Summary
>
> Group: http://groups.google.com/group/google-web-toolkit/topics
>
>- Creating image from base64 <#1347fc2255674bc4_group_thread_0> [2
>Updates]
>- Why GWT HTTP client can't receive HTTP 
> response<#1347fc2255674bc4_group_thread_1>[5 Updates]
>- TabLayoutPanel SelectionHandler invoked multiple 
> times<#1347fc2255674bc4_group_thread_2>[1 Update]
>- Initializing Hibernate <#1347fc2255674bc4_group_thread_3> [1 Update]
>- Develop Web application <#1347fc2255674bc4_group_thread_4> [11
>Updates]
>- widget's parent does not implement 
> HasWidgets<#1347fc2255674bc4_group_thread_5>[2 Updates]
>- Reporting in GWT <#1347fc2255674bc4_group_thread_6> [2 Updates]
>- Session management in GWT <#1347fc2255674bc4_group_thread_7> [1
>Update]
>- GWT Plugin does not work in Chrome 16.0.912.63 m on Windows 2008
>64bit <#1347fc2255674bc4_group_thread_8> [1 Update]
>- RequestFactory Imposible To use <#1347fc2255674bc4_group_thread_9>[1 
> Update]
>- checking out the gwt code into eclipse create a chicken & egg
>problem.. <#1347fc2255674bc4_group_thread_10> [2 Updates]
>- GWT and Hibernate <#1347fc2255674bc4_group_thread_11> [1 Update]
>- Documentation of GWT <#1347fc2255674bc4_group_thread_12> [2 Updates]
>- I made Selenium + GWT setup 
> instructions<#1347fc2255674bc4_group_thread_13>[4 Updates]
>- Java for back end coding <#1347fc2255674bc4_group_thread_14> [2
>Updates]
>- CellTable CheckboxCell setTitle() <#1347fc2255674bc4_group_thread_15>[1 
> Update]
>- Cell Table Header Sorting Symbol 
> Overlap<#1347fc2255674bc4_group_thread_16>[1 Update]
>- 500 The call failed on the server <#1347fc2255674bc4_group_thread_17>[1 
> Update]
>- Small library for handling GWT's history. Connected with Places and
>Activities <#1347fc2255674bc4_group_thread_18> [1 Update]
>- GWT-RCharts Released (An interactive client side Charting Library
>with 3D CHARTS) <#1347fc2255674bc4_group_thread_19> [1 Update]
>
>   Creating image from 
> base64
>
>Mark  Dec 26 06:01PM -0800
>
>The OP didn't say anything about a specific browser; this is the only
>solution I know of for client-side handling of base64 data using GWT.
>I would suggest that you make an HTML element containing ...more
>
>
>Jens  Dec 27 05:41AM -0800
>
>If you want to support larger images (larger than 32kb) and/or IE6/IE7
>you
>have to use your current approach:
>
>class MyImage implements Serializable {
>String imageUrl; //which will point to ...more
>
>   Why GWT HTTP client can't receive HTTP 
> response
>
>"Justin@GWT"  Dec 26 05:57PM -0800
>
>I follow the example code provided by Google GWT to send a HTTP GET
>request and receive the response. The GET request was sent out
>successfully, but can't receive response message. Actually the ...more
>
>
>Alfredo Quiroga-Villamil  Dec 26 11:11PM -0500
>
>See:
>
>http://code.google.com/webtoolkit/doc/1.6/FAQ_Server.html
>
>Look for SOP.
>
>Regards,
>
>Alfredo
>
>
>--
>Alfredo Quiroga-Villamil
>
>AOL/Yahoo/Gmail/MSN IM: lawwton
>...more
>
>
>"Justin@GWT"  Dec 26 09:24PM -0800
>
>Thanks.
>Is there any workaround about the SOP? I would like to fetch some XML
>data,
>but not JSON data.
>I tried to enable the cross-site host mode, but I was told "cross-site
>hosted mode not yet ...more
>
>
>Alfredo Quiroga-Villamil  Dec 27 07:17AM -0500
>
>Unf. not a whole lot. Easiest might be to:
>
>UI - Your server - XML API
>
>Between the UI and your server you can use a variety of protocols. From
>your server, then consume the API you need and ...more
>
>
>Jens  Dec 27 05:20AM -0800
>
>1.) If the domain of the external URL is actually your production
>domain
>(the one where you would deploy and access the app for production) but
>you
>are developing using localhost as domain or ...more
>
>   TabLayoutPanel SelectionHandler invoked multiple 
> times
>
>ALB-PSP-DV1  Dec 27 04:47AM -0800
>
>Hi,
>
>I have a TabLayoutPanel with 3 tabs. I have added a selection handler
>to it to change the color of the selected/unselected tabs.
>
>However the selectionHandler seems to be invoked 3 times ...more
>
>   Initializing 
> Hibernate
>
>Paul Robinson  Dec 27 12:38PM
>
>This really depends on how you set up your server, but you will
>probably have a servlet that is used for communication with your GWT
>client. So you can put your initialization code in your servlet's
>...more
>
>   Develop Web 
> application

Re: Flextable memory usage

2010-05-26 Thread Bradley
>From one of the talks at this year's Google I/O, it is pretty clear
that widgets are expensive to create and it is much better to keep and
resume them.  For more information, see the talk titled "Measured in
milliseconds redux"

Did you notice that the memory leak occurred on just one browser or
across browsers?

On May 26, 8:40 am, Austen  wrote:
> To answer my own question, the following seems to be a far better way
> of doing things. Save creating all those new objects...
>
> public class Memoryleaktest implements EntryPoint {
>
>         private FlexTable flexTable = new FlexTable();
>         private HashMap rows = new HashMap FlexTableRow>();
>
>         public void onModuleLoad() {
>
>                 RootPanel.get().add(flexTable);
>
>                 setupTable();
>
>                 Timer timer = new Timer() {
>                         public void run() {
>                                 updateTable();
>                         }
>                 };
>
>                 timer.scheduleRepeating(1); // 10 seconds
>         }
>
>         private void setupTable() {
>                 for (Integer i = 0; i < 50; i++) {
>                         FlexTableRow row = new FlexTableRow();
>
>                         flexTable.setWidget(i, 0, row.getTitle());
>                         flexTable.setWidget(i, 1, row.getHtml());
>                         flexTable.setWidget(i, 2, row.getLabel());
>
>                         rows.put(i, row);
>                 }
>         }
>
>         private void updateTable() {
>                 for (Integer i = 0; i < 50; i++) {
>                         FlexTableRow row = rows.get(i);
>
>                         row.getTitle().setText("ROW-" + i.toString());
>                         row.getHtml().setHTML("HTML Test " + i.toString());
>                         row.getLabel().setText("Label Test " + i.toString());
>                 }
>         }
>
> Any comments/ideas about this approach?
>
> Thanks
>
> On May 26, 3:34 pm, Austen  wrote:
>
>
>
> > Hi All,
>
> > We have a problem with memory usage on all browsers when using a
> > flextable.
>
> > The table periodically updates over rpc and if left long enough will
> > consume all available ram.
>
> > The following example displays the issue.
>
> > public class Memoryleaktest implements EntryPoint {
>
> >         private FlexTable flexTable = new FlexTable();
>
> >         public void onModuleLoad() {
>
> >                 RootPanel.get().add(flexTable);
>
> >                 Timer timer = new Timer() {
> >                         public void run() {
> >                                 updateTable();
> >                         }
> >                 };
> >                 timer.scheduleRepeating(1); // 10 seconds
> >         }
>
> >         private void updateTable() {
> >                 flexTable.clear();
>
> >                 for (Integer i = 0; i < 50; i++) {
> >                         flexTable.setWidget(i, 0, new InlineLabel("ROW - " +
> > i.toString()));
> >                         flexTable.setWidget(i, 1, new HTML("Test HTML 
> > Widget 1-" +
> > i.toString()));
> >                         flexTable.setWidget(i, 2, new InlineLabel("Test 
> > InlineLabel Widget
> > 2-" + i.toString()));
> >                 }
> >         }
>
> > }
>
> > Now I understand that we're probably going about this all wrong but
> > how should we do it?
>
> > Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: About Event and EventHandlers

2010-05-26 Thread Bradley
Looking at the Handlermanager class, the event is dispatched to the
handlers either in the order they were added or the reverse order.
Specifically look at the HandlerManager
$HandlerRegistry.fireEvent(GwtEvent event, boolean isReverseOrder)
method.

On May 25, 11:35 pm, Sabbir  wrote:
> suppose there are more than one classes which are listening for the
> same Event. Now when the event is fired, how are the handlers going to
> handler the event.
>
> Is there a sequence order according to which the event is handled?
>
> can we define how the handler should handle?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Newbie Question

2009-09-20 Thread Bradley

I am building a site with lots of static info, but also with dynamic
pages.  I admit that I am lost as to the ideal software/language to
use.  I have some experience with Dreamweaver.  Is GWT designed to
handle everything (static as well as dynamic pages)?  I want to tie
the data into Google Apps.  Thanks for any insights!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: CSS loads for 1 millisecond, then disappears

2009-07-06 Thread Bradley

I agree that would it be easier to catch errors and be sure of the
loading order but I don't think it is more "correct" to include the
CSS file in the gwt.xml file.

I am trying to incorporate a GWT application into a pre-existing non-
GWT project.  I would rather not move the CSS from the pre-existing
project into GWT and I also think a separation of the old CSS from the
new, GWT centric CSS is a good thing.  The existing CSS covers the
entire site, whereas GWT (and its CSS) is but a small part of that one
site.

On Jul 6, 5:20 pm, "Dean S. Jones"  wrote:
> Is there a reason you need to include the CSS in the html file??
>
> it would be more "correct" - easier to catch errors, and sure of
> loading order - if you included the CSS file in your apps module
> gwt.xml file
> with a 
>
> GWT will copy the resources folder to the final output folder, and
> load the CSS in a defined order.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: FLV in GWT

2009-02-17 Thread Bradley LaRonde

Try println-ing objVideo, or look at it in firebug, and see if it gets
constructed like you expect. Some of your code looks suspicious, like
creating "param1" element (shouldn't it be "param"?) and setting the
same attribute (setAttribute("name", "bgcolor"), setAttribute("name",
"play")) over and over on the same element.

On Mon, Feb 16, 2009 at 10:42 PM, Venkat  wrote:
>
> Hi All,
>
> I need a help in Embedding FLV in GWT.
>
> below is the code. It works perfectly with swf file not with flv
> files. please help me in this.
>
> below is the part of the code.
>
> objVideo.setAttribute("CLASSID",
>"clsid:d27cdb6e-ae6d-11cf-96b8-44455354");
>objVideo
>.setAttribute(
>"codebase",
>
> "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
> swflash.cab#version=8,0,0,0");
>objVideo.setAttribute("id", "FLVPlayer");
>objVideo.setAttribute("width", pixelWidth);
>objVideo.setAttribute("height", pixelHeight);
>//objVideo.setAttribute("events", "True");
>Element param0 = DOM.createElement("param0");
>param0.setAttribute("name", "allowScriptAccess");
>param0.setAttribute("value", "sameDomain");
>Element param = DOM.createElement("param");
>param.setAttribute("name", "movie");
>param.setAttribute("value", videoUrl);
>Element param1 = DOM.createElement("param1");
>param1.setAttribute("name", "bgcolor");
>param1.setAttribute("value", "#ff");
>Element param2 = DOM.createElement("param2");
>param2.setAttribute("name", "play");
>param2.setAttribute("value", "true");
>Element param3 = DOM.createElement("param3");
>param3.setAttribute("name", "quality");
>param3.setAttribute("value", "high");
>Element param4 = DOM.createElement("param4s");
>param4.setAttribute("name", "loop");
>param4.setAttribute("value", "true");
>objVideo.appendChild(param0);
>objVideo.appendChild(param);
>objVideo.appendChild(param1);
>objVideo.appendChild(param2);
>objVideo.appendChild(param3);
>objVideo.appendChild(param4);
>Element embed = DOM.createElement("embed");
>embed.setAttribute("src", videoUrl);
>embed.setAttribute("id", "FLVPlayer");
>embed.setAttribute("width", pixelWidth);
>embed.setAttribute("height", pixelHeight);
>embed.setAttribute("name", "bgcolor");
>embed.setAttribute("value", "#ff");
>embed.setAttribute("name", "allowScriptAccess");
>embed.setAttribute("value", "sameDomain");
>embed.setAttribute("name", "play");
>embed.setAttribute("value", "true");
>embed.setAttribute("loop", "true");
>embed.setAttribute("quality", "high");
>embed.setAttribute("pluginspage",
>
> "http://www.adobe.com/shockwave/download/download.cgi?
> P1_Prod_Version=ShockwaveFlash");
>embed.setAttribute("type", "application/x-shockwave-flash");
>
>
>objVideo.appendChild(embed);
>
> Thanks & Regards,
> venka
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---