Feature Request: Support for Input Event Type

2013-10-05 Thread Nathaniel Johnson
Per a question I asked on Stack Overflow:

Add an event handler for TextBox and TextArea to handle composition changes 
by binding to the native DOM event "input".  It is common now to need the 
ability to detect changes to the value during composition.

The event I am referring to: 
https://developer.mozilla.org/en-US/docs/Web/Reference/Events/input?redirectlocale=en-US&redirectslug=DOM%2FMozilla_event_reference%2Finput

The question on Stack Overflow: 
http://stackoverflow.com/questions/19201132/gwt-input-event-on-textbox

If I need to file an official request or provide more information please 
point to the correct url.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Can not run GWT from eclipse on 64-bit Windows 7

2011-01-07 Thread Nathaniel Auvil
I have another GWT project which does work on this machine.  so i started
looking anywhere i could think...

.project
.classpath

etc

so there were some differences in those files.  I moved the GWT classpath
entry before the JRE_CONTAINER entry and it worked.  However, when i move
the GWT_CONTAINER entry after the JRE_CONTAINER entry to verify that was it,
my program still works.

This is really puzzling to me what the heck is going on.  I have spent the
better part of a day on this odd behavior.  I hate when you can not reliably
reproduce problems like this.

Thanks for all your help.  Wish i could have identified specifically what my
issue was.



On Fri, Jan 7, 2011 at 3:20 PM, David Chandler wrote:

> Try opening WEB-INF/lib dir in WinRAR and search for
> CompilerOptions.class. Of if you have cygwin installed, you can use
> this script:
>
> #!/bin/sh
>
> LOOK_FOR=$1
>
> for i in `find . -name "*jar"`
> do
>  echo $i
>  jar tvf $i | grep $LOOK_FOR
> done
>
> Then cd WEB-INF/lib
> jargrep CompilerOptions
>
> On Fri, Jan 7, 2011 at 1:17 PM, Marley  wrote:
> > the only gwt related jar under WEB-INF lib is: gwt-servlet-2.0.4.jar
> >
> > My project shows the reference for the GWT SDK 2.0.4 as created by the
> > Google Eclipse plugin
> >
> >
> >
> > On Jan 7, 10:39 am, David Chandler  wrote:
> >> What's in your WEB-INF/lib?
> >>
> >> This error occurs when there are multiple versions of the JDT
> >> CompilerOptions class on the classpath, one of which comes from
> >> gwt-dev.jar:
> org/eclipse/jdt/internal/compiler/impl/CompilerOptions.class
> >>
> >> /dmc
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Fri, Jan 7, 2011 at 10:28 AM, Marley 
> wrote:
> >> > if i compile via ant and deploy to my local weblogic server,
> >> > everything works fine.  This is the only error i have to go by...there
> >> > is nothing else which is frustrating.
> >>
> >> > I am using GWT 2.0.4.  Does that support 64-bit windows?
> >>
> >> > On Jan 7, 9:45 am, Marley  wrote:
> >> >> I have the latest Eclipse and the latest GWT eclipse plug-in.  My
> >> >> application works on 32-bit XP however i got a new machine running
> >> >> Windows 7 professional 64-bit
> >>
> >> >> When i try to launch my application i get the following error from
> >> >> GWT:
> >>
> >> >> 09:41:19.956 [ERROR] [my_gwt] Failed to load module 'my_gwt' from
> user
> >> >> agent 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
> >> >> Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> >> >> 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2)' at
> >> >> 127.0.0.1:53373
> >> >> java.lang.NoSuchFieldError:
> >> >> reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
> >> >> at
> >> >>
> com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
> >> >> 310)
> >> >> at com.google.gwt.dev.javac.JdtCompiler
> >> >> $CompilerImpl.(JdtCompiler.java:148)
> >> >> at
> com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
> >> >> 466)
> >> >> at com.google.gwt.dev.javac.CompilationStateBuilder
> >> >> $CompileMoreLater.compile(CompilationStateBuilder.java:142)
> >> >> at
> >> >>
> com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationSta
> teBuilder.java:
> >> >> 281)
> >> >> at
> >> >>
> com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationState
> Builder.java:
> >> >> 182)
> >> >> at
> >> >> com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
> >> >> 280)
> >> >> at com.google.gwt.dev.DevModeBase
> >> >> $UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
> >> >> at
> >> >>
> com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler
> .java:
> >> >> 180)
> >> >> at
> >> >>
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChan
> nelServer.java:
> >> >> 380)
> >> >> at
> >> >>
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java
> :
> >> >> 222)
> >> >> at java.lang.Thread.run(Thread.java:662)
> >>
> >> > --
> >> > 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 athttp://
> groups.google.com/group/google-web-toolkit?hl=en.
> >>
> >> --
> >> David Chandler
> >> Developer Programs Engineer, Google Web Toolkit
> >> w:http://code.google.com/
> >> b:http://googlewebtoolkit.blogspot.com/
> >> t: @googledevtools
> >
> > --
> > 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-toolkit@googlegroups.com
> .
> > To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> > For more options, visit this gr

Re: connecting gwt with orbited

2009-06-30 Thread Nathaniel

I was able to use orbited with gwt by including the orbited.js file in
my project and then having orbited host the entry point html.  Look at
the help for the orbited configuration to see how you can set up
directories under the static setting.  I have a feeling you could also
get this working via gwt's cross site linker settings, but I have not
tried it yet.

