value AFAICT, but maybe it'd be
detected only later (and is hidden by the current error)
On Wednesday, August 5, 2015 at 11:28:37 AM UTC+2, DaveC wrote:
Hi,
I have the following UiBinder:
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui
Hi,
I have the following UiBinder:
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=
urn:import:com.google.gwt.user.client.ui
ui:style type=com.saaconsultants.gwt.ui.test.client.Main.Style
.panel-default {
://github.com/gwtproject/gwt/issues/9164) on the gwtproject
page.
Thanks again!
Harvard
On Tuesday, August 4, 2015 at 7:11:24 AM UTC-4, DaveC wrote:
Hi,
I think you'll have to dig into AbstractCellTable in order to fix this. I
did a quick test of a fix I implemented and it appears to work
Hi,
I think you'll have to dig into AbstractCellTable in order to fix this. I
did a quick test of a fix I implemented and it appears to work for IE11
running IE8/IE9 mode but not IE10 mode, I've not tested it in a real IE8 or
IE9.
Basically what I did was exaactly what you said - set
Hi,
I've a ui:style with a CSS class that has double hyphens in it (the CSS
follows the BEM https://css-tricks.com/bem-101/pattern) e.g.
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=
Anyone
On Thursday, 25 April 2013 09:53:53 UTC+1, DaveC wrote:
Hi,
I'm trying to get some useful stack trace from the client side but all I
get is:
java.lang.Throwable: Exception caught: Exception caught: For input string:
59909596809
at Unknown.jk(Unknown Source)
at Unknown.gi
Hi,
I'm trying to get some useful stack trace from the client side but all I
get is:
java.lang.Throwable: Exception caught: Exception caught: For input string:
59909596809
at Unknown.jk(Unknown Source)
at Unknown.gi(Unknown Source)
at Unknown.Wu(Unknown Source)
at Unknown.Zu(Unknown Source)
this error???
Anyone?
On Sep 19, 11:53 am, DaveC david.andrew.chap...@gmail.com wrote:
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previsouly created Image
widget's url
this error???
Anyone?
On Sep 19, 3:46 pm, DaveC david.andrew.chap...@gmail.com wrote:
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previously created Image
widget's url
Thanks for the replies John Jens,
The app can run in http/https, the user can then configure the app to
consume various resources, for example rss feeds, web services - in
this instance the feed resources contained images which were then
loaded over http.
The issue was/is that IE throws a
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previsouly created Image
widget's url to an unsecured url (which causes IE to popup a dialog
asking the user for permission).
The
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previsouly created Image
widget's url to an unsecured url (which causes IE to popup a dialog
asking the user for permission).
The
I think this maybe be a bug with GWT (but I'm not sure).
I'm running my app under https/ssl, in IE (7 8) I get an Operation
Exception (Network Error) if I set a previously created Image
widget's url to an unsecured url (which causes IE to popup a dialog
asking the user for permission).
The
No worries :o)
On Aug 15, 7:10 pm, Mike Dee mdichiapp...@gmail.com wrote:
Dave,
I think you got it. Double checked and wasn't setting height to
100%. Thanks, that seems to have done it. Thought I was doing that.
Mike
On Aug 15, 9:01 am, DaveC david.andrew.chap...@gmail.com wrote
Hi,
I've got some generated HTML that I'm trying to hook into using GWT to
listen to events. At the moment I've this:
public class LightWeightUiObject extends UIObject {
public LightWeightUiObject(Element element) {
setElement(element);
sinkEvents(Event.ONTOUCHSTART);
if (event.getSource() instanceof Anchor) {
...
}
Cheers,
Dave
On Jun 3, 1:17 pm, kevin kalo...@gmail.com wrote:
I have a Anchor as a cell of a FlexTable. Both the Anchor and the
FlexTable have click handlers and as a result, I'm getting two events
fired when I click on the anchor. Any one
If you mean dynamically loading code at runtime, I don't *think* this
is possible - we have a similar app (written originally against GWT
1.6) we have the notion of a plugin - it's a separate GWT module in
it's own project, but is pulled in at compile time... these modules
are pulled in using
Hi,
Given:
@ImportedWithPrefix(unordered)
interface UnorderedListStyles extends CssResource {
list();
}
@ImportedWithPrefix(list)
interface ListItemStyles extends CssResource {
item();
}
interface Resources extends ClientBundle {
@Import(value = {UnorderedListStyles.class,
I've also noticed that moving from a GWT 1.7 version of building apps
to the 2.1 way (UiBinder CellWidgets etc) makes a noticable
difference... (less java/ecmascript code I guess).
On Apr 18, 9:24 pm, Jeff Larsen larse...@gmail.com wrote:
Lotus notes ouch!
--
You received this message
I might be on the wrong track but have you checked the temp directory
where java writes out files (on windows xp it's something like c:/
documents and settings//*user*/localsettings) I regularly (once a
week) have to clear tens of thousands of files and GBs of data
otherwise eclipse (and lotus
, DaveC david.andrew.chap...@gmail.com wrote:
Hi,
What I'm trying to do is pass ListEditor a list of generic types e.g.
an AbstractAnimal type but what the list gets might be a Bird type, a
Fish type, Mammal... etc...
The problem is that that my Bird type has a property wingSpan which
Hi,
What I'm trying to do is pass ListEditor a list of generic types e.g.
an AbstractAnimal type but what the list gets might be a Bird type, a
Fish type, Mammal... etc...
The problem is that that my Bird type has a property wingSpan which
the Fish type does not.. they might also share a
@Greg
I felt the need to reply on the topic of what GWT is/does...
What (Java) devs think GWT is/does...
*** Removes the need for them to understand ANY front end web
technologies (e.g. HTML, Javascript, DOM, CSS + xbrowser differences)
***
All of our Java developers (where I work) have found
I think what you need to be using instead of ImageResource is
DataResource.
GWT uses a different method for bundling resources for the different
browsers - those that support Data URIs (IE8+, Firefox, Chrome et al)
get their images turned into base64 encoded strings - IE6/7 gets a
sprite image
Have you tried using CSS?
.my-tab-content {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
this *should* work as long as it's parent is positioned (relative/
absolute)...
The new layout panels I think require a RootLayoutPanel not a
RootPanel... but I can't remember exactly.
There *might* be a way to do it... e.g.
1. only invalidate the session on a specific log out request
2. store a flag/timestamp clientside to either invalidate the session
or not
3. onload reads this flag and decides whether or not to to invalidate
the session (if a number of seconds/minutes have
The majority of what GWT can do can be done by a good web developer/
designer... but what GWT is good at is all the compile time
optimisations - when you're trying to squeeze every last bit of
performance out of of your app... and if you only/have to write Java.
It is a crutch IMHO, probably
RichTextArea rt = new RichTextArea();
rt.addMouseDownHandler(new MouseDownHandler() {
@Override
public void onMouseDown(MouseDownEvent event) {
Window.alert(MouseDown!);
Hello,
This is really just a heads up...
We are currently developing a large/complex GWT app and are making use
of ClientBundle, CssResource and ImageResource. We've run into an
issue where by GWT is generating massive sprite images (for instance
one is 163,000 x 300 pixels) - which obviously
...@gmail.com
wrote:
Did you check your Compile reports ?
http://code.google.com/webtoolkit/release-notes.html#Release_Notes_2_...
On Jul 9, 1:55 pm, DaveC david.andrew.chap...@googlemail.com wrote:
Hello,
This is really just a heads up...
We are currently developing a large/complex GWT app
Checked the compile report, but I can't seem to find where it
references (if it even does) the generated ImageResourceBundles...
On Jul 9, 1:58 pm, DaveC david.andrew.chap...@googlemail.com wrote:
No, forgot about those (I check them)... but I have some more info
now... I can trigger the big
images. Than I would try for splitting up the
ClientBundle
b) GWT has a bug which causes huge images as a result. Maybe a) puts
the compiler in a more stable state
Stefan Bacherthttp://gwtworld.de
On 9 Jul., 13:55, DaveC david.andrew.chap...@googlemail.com wrote:
Hello,
This is really
think i will start using your code for browser identification
Michael
On Feb 25, 10:44 am, DaveC david.andrew.chap...@googlemail.com
wrote:
Thanks for all the replies.
Thomas, I get your point - but I don't agree ;o), I think there are
more reliable ways for testing... here's
.
Cheers
Chris
On Mar 1, 2:55 pm, DaveC david.andrew.chap...@googlemail.com wrote:
Hi Chris, yeh I think we're on the same page but... ;o)
... *Here* we're talking about GWT not about the public facing web
so...
... e.g. I'd like to be able to view the pages also with Konqueror
What about using ClientBundle and CssResource?
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html
http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#CssResource
Cheers,
Dave
On Feb 23, 7:49 am, Ashar Lohmar asharloh...@gmail.com wrote:
you should put the
gwt
test for different browser platforms BUT:
Why does gwt parse the useragent string rather than using object/
feature detection - due to the fragility of sniffing the ua string?
On Feb 23, 11:00 am, Paul Robinson ukcue...@gmail.com wrote:
DaveC wrote:
Gal, I'm not sure what you mean
It's *generally* considered by the web development community that
useragent sniffing is bad and object/feature detection is good... why
then does GWT sniff the useragent?
Can anyone explain why - is there a benefit??
Cheers,
Dave
--
You received this message because you are subscribed to the
Thanks for the reply Martin,
OK, I think you maybe misunderstood my question though.
I understand what Deferred Binding is and why it's a good thing - what
I wanted to know was why does GWT sniff use the navigator.useragent
string e.g.
var ua = navigator.userAgent.toLowerCase();
if
The only thing I could suggest is outlined here
http://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#Can_I_speed_up_the_GWT_compiler?
(but you've probably already looked at this...)
Sorry I can't be more help - it has got me thinking though, where I
work will probably run
Your create method is returning an Element - not an SVGPanel...
I'd personally start with a Widget (not a JavascriptObject) and use
GWT DOM methods (these will be optimised for each of the supported
browsers)... I have the same problem as you - going from a JS world to
a GWT/Java world sometimes
The way I've done it (I think is):
1. Create a new Class that extends Widget and implements
HasMouseMoveHandlers
2. Grab the RootPanel Element and pass that into your new Class
constructor (the one that takes an Element as a param) - this should
call setElement(Element element) with you passed
); break;
}// end switch
}
});
Regards.
On Tue, Jan 26, 2010 at 3:09 PM, DaveC
david.andrew.chap...@googlemail.comwrote:
The way I've done it (I think is):
1. Create a new Class that extends Widget and implements
HasMouseMoveHandlers
2. Grab the RootPanel Element
I'm using deferred binding to separate out some browser specific code.
In my *.gwt.xml file I've got a property provider (with a bit of
Javascript doing some detection) and a replace-with/when... etc,
The deferred binfing works correctly and different browsers are
getting different
Yeh it's possible - but I'm not sure thats the best way of doing
it... (for example I've used it when I have a 'Native' browser
implemention and a 'Gears' implementation both implementations extend
a default one - which is the one I use in my app code - GWT then
replaces this with either a Native
?
Cheers,
Dave
On Jan 25, 5:34 pm, Thomas Broyer t.bro...@gmail.com wrote:
On Jan 25, 3:12 pm, DaveC david.andrew.chap...@googlemail.com wrote:
I'm using deferred binding to separate out some browser specific code.
In my *.gwt.xml file I've got a property provider (with a bit of
Javascript
is undefined (which I think equates to null in GWT/Java
speak)?
Cheers,
Dave
On Jan 21, 4:49 pm, DaveC david.andrew.chap...@googlemail.com wrote:
OK,
I've have a working implementation in IE, FF and Chrome (using Gears
where necessary - GWT 2.0) that allows me to capture when a file is
dragged
- what browser(s) are you viewing this
in?)
On Jan 21, 6:24 pm, PaulBee pauloabe...@gmail.com wrote:
Thank you DaveC,
But the BlurHandler doesn't seem to work on the FocusPanel.
I've tryed every way of taking the focus away from the panel, and it
is just not calling the BLurHandler...
--
You
Note the first forward slash in your image url - this points to the
root of your server and not /appname/...
Cheers,
Dave
On Jan 22, 4:41 pm, darkling darkling...@aol.com wrote:
I'm trying to add icons to my application. Everything worked fine when
I ran in the google browser but now that I've
OK,
I've have a working implementation in IE, FF and Chrome (using Gears
where necessary - GWT 2.0) that allows me to capture when a file is
dragged from the desktop and dropped into the browser window.
The next part of the puzzle is to grab the file data/content and
upload it... grabbing the
Something like...
ListBox box = new ListBox();
box.addItem(Hello);
box.addItem(World!);
final PushButton button = new PushButton(Hidden);
FocusPanel p = new FocusPanel();
p.addFocusHandler(new FocusHandler() {
@Override
(mainly
for the logger) and ensuring immediate CSS injection -- explicit is
better than implicit :) Or do you see any (performance) issues with
this approach?
Sebastian
On Sat, Jan 9, 2010 at 1:25 AM, DaveC
david.andrew.chap...@googlemail.com wrote:
Have you tried StyleInjector.inject
.
On Jan 8, 11:46 am, ale aleee...@gmail.com wrote:
Thanks for the answer, I will try your example.
I'm a little afraid to upgrade to gwt 2.0, because I have a lot of
pages developed with 1.7 ...
and the idea of rewrite a lot of code now...
Cheers
Ale
On Jan 8, 3:06 pm, DaveC
I use ClientBundle (and CssResource) (I'm using GWT 2 by the way...)
e.g.
public interface RichToolTipClientBundle extends ClientBundle {
@Source(resources/css/rich-tooltip.css)
public RichToolTipCssResource getCss();
@Source(resources/img/logo.png)
public ImageResource
public class ClonedWidget extends Widget {
public ClonedWidget(Element element) {
setElement(element);
}
}
ClonedWidget myNewWidget = new ClonedWidget(Dom.clone(elementToClone,
true));
Is that the kind of thing you're looking for?
Cheers,
Dave
On Jan 8, 12:07 am, Michael
Have you tried StyleInjector.inject(cssText, true) ...?
the DOM will be updated immediately instead of just before returning
to the event loop. Using this option excessively will decrease
performance, especially if used with an inject-css-on-init coding
pattern
I had a similar problem using the
OK,
So far I have a working implementation in Firefox 3.0 - 3.6 (using
Gears for 3.6) and Chrome which allows me to capture (and inspect) a
file when it's dragged from the desktop and dropped into the browser.
I'm now trying to get an implementation working in IE (using Gears) -
but I feel a
addDomHandler(handler, YourEvent.getType());
}
7. My application create the new widget and call the
addYourHandler...
... and it works perfectly...
Hope it can help...
On 31 déc, 01:28, DaveC david.andrew.chap...@googlemail.com wrote:
It seems I'm trying to do the same
in this
project in a folder
I guess if I downloaded the GWT source doing this would be straight
forward but I can't do that for this project... I need to stick with
the (2.0) release.
Any other suggestions?
On Dec 31, 9:26 am, DaveC david.andrew.chap...@googlemail.com wrote:
Ah, cool thanks
Ignored those warnings/errors and renamed anyway it it compiled/runs
in hosted mode fine...
The only problem is that the events aren't being captured (or the
handlers aren't being added correctly)... would you be able to post
one of your Event classes?
Cheers,
DaveC
On Dec 31, 1:45 pm, DaveC
..also I override the eventGetTypeInt(String) method in order to add
the html5 drag and drop events, is this what you did?
Cheers,
Dave
On Dec 31, 2:16 pm, DaveC david.andrew.chap...@googlemail.com wrote:
Ignored those warnings/errors and renamed anyway it it compiled/runs
in hosted mode fine
;
case paste: return 0x8;
case drop: return 0x1;
case dragdrop: return 0x1;
case dragleave: return 0x1;
case dragover: return 0x1;
case dragenter: return 0x1;
}
}-*/;
}
On Dec 31, 12:24 am, DaveC
I'm probably not doing this the right way but, I've been trying to
extend MouseEvent to support HTML5 Drag and Drop (drag, dragenter,
etc. etc.).
I've created a:
Has...Handlers interface
bunch of Handler classes (DropHandler, DragEnterHandler, etc)
and a bunch of Event classes that extend
simple or obvious or
documented)...
Its frustrating for me as I've already written the (few lines of)
javascript code to do this - I'm using GWT for a project so really I
need a GWT implementation...
Do any of the GWT experts have any suggestions??
On Dec 30, 4:24 pm, DaveC david.andrew.chap
It seems I'm trying to do the same thing
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/e1c6bd5a5d196ecf...
and have come up against the same barriers.
If I find the answer I'll let you know.
Cheers,
Dave
On Dec 30, 10:23 pm, fvisticot fvisti...@gmail.com wrote:
I would
- but I can write a bit - so patching Flute,
CSSParser and GWT is probably beyond my knowledge - but maybe I'll
have a go at writing something in Javascript first and then port it to
Java!
On Oct 19, 4:15 pm, Thomas Broyer t.bro...@gmail.com wrote:
On 19 oct, 11:38, DaveC david.andrew.chap
I'm trying to use some css3 media queries in my GWT app via a
CssResource and StyleInjector e.g.
@media screen and (color) {
...
}
Unfortunately GWT’s CssResource doesn't yet support this - it strips
out the bit it doesn't understand and outputs:
@MEDIA screen{}
…removing any rules I
Hi Michael,
The Widget.onLoad method should be called after its attached to the
document (rendered)...
Assuming that you have a MyComponent inside a ScrollPanel, perhaps
try this in your MyComponent:
@Override
public onLoad() {
Widget parent = getParent();
if (parent != null
67 matches
Mail list logo