Re: Change Cursor Shape
CSS attribute cursor. http://www.w3schools.com/css/pr_class_cursor.asp On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi All, Please tell me how to change the cursor shape in MouseMoveEvent event. Thanks Regards. Udayanga. -- 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: Change Cursor Shape
Thanks for replying. Can u say how to apply this concept into* GWT.* Specially in an event trigger. Thanks again, Udayanga. On Sat, Sep 11, 2010 at 12:34 PM, lineman78 linema...@gmail.com wrote: CSS attribute cursor. http://www.w3schools.com/css/pr_class_cursor.asp On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi All, Please tell me how to change the cursor shape in MouseMoveEvent event. Thanks Regards. Udayanga. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Thanks and Regards, Udayanga Ranasinghe BCSc(Hons) Senior Software Engineer | Wapice Lanka (Pvt) Ltd -- 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.
gwt-servlet.jar keeps reappearing on client side application
Hi, On a GWT Eclipse project (which doesn't use AppEngine), although I removed gwt-servlet.jar, it keeps re-appearing once in a while. Is it needed for development mode/debugging? If not, how could I convince GWT/Eclipse to stop creating it? Thanks -- 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: Change Cursor Shape
Hey Udayanga, Add a CSS class .hover { cursor:wait } Then inside the event handler, you want to set the widget's style. widget.setStyleName(hover); Hope that helps, Tom On Sep 11, 4:35 am, udayanga ranasinghe udayanga.u...@gmail.com wrote: Thanks for replying. Can u say how to apply this concept into* GWT.* Specially in an event trigger. Thanks again, Udayanga. On Sat, Sep 11, 2010 at 12:34 PM, lineman78 linema...@gmail.com wrote: CSS attribute cursor. http://www.w3schools.com/css/pr_class_cursor.asp On Sep 10, 11:39 pm, udayanga ranasinghe udayanga.u...@gmail.com wrote: Hi All, Please tell me how to change the cursor shape in MouseMoveEvent event. Thanks Regards. Udayanga. -- 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.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Thanks and Regards, Udayanga Ranasinghe BCSc(Hons) Senior Software Engineer | Wapice Lanka (Pvt) Ltd -- 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: UiBinder with background-image and ImageResource
Any thoughts as to how this could be done using ui:style without using external CSS files ? On Aug 25, 4:06 am, Eirik Brandtzæg eir...@eirikb.no wrote: Hello Craigo: I think the point is to not have an external CSS file, but using ui:style directly. Antonie: Will the feature of bundling sprites still work with this method? -- Eirik Brandtzæg -- 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.
GWT RPC call crashes IE.
Hello, We are developing a web application using GWT. Since last couple of days, we are facing a strange issue of IE7 crashing down after a GWT RPC call. In our application we are caching all the view layouts presenter so that we dont have to create them again as it's a read-only application. I'm struggling to get the root cause of the issue (IE crash). All we have changed is the css which was changing fonts and colors, and adding a logo image to the app html file. Any help to debug and find out the root cause of the issue would be much appreciated. Regards, Vikram. -- 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.
getHostPageBaseURL inconsistent across dev/deployed modes
It seems using GWT.getHostPageBaseURL() gives me inconsistent results depending on which mode I am in. I expect to see something such as: http://localhost:8080/ I get that result in hosted mode. However, when I deploy to tomcat, the same function returns: http://localhsot:8080/Module Does anyone know why this is happening? I really don't want to hack the API results. Thanks -Mark -- 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: UiBinder with background-image and ImageResource
Here's a simple example WITHOUT external css file. It works, providing the ClientBundle and the ui.xml are in the same package. I believe you can use them from different packages but I still haven't worked out how. ui:with type=blah.client.MyClientBundle field=cb/ ui:image field=loading resource={cb.loading}/ ui:style @sprite .loader1 { gwt-image: 'loading'; padding-left: value('loading.getWidth','px'); width: auto; height: auto; } /ui:style and the client bundle would be something like... public interface MyClientBundle extends ClientBundle { @Source(loading.gif) ImageResource loading(); } On Sun, Sep 12, 2010 at 9:54 AM, GWTNewbie venk...@gmail.com wrote: Any thoughts as to how this could be done using ui:style without using external CSS files ? On Aug 25, 4:06 am, Eirik Brandtzæg eir...@eirikb.no wrote: Hello Craigo: I think the point is to not have an external CSS file, but using ui:style directly. Antonie: Will the feature of bundling sprites still work with this method? -- Eirik Brandtzæg -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
[gwt-contrib] Adds getInheritableMethods to JClassType (issue863802)
Reviewers: bruce, scottb, Description: Similar to getOverridableMethods but includes final methods as well. This would make it easier to fix ROO-1297 and in general work with factories (such as the code generator for ActivityMapper I proposed in the Activity design Wave) https://jira.springsource.org/browse/ROO-1297 https://wave.google.com/wave/waveref/googlewave.com/w+eva-sERfA Kept getOverridableMethods as filter on getInheritableMethods returned array. Assigning to Bruce as he's the one who originally added getOverridableMethod, and Scott who factored them out into the AbstractMembers class. Something I don't understand: JEnumTypeTest#testInterface fails because getOverridableMethods returns 4 methods instead of the expect 7 (but stepping through the code I can't understand how there could be 7) Please review this at http://gwt-code-reviews.appspot.com/863802/show Affected files: dev/core/src/com/google/gwt/core/ext/typeinfo/AbstractMembers.java dev/core/src/com/google/gwt/core/ext/typeinfo/JArrayType.java dev/core/src/com/google/gwt/core/ext/typeinfo/JClassType.java dev/core/src/com/google/gwt/core/ext/typeinfo/JDelegatingClassType.java dev/core/src/com/google/gwt/core/ext/typeinfo/JParameterizedType.java dev/core/src/com/google/gwt/core/ext/typeinfo/JRawType.java dev/core/src/com/google/gwt/core/ext/typeinfo/JRealClassType.java dev/core/test/com/google/gwt/core/ext/typeinfo/JClassTypeTest.java dev/core/test/com/google/gwt/core/ext/typeinfo/JDelegatingClassTypeTestBase.java dev/core/test/com/google/gwt/core/ext/typeinfo/JParameterizedTypeTest.java dev/core/test/com/google/gwt/core/ext/typeinfo/JRawTypeTest.java dev/core/test/com/google/gwt/core/ext/typeinfo/JTypeParameterTest.java dev/core/test/com/google/gwt/core/ext/typeinfo/JWildcardTypeTest.java -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Adds getInheritableMethods to JClassType (issue863802)
I think I've spotted the reason for the test failure: it's actually a bug in the current getOverridableMethods, and a bug in JEnumTypeTest (it should have really expected 4 methods instead of 7). Reported as issue 5270: http://code.google.com/p/google-web-toolkit/issues/detail?id=5270 http://gwt-code-reviews.appspot.com/863802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fixes issue 5270 (issue839803)
Reviewers: bruce, scottb, Description: http://code.google.com/p/google-web-toolkit/issues/detail?id=5270 Description copied from the issue: In c.g.g.core.ext.typeinfo.AbstractMembers, final methods are simply ignored instead of being treated as possible overrides of already seen methods. A final method should trigger the removal of a method with the same signature from methodsBySignature. It revealed a bug in JEnumTypeTest (expecting 7 methods instead of 4, and expecting the name() method to be overridable whereas it is actually overridden as a final method in a JEnumConstant's type (replaced with a check for getExtra). Please review this at http://gwt-code-reviews.appspot.com/839803/show Affected files: dev/core/src/com/google/gwt/core/ext/typeinfo/AbstractMembers.java dev/core/test/com/google/gwt/core/ext/typeinfo/JClassTypeTest.java dev/core/test/com/google/gwt/core/ext/typeinfo/JEnumTypeTest.java dev/core/test/com/google/gwt/core/ext/typeinfo/test/CB.java Index: dev/core/src/com/google/gwt/core/ext/typeinfo/AbstractMembers.java === --- dev/core/src/com/google/gwt/core/ext/typeinfo/AbstractMembers.java (revision 8755) +++ dev/core/src/com/google/gwt/core/ext/typeinfo/AbstractMembers.java (working copy) @@ -158,15 +158,22 @@ for (int i = 0; i declaredMethods.length; i++) { JMethod method = declaredMethods[i]; - // Ensure that this method is overridable. - if (method.isFinal() || method.isPrivate() || method.isStatic()) { -// We cannot override this method, so skip it. + // Ensure that this method is inherited. + if (method.isPrivate() || method.isStatic()) { +// We don't inherit this method, so skip it. continue; } - // We can override this method, so record it. String sig = computeInternalSignature(method); - methodsBySignature.put(sig, method); + + // Ensure that this method is overridable. + if (method.isFinal()) { +// We cannot override this method, but it might override another method, so remove any possibly overridden method. +methodsBySignature.remove(sig); + } else { +// We can override this method, so record it. +methodsBySignature.put(sig, method); + } } } Index: dev/core/test/com/google/gwt/core/ext/typeinfo/JClassTypeTest.java === --- dev/core/test/com/google/gwt/core/ext/typeinfo/JClassTypeTest.java (revision 8755) +++ dev/core/test/com/google/gwt/core/ext/typeinfo/JClassTypeTest.java (working copy) @@ -201,7 +201,22 @@ // Check that we aren't including methods that aren't actually overridable // because they are final and/or private. { + assertMethodOverridable(typeOracle, + com.google.gwt.core.ext.typeinfo.test.IA, + com.google.gwt.core.ext.typeinfo.test.CA, foo, + noParams); + assertMethodNotOverridable(typeOracle, + com.google.gwt.core.ext.typeinfo.test.CB, + com.google.gwt.core.ext.typeinfo.test.CB, foo, + noParams); + + assertMethodNotOverridable(typeOracle, + com.google.gwt.core.ext.typeinfo.test.CB, + com.google.gwt.core.ext.typeinfo.test.CC, foo, + noParams); + + assertMethodNotOverridable(typeOracle, com.google.gwt.core.ext.typeinfo.test.CA, com.google.gwt.core.ext.typeinfo.test.CA, caNotOverridableFinal, noParams); Index: dev/core/test/com/google/gwt/core/ext/typeinfo/JEnumTypeTest.java === --- dev/core/test/com/google/gwt/core/ext/typeinfo/JEnumTypeTest.java (revision 8755) +++ dev/core/test/com/google/gwt/core/ext/typeinfo/JEnumTypeTest.java (working copy) @@ -148,12 +148,12 @@ assertEquals(A, annotation.value()); JClassType aClass = constants[0].getType().isClass(); JMethod[] methods = aClass.getOverridableMethods(); -assertEquals(7, methods.length); +assertEquals(4, methods.length); // TODO(jat): verify getExtra is from A's anonymous subclass of // EnumInterface when/if that is implemented. boolean found = false; for (JMethod method : methods) { - if (name.equals(method.getName())) { + if (getExtra.equals(method.getName())) { found = true; // TODO(jat); any other verification here? } Index: dev/core/test/com/google/gwt/core/ext/typeinfo/test/CB.java === --- dev/core/test/com/google/gwt/core/ext/typeinfo/test/CB.java (revision 8755) +++ dev/core/test/com/google/gwt/core/ext/typeinfo/test/CB.java (working copy) @@ -2,6 +2,9 @@ public abstract class CB extends CA implements IB { + public final void foo() { + } + public abstract void ic(); } --
Re: [gwt-contrib] Public: Restore the samples/validation classes/marker (issue856802)
LGTM On Fri, Sep 10, 2010 at 7:06 PM, ncha...@google.com wrote: Reviewers: robertvawter, jlabanca, Description: Public: Restore the samples/validation classes/marker Its needed by Eclipse or it throws an error because it can't find the classes/ directory where it is supposed to dump compiled files. Please review this at http://gwt-code-reviews.appspot.com/856802/show Affected files: A samples/validation/war/WEB-INF/classes/marker Index: samples/validation/war/WEB-INF/classes/marker === --- samples/validation/war/WEB-INF/classes/marker (revision 0) +++ samples/validation/war/WEB-INF/classes/marker (revision 0) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r8757 committed - Makes HandlerManager implement HasHandlers again.
Revision: 8757 Author: gwt.mirror...@gmail.com Date: Sat Sep 11 13:03:13 2010 Log: Makes HandlerManager implement HasHandlers again. http://code.google.com/p/google-web-toolkit/source/detail?r=8757 Modified: /trunk/user/src/com/google/gwt/event/shared/HandlerManager.java === --- /trunk/user/src/com/google/gwt/event/shared/HandlerManager.java Fri Sep 10 17:56:09 2010 +++ /trunk/user/src/com/google/gwt/event/shared/HandlerManager.java Sat Sep 11 13:03:13 2010 @@ -25,7 +25,7 @@ * @deprecated use {...@link SimpleEventBus}. */ @Deprecated -public class HandlerManager { +public class HandlerManager implements HasHandlers { private SimpleEventBus eventBus; -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Anyone else had luck with @font-face rules?
I noticed that @font-face rules are not supported, or at best, act unexpectedly in CssResources. http://code.google.com/p/google-web-toolkit/issues/detail?id=5247 Anybody else had success or failure with using web fonts? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Java5 varargs not working
I filed a ticket for this issue... even though the documentation _says_ they're supported, I wasn't able to get varargs working across the Java-JavaScript bridge... at least not in Development mode. Worked fine when compiled, though. http://code.google.com/p/google-web-toolkit/issues/detail?id=5255 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] EventBus interface
Is there any reason NOT to add the following method to the EventBus interface? H extends EventHandler void removeHandler(GwtEvent.TypeH type, H handler); This would make it much easier to adopt the use of EventBus throughout my application instead of referring to the HandlerManager concrete implementation. Shoot, maybe all of HandlerManager's public methods should be part of the EventBus interface? http://code.google.com/p/google-web-toolkit/issues/detail?id=5271 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Refactoring the Showcase sample to use standards mode, and make use of LayoutPanels. The new Sho... (issue837801)
jat/rice - Would one of you two be able to review this Monday. I'd like to get it checked in as soon as possible. http://gwt-code-reviews.appspot.com/837801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] EventBus interface
Please see the discussion here: http://gwt-code-reviews.appspot.com/841804/show We much prefer to keep the api minimal. On Sat, Sep 11, 2010 at 5:24 PM, jarrod jarrod.carl...@gmail.com wrote: Is there any reason NOT to add the following method to the EventBus interface? H extends EventHandler void removeHandler(GwtEvent.TypeH type, H handler); This would make it much easier to adopt the use of EventBus throughout my application instead of referring to the HandlerManager concrete implementation. Shoot, maybe all of HandlerManager's public methods should be part of the EventBus interface? http://code.google.com/p/google-web-toolkit/issues/detail?id=5271 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Refactoring the Showcase sample to use standards mode, and make use of LayoutPanels. The new Sho... (issue837801)
On Sat, Sep 11, 2010 at 8:56 PM, jlaba...@google.com wrote: Would one of you two be able to review this Monday. I'd like to get it checked in as soon as possible. http://gwt-code-reviews.appspot.com/837801/show I started on it Friday but didn't finish it -- I will finish it Monday. -- John A. Tamplin Software Engineer (GWT), Google -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Java5 varargs not working
On Sat, Sep 11, 2010 at 8:23 PM, jarrod jarrod.carl...@gmail.com wrote: I filed a ticket for this issue... even though the documentation _says_ they're supported, I wasn't able to get varargs working across the Java-JavaScript bridge... at least not in Development mode. Worked fine when compiled, though. http://code.google.com/p/google-web-toolkit/issues/detail?id=5255 Correct, Java arrays (and varargs are shown to the calling code as an array) are opaque objects to Javascript -- all you can do with them is pass them to other Java code. The fact that it works in compiled mode is just due to current implementation details. See http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html#sharing -- John A. Tamplin Software Engineer (GWT), Google -- http://groups.google.com/group/Google-Web-Toolkit-Contributors