Re: Accessing Stylesheet URL set using gwt.xml using API's

2010-03-01 Thread Fazeel Kazi
I think what you can do is search for all link tags in the document, since GWT will ultimately convert all stylesheet into link tags included in the head of the page. On Sun, Feb 28, 2010 at 5:40 PM, keyboard_samurai yog...@gmail.com wrote: Hi, we are setting stylesheet using the automatic

Re: mousemove listener for document?

2010-01-26 Thread Fazeel Kazi
Another simpler solution using EventPreview: Event.addNativePreviewHandler(new Event.NativePreviewHandler() { public void onPreviewNativeEvent(NativePreviewEvent foEvent) { switch(foEvent.getTypeInt()) { case Event.ONCLICK: handleClick(foEvent); break;

Re: mousemove listener for document?

2010-01-26 Thread Fazeel Kazi
, 11:08 am, Fazeel Kazi fazzze...@gmail.com wrote: Another simpler solution using EventPreview: Event.addNativePreviewHandler(new Event.NativePreviewHandler() { public void onPreviewNativeEvent(NativePreviewEvent foEvent) { switch(foEvent.getTypeInt

Re: Panel with mouse events

2010-01-17 Thread Fazeel Kazi
When you have a large no of listeners, as in your case Pankaj or When no listeners are available. Use EventPreview class. It will detect any event occurring anywhere in your page. Event.addNativePreviewHandler(new Event.NativePreviewHandler() { public void

Re: Custom widgets and extended properties

2010-01-14 Thread Fazeel Kazi
Maybe you want something like what Messages interface provides. http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/Messages.html On Thu, Jan 14, 2010 at 3:24 AM, myapplicationquestions parag.bhag...@cgi.com wrote: Hi All, I am trying to develop a custom

Re: MultiWordSuggestOracle and HTML display

2010-01-13 Thread Fazeel Kazi
will need to customize the add() method a related methods. One question, why do you need that html tags, can't the same be achieved by css. How do you want to display the suggestions? On Tue, Jan 12, 2010 at 11:23 PM, Amos Sam amos...@gmail.com wrote: On Jan 12, 12:07 pm, Fazeel Kazi fazzze

Re: MultiWordSuggestOracle and HTML display

2010-01-12 Thread Fazeel Kazi
Two changes will be needed: . CollectionSuggestion defaults = new ArrayListSuggestion(); . . defaults.add(new MultiWordSuggestOracle.MultiWordSuggestion(Something, ht)); . On 1/11/10, Amos Sam amos...@gmail.com wrote: I've been searching for solution for my problem, but i'm

Re: onbrowseevent and sinkevent relation

2010-01-12 Thread Fazeel Kazi
calling sinkevent() means telling gwt that you would like to watch that event. So whenever the event occurs, control will be passed on to onBrowserEvent(). It's like sinkevent() is meant to register for events that you care. And when that happens, you can cathc that event in onBrowserEvent()

Re: Slowdown of GWT while loading

2010-01-05 Thread Fazeel Kazi
You could do the following if not already done. 1. In .gwt.xml file, check for every inherit, maybe some are not required now. 2. In build.xml, search for -style and remove that line. This will ensure obfuscation. 3. Also using Fiddler/ Firebug, find out if the time being consumed is at server or

Re: gwt + css + size in %

2010-01-05 Thread Fazeel Kazi
Don't think that % have any problem in IE. If your target is IE7/IE8, please install IE8. It comes with a firebug like debugger which can be used for debuggin IE7 and IE8. For IE6, you can use IE Developer Toolbar. It can only debug css and html. Regards. On Mon, Jan 4, 2010 at 11:05 PM,

Re: DatePicker / set a minimum date

2010-01-05 Thread Fazeel Kazi
Don't think there is anything for it. You could implement ValueChangeHandler and throw an error when such a date is selected. Regards. On Mon, Jan 4, 2010 at 7:22 PM, Dariusz darius...@gmail.com wrote: Hi! Is there a function how to prevent people selecting a date, which is in the past?