On Jun 26, 9:39 am, Nathaniel  wrote:
> I am attempting to do the same thing.  So far I have been able to
> include theOrbited.js file into my project by putting it in my
> gwt.xml file.  This allows me to open sockets, but only if I do so
> from the entry point html page via javascript in 

Re: connecting gwt with orbited

2009-06-26 Thread Nathaniel

I am attempting to do the same thing.  So far I have been able to
include the Orbited.js file into my project by putting it in my
gwt.xml file.  This allows me to open sockets, but only if I do so
from the entry point html page via javascript in 

Re: SmartGWT 1.0 Released

2008-11-28 Thread Edwin Nathaniel

Debugging in Firebug is something that I'd like to avoid as much as I
can. Especially for a GWT app which usually are pretty big. The nice
thing about Ext-GWT is that I don't need to do that (probably once in
the blue moon on a very extreme case).

Knowing the internal Ext-GWT which is written in pure GWT also helps a
lot. How about SmartGWT ? Do I need to know all the JS stuffs?
Eventually I do if I want to do something more than the framework has
to offer.

I suppose one nice thing about wrapping JS is that you only deal with
one low-level code-base. Other than that, I don't see any advantage.
At the end of the day, I can only wish SmartGWT takes Ext-GWT
approach. Last time I did a lame comparison on Ext-GWT and GWT-ext,
Ext-GWT is much snappier compare to GWT-ext.

I have couple questions though:

1) How do you guys do deferred binding in SmartGWT/SmartClient?
2) How do you optimize SmartClient for a specific browser?
3) How does the serialization work? if I recall last time, in GWT-ext
someone has to purchase something else?

On Nov 24, 10:56 am, ckendrick <[EMAIL PROTECTED]> wrote:
> Lest anyone get the wrong idea from francesco, when using SmartGWT you
> can debug your GWT *application* code normally within hosted mode.
>
> If you had a need to debug the core SmartClient libraries (normal
> users will not have a need to do this), you'd use debugging tools like
> Firebug and SmartClient's Developer Console.  Calling this being "out
> in the cold" is bit of hyperbole given that SmartClient's very long
> track record of success has always been based on this approach, which
> works well, and will work even better with the next crop of browsers,
> *all* of which have Firebug clones.
>
> Finally, on performance - the real world performance of enterprise
> RIAs is dominated by the number of trips to the server and the
> intensity of database load.  In this extremely key aspect - again the
> primary determinant of real-world performance - SmartClient/SmartGWT
> has a very dominant lead, which is due to it's sophisticated data
> binding architecture (particularly adaptive client-side operations and
> intelligent data caching).  By comparison, possible code size
> differences caused by a different mix of JSNI vs Java code is at best
> a 3rd or 4th tier performance concern, and is frequently has literally
> zero impact on actual performance of delivered applications.
>
> Using JSNI has distinct advantages - as Sanjiv touched on, we are able
> to optimize things at a very low level within the SmartClient runtime,
> and we can more easily profile and tune core framework code because
> it's not going through a Java->JavaScript translator.  This is very
> much like the mix of native C++ and higher level languages like C#
> within a .NET CLR - different languages for different tasks.
> Personally, for the kinds of applications that SmartGWT is designed
> for, I see it as a tremendous architectural advantage.
>
> On Nov 24, 12:32 am, francescoNemesi <[EMAIL PROTECTED]> wrote:
>
> > Hi Sanjiv,
>
> > thanks for your reply, agree with your comments. Re-reading my post I
> > agree it might look like I was, in a way, attachingsmartGWT. It was
> > not meant to come through that way, nor was my intention to praise
> > GXT.
>
> > It was only meant to be a comparison between approaches, JSNI vs Pure
> > GWT, and I definetely think that using JSNI as the foundation of any
> > GWT framework is not the right thing to do. Smart Client is an amazing
> > framework, but it is a JavScript framework. Using JSNI leaves you in
> > the cold when you need to debug, as an example, but I am sure you know
> > all that.
>
> > I think you have done a great job withsmartGWT, it looks really great
> > and I am sure it will have the success it deserves.
>
> > Regards,
> > Francesco
>
> > On Nov 23, 8:34 pm, "Sanjiv Jivan" <[EMAIL PROTECTED]> wrote:
>
> > > Hi Fransceso,
> > > If you found a library that meets your needs, then good for you.
> > > Compile output size and runtime performance are two separate issues. A 
> > > third
> > > party widget written in GWT Java, regardless of how small it compiles down
> > > to, doesn't magically make it run fast. Nor does it make it magically 
> > > render
> > > perfectly on all browsers. As an example a TableGrid written in GWT Java
> > > could still perform really poorly, and not display consistently on all
> > > browsers.  There are obviously several aspects to GWT that helps avoid 
> > > leaks
> > > and such but this does not mean that any third party code written in GWT 
> > > is
> > > 100% leak free. The GWT 1.6 event API is really neat andSmartGWTusers
> > > it. Well written code is what will perform well and display consistently
> > > across various browser.
>
> > > On the issue of performance, there are numerous posts made by paying GXT
> > > users that the performance of GWT-Ext is still better than GXT. You can
> > > search their forums. This is not to suggest that performance improvements
> > >

StatusCodeException.getStatusCode() == 0

2008-11-27 Thread Edwin Nathaniel

I'm currently getting statusCode == 0 if I kill hosted-mode but run
the client on a browser. Any reason why? I thought the RPC should
failed and return statusCode 5xx cause the server is unreachable?

My browser is Firefox 3 (which coincides with some of the statusCode
== 0 problem I'm seeing somewhere else around FF3)
--~--~-~--~~~---~--~~
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-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---