Hi all,
I want to subclass Marker in order to use a JavaScript library
(LabeledMarker) that provides a subclass of GMarker. Is there any way
I can do that without rewriting the whole Marker and MarkerImpl
classes?
Regards,
Alberto.
--~--~-~--~~~---~--~~
You
Hi,
I'm trying to upgrade my GWT 1.4 project to 1.52. But I get this
strange exception when invoking the compiler. I can compile the exact
same code with 1.4 perfectly.
Has anyone seen this before?
Exception in thread main sun.misc.InvalidJarIndexException: Invalid
index
at
I'm having the same problem.. I have a servlet that I make a POST ( I
can't do a GET request because I send a lot of data to the servlet )
request with the RequestBuilder to the servlet and it recives all the
data, creates, in my case an excel file and then the client recives
the responce in a
Put the following entries on your classpath. In this order.
1. source directories of your project
2. class/output directories of generator classes if any
3. JARs of required modules
4. gwt-user.jar
5. gwt-dev-xxx.jar
On Sep 11, 9:29 am, Ryan [EMAIL PROTECTED] wrote:
hi everybody,
I have
Hello All
I have a repository system software. I want to add a help and
search module to it for users to know how to use the software. The UI
is simple the left hand will contain the links and its corresponding
contents will be displayed on the right hand side. My trouble is how
can i add
Plan A: Storing the file on the server.
1. Submit the data to the server
2. The server converts and stores the Excel data (temporarily) and
assigns an ID
3. ID is sent back to the client
4. Open a new window or use an iframe with the download URL containing
the ID as GET parameter
5. Server
Hi,
GWT.getModuleBaseURL() + img/image1_up.jpg;
above url is perfect.
Now I am elaborating it:-
a image in browser have a separate connection to the server.
this happens if every image know its URL.
In your example when you are running in hosted mode jvm pick images from
public folder,
which is
On 10 sep, 03:00, JohnnyGWT [EMAIL PROTECTED] wrote:
I realize you're not usually allowed to provide a default filename in
FileUpload, and that browsers typically do not support it (IE?) and
that it
represents a security threat and that input type=file doesn't support
you setting the value,
You're not the first person to want to do this. I made this change in the
trunk a while ago at the request of another user. You can check out the
source from subversion and build a new jar. See the gwt-google-apis Maps
FAQ (http://code.google.com/p/gwt-google-apis/) for some details if you are
Hello,
I am trying to make Help Widget in GWT with i18n options .
We have left side tree and right side has content according to tree
heading . We are using Message interface of i18n . Now i am selected
of tree item calling some function .
I want to ask from GWT Community
1. Is this right
Your classpath is screwed up. Half the classes are being loaded from
an older version of GWT, and half are loaded from a newer version.
Double check your classpath; possibly you're picking up a gwt-user.jar
from one place and a gwt-dev-XYZ.jar from another. If you installed
GWT 1.5 by unzipping
harimack: all https is as safe as you can make it, with the following
caveats:
1. you NEED a signed cert from a root cert authority. This costs 100
dollars or more.
2. The designers of the https spec made some serious screwups way back
when but are now afraid to fix their mistakes. You may
1. The server has to send the file with a data type of application/
octet-stream.
2. You can't use an AJAX call (RequestBuilder / HttpRequest / GWT-
RPC), those will never generate a save as box on the user's client.
Use:
1. A link that a user clicks on.
2. open a new window using Window.open
3.
Hi. I'm tryin to make a rpc (in host mode), but when I do the call,
the next mexage appears in the GWT Development Shell: Unable to find
'srvITPImp.gwt.xml' on your classpath; could be a typo, or maybe you
forgot to include a classpath entry for source?
My project is called EVITAWeb and I have
Really nobody experiencing something like that or knowing what is
going on?
On 9 Sep., 17:34, daniel.z [EMAIL PROTECTED]
wrote:
I'm getting the following error when trying to launch an freshly
created gwt application in hosted mode with gwt 1.5.2. Everything
works fine when using 1.5.0's
Use symbol links (or junction points on MS platform) to share common
resources like css/images.
I do that in my eclipse on Ms with link magic tool or the junction CL
tool from MS.. works fine..
For example:
project: bv-common, bv-profile, bv-declare.
The latter two have links to the first one as
Hi,
I checked the 1.5.2 Mail Application demo. After loading the layout
was OK, but after clicking on browser's 'Reload' button the layout was
destroyed.
Screenshot: http://dev.gumboo.com:8880/mailapp-gwt-demo.jpg
This happens on my applications too.
Any ideas?
Thanks,
George.
Hi Emily,
I think there should be 10 versions of the incubator: 1 that compiles
against the last stable version, and one that compiles against the
trunk.
Also, a bit off-topic, I think that widgets that are actually
percolating should be in the percolator, not the incubator. :-)
Thanks,
Walden
On Thu, Sep 11, 2008 at 9:01 AM, walden [EMAIL PROTECTED] wrote:
Hi Emily,
I think there should be 10 versions of the incubator: 1 that compiles
against the last stable version, and one that compiles against the
trunk.
I would agree with Walden but I'd also like to understand plans to
You can take pretty much any widget and extend it thusly:
1. Sink additional events in the constructor
2. Override onBrowserEvent to do things with the additional events,
such as changing style names.
I don't know if that helps you. I think you might need to ask a more
specific question.
On 11 sep, 14:31, daniel.z [EMAIL PROTECTED]
wrote:
Really nobody experiencing something like that or knowing what is
going on?
Googling for XPCOM error 2147221164 gave among other things:
http://www.eclipse.org/swt/faq.php#browserlinux
telling it could be that your firefox is statically
By the way, where are your source files? Within the module, the
default source path is client/*, unless you have overridden that in
your module xml file.
On Sep 11, 3:29 am, Ryan [EMAIL PROTECTED] wrote:
hi everybody,
I have this particular problem while running an ant script.
When I try to
I would just do smth. like:
// panel is practically whatever widget you want it to be:
panel.addMouseListener(new MouseListener(){
public void onMouseDown(Widget sender, int x, int y){}
public void onMouseMove(Widget sender, int x, int y){}
public void onMouseUp(Widget sender, int x, int
Hi. I'm tryin to make a rpc (in hosted mode), but when I do the call,
the next message appears in the GWT Development Shell: Unable to find
'srvITPImp.gwt.xml' on your classpath; could be a typo, or maybe you
forgot to include a classpath entry for source?
My project is called EVITAWeb and I
Ok,thanks, I upload an example zip of what I'm trying to do here;
www.darkflame.co.uk/client.zip
Basically, I want it if the user clicks on popup1, then popup2, popup1
stays ontop.
(TestProject is the entry point)
2008/9/11 Ian Bambury [EMAIL PROTECTED]:
I can't get it *not* to stay on top
try:
servlet path=/EVITAWeb class=com.sp.gwt.server.SrvITPImpl/
On 11 Sep., 15:54, Anais [EMAIL PROTECTED] wrote:
Hi. I'm tryin to make a rpc (in hosted mode), but when I do the call,
the next message appears in the GWT Development Shell: Unable to find
'srvITPImp.gwt.xml' on your classpath;
I've tried what you say but it doesn't work. For more details, the
complete window is
[INFO] Starting HTTP on port
[TRACE] Loading module 'srvITPImp'
[ERROR] Unable to find 'srvITPImp.gwt.xml' on your classpath; could be
a typo, or maybe you forgot to include a classpath entry for source?
Hey all,
I've been using Microsoft's JScript Leaks Detector on a GWT app. It's
a very extensive application with hundreds of classes, listeners,
custom widgets, etc.
Using the application does not seem to show any problems of a leak,
it's only when I refresh a page, or if I navigate to another
I am using MapWidget.In my output i am getting the map but its not
occupying the complete panel.instead it occupies only a part of the
panel.If i minimize the browser and maximize it,then the map is
occupying the complete panel.
I want the map to occupy the complete panel.I hope someone can help
Hi,
I am bringing up a brand new default app that I am creating using
ApplicationCreator and ProjectCreator. However, I am getting the following
error when Runing it from Eclipse:
'com.yht.ui.gwt.Application/Application.html' does not appear to be a valid
fully-qualified Java class name
Google
Hi,
Pardon the laziness and the ignorance but I am caught in a bind.
- all my GWT front end code is part of Web Application A
- I want GWT to communicate with a Spring Application outside of Web
Application A
- How do I configure MODULE_NAME.gwt.xml to call a servlet
implementation that is
I just installed 1.5 in Windows, previously used in Ubuntu and never
thought about it.
This feature is quite important.
On 9 Set, 13:54, Arthur Kalmenson [EMAIL PROTECTED] wrote:
Currently inGWT(1.5 and below),hostedmodeis tied to the OS.
Windows uses an IE basedhostedmode, OS X a WebKet based
Hiii!!!
This is my first post in google group forum.
i am very new to GWT;and want to start it with netbeans6.1 IDE.
I have knowledge of core javaJSP,Servlet,EJB 3.0,JPA.
Please suggest me reading materials;so that i can grasp GWT easily.
Thanks
Hi All,
I have a type (Serializable 3rd Party Library Type - S3PLT) that
I'm returning to the GWT RPC client from a method call on a GWT remote
interface. This type is included in my Eclipse GWT project from an
external .jar. No source code is available within Eclipse project.
When I
Hello ,
I have a tree implemented on VerticalPanel and i need to show a menu
when the mouse hovers over any
treeItems. I dont see any way of adding/capturing mouseevents from
TreeItems added.
TreeListener is not ideal either in this case.
If any of you has found out a way to handle such
Hello Anir,
Try MapWidget.checkResize()
-Eric.
On Thu, Sep 11, 2008 at 5:49 AM, Anir [EMAIL PROTECTED] wrote:
I am using MapWidget.In my output i am getting the map but its not
occupying the complete panel.instead it occupies only a part of the
panel.If i minimize the browser and maximize
I want Small code.
My requirement as follows.
I have open a popup that contains textbox's (like to enter username
,password and extension number ),submit and cancel buttons.
when i submit the details it should open another small window based on url.
please give any sugesstions
Ok, I figured that out.
1. I misspelled 'onBrowseEvent' - it must be 'onBrowserEvent'.
2. I did not call super.onBrowserEvent() in onBrowserEvent.
The code that works is:
code
Tree tree = new Tree(){
public void onBrowserEvent(Event e) { {
Are there any plans to put an overlay behind dialog boxes when they
are listed as modal? ...or is there already a way? Also, is there a
fix for ie6's png transparency issue built into GWT?
If you can't tell, I'm new to gwt, just some basic questions.
Thanks in advance
I had similar puzzle, check my post:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/32533c3ef4cebd8a/b06fc291936cfe8d#b06fc291936cfe8d
On Sep 10, 10:30 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello ,
I have a tree implemented on VerticalPanel and i need to
You need the source code. GWT works on java source code, not byte
code. Class files are not enough.
Also keep in mind that GWT only supports a subset of the JRE and if
the class wasn't written w/this in mind will likely break it.
On Sep 10, 9:32 am, Mdu [EMAIL PROTECTED] wrote:
Hi All,
I
Your client is requesting http://localhost/srvITPImp but it should be
requesting http://localhost/[your module]/srvITPImp. Check the service
entry point that you're setting and post that code if you can't figure
it out. You're probably missing something like GWT.getModuleBaseURL()
to get the
Chiluveri,
Using GWT to open a new browser window is Window.open(...). You can
also create an iframe in the existing page using the GWT Frame
widget. It's not clear how you are getting the URL, or what the
textboxes have to do with that, if anything. If you want to describe
your flow in more
Good day all,
I ordered the GWT in Practice book and eagerly awaiting it's arrival.
Maybe maybe my question is answered in there. However, I wanted to see
if anyone has a suggestion for a Java OO design pattern to use for the
following purpose:
I am working on a GWT project where
Just to save me an amount of investigation:
You want a normal page, with a popup over it covering the whole screen, and
another small popup over that. Then you want the small popup to stay over
the full-screen popup, and you want to be able to work on the normal page
through the full-screen
Number 1 is actually very important. If you are going to use
Window.open it has to be done as a direct result of a user action,
otherwise popup blockers will prevent the window from being opened.
This means that you can't place the Window.open command in a callback
or any kind of deferred
Ok, I'm not too good at explaining stuff, so I'll try to break it down
as simple as I can.
I wish to have a popup that is persistent and always ontop of
everything else. This overlay popup (as in the example I gave) can
be moved about and repositioned.
The user can drag this popup to one side,
It depends on whether the JSON is hierarchical or flat.
Take a look at the visitor pattern for complexer JSON structures.
http://en.wikipedia.org/wiki/Visitor_pattern
On 11 Sep., 17:40, Alex Rice [EMAIL PROTECTED] wrote:
Good day all,
I ordered the GWT in Practice book and eagerly awaiting
I am getting horrendous memory problems with 1.5.2. I'm not doing anything
abnormal, just standard GWT, the occasional DOM read and one JSNI read (to
get around the new getAttribute 'feature').
The javaw image starts off around the 130Mb size and will increase by about
8-10Mb every time I press
Most people in here use Eclipse and there are some very nice tools for using
GWT with Eclipse though I have not been that impressed with them.
I use NetBeans 6.1 and it works well though there are no visual tools
available. My suggestion would be to use GWT4NB though it needs to be updated.
OK I'll read up on the Visitor pattern. The JSON is fairly
hierarchical - various sections and form fields within. I assume
Visitor is still advised for that.
Thanks!
Alex
On Sep 11, 10:13 am, Folke [EMAIL PROTECTED] wrote:
It depends on whether the JSON is hierarchical or flat.
Take a
The Walkabout pattern looks perfect except for it requires
java.lang.reflect which GWT doesn't support.
http://www.cs.ucla.edu/~palsberg/paper/compsac98.pdf
Looks like I need to add accept() methods to everything in
com.google.gwt.json.client
On Sep 11, 10:13 am, Folke [EMAIL PROTECTED] wrote:
GWT client-side supports Vectors, right?
I'm getting a ton of warnings about Vectors...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
On Thu, Sep 11, 2008 at 5:34 PM, Kevin [EMAIL PROTECTED] wrote:
GWT client-side supports Vectors, right?
As far as I know, yes.
I'm getting a ton of warnings about Vectors...
What sort of warnings? Generic warnings are pretty uninformative.
Specific warnings usually tell you how to get rid
Alas, implementing the standard Visitor pattern on the
com.google.gwt.json.client.* does not look feasible because I need to
add the this method to all the JSON types:
public void accept(Visitor visitor) {
visitor.visit(this);
}
However several of the JSON classes dont appear to
Hi, I notice that the other two TextBoxBase inheritors, TextBox and
PasswordTextBox, both have static wrap methods for input elements
already attached to the document. Why isn't there a corresponding
method for TextArea that wraps textarea elements? Right now I'm just
subclassing TextBoxBase to
we are providing toll-free number.
When i find a phone number on business sites ,i need to open a popup
panel to logining ,
when he sumbits , it should go to server and verify username and
password ,if success the new window going to open to connect to our
site
I've seen several discussions on how to download a file to the client.
All contain bits of code but no complete examples.
FileUpload is fine easy using Apache commons stuff.
Can someone PLEASE provide some examples etc for downloading a file to
the client?
In my scenario I have to send a newly
It's pretty pointless to pass a raw JSONValue around because it
doesn't have any semantic information. How do you distinguish between
a JSONValue for a section and a JSONValue for a field?
What you should do is to traverse the JSON data and build an AST or
model objects (-- MVC) and then use two
Hi,
We're working on a Tag interface and it works great in IE and but in
FireFox, Safari, and Chrome the
DOM.setStyleAttribute(tag.getElement(), fontSize, setSize());
doesn't seem to take hold and we're left with the same font size for
each Tag links. Is there another way to access fontSize at
We have also tried to use:
tag.getElement().getStyle().setProperty(fontSize, setSize());
But that doesn't work either...T-T
On Sep 12, 1:45 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi,
We're working on a Tag interface and it works great in IE and but in
FireFox, Safari, and Chrome the
Change the example code from the TextBox Javadoc API like this:
tb.addKeyboardListener(new KeyboardListenerAdapter() {
public void onKeyPress(Widget sender, char keyCode, int modifiers) {
if (Character.isDigit(keyCode)) return;
if ((keyCode == '.') // Add all your
Are you having trouble with the patch? The benchmark used is included in
it. The benchmark varies by the number of puts and gets, so 500 = 500 puts
+ 500 gets, so would have been suprised to see sub-linear time.
IE is the primary motivator for this set of changes, as it has the slowest
JS
Thanks, committed as r780.
On Thu, Sep 11, 2008 at 9:01 AM, Miguel Méndez [EMAIL PROTECTED] wrote:
LGTM then
On Wed, Sep 10, 2008 at 12:56 PM, Eric Ayers [EMAIL PROTECTED] wrote:
So the word from Pam is that using ints should be fine.
On Wed, Sep 10, 2008 at 11:12 AM, Pamela Fox [EMAIL
Thanks, committed as r781.
On Thu, Sep 11, 2008 at 9:00 AM, Miguel Méndez [EMAIL PROTECTED] wrote:
LGTM
On Wed, Sep 10, 2008 at 2:42 PM, Eric Ayers [EMAIL PROTECTED] wrote:
Hello Miguel,
It seems like hours since I last sent you a code review, so here's
another. It converts the
Let me play devil's advocate, though in advance I'll admit I'm not sure I
have a good point. But I think I do.
Why shouldn't these simply be normal deferred binding properties? Consider
compiler optimization flags we may want to add in the future. It is quite
possible that you'd want to compile
AFAIK, no one is proposing that set-property changes the set of possible
values. I would certainly argue against that.
The upshot of all this is:
set-property gets another attribute called values that is mutually
exclusive with value:
set-property name=foo value=a/ // set property
On Thu, Sep 11, 2008 at 9:18 AM, Emily Crutcher [EMAIL PROTECTED] wrote:
Are you having trouble with the patch? The benchmark used is included in
it. The benchmark varies by the number of puts and gets, so 500 = 500 puts
+ 500 gets, so would have been suprised to see sub-linear time.
As I
Sorry I missed this one. LGTM!
On Mon, Sep 8, 2008 at 1:05 PM, Eric Ayers [EMAIL PROTECTED] wrote:
Hello Joel,
Thanks for looking at this. Attached is an updated patch.
In my demo app, consolidating beginAttach() and finishAttach() into the
finishAttach() works fine. So I was able to
On Wed, Sep 10, 2008 at 11:20 PM, Freeland Abbott
[EMAIL PROTECTED] wrote:
On Wed, Sep 10, 2008 at 11:14 PM, Freeland Abbott wrote:
(A subdir of ${project.build} actually hits the same problem, since we
copy ${project.build}... I think you meant a sibling of it?)
I mean this.
Anyway, my main point is that someone just looking at the Wiki isn't going
to know what it means so there should be additional text describing what
those charts are -- sorry I wasn't more clear.
Ah! Yes, that makes perfect sense, wiki has been updated.
IE is the primary motivator for
On Thu, Sep 11, 2008 at 10:02 AM, Bruce Johnson [EMAIL PROTECTED] wrote:
AFAIK, no one is proposing that set-property changes the set of possible
values. I would certainly argue against that.
The upshot of all this is:
set-property gets another attribute called values that is mutually
Thanks! Committed as r783.
On Thu, Sep 11, 2008 at 11:03 AM, Joel Webber [EMAIL PROTECTED] wrote:
Sorry I missed this one. LGTM!
On Mon, Sep 8, 2008 at 1:05 PM, Eric Ayers [EMAIL PROTECTED] wrote:
Hello Joel,
Thanks for looking at this. Attached is an updated patch.
In my demo app,
I think Bob (and Thomas's) point is that sometimes you have configuration
data for which there is an infinite number of options, where it doesn't even
make sense to think of the possible options as a set.
On Thu, Sep 11, 2008 at 9:37 AM, Bruce Johnson [EMAIL PROTECTED] wrote:
Let me play
On Thu, Sep 11, 2008 at 12:08 PM, Scott Blum [EMAIL PROTECTED] wrote:
I think Bob (and Thomas's) point is that sometimes you have configuration
data for which there is an infinite number of options, where it doesn't even
make sense to think of the possible options as a set.
Oh, here's one
Author: [EMAIL PROTECTED]
Date: Thu Sep 11 11:08:46 2008
New Revision: 3647
Modified:
trunk/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
trunk/dev/core/src/com/google/gwt/dev/jdt/AbstractCompiler.java
trunk/dev/core/test/com/google/gwt/dev/javac/impl/JdtBehaviorTest.java
Overall LGTM,
1) You might want to put a small comment that you can't do,
settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_1_6);
settings.put(CompilerOptions.OPTION_TargetPlatform,
CompilerOptions.VERSION_1_5);
2) I don't think you want to unconditionally set the version to
Author: [EMAIL PROTECTED]
Date: Thu Sep 11 13:47:46 2008
New Revision: 3648
Added:
trunk/dev/core/src/com/google/gwt/dev/shell/rewrite/ForceClassVersion15.java
(contents, props changed)
Modified:
trunk/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
Thanks, committed as r3648.
I added the comment you suggested, and for item #2, added an assertion to
ForceClassVersion15.
On Thu, Sep 11, 2008 at 3:55 PM, Toby Reyelts [EMAIL PROTECTED] wrote:
Overall LGTM,
1) You might want to put a small comment that you can't do,
If you'd send the new constants file -- or a diff of the old and new
versions -- that would be great.
Thanks so much for writing the code in the first place!
On Thu, Sep 11, 2008 at 5:05 PM, Shanjian Li [EMAIL PROTECTED] wrote:
Alex,
Yes, the time zone data has a couple of issues and most of
On Thu, Sep 11, 2008 at 10:00 AM, Bruce Johnson [EMAIL PROTECTED] wrote:
Could we list some examples, so that we can refer to this thread in the
future to understand our motivations?
In summary, the motivation is to allow for properties that have no
well-defined set of possible values or the
Author: [EMAIL PROTECTED]
Date: Thu Sep 11 15:29:06 2008
New Revision: 3649
Modified:
changes/spoon/runAsync/dev/core/src/com/google/gwt/dev/js/JsStringInterner.java
Log:
Removes an accidentally duplicated line in revision 3629 that caused
all interned strings to be included in the output
I swear I'm not just trying to be a pain. For things like this that don't
quite merit a design doc ahead of time, these back-and-forth discussions
have to happen during the code review.
So, would we want to separate out linker variables from generator variables?
(I can imagine arguments as to why
On Thu, Sep 11, 2008 at 3:34 PM, Bruce Johnson [EMAIL PROTECTED] wrote:
I swear I'm not just trying to be a pain. For things like this that don't
quite merit a design doc ahead of time, these back-and-forth discussions
have to happen during the code review.
No offense taken or annoyance
84 matches
Mail list logo