Hi!
I have a textbox which should change some data by onChange. If I am closing
the browser window over it's close button (x) the onChange and onLostFocus
is not fired. Is it possible to solve this problem? I can not use a
KeyListener, because i have to change data in one way (I need only one
Hi Jason, yes, reloading page cause memory usage fall out.
My app is quite simple: a gwt ext tab panel, the first tab showing the
map widget, the second one a gwt ext grid with a few rows (more or
less 10), each one with some information about the markers showed.
I've three thread, implemented as
Hi,
You can use GWTruts, it is an open source MVC controller (I am its
developer and I actually implemented it because I needed something
similar to spring MVC).
It provides two types of controllers a standard controller interface
which is a synchronize controller and an AsyncController
The web address is
http://apps.sourceforge.net/trac/gwtruts/
--~--~-~--~~~---~--~~
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
Hi
i'd like to do the override of RemoteServiceServlet.processCall to
insert the code for processing my custom annotations on service
invocations.
I've noted how the default processCall make use of the RPC class:
...
return RPC.invokeAndEncodeResponse(this, rpcRequest.getMethod(),
Well, you can additionaly listen to the window-close event.
On 24 Feb., 09:01, Danny Schimke schimk...@googlemail.com wrote:
Hi!
I have a textbox which should change some data by onChange. If I am closing
the browser window over it's close button (x) the onChange and onLostFocus
is not
In additon to what Mahavir have said - you can (but it's really up to
you) use lazy loading to load your tab-classes on demand. Use
LazyPanel or other lazy-loading methods if you need.
On 24 Feb., 08:11, Mahavir Jain vir.j...@gmail.com wrote:
Its up to you how to implement.. But I would like to
Assuming adding/removing markers to/from the map is leakless (google
probably knows how to do this ;-) we are left with gwt-ext grid. Every
10 sec you remove old rows and add new ones. So you have some DOM-
Elements (a table row) that are removed/created every 10 seconds.
Probably it's a grid's
Hi alex,
sorry but I can't see how fix the number of rows as I'm using a
memoryProxy object.
So, the timer is defined as follows:
Timer t = new Timer() {
public void run() {
getShipInfo();
}
};
where getShipInfo() is
private void getShipInfo()
I've tried reloading, I made a mistake some posts ago.. memory
decreases only if the browser is closed and then opened again. Only
reloading causes a bigger increment of memory usage.
On 24 Feb, 10:20, koalina koalin...@gmail.com wrote:
Hi alex,
sorry but I can't see how fix the number of rows
Hello,
We already have discussion about GWT memory management here:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a690a63c53af27bc
Tuesday, February 24, 2009, 11:31:44 AM, you wrote:
I've tried reloading, I made a mistake some posts ago.. memory
decreases only if
I use PureMvc porting for gwt
http://puremvc.org/
and i like it!
On 24 Feb, 09:18, Reza Alavi rezaal...@gmail.com wrote:
The web address ishttp://apps.sourceforge.net/trac/gwtruts/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
I have searched the archives and the web, and all I could find was
1) Drag/drop projects that were only related to widgets.
2) Some discussions, all at least a year old, concluding that it was
either hard and non-standards compliant, or impossible.
Any progress?
Regards
Anders
Err, I of cause mean DRAG/drop, not that weird mix of drag and dang ;)
A
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Thanks for these 2 replies. But if possible I would prefer to use GWT
only. I think there is a way to do that no?
GWT has a RPC feature and is encouraging MVC... I hope they have
thought about mixing them no?
Charles
On 24 fév, 11:07, federico federico.mona...@gmail.com wrote:
I use PureMvc
I think scrollbars can be styled in css, but it dosnt work in all
browsers.
On Feb 24, 12:07 am, vroom_vroom slabarb...@gmail.com wrote:
I am using a few of the ScrollPanel objects in my app. The standard
windows scroll bars look awful with my application. Is there anyway to
style these?
Hi Charles,
- do I have to duplicate datas in my Model (MVC) ?
- what about asyncCallback when calling a service: whe doing that part
in a widget (view side), I was able to display a window (Window.alert)
when the RPC failed. Now, this code is done in the Model (MVC) so it
doesn't make
Hi all, I've found the cause of the memory leak isolating by some
piece of code. It seems not to be caused by gwt-ext but when I make
the map.addOverlay(createMarker(point, myObject));
where createMarker is:
Icon icon = Icon.newInstance(baseIcon);
Hi Korny,
Not sure if this is of any help, but there is a Class in GWT called
DeferredCommand. Apparently it is executed after all currently
pending event handlers have completed Now assuming that your
Asynchronous activity is an event??? Then maybe you can utilise this
Class at the end
Your example is more complicated then mine. Try breaking ti down.
Nothing but a toggle button and a RootPanel.
ToggleButton autoFill = new ToggleButton(Auto,Auto);
autoFill.setStylePrimaryName(image-ToggleButton);
RootPanel.get().add(autoFill);
Your button looks
Your example is more complicated then mine. Try breaking ti down.
Nothing but a toggle button and a RootPanel.
ToggleButton autoFill = new ToggleButton(Auto,Auto);
autoFill.setStylePrimaryName(image-ToggleButton);
RootPanel.get().add(autoFill);
Your button looks
Are you using the Google Maps support from the Google API Libraries
for GWT project?
http://code.google.com/p/gwt-google-apis
There is an example of an info window with tabs in the HelloMaps
sample that is downloaded with the library.
On Tue, Feb 24, 2009 at 2:36 AM, navS
Thanks. there is one more issue with 1.5.3 wrt same origin
restrictions. have by passed by modifying gwt.xml for the timebeing.
On Feb 23, 11:09 am, Mahavir Jain vir.j...@gmail.com wrote:
Try giving absolute path and not relative path..
GWT runs tomcat on port while LAMP runs on 8080.
I need to set the CSS for RichTextArea too and tried out your idea. I've got
the following Error in the first line where I create the Document object
using my RichTextArea:
com.google.gwt.core.client.JavaScriptException: (Error): Unknown Error.
number: -2147467259
description: Unknown Error.
Hello everyone,
I'm getting strange behavior for float numbers. I'm processing data on
the server, reading it from a file. The data consists of strings,
floats and integers. I read them all as Strings, then process their
actual values. Then when I display them, on the GWT client, via RPC, I
get
I need history support AND clean url's. In other words - I wan' t the
user to se url's like /products/overview but forward it to
products.html#overview. I don´t want to reload the page and I don't
want the user to ever see #. Is it possible?
--~--~-~--~~~---~--~~
Hi,
Maybe you don't understand the process This is not like .net that
you open a project file.
What you do is the following
1) Open Eclipse
2) Import
Import Existing Project
3) Locate the directory where you have your project... click on it...
4) Select CHOOSE
5) YOU ARE DONE.
As I stated previously, I am following the quick start guide. I click
Import as per the directions and the project file is not viewable in
the directory it is stored. Though, I can see the file in the
directory when I navigate the file system.
On Feb 24, 8:24 am, franciscoraulort...@gmail.com
Hi,
Maybe you don't understand the process This is not like .net that
you open a project file.
What you do is the following
1) Open Eclipse
2) Import
Import Existing Project
3) Locate the directory where you have your project... click on it...
4) Select CHOOSE
5) YOU ARE DONE.
how do u think about
http://gwt-mvc.googlecode.com/
On Feb 24, 3:13 pm, charles charles.souill...@gmail.com wrote:
Hi,
I am a newbie to GWT and I am trying to develop a web application
using a library (my client API to my server). I have read 2 books
before starting: GWT In Action and GWT
Hello!
Is there any posibility to see when a widget overlaps other widget
when i'm making the drag and drop?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
Hi guys, my boss want me to check security issues in our application.
We have some sort of XSRF protection (xsrf key in cookie) and my job
is to check if it worx fine. I want to simulate xsrf attack on
unprotected code and then try the same attack on protected to
accomplish this.
My plan was:
Any Idea, why the error occurs?
No; not really!
If you could provide more details:
1. Are you having this error in Hosted Mode or Web Mode?
Because some javascript trick don't work in Hosted Mode so things like
this happen.
2. Hosted Mode: Are you using Windows?
Hosted Mode browser in windows
On the GWT Browser they are still Java (hosted mode). In actual
browsers they are JavaScript.
You will get different results in browsers because JavaScript only has
64 bit floats.
The GWT docs put it this way:
* Intrinsic types: Primitive types (boolean, byte, char, short,
int, long,
I solved this in this way:
(attacker would have this harder, because he cannot add extra
application in the same domain)
I created new application with the same service interfaces and other
needed classes. Then I created the service and configured it. When I
tried to make a call, i was given by
The engineers at google are very vigilant at avoiding activities that
cause IE to leak, so my first inclination would be to first look at
your third party libs particularly if they perform any manual DOM
manipulation or JSNI. It is rather common on this list to see people
blaming GWT for
Is there a chance to make RPC against external server side services
from client test cases? Why does GWTTestCase ignore -noserver switch?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To
Think about what your code is doing here.
You are allocating marker objects and adding them to the map every
time your timer expires.
The map will track these things for you until you call map.removeOverlay().
My guess is that you have hundreds of markers added to the map, all
stacked on top of
but i call the clerOverlays each time i run the timer.. at each loop
the markers should be deallocated... aren't they?
Michela
On 24 Feb, 17:31, Eric Ayers zun...@google.com wrote:
Think about what your code is doing here.
You are allocating marker objects and adding them to the map every
Yeah, you are right.
One thing you could try is to comment out the 'addOverlay()' call and
measure your memory again. You won't see anything, but it will tell
you if this is the problem.
On Tue, Feb 24, 2009 at 11:39 AM, koalina koalin...@gmail.com wrote:
but i call the clerOverlays each
I wanted to give everyone an update on this topic. After doing
further analysis, and working with our customer, the cause of the
periodic empty requests was found to be a Microsoft Internet Security
and Acceleration (ISA) server. The ISA server was recently
decommissioned, and since that time
Hi all,
i have been playing with the gwt sample(http://code.google.com/
docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-
doc-1-5t=GettingStartedBasics) provided on the web site. it works
fine on IE6, surprising it does not work on FF 3.0.6 and chrome. am i
doing something wrong
Maybe you're just copying the url from the development shell instead
of compiling?
On Feb 24, 6:54 pm, Mallesh mallesh.kand...@gmail.com wrote:
Hi all,
i have been playing with the gwt sample(http://code.google.com/
docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-
Hi,
I was not even halfway developing a web-application when I checked its
size with firebug and the home page takes 4 MB to download (2MB on
cache.html, 2MB on various js).
Since this is not reasonable for the common user I guess I took a
wrong developing pattern.
I think my error was to make a
Wel afther hours of thinking and praying I figured it out.
It was a combination of problems.
First I needed to add source path=... to the module descriptor,
and offcourse the classes I needed were in upwards packages. (There is
a workaround for it by creating a new fake module descriptor in the
Hi Omer!
1. Yes I am using Windows and yes: Hosted Mode uses the installed IE.
2. The error occurs in compiled mode (Firefox, IE) too.
I show a preview for multilingual text (english, german, french, etc.). It's
font-family is shown in Arial,Helvetica, but the RichTextArea is using the
browsers
GWT can only do what javascript and html are capable of
to work around this, you could embedd a java applet, flash, etc.
I'm sure you'll find a lot of infos about this in the group
On Feb 24, 11:16 am, dduck anders.johansen.a...@gmail.com wrote:
Hi,
I have searched the archives and the web,
Thank you Charlie.
This seems like a bug in JS, more than just the way it handles float.
Because I'm not doing any calculations on the GWT (JS) side, I'm just
printing what comes from the server. So if 15.2 if printed as
15.20, that would be ok, but to be printed as
15.19809265136 is
On 24 fév, 16:06, ankan annika.kjellands...@gmail.com wrote:
I need history support AND clean url's. In other words - I wan' t the
user to se url's like /products/overview but forward it to
products.html#overview. I don´t want to reload the page and I don't
want the user to ever see #. Is it
Hi Gregor,
I think I need to clarify something.
We didn't follow MVC dogma blindly!
Based on experience on working on large scale projects we know that
there is no other good option available to develop and maintain
enterprise level applications.
I know that not following well established
Hi,
I receive the following error message when making a call from the
client to server. It only happens on random intervals, maybe 20% of
the time, but is starting to get annoying and wondered if anyone can
spot what the problem is:
[WARN] StandardContext[]Exception while dispatching incoming
Hi,
If you check the URL it is GnetsProject//ReportService instead of
GnetsProject/ReportService.
Before your ReportService Async check whether it is in Depolyed mode
or in hosted mode using GWT.isScript and depending upon that form the
url.
Regards,
Allahbaksh Mohammedali Asadullah,
Any news on whether it's supposed to work/not work, issues etc.? It
runs my gwt apps great on my windoze machines... fast! faster than
chrome! (even on my 4 1/2 year old laptop which just about gags on
ie7)
However, I've not upgraded my mac dev machine yet, not know how hosted
mode will
Thanks. I should have read the webpage on doing the conversion before
posting.
Well that was really painful to go through and change the event
handlers to the new way. Wow there's a lot of @Deprecated stuff now.
It's nice that the javadocs include some info on the new way.
Cool though to
You made no mention of what's in your web.xml file. You'll need to
create servlet and servlet-mapping entries in your web.xml file
for your servlet. The servlet entry in your gwt.xml file only works
for hosted mode.
Superman859 wrote:
I am having some trouble connecting to server with GWT-RPC
I need to:
1. Add behavior and style to GWT widgets
2. Wrap them in Composites
3. Expose the widget behavior and style from the Composite impl class
4. Allow polymorphic substitution of widget impl classes
I can do this, but it's ugly:
1. An abstract class extends Composite
2. An impl class has
How can i call a method dynamically at runtime?
for eg:
private string getThisMethod()
{
return success;
}
public callGetThisMethod(String ThisMethod)
{
String =get+ThisMethod;
//W
}
--~--~-~--~~~---~--~~
You received this message because you are
You can use Java reflection API for that.
Following article will help you.
http://java.sun.com/docs/books/tutorial/reflect/member/methodInvocation.html
---
Kamal Mettananda
http://lkamal.blogspot.com
On Wed, Feb 25, 2009 at 10:12 AM, zujee
How can i call a method dynamically at runtime?
Is there any way in GWT client side like getClass.getMethod or
something similar to that?
for eg:
private string getThisMethod()
{
return success;
}
public callGetThisMethod(String ThisMethod)
{
String =get+ThisMethod;
//Need
Thanks Kamal for your quick response. But I think reflection wont
support in GWT Client package,rgt?
On Feb 25, 9:47 am, Kamal Chandana Mettananda lka...@gmail.com
wrote:
You can use Java reflection API for that.
Following article will help you.
dear all,
I'm trying to use php as beckend for my gwt application( actually I'm not
really confortable with gwt+json, but I don't have choice ),
There is a thing that make me confuse. there is
JSONString,JSONNumber,JSONObject,JSONBoolean, but why there is no built in
JSONDate?
did anyone know
The JSON spec actually has no way of representing a date.
There are several possible methods (and hacks) that allow you to ship dates
over JSON (though none
of them are really perfect).
I would personally recommend sending dates as UTC numbers, since that way you
don't have to hack the
JSON
so that's was probably the reason of that.
well, seems that i need to use string for date.Thx for your information
regards,
gede sutarsa
On Wed, Feb 25, 2009 at 2:47 PM, Jason Morris lem...@gmail.com wrote:
The JSON spec actually has no way of representing a date.
There are several
hi everybody,,how to use search button in smartGWT,
I have two combobox,based on that i have to search the record from other
module
please help me out,,,am new to GWT
On Wed, Feb 25, 2009 at 12:17 PM, Jason Morris lem...@gmail.com wrote:
The JSON spec actually has no way of representing a
I just made a tiny change to the plugin so that the bootclasspath includes
gwt-dev JAR. This fixes my ClassNotFound issue. I now have many other
compilation failures with my test project but this may relate to API
changes.
Cheers,
Nicolas
On Fri, Feb 20, 2009 at 4:47 PM, Scott Blum
Thanks, Nicolas, good idea.
On Tue, Feb 24, 2009 at 9:01 AM, nicolas de loof
nicolas.del...@gmail.comwrote:
I just made a tiny change to the plugin so that the bootclasspath includes
gwt-dev JAR. This fixes my ClassNotFound issue. I now have many other
compilation failures with my test
You probably have already considered this, but there are made-up locales in
the I18N tests (PigLatin, for example).
On Mon, Feb 23, 2009 at 1:56 PM, John Tamplin j...@google.com wrote:
Does anyone use any made-up locales with GWT?
I am getting ready to commit some changes which, among other
I like the super class. I'm not sure it actually needs to be abstract.
I think that by adding HasValueT to Suggestion we can do it with
concrete classes.
TypedSuggestBoxT (SuggestBoxBase?)
SuggestionT implements HasValueT
SuggestOracleT
SuggestBox extends TypedSuggestBoxString
On Tue, Feb 24, 2009 at 10:19 AM, Rajeev Dayal rda...@google.com wrote:
You probably have already considered this, but there are made-up locales in
the I18N tests (PigLatin, for example).
As long as it follows the structural conventions of BCP47, it can be used
though you won't get any help
It could work, though I found when I used this technique with
DatePicker (DatePicker extends AbstractDatePickerMonthSelector,
CalandarView), there was some feedback that having that abstract type layer
was slightly confusing because good OO practice implied that references
should then be typed as
On Tue, Feb 24, 2009 at 10:44 AM, Emily Crutcher e...@google.com wrote:
It could work, though I found when I used this technique with
DatePicker (DatePicker extends AbstractDatePickerMonthSelector,
CalandarView), there was some feedback that having that abstract type layer
was slightly
That feedback sounds a bit pedantic and impractical to me. And my job title
used to be Senior Pedant.
On Tue, Feb 24, 2009 at 7:44 AM, Emily Crutcher e...@google.com wrote:
It could work, though I found when I used this technique with
DatePicker (DatePicker extends
HasValueT extends Suggestion sounds wrong to me. The suggestions are not
the value that we're getting from the user, they're prompts to the user to
help her get to the actual value. I'd much more expect a SuggestionBox to be
HasValueString -- it's just a TextBox that happens to have chats with the
+1 to that comment. BTW, I didn't realize your title *actually* used to be
Senior Pedant. That's even better than my old friend Charlie, whose title
was Senior Bit Twiddler (he was a CompE after all...)!
On Tue, Feb 24, 2009 at 10:56 AM, Ray Ryan rj...@google.com wrote:
HasValueT extends
HasValueT extends Suggestion sounds wrong to me.
I agree. SuggestBox implements HasValueT extends Suggestion was not
actually what I was proposing, and I apologize if it appeared that
way. T would be the type of the DAO, the logical value represented by
the suggestion. My intent is that the
How about extracting a parameterized super class:
AbstractSuggestionBoxT extends Suggestion
SuggestionBox extends AbstractSuggestionBoxSuggestion
rjrjr
On Mon, Feb 23, 2009 at 7:15 PM, Emily Crutcher e...@google.com wrote:
On Mon, Feb 23, 2009 at 7:04 PM, Isaac Truett itru...@gmail.com
Hey Scott :)
I'd like to add a doctype to our generated web.xml files. The right
way to do it is changing web.xmlsrc, right?
Here's a patch, relative to the release branch at r4849. Would you take a look?
Thanks!
--
Alex Rudnick
swe, gwt, atl
LGTM, but I'm punting this over to Bruce as far as timing for getting this
in.
2009/2/24 Alex Rudnick a...@google.com
Hey Scott :)
I'd like to add a doctype to our generated web.xml files. The right
way to do it is changing web.xmlsrc, right?
Here's a patch, relative to the release branch
If that concern doesn't seem like it would be a problem, then I definitely
agree with you that creating abstract base classes that have the
parametrized types seems like the best solution.
On Tue, Feb 24, 2009 at 10:54 AM, Ray Ryan rj...@google.com wrote:
That feedback sounds a bit pedantic
This needs to be post-1.6 M2.
On Tue, Feb 24, 2009 at 12:34 PM, Scott Blum sco...@google.com wrote:
LGTM, but I'm punting this over to Bruce as far as timing for getting this
in.
2009/2/24 Alex Rudnick a...@google.com
Hey Scott :)
I'd like to add a doctype to our generated web.xml files.
Alright! :) No need to hold up the milestone, yes.
Committed r4850.
On Tue, Feb 24, 2009 at 1:01 PM, Bruce Johnson br...@google.com wrote:
This needs to be post-1.6 M2.
On Tue, Feb 24, 2009 at 12:34 PM, Scott Blum sco...@google.com wrote:
LGTM, but I'm punting this over to Bruce as far as
It was probably not a good idea to commit this right now on the off chance
Bruce needs to respin M2.
On Tue, Feb 24, 2009 at 1:18 PM, Alex Rudnick a...@google.com wrote:
Alright! :) No need to hold up the milestone, yes.
Committed r4850.
On Tue, Feb 24, 2009 at 1:01 PM, Bruce Johnson
Nevermind! That train is leaving the station. :)
On Tue, Feb 24, 2009 at 1:33 PM, Scott Blum sco...@google.com wrote:
It was probably not a good idea to commit this right now on the off chance
Bruce needs to respin M2.
On Tue, Feb 24, 2009 at 1:18 PM, Alex Rudnick a...@google.com wrote:
Reviewers: rjrjr,
Description:
We deprecate ListBox's setMultipleSelect.
Please review this at http://gwt-code-reviews.appspot.com/7801
Affected files:
user/src/com/google/gwt/user/client/ui/ListBox.java
Index: user/src/com/google/gwt/user/client/ui/ListBox.java
LGTM
http://gwt-code-reviews.appspot.com/7801
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Reviewers: rjrjr,
Description:
Adding protected getHandlerCount() to widget plus a basic widget
unittest to test the implementation..
Please review this at http://gwt-code-reviews.appspot.com/7802
Affected files:
user/src/com/google/gwt/user/client/ui/Widget.java
Thanks for the quick turn around!
commited at r4853
2009/2/24 rj...@google.com
LGTM
http://gwt-code-reviews.appspot.com/7801
--
There are only 10 types of people in the world: Those who understand
binary, and those who don't
--~--~-~--~~~---~--~~
LGTM
Nah, just rename and submit.
On Tue, Feb 24, 2009 at 3:13 PM, Emily Crutcher e...@google.com wrote:
Hmm Any reasons I can think of dissolve under the argument of that
what I'd look for. Do you want a new patch with the rename?
On Tue, Feb 24, 2009 at 6:08 PM, rj...@google.com
I'm getting a segfault (Leopard, java 1.5 (-d32)) trying to run the
HostedMode class. Any hints?
On Feb 24, 5:32 pm, Bruce Johnson br...@google.com wrote:
The GWT team is happy to announce the availability of Google Web Toolkit
1.6 Milestone 2! Binary distributions are available for download
Hi, great product, thank you very much
Date Picker allows to select a date range?
or is a new issue?
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
I ran M1 and didn't get it, but at the time, I was still running
GWTShell and dealing with the deprecated warning.
Below is my launch script (if someone sees something glaringly wrong I
have missed)
export CLASSPATH=/Users/kebernet/Applications/gwt-mac-1.6.1/gwt-
And I have tried it with both -d32 and -d64 on Leopard.
On Feb 24, 11:26 pm, Robert Cooper keber...@gmail.com wrote:
I ran M1 and didn't get it, but at the time, I was still running
GWTShell and dealing with the deprecated warning.
Below is my launch script (if someone sees something
The attached patch fixes web-mode compilation for SingleJsoImpl JSO
types that are never explicitly referenced by user code.
Consider the case where you're only ever using interfaces in your code
and never explicitly refer to the implementing JSO type:
client/Foo.java:
interface Foo { methods
93 matches
Mail list logo