GWT app and Chrome Lighthouse

2018-08-29 Thread bryanb
I've got a GWT 2.7 app. The index.html is fairly standard: Your web browser must have JavaScript enabled in order for this application to display correctly. Lighthouse doesn't give a SEO result and displays the error message about JS not

Re: Display problem on Samsung Galaxy 3

2012-07-08 Thread bryanb
I've done a bit more investigation of this. I copied the HTML code generated in Chrome. html body div style=position: absolute; overflow: hidden; left: 0px; top: 0px; right: 0px; bottom: 0px; div style=overflow: auto; position: absolute; zoom: 1; left: 0px; top: 0px; right: 0px; bottom: 0px;

Display problem on Samsung Galaxy 3

2012-07-05 Thread bryanb
This simple program doesn't render correctly using the default browser on a Samsung Galaxy 3. It works fine using Chrome, and it works fine on HTC devices and IPhone. It gives the same problem whether using 2.4.0 or 2.5.0.rc1. The problem is with scrolling. The page displays, but if you scroll

Re: TabLayoutPanel with custom widget for tabs

2012-04-25 Thread bryanb
Hi Alfredo, Thanks for the reply. It turns out the magic sauce for getting the elements to display correctly is to use InlineLabel or InlineHTML rather than plain Label or HTML. Thanks to your code, all is good. Cheers.         private InlineLabel tabItemTittle;         private String text;

TabLayoutPanel with custom widget for tabs

2012-04-24 Thread bryanb
I'm trying to get custom tabs with a closing X image next to the label. Something like Blah X with the X a clickable image. I cannot get the tab widget to display correctly. Below is a simplified example which shows the problem. The Bad Tab should float the label left and the X right. On Chrome

Re: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-14 Thread bryanb
I agree 100% with your assessment of alternative technologies, and agree that GWT is really the only solution for developing complex web applications. The only alternative is a 100% Javascript solution (for example using Closure tools). With Dart, Google have acknowledged that Javascript isn't

Using Google web fonts

2012-03-06 Thread bryanb
There have been a few posts here and on StackOverflow, but I've still got an issue with using Google Web fonts in my GWT app. In my module .gwt.xml file I have inherits name='com.google.gwt.user.theme.clean.Clean' / stylesheet src=http://fonts.googleapis.com/css?

Facebook Like button

2012-02-15 Thread bryanb
I've used the code from http://developers.facebook.com/docs/reference/plugins/like/ to generate a Like button. I've used both the XFBML and HTML5 code. It works in FF,Chrome and Safari with this code snippet (this is the HTML5 version): HTML fb = new HTML(); fb.setHTML(div class=\fb-like\

Adding widget to TabLayoutPanel tab

2011-10-01 Thread bryanb
Has anyone has any success in adding a widget, rather than simple text to a TabLayoutPanel tab ? (i.e using add(Widget child, Widget tab)) Something like this: TabLayoutPanel.add(new FlowPanel(), new CheckBox(blah)); TabLayoutPanel.add(new FlowPanel(), new Button(blah)); TabLayoutPanel.add(new

Devmode not working

2011-09-28 Thread bryanb
the browser, but nothing changed, so I closed the browser, closed the devmode console, and did another 'ant devmode'. This found the changed source file, and compiled it: Buildfile: build.xml libs: javac: [javac] Compiling 1 source file to /home/bryanb/gwt/apps/payroll/ PayrollApplication/war

Re: Devmode not working

2011-09-28 Thread bryanb
I created a simple new project, and it works as it should. I think the problem with my other project is that I've compiled the code from multiple other modules into some jars for deployment and I think this is why devmode is not picking up the changes to the source because of the jar files. --

Re: Using AbstractImagePrototype

2011-08-17 Thread bryanb
Found a solution on StackOverflow: http://stackoverflow.com/questions/5188799/gwt-add-filtering-to-celltable Used this snippet of code: AbstractImagePrototype proto = AbstractImagePrototype.create(resource); return proto.getHTML().replace(style=', style='position:absolute;right:0px;top:0px;);

Using AbstractImagePrototype

2011-08-16 Thread bryanb
In this snippet of code: AbstractImagePrototype blah = AbstractImagePrototype.create(Resources.INSTANCE.blah_image()); Button button = new Button(blah.getHTML() + nbsp;Blah); I'd like to be able to make the image vertically aligned bottom, but can't figure out how to do it. I tried:

AdWords Conversion Tracking

2010-05-07 Thread bryanb
Hi, Can anyone tell me if it's possible to add the AdWords Conversion tracking script (http://adwords.google.com/support/aw/bin/answer.py? hl=enanswer=115794#) to a GWT generated page. I've got Google Analytics working by having the analytics script in my GWT launch html file, and when history

Re: Image Generation

2009-11-21 Thread bryanb
Something like this works for me. On the server: import java.awt.Container; import java.awt.Graphics2D; import java.awt.MediaTracker; import java.awt.RenderingHints; import java.awt.Toolkit; import java.awt.image.BufferedImage; import javax.imageio.ImageIO; import

Re: Search Engine Indexing

2009-01-27 Thread bryanb
In case it's any help to anyone, this is how I think I'll solve the indexing problem. My wife has a web site on which she sells various things, the descriptions of which are stored in a database. I re-jigged her website as a way to learn GWT. She was quite keen to have the GWT version, but

Re: Search Engine Indexing

2009-01-24 Thread bryanb
Hi Eric, Thanks for the heads up on that I appreciate there's a few more 'gotchas' than my admittedly simplistic scenario, and I'm sure there's lots of big brains at Google thinking about the problem. Thanks again, Bryan --~--~-~--~~~---~--~~ You received this

Search Engine Indexing

2009-01-19 Thread bryanb
I've searched the forum on this topic, and it appears the only way to get a GWT site indexed is by some horrible hacks. If I use Firebug with Firefox, I can get the HTML displayed that the Javascript is writing to the DOM, so this means it should be possible for the Google search bot to do a

Re: Displaying a dynamic SSL site seal

2009-01-09 Thread bryanb
Hi Cameron, Using a Frame is a good idea - thanks. It turns out that both using my code and a Frame causes the same error. It only occurs in hosted mode. If I compile the project from the command line, and run outside of hosted mode, it works (except that a Frame as you suggest works better

Displaying a dynamic SSL site seal

2009-01-08 Thread bryanb
) Client VM (11.0-b12 mixed mode linux-x86) # Problematic frame: # C [libpthread.so.0+0x7520] pthread_mutex_lock+0x20 # # An error report file with more information is saved as: # /home/bryanb/workspace/Project3/hs_err_pid19786.log # # If you would like to submit a bug report, please visit: # http