In devmode you are running within a JVM, production is running from
the browsers javascript engine.
Your probably getting some big bumps from hotspot if your doing
something with any major calculations, which means those inner loops
are getting optimized a couple of times and are running as asm
Hi
I'm launching GWT from an external web site (external from GWT's war). The
client side (javascript) works flawlessly but I get a 304 http status while
calling any RPC.
If I use StatusCodeException.getStatusCode it returns a Zero, but taking a
look to the TCP packets I realized what the server
Objects in rpc calls must implement Serializable, and all the types of its
fields must be serializable too.
You should also make sure the rpc return type is the same the server method
returns, with special attention on generics. I got a problem similar to
yours by returning ListUser while the rpc
Beside of how easier its to write layouts in xml instead of java and the
fact that you can easily embed css, images and other resources, if you use
uiBinder with HTMLPanel you will get the best effortless performance with
gwt.
2010/6/20 spierce7 spier...@gmail.com
thanks :-)
On Jun 20, 9:39
Hie
to avoid more back and forth mails here are the stuff i have: Please advise.
service interface:
public interface FindBloodDonorService extends RemoteService {
ListFindBloodDonorResultBean findBloodDonor(String state, String
district, String bloodGroup) throws Exception;
}
implemenation
Hi Vik,
FindBloodDonorResultBean should have a default constructor (one with
NO arguments)
And you should use a concrete List implementation (e.g. ArrayList).
Marshalling/Serialization is sometimes contrary to common design
patterns
Stefan Bachert
http://gwtworld.de
--
You received this
this seems to work... but I am not sure how I can get rid of
the g:SimplePanel addStyleNames={style.gwt-DialogBox}
!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder
xmlns:g=urn:import:com.google.gwt.user.client.ui
ui:style
Hi,
I don't use UiBinder in general. It may be nice for some hacks.
UiBinder has a lot of problems
* a further language. No way to debug it
* limited to a set of widgets
* it is a graphic designer mindset (we do this app, the app is our
concern) not a developer mindset (we do this class of
Hi,
Somehow you set a cache control or you have some proxy who is doing
that in between
Stefan Bachert
http://gwtworld.de
---
10.3.5 ***304 Not Modified
If the client has
Wow, thanks. I thought I would have to start configuring eclipse or
something.
Thanks, I just didn't notice that small ; at the end.
On 20 יוני, 20:32, Olivier Monaco olivier.mon...@free.fr wrote:
Try to add a ; after the JS comment of getUserAgent:
public static native String
Hi,
try TextResource of ClientBundle
Stefan Bachert
http://gwtworld.de
On Jun 19, 7:51 am, rohitgodkhindi rohitgodkhi...@gmail.com wrote:
HEllo every body.
I want to read a text file into gwt and display its contents in my
browser .
Plz help me. I am not getting how to do it.
--
You
hie
Thanks a lot friend
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On Mon, Jun 21, 2010 at 7:27 PM, Stefan Bachert stefanbach...@yahoo.dewrote:
Hi Vik,
FindBloodDonorResultBean should have a default constructor (one with
NO arguments)
And you should
I think I disagree with you on almost all points. I have been using UIBinder
much before GWT2.0 was officially released, and I think to use GWT
straight-from-trunk to leverage UIBinder was the best architectural decision
we made.
a further language. No way to debug it
Its the language of the
Hello there,
I know that this topic has been circling around for a while and i
thought to bring it up again just for the sake of discussion and in
case someone else has found an alternative for it.
One of our requirements is to be able to load a compiled GWT module at
runtime, bc we have a
I was just yesterday going after the same thing, untill I did some
testing and found that you can use JSNI to set objects on the window
without having to worry about their name:
package com.testproject.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
I think you've got some entries on your server's runtime classpath (in
WAR/WEB-INF/lib) which do not need to be there. gwt-user.jar should not be
there - gwt-servlet.jar should. Also, servlet-api-2.5.jar does not need to
be there either; that is provided by Tomcat.
On Wed, Jun 9, 2010 at 3:57 PM,
When I step outside of GWT application using Window.Location.assign()
I can see this referer in place instead of real application URL:
FE260AAEE130806C4B0C46DE65C8A79A.cache.html
I understand the reason why it's so, however looking for a way how to
avoid this behavior. Is there any elegant way
Hi,
I recently installed GWT Plugin on a fresh Eclipse under Ubuntu 10.04
(32 bits). Every time I try to run the App I get the following error:
Exception in thread main java.lang.NoClassDefFoundError: com/google/
gwt/dev/DevMode
Could not find the main class: com.google.gwt.dev.DevMode. Program
We are developing the GWT RPC application, which requires to read the
servlet url from properties file and redirect the client to the
servlet url after authentication. The url also contains the username
after authentication.
I have tried dynamic string internationalization but the username is
not
Hello,
Is the text file that you want to read situated on the client side or
on the server side?
If on server-side :
/**
* read a text file
*
* @param path
*the path to the file to read
* @return a string representing the contents of the
Hi,
What functionality exactly do Chrome Safari miss? Don't they respond
to the click event at all, or is it deeper in your code?
I suppose you already tried it but just in case : start simple with a
Window.alert(You clicked on the list!); and then try to make it
more complex...
PS : sorry for
Hi,
I have developed an gwt 2.0 application (with RPC) in eclipse with use
of the plugin for eclipse.
I compiled it from eclipse (obfuscated).
Know when i go to the application via an explorer, i see a war file.
The content of this war file looks ok for me, so i package it into
a .war file.
Next
Hi All,
I wrote a sample app (based on Contacts2 ) to use the UiBinder and
using the MVP Pattern and initially my home presenter is getting
invoked and every thing works fine. Once i click on a link on the left
hand side panel i want to display a new view in the center panel of my
Hi,
I have an GWT 2.0 application using Spring and Hibernate. (GWT-SL
GXT)
I would like to add a security layer and a profile handler. So I turn
on Spring security.
I don't find any samples of a GWT 2.0 Spring security 3.0.
In fact, I would like a snippet of Spring security configuration.
If
Hi, i have gone through many articles on web and found that GWT is not
good for an application that has million users access simultaniouly.
Is that really true? If not then what should i do make it accessible
by million users?Is that really tough job in GWT?
--
You received this message because
Hello Friends,
I m trying to configure gwt-2.0.3 with Eclipse can any plzzz give me
steps. Till now I m not work on GWT so plz Help me my dear friends.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email
Hello,
I guess you already had a look to wikipedia, but just in case, here is
qhat they say about 304 code:
304 Not Modified
Indicates the resource has not been modified since last requested.
Typically, the HTTP client provides a header like the If-Modified-
Since header to provide a time
i dont think this has anything to do with GWT. ITs upto you what mess you
make of your code, that it cant support a million users.
U say u have seen many articles can u please post some of them here?
In fact, GWT goes to extreme lengths to ensure that the application is
optimized and behaves in
Nevermind i am able to resolve the issue.
I was creating a new instance of HomeView in onValueChange() which is
causing the issue..(I don't need to create this instance as i already
created it in the ApplicationController constructor..
Thanks
On Jun 20, 5:43 pm, rvns-pats
What was such claim based on? It does sound weird to me.
Client-side, which is where GWT operates mostly, does not care about how
many users is accessing your website. By providing things like ClientBundle
or code-splitting I think GWT helps your website handle loads of users
better.
On Sun, Jun
References, please?
The most charitable interpretation of this is that someone is
misinformed.
On Jun 19, 7:44 pm, manish kumar manish.online2...@gmail.com wrote:
Hi, i have gone through many articles on web and found that GWT is not
good for an application that has million users access
Does anyone have an example of how to get java.util.logging.Logger
messages to the console when running in development mode? I was
excited about removing an external dependency of gwt-log, but can not
seem to get any dev-mode CLIENT log messages to appear to the
console..
Complicating matters is
I haven't tried - but if you use the XS linker, you should get the proper
referer. The XS linker doesn't use iframes, so the referer should be what
you expect.
--Sri
On 21 June 2010 22:52, Peter peterlovi...@gmail.com wrote:
When I step outside of GWT application using
You can either drive a nail using hammer or break some one's head! It
really depends on how you use the tool; be it the hammer or gwt.
as far as million access is concerned, it completely depends on your
server if it can handle that load or not. Look into your server side
code, server
Get the Eclipse Plugin from the Update Site mentioned in the below
listed URL and follow the Steps..
http://code.google.com/eclipse/docs/getting_started.html
On Jun 21, 1:37 am, Sudhanshu Shukla sudhanshus.2...@gmail.com
wrote:
Hello Friends,
I m trying to configure gwt-2.0.3 with
On Mon, Jun 21, 2010 at 9:28 PM, rakesh wagh rake...@gmail.com wrote:
If you compare gwt to other js based toolkits, they all behave similar
as far as client to server communication is concerned. gwt only makes
life simple for the developers.
...and (with comparably complex UI) makes your
uibinder separate layout out of your ui. pre uibinder we would use
inner class to create hierarchy like structure for layout right inside
java! That kind of code would look bit messy and unstructured to some
one who is not familiar with the style of programming. As a developer,
I would like to
Filed the following issue for this:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5041
http://code.google.com/p/google-web-toolkit/issues/detail?id=5041Feel
free to star it/add comments as you see fit.
On Sun, Jun 20, 2010 at 9:41 AM, Sripathi Krishnan
Hi Fabricio,
Could you try this:
- Run your new, empty GWT project via Eclipse, then go to its Debug view.
- You should see a line in the Debug view with something like:
/usr/lib/.../java (...).
- Right-click on this, go to Properties, and copy+paste the Command Line
into a reply.
jason
On
On Mon, Jun 21, 2010 at 9:43 PM, rakesh wagh rake...@gmail.com wrote:
Infact my question is, why xml? why not yaml or json?
Because HTML is de-facto XML? And given UiBinder is mix of HTML + the
UI-definition the choice has been obvious, IMO. Not speaking of
data-structure definition, format
Hello Shedohan,
Thank you for the answer.
But i don't think that this is what i'm looking for.
My php file (this is not workingdocumentation siad that it should
work)
HTML Code:
script type=text/javascript language=javascript src=phptester/
phptester.nocache.js/script
script
My GXT DateField needs 3 clicks to trigger DatePicker on Internet Explorer
8.
Does any one know why?
Best regards.
--
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.
We are seeing delayed responses for concurrent Asynchronrous RPC
requests. The following requests are the rusult if one button click
and all have fairly trivial processing that completes in less than a
couple of hundred milliseconds (some in less that 50 milliseconds) but
the responses are bunched
Have you asked on the GXT forums, Luiz?
http://www.sencha.com/products/gwt/
On Jun 21, 1:32 pm, Luiz Gustavo Arruda gu.e...@gmail.com wrote:
My GXT DateField needs 3 clicks to trigger DatePicker on Internet Explorer
8.
Does any one know why?
Best regards.
--
You received this message
Hi,
Can someone point me in the right direction to implement a login +
session system? What are the best practices? I read this page:
http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ
but am still confused about how HttpSessions are to be used, how to
generate session
Hi Jeff,
thank you for your answer.
The application respond to clicks. For buttons there is no problem.
It also no problem to expand the list, but when I select items from a
list the application does not make the changes it should.
I think you are right - I need a more in depth investigation
You don't need to generate session ids, they are generated automatically by
server. You can invalidate session though, as you may notice in HttpSession
API. This results in new session being generated. (I'm not sure though
whether this happens immediately or on following http request. But that can
HI, maybe this peace of code can Help :) :
You can use two modules/entries, one for the login other after login
on login
Client side:
public void onModuleLoad() {
this.setLoginPanel();
LogUtils.info(Showing Login page);
loginButton = new Button(Login);
Hi,
Thanks for your reply. I was about to paste the Command Line when I
saw what was wrong. My JDK library inside Eclipse was configured with
the java home pointing to a 32 bit version but the libraries was
pointing to an old 64 bit version (I changed the library config
instead of creating a new
1. Is CellListPlacePickerView show all items even for huge list? not
using async?
2. Is activitymanager using aysnc?
3. i assume CellListPlacePickerView will be replaced in future,because
mentioned in sourcecode
--
You received this message because you are subscribed to the Google Groups
Google
I'm trying to dynamically insert a tr with two tds one of which is
a Button() which I need a clickhandler attached to it. I know going
button.toString and appending that to the tr string like this:
$(dynamicTable).append(trtd+button+/tdtd+someString+/
td/tr);
results in the clickhandler not being
I am trying to use GWTCanvas from the incubator with IE8. I am using
GWT 2.0.3 and the incubator 2.0.1 drop.
It works fine with Firefox and Chrome of course, but I get nothing
visible with IE.
When I examine the page with the I see lots of v:shape tags, so
something is happening yet nothing is
Hey guys,
So, I was watching Ray's i/o 2010 video and I got interested in
HttpThrowableReporter. I'm testing throwing some Exceptions to my
server (python app engine) and now I want to re-symbolize them on the
server so I can log something that makes sense.
I've got all those cute little
Hi,
I am looking at implementing ImageBundles (still stuck on GWT1.4)
Any ideas on writting Unit Tests for Images in general and for GWT
ImageBundles in particular??
Also any recommendations/best practice to keep in mind when writting
ImageBundles which could ease transition to ClientBundles in
I've been taking a good look at this 2.1 MVP stuff - and in particular
the Expenses example (rev 8291)
http://google-web-toolkit.googlecode.com/svn/branches/2.1/bikeshed/src/com/google/gwt/sample/expenses/
I'm certainly not the best developer/architect going round, but I like
to think I'm pretty
Given the absence of a vertical TabLayoutPanel in GWT, I was trying to
patch the TabLayoutPanel code in my local space by copying the
TabLayoutPanel source code and modifying it. However, when I use
UiBinder to construct my UI, I run into a problem that makes me wonder
how UiBinder works behind
I've made a set of poms for gwt-dev, gwt-user, gwt-servlet, gwt-soyc-
vis and gwt-bikeshed that builds from the current 2.1-SNAPSHOT (Except
building bikeshed was broken with the changes made over the weekend).
They all work with gwt-maven-plugin (only gwt-dev needs the
dependencies to be bundled
I think that .project, .classpath and .checkstyle files should be
included. All the other samples have those files imported. It is
possible to create the eclipse project from sources but I think it would
be much more convenient if the project was already created for the user.
I also think that
Is it possible to use a linker to scan the source files which were
compiled? I would think that linker has access only to files that are
actually output of the compilePerms (and possible PreCompile), but I
may very well be wrong
If I cannot use linker to analyze java code, is there a hook
On Mon, Jun 21, 2010 at 9:06 AM, Marko Vuksanovic markovuksano...@gmail.com
wrote:
Is it possible to use a linker to scan the source files which were
compiled? I would think that linker has access only to files that are
actually output of the compilePerms (and possible PreCompile), but I
may
Thanks for the response, John. Are there any plans to implement
something like this?
On Jun 21, 3:16 pm, John Tamplin j...@google.com wrote:
On Mon, Jun 21, 2010 at 9:06 AM, Marko Vuksanovic markovuksano...@gmail.com
wrote:
Is it possible to use a linker to scan the source files which were
On 2010/06/17 08:52:37, Konstantin.Scheglov wrote:
Thanks, LGTM. Submitted at r8281.
http://gwt-code-reviews.appspot.com/633801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On Mon, Jun 21, 2010 at 9:23 AM, Marko Vuksanovic markovuksano...@gmail.com
wrote:
Thanks for the response, John. Are there any plans to implement
something like this?
Not that I know of. Linkers may run on a machine separate from where the
source is, so allowing them access to the source
LGTM
With the note that it might make sense to just pull some of the
deprecated code than try to fix it.
http://gwt-code-reviews.appspot.com/643801/diff/1/5
File user/src/com/google/gwt/user/client/ui/PopupPanel.java (right):
http://gwt-code-reviews.appspot.com/643801/diff/1/5#newcode1362
Well, the idea is to be able to somehow analyze the input and see how
it is related to some output. I know that it is possible to achieve
this without messing gwt compiler itself (just run some code before
the compiler starts its job). Its just that it would be a nice feature
to be able to take
@jat, Any news about this?
http://gwt-code-reviews.appspot.com/620802/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/636801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Sure - that sounds reasonable - I'll add those today.
On Mon, Jun 21, 2010 at 2:49 AM, markovuksano...@gmail.com wrote:
I think that .project, .classpath and .checkstyle files should be
included. All the other samples have those files imported. It is
possible to create the eclipse project
Hi Googlers^H^H G-men!
Do you have any ETA for 2.1 M2 (or RC1?), and/or 2.1 GA?
We're looking at RequestFactory, ActivityManager and data presentation
widgets for a new project, but they're far from complete now
(particularly RequestFactory, and ActivityManager isn't plugged with
the History).
LGTM
http://gwt-code-reviews.appspot.com/640803/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 8289
Author: j...@google.com
Date: Mon Jun 21 06:45:34 2010
Log: Removes redundant width/height parsing in DockLayoutPanel.
Review at http://gwt-code-reviews.appspot.com/633802
http://code.google.com/p/google-web-toolkit/source/detail?r=8289
Modified:
Revision: 8290
Author: sco...@google.com
Date: Mon Jun 21 08:04:24 2010
Log: Adds a simple JJS test to verify that enums compile.
TODO: improve this test.
http://gwt-code-reviews.appspot.com/640803/show
Review by: spoon
http://code.google.com/p/google-web-toolkit/source/detail?r=8290
Added:
LGTM with comments
http://gwt-code-reviews.appspot.com/636801/diff/6001/7003
File /bikeshed/src/com/google/gwt/collections/MutableSet.java (right):
http://gwt-code-reviews.appspot.com/636801/diff/6001/7003#newcode23
/bikeshed/src/com/google/gwt/collections/MutableSet.java:23: * creating
the
http://gwt-code-reviews.appspot.com/638801/diff/1/3
File plugins/xpcom/Makefile (right):
http://gwt-code-reviews.appspot.com/638801/diff/1/3#newcode130
plugins/xpcom/Makefile:130: -lxpcomglue_s -lxpcom -lnspr4 -lmozjs
for 3.7 we also need to link against mozalloc
ifeq ($BROWSER,ff40)
DLLFLAGS
http://gwt-code-reviews.appspot.com/649801/diff/1/88
File user/src/com/google/gwt/user/client/ui/ValueBoxBase.java (right):
http://gwt-code-reviews.appspot.com/649801/diff/1/88#newcode46
user/src/com/google/gwt/user/client/ui/ValueBoxBase.java:46:
SourcesChangeEvents, HasChangeHandlers,
While this shouldn't be taken as a binding set of dates, we are looking to
wrap up a 2.1 RC in late Q3, with GA release in early Q4.
On Mon, Jun 21, 2010 at 12:30 PM, Thomas Broyer t.bro...@gmail.com wrote:
Hi Googlers^H^H G-men!
Do you have any ETA for 2.1 M2 (or RC1?), and/or 2.1 GA?
We're also working to get the new widgets libraries stabilized well before
that, though we don't have hard dates. One thing to look for would be the
removal of the Note: This class is new and its interface subject to
change. warnings in the javadoc. Or just ask here :)
Le 21 juin 2010 14:29,
On 2010/06/18 15:02:50, Konstantin.Scheglov wrote:
Thanks, LGTM. Committed at r8289.
http://gwt-code-reviews.appspot.com/633802/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Thanks, Stephen.
@Dan: Is this still applicable, or has it been fixed already?
Le 9 juin 2010 13:21, Stephen Haberman step...@exigencecorp.com a écrit :
Hi,
I was playing with the Mail example this morning and saw a stack trace
casting the Message class to Comparable for the TreeMap inside
Reviewers: jat, jlabanca,
Description:
Adds integral BiDi support to Label.java and its descendants. Introduces
a new interface, HasAutoHorizontalAlignment.
Please review this at http://gwt-code-reviews.appspot.com/642803/show
Affected files:
M
Le 19 juin 2010 10:34, Konstantin.Scheglov konstantin.scheg...@gmail.com a
écrit :
Why existing horizontal/vertical alignment parsers use so unfriendly
names for alignments? ALIGN_RIGHT looks not very good in XML. Why
not just right? This would be more natural for people with HTML
FYI - let's do one more round
http://gwt-code-reviews.appspot.com/636801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On 2010/06/21 20:22:27, Dan Rice wrote:
FYI - let's do one more round
Sure
http://gwt-code-reviews.appspot.com/636801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
FYI
http://gwt-code-reviews.appspot.com/620802/diff/8001/9001
File user/super/com/google/gwt/emul/java/util/AbstractList.java (right):
http://gwt-code-reviews.appspot.com/620802/diff/8001/9001#newcode144
user/super/com/google/gwt/emul/java/util/AbstractList.java:144: }
I think you also need to
Looks like the code is still the same as what he is seeing -- I
haven't seen the stack trace and don't know how to repo it but the fix
seems reasonable.
Dan
On Mon, Jun 21, 2010 at 3:22 PM, Joel Webber j...@google.com wrote:
Thanks, Stephen.
@Dan: Is this still applicable, or has it been
I have one question...
in javadoc is says
The semantics of the list returned by this method become undefined if
the backing list (i.e., this list) is structurally modified in any way
other than via the returned list. (Structural modifications are those
that change the size of this list, or
Reviewers: fredsa,
Description:
Better implementation for getHandlers (the old one threw an exception in
Web mode)
Please review this at http://gwt-code-reviews.appspot.com/651801/show
Affected files:
M user/src/com/google/gwt/logging/impl/LoggerImplRegular.java
Index:
LGTM
http://gwt-code-reviews.appspot.com/651801/diff/1/2
File user/src/com/google/gwt/logging/impl/LoggerImplRegular.java
(right):
http://gwt-code-reviews.appspot.com/651801/diff/1/2#newcode64
user/src/com/google/gwt/logging/impl/LoggerImplRegular.java:64: return
handlers.toArray(new
sweet - thanks for the quick review!
On Mon, Jun 21, 2010 at 3:41 PM, j...@google.com wrote:
LGTM
http://gwt-code-reviews.appspot.com/651801/diff/1/2
File user/src/com/google/gwt/logging/impl/LoggerImplRegular.java
(right):
http://gwt-code-reviews.appspot.com/651801/diff/1/2#newcode64
Reviewers: fredsa,
Description:
Remove the Remote Logger checkbox (forgotten when I removed the code to
handle this box)
Please review this at http://gwt-code-reviews.appspot.com/618802/show
Affected files:
M
LGTM
http://gwt-code-reviews.appspot.com/618802/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 8291
Author: unn...@google.com
Date: Mon Jun 21 15:04:17 2010
Log: Remove the Remote Logger checkbox (forgotten when I removed the code
to handle this box)
Review at http://gwt-code-reviews.appspot.com/618802
Review by: fre...@google.com
92 matches
Mail list logo