Re: Can I use to replace a Google class?

2014-08-15 Thread chris-x . walker
injector for the class that GWT replaces, and I need to limit it to IE, because that's what the default does. Also, the replacement class need to be in a client package. Chris On Friday, 15 August 2014 15:15:58 UTC+1, chris-x...@d

Can I use to replace a Google class?

2014-08-15 Thread chris-x . walker
Hi, I am having problems running in hosted mode (GWT 2.6.1) as a result of a possible bug in com.google.gwt.dom.client.StyleInjector.java (see Issue 8863 ). The fix is simple, so I have created my own version of the problem cla

How to make SuggestBox display scroll properly?

2014-07-14 Thread chris-x . walker
I'm working with a SuggestBox that produces a very large number of suggestions on the first one or two chanracters. I don't want an ugly list that disappears off the bottom of the screen, so I've made the selection display scroll by adding height and overflow to the CSS for .gwt-SuggestBoxPopu

RequestFactory ServiceLocator persist chilld onetomany

2012-09-25 Thread Tost X
Hi all, I use resquestfactory with Locator and ServiceLocator and am trying to persist an entity that has a one to many, but the layer server children are not sent. When I do find, the children leave the server to the client layer without problems using .wth("child"). Anyone know how to persist

Widget not displayed upon change of place

2011-06-14 Thread Harry X
I have a display region which will display diffrent widgets accpording place change event. The widgets are simple, haveing a couple of tables in a flowpanel and making a async call to get some data through RPC. When the place change events are fired by clicking on a navigation tree, sometime

Re: Eample for MVP+EventBus+Presenter+Activity

2011-06-08 Thread Harry X
Deanna Bonds writes: > > > I was going through the same thing.  I ended up going back and rewatching the Ray Ryan architecture videos from 2009 and 2010 again, but this time drawing down all the diagrams, but combining them all.  Then after having a big block diagram of the gwt framework a

Re: Eample for MVP+EventBus+Presenter+Activity

2011-06-06 Thread Harry X
Juan Pablo Gardella writes: > > > You can see this sample https://bitbucket.org/gardellajuanpablo/gwt- sample/wiki/Home > > > Juan2011/6/6 Harry X > Hello, > I am new to GWT and need some examples to help understand it. > Reading though some posts and searchi

Eample for MVP+EventBus+Presenter+Activity

2011-06-06 Thread Harry X
Hello, I am new to GWT and need some examples to help understand it. Reading though some posts and searching over internet, I think using MVP+EventBus+DI+Presenter+Activity is a sound approach. Can some one point to me a good example to further study? Thanks in advance. Harry -- You receiv

setting debugId on nested menu item (UI Binder)

2011-02-07 Thread x-fission
Is there a way to set a debugId (for selenium testing) on a nested menu item in UI binder? I have a setup similar to a typical menubar such as: File Save Print ...(closing tags for everything) If I set a debugId on all menuItems, only the top leve

Re: Error: The import xxx.yyy.client.utils.ProgramSettings cannot be resolved

2009-05-05 Thread X
If you're in eclipse, try to refresh the package / src folder. The IDE sets up a virtual filesystem for your code, and some methods of GWT compile read from this filesystem and others use the actual filesystem. When IDE builds do weird things, try an ant build. The gwt 1.6 webapp creator makes t

Re: Client file access

2009-05-05 Thread X
<$filename>\n"); } $ext = '.x';//Also arbitrary; I keep gwt xml files in a .x file so I can set content type = text/plain for XmlParser $xRes = scandir($xHOME); foreach($xRes as $x) if(substr($x,0,1)!='.'&&substr($x,($len=strlen($x))-strlen($ext),$len)==$ext)

Re: HandlerRegistration not always so friendly ??

2009-05-05 Thread X
You can use a single Stack for all your events for one Widget, or in a more static context if you can control where all your widgets send all their Handlers. In the old model, you needed a collection for every type of listener, and {this is BIG} you couldn't call widgetInst.removeListener(ClickLis

Re: How to change the base URL for the app in Hosted Mode??

2009-05-05 Thread X
I use a deferred-binding method to get my urls right for every app / build. Basically, public class xSettings{ public String xDatiiUrl(){ return Document.get().getDomain()+"x51/"; } and public class xYourSettings extends xSettings{ @Override public String xDatiiUrl(){ return Document.get(

Re: Optimisation of obfuscated mode

2009-05-05 Thread X
public interface Bax{ public String getValue(); } public class Bar implements Bax{ String size; public String getValue(){return size;} } public class Foo implements Ba... OH WAIT!! You have one class returning String, and another returning int. I was going to say you need to use int

Re: Optimisation of obfuscated mode

2009-05-05 Thread X
public interface Bax{ public String getValue(); } public class Bar implements Bax{ String size; public String getValue(){return size;} } public class Foo implements Ba... OH WAIT!! You have one class returning String, and another returning int. I was going to say you need to use int

Re: New event system in GWT 1.6, best practices?

2009-05-05 Thread X
ace called xHasHandlers, with public void add(HandlerRegistration x);, a static package and class I call xVolatile, with a public static xHasHandlers xHandleStack object so widgets in different packages can send their listeners to their roots without knowing any other class info. Widgets that add Wi

Re: How do I write my own version of DialogBox?

2009-05-05 Thread X
Aye. Use ...If you're willing to rewrite enough classes, you can even compile out HashMaps and Tables... And file sizes will love you... -- "He whose desires are drawn toward knowledge in every form will be absorbed in the pleasures of the soul, and will hardly feel bodily pl

Re: Image size

2009-05-05 Thread X
If you want IE7 amd IE8, look into virtualbox. Microsoft gives away FREE vhd harddrives online with XP+IE6, XP+IE7, XP+IE8, VISTA+IE7 and VISTA+IE8. Of course, they only last a few months at a time, but they're free for web developer testing. {Sets up on Ubuntu real nice} Anyway... I've been kn

Re: GWT is it possible?

2009-05-05 Thread X
I'm not gonna lie to you, if you want something that can DRAW that stuff in the web browser, it's gonna be a lot of work. Your only real choice is to use the gwt incubator canvas, create classes for every kind of thing you want to draw, including connectors and line-routing mechanisms. Unless you

Re: How to suppress the token change for Hyperlink

2009-05-05 Thread X
Download the incubator, and use the HyperlinkOverride class as an example. It is a proposed change to the regular Hyperlink object that cares not whether the alt, ctrl or shift buttons are pressed {allowing users to spawn multiple pages of your app at once}. It implements ClickListener, so it's n

Re: How to compile code for UNIX

2009-05-05 Thread X
If you need Windows / Unix / Mac recognition,you can use a property provider to generate gwt module variables {used in the .nocache.js files} This will generate seperate class files for each Operating System if and only if you use these settings in DeferredBinding class replacements.

Re: GWT (Multiple Pages Implementation)

2009-05-03 Thread X
r is supposed to vanquish this kind of stuff, but code like: static Object x = xBuildor() will have the reference to the object removed, but not the call to xBuildor, even if it just returns "a string". By building your pieces in different modules, you are better prepared to deprecate old co

Re: GWT (Multiple Pages Implementation)

2009-04-30 Thread X
BERS AND JS OBJECTS WILL BE TRANSLATABLE ACROSS INSTANCES OF MODULES. I hear Google is working on a code-splitting device to take large modules and slice them into smaller files, which will, I hope, allow us to use mutiple frames capable of understanding the same interfaces... As it is now, we c