On Wed, Mar 18, 2009 at 6:10 PM, Ray Cromwell cromwell...@gmail.com wrote:
On Wed, Mar 18, 2009 at 2:57 PM, Vitali Lovich vlov...@gmail.com wrote:
First major concern is that I got a ConcurrentModificationException when
iterating over a HashSet - this exception is completely meaningless
Sorry - it was my fault. I tracked it down. Within the listener, I was
unregistering it - stupid me.
Thanks for your help
Vitali
On Wed, Mar 18, 2009 at 6:43 PM, Ray Cromwell cromwell...@gmail.com wrote:
On Wed, Mar 18, 2009 at 3:31 PM, Vitali Lovich vlov...@gmail.com wrote:
Nope
got confused about what's going on.
On Wed, Mar 18, 2009 at 7:18 PM, Ray Ryan rj...@google.com wrote:
FWIW, the HandlerManager class introduced in 1.6 allows concurrent
mods. Because really you're not so silly to want to do that.
rjrjr
On Wed, Mar 18, 2009 at 3:53 PM, Vitali Lovich vlov
but no solutions found.
Thank you very much.
Dean
On Mon, Mar 16, 2009 at 7:56 PM, Vitali Lovich vlov...@gmail.com wrote:
On Mon, Mar 16, 2009 at 5:12 PM, dean.mikel dean.mi...@gmail.com wrote:
Thanks very much for the response.
What you need to do is instead of giving it errorHandler, pass
It's perfectly possible, but the approach I take is this:
MVC is done on the client-side, except changes to the model that affect or
require business logic are asynchronous RPC calls into the servlet.
You have to be careful to understand the asynchronous nature of it notify
the user
It seems like a use case that is not going to be around for too long. My
recommendation would be to use OOPHM- you get to use your target browser
(I've only tried Firefox - haven't been able to get IE working), but run
with all the benefits of Hosted mode such as dynamically updated client (hit
Before I explain an OK first-order approximation, ask yourself is it really
worth the time to worry about the serialization/deserialization cost? I can
tell you from first hand it's minimal compared with the typical code I've
written. Now maybe if your passing in large amounts of data (think
That's because GWT doesn't know you actually need the errorHandler name.
It'll mangle it to improve performance when compiling (by minimizing the
size of your javascript).
What you need to do is instead of giving it errorHandler, pass it a
Javascript function you create (on every call or cached
CATALINA_HOME is the name for the home of Tomcat. You'll have to lookup how
to set up a Tomcat server.
On Mon, Mar 16, 2009 at 5:45 AM, poonam poonam...@gmail.com wrote:
hello,
According to the Three Part Tutorial suggested by u I have
developed my application but instead of SQL I
On Mon, Mar 16, 2009 at 5:12 PM, dean.mikel dean.mi...@gmail.com wrote:
Thanks very much for the response.
What you need to do is instead of giving it errorHandler, pass it a
Javascript function you create (on every call or cached in the page
somewhere) which then calls your Java code
You'd have to provide more code. It sounds like your trying to do the
following:
private MyClass foo = Class.forName(MyClass.class).newInstance();
in your RPC class. It's quite possible that that throws an exception, which
means GWT can't initialize your servlet.
My recommendation would be to
This question keeps coming up - maybe it should go on the FAQ for GWT. With
like giant flashing arrows pointing to what you have to keep in mind when
developing GWT.
GWT is a client-side library (with some syntactic sugar for communicating
with a server backend more easily). Although you write
HostedMode w/ OOPHM. rev 5009 if that helps.
On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum sco...@google.com wrote:
Is this using old-style GWTShell, or the new HostedMode?
On Mon, Mar 16, 2009 at 2:30 AM, Vitali Lovich vlov...@gmail.com wrote:
I'm just wondering if this is a bug
a little more detail about what you're doing? What exact errors are you
seeing?
On Mon, Mar 16, 2009 at 3:53 PM, Vitali Lovich vlov...@gmail.com wrote:
HostedMode w/ OOPHM. rev 5009 if that helps.
On Mon, Mar 16, 2009 at 11:41 AM, Scott Blum sco...@google.com wrote:
Is this using old-style
Yeah, sorry if I haven't made that clear. I am using the patch that was
posted earlier that enables OOPHM for HostedMode. I'll try increasing the
log level.
On Mon, Mar 16, 2009 at 11:01 PM, John Tamplin j...@google.com wrote:
On Mon, Mar 16, 2009 at 10:58 PM, Scott Blum sco...@google.com
I'm not 100% sure if this is related to the patch, but I'm seeing an issue
in the following situation:
Started a project in OOPHM HostedMode
Firefox 3.1 with plugin (version bumpbed to 3.1).
Put laptop to sleep
On wakeup, Firefox locks up.
Now some variables do change - the connection drops out
Oh I wasn't complaining. It's not an issue at all since FF has session
restore. Just wondering if it was a known issue if I should file a bug.
On Tue, Mar 17, 2009 at 12:08 AM, John Tamplin j...@google.com wrote:
On Mon, Mar 16, 2009 at 11:59 PM, Vitali Lovich vlov...@gmail.com wrote:
I'm
I may not be understanding your question. GWT will compile your code into
whatever Javascript is actually used.
So when GWT compiles your user's code, if they don't use the parts that rely
on the optional library, they won't get that library automagically, AFAIK,
by the GWT compiler recognizing
Welcome to the club. I haven't done Java web-development in like 4 years,
and I was completely lost with which tools to use (at least for the
server-end) and how they could be used to reduce the amount of code I could
write. At the end of the day, I just decided to use my existing Java
knowledge
Why have multiple entry points? Why not just the one that decides which
code to run?
On Fri, Mar 13, 2009 at 6:12 AM, Magius antonio.diaz@gmail.com wrote:
I had this problem some months ago.
I had several pages in the same project (GWT 1.4), sharing services,
code and images.
The first
it.
On Fri, Mar 13, 2009 at 7:54 AM, chauhan.sac...@gmail.com wrote:
How can we make sure that the GUI objects that we created are actually
removed from DOM?
On Mar 13, 1:58 pm, Vitali Lovich vlov...@gmail.com wrote:
Make sure that if you remove panels whatnot from the page, that you
actually
-offs.
On Fri, Mar 13, 2009 at 7:14 AM, Magius antonio.diaz@gmail.com wrote:
One Abstract EntryPoint with a child EntryPoint for each form was OOP-
nicer,
but only one EntryPoint with a 'switch-case' will do the job.
On Mar 13, 11:56 am, Vitali Lovich vlov...@gmail.com wrote:
Why have
with to find the path to javac instead of looking at the javac on the path,
so I also had to do an update-alternatives for java.
On Fri, Mar 13, 2009 at 3:58 AM, John Tamplin j...@google.com wrote:
On Fri, Mar 13, 2009 at 3:53 AM, Vitali Lovich vlov...@gmail.com wrote:
Don't feel like you need
to be
updated to pull in the appropriate files from core/.
Otherwise, thanks keep up the amazing work.
On Mon, Mar 9, 2009 at 8:27 AM, Vitali Lovich vlov...@gmail.com wrote:
*S*orry meant to put this in my previous e-mail.
GWT OOPHM Plugin File name: npOOPHM.dll GWT OOPHM Plugin MIME Type
Description
Oh - one question I had is if there's a way to set the browser path?
On Fri, Mar 13, 2009 at 7:22 AM, Vitali Lovich vlov...@gmail.com wrote:
I'm getting the plugins from the gwt-oophm branch. The current install.rdf
says 3.0.*. I manually set it to 3.1.*.
Installs fine now in 3.1.
I just
:17 AM, John Tamplin j...@google.com wrote:
On Fri, Mar 13, 2009 at 7:24 AM, Vitali Lovich vlov...@gmail.com wrote:
Oh - one question I had is if there's a way to set the browser path?
Right now it just execs firefox URL, so if you set the PATH GWT sees to
include the Firefox you want to run
-side properly configured without
introducing GWT at first, and then creating the client-side using GWT and
integrating with the server-side using GWT RPC sounds like a sound approach
if you're just getting started.
Hope that helps,
-Sumit Chandel
On Tue, Mar 10, 2009 at 12:26 AM, Vitali
Well, one thing you can do is have the EntryPoint, and just tell plugin
developers that they have to attach to some particular div element in a
particular way, as opposed to the traditional root (i.e.
RootPanel.get(plugin-name-div)).
Then the user can request certain plugins to be added in which
recommend testing this on several
browsers - I'm not sure which support it (although I suspect all of the
major ones).
Good luck.
On Thu, Mar 12, 2009 at 3:03 PM, Vitali Lovich vlov...@gmail.com wrote:
Well, one thing you can do is have the EntryPoint, and just tell plugin
developers
Just as a future hint, you may want to translate the error messages into
English as well. I understood it there might be enough friend words for
context for people who don't speek French, but you're more likely to get
responses if everything is in English.
On Thu, Mar 12, 2009 at 1:35 PM, Miles
Oh, and the RootPanel way of dynamically adding the plugin's javascript will
probably only work in onModuleLoad. The DOM approach I gave should work at
any time (i.e. as a response to user action).
On Thu, Mar 12, 2009 at 3:21 PM, Vitali Lovich vlov...@gmail.com wrote:
Uggh - sorry. Gmail
by Vitali. I shall give it
a try. If you guys have any thing more
solid and you feel it will work, Let me know about it.
I think GWt should be coming up with some way we can load there Obfuscated
code dynamically.
Thanks a lot guys.
On Fri, Mar 13, 2009 at 1:00 AM, Vitali Lovich vlov
Sounds like a bug - you should file a bug (under the issues tab of the
googlecode page). GWT's goal is that you shouldn't care about the browser
*unless you're doing some JSNI stuff).
If you figure out a workaround in code, you can hide it behind a deferred
interface the GWT compiler will take
JSNI maybe?
On Wed, Mar 11, 2009 at 5:38 AM, Josse josse.braye...@gmail.com wrote:
There is no way to get round this problem??
On 10 mar, 17:54, Ian Bambury ianbamb...@gmail.com wrote:
You can't. Reflection is not available.
Ian
http://examples.roughian.com
2009/3/10 Josse
It's not really a matter of this being GWTs way. I believe this is the only
thing browsers support since they do not have multiple threads, at least so
that the UI doesn't lock up. And by UI lockup, I don't mean the page is
unresponsive - I mean the whole browser used to freeze if a page was in
Probably not since it's still the same problem in essence - that you are
manipulating the DOM a lot.
Here are some things to try:
Build the widget first using javascript then add it as one thing (although
if you still pass it off to TreePanel, it's probably not going to help since
TreePanel
You only need to put your server-side stuff into WEB-INF/lib and only when
you are deploying to your server (should be part of your ant script to build
your war). Otherwise, just adding to the build path in Eclipse works great
(you don't even need jars - just add projects to your classpath).
On
on how you specify the path (war/module is probably easier).
On Wed, Mar 11, 2009 at 7:26 AM, Vitali Lovich vlov...@gmail.com wrote:
You only need to put your server-side stuff into WEB-INF/lib and only when
you are deploying to your server (should be part of your ant script to build
your war
FastTree already takes care of all of this, so I'd recommend using it.
http://collectionofdemos.appspot.com/demo/com.google.gwt.demos.fasttree.FastTreeDemo/FastTreeDemo.html
On Wed, Mar 11, 2009 at 7:37 AM, gregor greg.power...@googlemail.comwrote:
I have never tried using StackPanel like
Would it be possible to have the annotation in the image bundle also include
the desired size, so that the GWT compiler can auto-scale the source image
to the appropriate size. That way we wouldn't have to maintain a high-res
version of the icons in addition to the scaled down version we want.
Can you please provide more information? Where do you see the ??'s and
what are you doing with the input fields? What browser are you using?
My guess is that you are using an RPC call to send the data back to the
server when the user presses a button. If this is the case, try putting
to the HostedMode application
with an argument where the web.xml file is located. There is a -war
argument which I used and which is generating a war folder
structure...but how do I specify which web.xml to use?
Thanks,
Doru
http://java-hobby.blogspot.com/
On Mar 9, 7:46 am, Vitali Lovich vlov
I wouldn't recommend that. Are you trying to actually open a separate URL?
If you just want to transition within your application to a new screen,
you'll have to remove the old panel from its parent, add in the next
screen. That way, you'll have a seamless transition within your application
The dev-windows/dev-linux is strictly for hosted mode. Their output should
be identical (it is just javascript, html css after all). The server
code is just native Java (unless you used JNI on your own)
On Mon, Mar 9, 2009 at 5:16 AM, mr.Sundar mr.sun...@gmail.com wrote:
Hi,
Is there any
...@gmail.com wrote:
Yes, but I want something which does not carry UI. I really don't
need UI. All I need is something that represents the arbitrary html
string model. It will be plus if this class also supports method of
manipulating the underlying string.
On Mar 7, 9:11 pm, Vitali Lovich
I prefer Eclipse. It also seems that there's more use of GWT Eclipse
together, so any problems you should have setting it up have already been
solved.
http://code.google.com/webtoolkit/gettingstarted.html
As allways, a simple gwt eclipse Google query provides the answer.
On Mon, Mar 9, 2009
The OOPHM is registered in Firefox 3.0. Firefox 3.1 doesn't have it
registered (which used the XPCOM plugin instead of the Firefox one).
On Mon, Mar 9, 2009 at 1:03 AM, Vitali Lovich vlov...@gmail.com wrote:
OK - I'll check as soon as I get the chance to work on my GWT project.
On Sun, Mar
*S*orry meant to put this in my previous e-mail.
GWT OOPHM Plugin File name: npOOPHM.dll GWT OOPHM Plugin MIME Type
Description Suffixes Enabled application/x-gwt-hosted-mode Plugin to allow
debugging of GWT applications in hosted mode.
Yes
On Mon, Mar 9, 2009 at 8:26 AM, Vitali Lovich vlov
My guess would be so that they don't show up unless people really look for
it.
On Sun, Mar 8, 2009 at 11:23 AM, hezjing hezj...@gmail.com wrote:
Hi
In
http://code.google.com/p/google-web-toolkit/downloads/list?can=1q=1.6+Milestone+2
,
may I know why the GWT 1.6 Milestone 2 distributions are
If you used the webAppCreator, you should get a sample web.xml in your war/
directory. Servlets are no longer defined in your gwt.xml but rather
through the web.xml file.
On Sun, Mar 8, 2009 at 9:56 AM, Doru virgil.tra...@gmail.com wrote:
Hi,
I am trying to use the new
Make sure you don't specify a user-agent in your gwt.xml file. Are you
getting any script errors when you start in IE?
On Sun, Mar 8, 2009 at 9:40 AM, Doru virgil.tra...@gmail.com wrote:
Hi,
I downloaded GWT 1.6 M2. I compiled my project and I am able to
use the output on Firefox and
can I specify a web.xml file to the
com.google.gwt.dev.HostedMode?
Thanks,
Virgil
On Mar 8, 7:59 pm, Vitali Lovich vlov...@gmail.com wrote:
If you used the webAppCreator, you should get a sample web.xml in your
war/
directory. Servlets are no longer defined in your gwt.xml but rather
GWT only implements a very small portion of the JRE (a lot of stuff is not
available from a browser context anyways). So what you're trying to do
apparently is use a Java library within your client code which more likely
than not will not work.
GWT has two parts to it. Client code that is java
On Sun, Mar 8, 2009 at 2:13 PM, John Tamplin j...@google.com wrote:
On Sun, Mar 8, 2009 at 12:00 AM, Vitali Lovich vlov...@gmail.com wrote:
Yup - using Firefox. No warnings came up. I grabbed the XPCOM plugin
from the oophm branch it installed on both FF3.1 FF3.0. The one
OK - I'll check as soon as I get the chance to work on my GWT project.
On Sun, Mar 8, 2009 at 4:21 PM, John Tamplin j...@google.com wrote:
On Sun, Mar 8, 2009 at 1:41 PM, Vitali Lovich vlov...@gmail.com wrote:
It said that the (firefox) plugin is incompatible with this version of
firefox
Umm - you have an empty onModuleLoad. That means your module is doing
absolutely nothing. You do have to actually somehow direct the user to the
Student or Teacher module.
On Fri, Mar 6, 2009 at 3:34 PM, Techer forums.soluti...@gmail.com wrote:
by seeing answers to similar questions I tried
Do you mean to inject arbitrary HTML text into the page? There's the HTML
widget class (don't feel like looking up the full package name right now,
but Eclipse should help you find it - it's in the com.google.client UI
stuff).
On Fri, Mar 6, 2009 at 7:13 PM, planetsoni krunalns...@gmail.com
Wait - I'm confused. I am running with trunk I've been unable to get
OOPHM working. Thanks.
On Sat, Mar 7, 2009 at 10:50 AM, John Tamplin j...@google.com wrote:
On Sat, Mar 7, 2009 at 8:40 AM, Allahbaksh Asadullah
a.allahba...@gmail.com wrote:
I am also using OOPHM from past one month. I
I've been using Vista x64. I'll try it out on Linux x64 once I get the
chance - I have to get some other stuff done before Monday.
On Sat, Mar 7, 2009 at 5:40 PM, John Tamplin j...@google.com wrote:
On Sat, Mar 7, 2009 at 3:41 PM, Vitali Lovich vlov...@gmail.com wrote:
Wait - I'm confused
- that has a 64-bit browser 64-bit
JVM.
On Sat, Mar 7, 2009 at 9:36 PM, John Tamplin j...@google.com wrote:
On Sat, Mar 7, 2009 at 8:55 PM, Vitali Lovich vlov...@gmail.com wrote:
I've been using Vista x64. I'll try it out on Linux x64 once I get the
chance - I have to get some other stuff done
I dunno - it works for me. The lib directory is only for deployment. Check
the classpath of your run configuration to make sure that your lib is
actually on the class path.
On Thu, Mar 5, 2009 at 5:21 AM, Jerome jerome.mil...@gmail.com wrote:
I am migrating a projet from GWT 1.5 to 1.6.
Darn. Would there be any branch that does work?
On Fri, Mar 6, 2009 at 6:27 PM, John Tamplin j...@google.com wrote:
On Fri, Mar 6, 2009 at 6:14 PM, Bruce Johnson br...@google.com wrote:
[+John Tamplin, lead dev on OOPHM]
@John: Would you have any time to write a short wiki article about
Is it possible that as a result of the RPC call the javascript loads another
page or reloads the current one?
On Wed, Mar 4, 2009 at 2:30 AM, Brian Ferris bdfer...@gmail.com wrote:
I have a relatively complex GWT application composed of my main
application EntryPoint and a number of library
You're probably using scheduleRepeat. Browsers are strictly single threaded
(some multi-threading Javascript support coming in FF3.1 that I know of).
Anyways your problem is this:
run()
showWindow()
browser keeps generating timer event probably because that comes from the OS
there's no locking
But be careful that if you do, you're code will not work past 1.5. In 1.6,
longs are real longs except emulated an object. The question you need to
ask yourself is do you really need a long? If you don't, then just use int.
If you do, then you'll need a code path for 1.5 which treats it as a
You have to think about what kind of UI the users actions have caused. For
instance, if you would expect all inputs to become disabled (or at least the
one which would generate more async calls). Perhaps also some kind of
waiting indicator that you are in an async call.
On Wed, Mar 4, 2009 at
, Vitali Lovich vlov...@gmail.com wrote:
You have to think about what kind of UI the users actions have caused. For
instance, if you would expect all inputs to become disabled (or at least the
one which would generate more async calls). Perhaps also some kind of
waiting indicator that you
401 - 467 of 467 matches
Mail list logo