Check which version of the JDK you have. There's a bug in 1.6.0_14 that
prevents debugger breakpoints from working. If you are using that
version, then you should downgrade to 1.6.0_13
Jaimon wrote:
hi all,
i am new to the GWT world, i have started to do the tutorial
(StockWatcher) and
Are your responses also in the form of events, where the traditional
response value is the payload of a new event object? For either server
error or validation error, are you sending back a different event, or
setting a flag inside the expected return event?
Yes currently all
On Jul 23, 3:11 pm, Eduardo Nunes esnu...@gmail.com wrote:
Shouldn't the server errors be treated as unchecked exceptions
(extends RuntimeException)? Maybe a solution could be three
methods,
I've found my self coding RE's for just about everything now. I think
they are the most undervalued
On 24 juil, 05:46, kongxiaoyang kongxiaoy...@gmail.com wrote:
Hello guys,
My fileupload function works pretty fine in the GWT default testing
environment jetty, but when I compile the project to js files, and
deploy it to TOMCAT, it does not work.
When I click the Submit button, only the
See Ray Ryan's presentation: http://www.youtube.com/watch?v=PDuhR18-EdM
and
http://dl.google.com/io/2009/pres/Th_0200_GoogleWebToolkitArchitecture-BestPracticesForArchitectingYourGWTApp.pdf
for a good starting point
--~--~-~--~~~---~--~~
You received this message
Read the manual, read the errors, learn English, get a life.
On Jul 23, 2:46 pm, BMax massimo.bo...@gmail.com wrote:
Hi, I post here my module xml code:
module
inherits name='com.google.gwt.user.User'/
inherits name='com.gwtext.GwtExt' /
entry-point
Hello guys,
I'm developing an application that GWT call Flex using
ExternalInterface.
To Upload image file to GWT server side(hosted mode) from Flex
application, I call Flex function FileReference.upload().
But it doesn't work.
Despite the fact that GWT server send Http status 200 in GWT hosted
Ok, I was wrong. It's not about absolute position in a div, but a height
with 100% style. If you put a fix height ( 500px example) splitpanel will
appear.
2009/7/23 selrak sel...@gmail.com
Ok, i have not the final answer, but i had same problem, and was a css
style problem. It seems if you
hi, sorry, I am a newbie on this.
I used eclipse to create the project, and I added a new module called
setup (so I have two modules)
then I tried to add a new servlet for the setup module, but I got the
following error message, if I add a servlet for the original module,
it will be fine. GWT
Does anyone know where a standalone GWT Scrollbar widget might be
found? I'm talking about a scrollbar control that is not attached to
a window, that has a settable range of possible integer values through
which it scrolls, and to which listeners can be attached to observe
changes that the user
when i am trying to run the application in the Hosted Mode,
I get the below exception:
[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (TypeError): Object
doesn't support this property or method
number: -2146827850
description: Object doesn't support this
Hi,
I have a problem with GWT and Firefox 3 and IE 8 browsers.
I have an application developed in GWT.
1. I open Firefox / IE browser and login with valid credentials and
it works fine.
2. I keep this session open and open other new Firefox / IE Browser
window and i login with different
maybe this:
com.google.gwt.user.client.Window.Location.reload()
On Jul 24, 12:24 am, Bhayat baki.hayat.c...@gmail.com wrote:
Hi How can i reload my page after one button is clicked like enter
with new username
--~--~-~--~~~---~--~~
You received this
Thanks mirceade!
Now, after your post, I'm really so happy! Fortunately you exist!!!
However, there is someone (smarter than mirceade) who can help me?
Bye, Max
On 24 Lug, 10:20, mirceade mirce...@gmail.com wrote:
Read the manual, read the errors, learn English, get a life.
On Jul 23,
Hi all
I am building my application using GWT 1.6. Today I moved on Firefox/
3.5.1. and to my wonder, my aplication is not working with this
version. I am getting following error. Any suggestion in this regards
will be highly appreciated as I am totally blocked.
my web app was deployd on jetty 6.1.19 but when i try to upload a file
i get this message Can't read input file! from my web app. The logs
say that the servlet works fine. another thing is that the web app
works fine in the google web toolkit hosted mode, as i press run from
eclipse. any ideas?
Hey Pavel,
Can you post the contents of your web.xml file, and also the contents of
your JSP page?
Also, where is your JSP page located?
Thanks,
Rajeev
On Thu, Jul 23, 2009 at 1:08 PM, Pavel Byles pavelby...@gmail.com wrote:
I am using a JSP page as my startup page for my GWt/GAE project and
Also, check your compiler compliance level. Eclipse does not use javac from
the JDK you are using; it uses its own compiler, and it will compile for a
particular version of the JDK depending on your compiler compliance
settings. They can be found under Preferences -- Java -- Compiler.
On Thu, Jul
Hi Simon,
I also need exactly what you are looking for. Have you found a way
to do this? Did you re-implement the Oracle?
Thanks,
Aldo
PS. I had several problems with package-protected methods when using
SuggestBox too. Google should create more extensible widgets.
On Jun 22, 9:35 am,
Can you post the code for the servlet you're trying to add?
Also, when you say that you added a new servlet for the setup module, what
exactly do you mean? How are you associating the servlet with your module?
On Fri, Jul 24, 2009 at 3:07 AM, Simon xingzhi@gmail.com wrote:
hi, sorry, I am
I also tried creating running dummy 'HelloWorld' application out
side of eclipse, it does not work. Looks like I am unable to run any
GWT application on this machine.
On Jul 23, 5:05 pm, Raju raju.technol...@gmail.com wrote:
Here's what I did:
From a fresh eclipse 3.4 installation with
Hi
I have a Grid object that has lots (~ 100 x 100) of empty cells; I'm
using it to represent a matrix of values for scientific visualisation,
giving a style to each cell to set its color. I currently have a
ClickHandler that lets me know which Grid cell the user clicks on.
However, I would also
Hello!
This might be the wrong forum for this question but maybe someone knows.
I have an xml file that looks something like this:
block
nameFK_BB_BA/name
pages
page
namedsd/name
firstPagetrue/firstPage
Hi Carl,
Sounds like you might want to look at the SliderBar in the GWT
Incubator project:
http://code.google.com/p/google-web-toolkit-incubator/wiki/SliderBar
I imagine you could style it to look like a browser's scroll bar if
that's what you want.
- Isaac
On Fri, Jul 24, 2009 at 2:24 AM,
Hey Raju,
It definitely sounds cookie related. What OS and Browser are you running
with?
Rajeev
On Fri, Jul 24, 2009 at 9:04 AM, Raju raju.technol...@gmail.com wrote:
I also tried creating running dummy 'HelloWorld' application out
side of eclipse, it does not work. Looks like I am unable
I use exceptions in this way:
- RuntimeException for all those things that shouldn't happen in a
normal environment. For example, databases/files problems, requests of
objects using wrong ids (something like the user changed the id in the
url to a wrong one). And I just shown a default error
Hi
I am trying to create an composite widget that would have label and
textbox wrapped in a verticalpanel
here is my code for this:
package com.example.test11.client;
import com.google.gwt.dev.asm.Label;
import com.google.gwt.user.client.ui.Composite;
import
I call them BusinessException and BusinessUncheckedException
BusinessException has the message key and an array of parameters, so I
can build pretty error messages in the client side.
On Fri, Jul 24, 2009 at 11:11 AM, Eduardo Nunesesnu...@gmail.com wrote:
I use exceptions in this way:
-
You imported com.google.gwt.dev.asm.Label instead of
com.google.gwt.user.client.ui.Label
Rahul wrote:
Hi
I am trying to create an composite widget that would have label and
textbox wrapped in a verticalpanel
here is my code for this:
package com.example.test11.client;
import
Thanks for the advice. This could be a way, but I am a bit afraid that
it could be a bit risky to take this approach without knowing exactly
what one is doing. Maybe I could create some circular reference
causing memory leaks or something like that - some experienced folks
could maybe drop a word
Hi
i would like the functionality that when a user double clicks on the
textbox, the existing text on the textbox deletes itself
how should i proceed to do that so ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I have just upgraded to GWT 1.6.4 and I have run into problems
deploying GXT to Tomcat.
I am getting this error in the logs:
java.lang.ClassCastException:
com.rbsgbm.ival.gui.server.CommandServiceImpl cannot be cast to
javax.servlet.Servlet
at
Hi Leonardo,
If you have everything set up correctly then your web app should just
run. One thing to consider though with netbeans is the use of
Glassfish v2.2 as your server. It seems that Glassfish v3 prelude does
not want to work fully with a GWT app. I am not sure why this is, but
I was
Using the FlexTable and CSS, is there a way to achieve the effect of
rowspan?
I have a 4 column table, where (for 99% of the time), the first two
columns have the same data, only the data in the last two columns will
differ
Col1 Col2 Col3 Col4
aa
Hi,
I want to use GWT in a PHP project but can't find files like project-
name-shell or com.google.com.gwt.dev.GWTShell. I'm using GWT 1.6.4
with Eclipse on Mac OS X.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Isaac,
Thanks so much - that control is exactly what I need. I had started
to hack a Composite widget together by wrapping ScrollPanel, and it
was kind of working,
but for some reason Opera wouldn't display the horizontal scrollbar.
And in any case, SliderBar looks 1000 percent better than the
Correction - for the labels, I meant to say there would be 5 at
intervals of 20.
On Jul 24, 9:41 am, Carl consult...@goalstate.com wrote:
Isaac,
Thanks so much - that control is exactly what I need. I had started
to hack a Composite widget together by wrapping ScrollPanel, and it
was kind
I am new to GWT RPC application. I have downloaded the GWT plugin for
eclipse and did a sample GWT java product and defined a module which
contains the following three screens:
1, Login Screen
2, Main Screen, which contains menu bar and tool bar options and
3, A master screen, ie., Item Master,
Hi All,
I am using Form based login in my GWT+Portal based application. To go
back to the user requested page after successfull login i am using
WASReqURL cookie set by Websphere.
Now currently i am using WAS 6.1.0.17 WAS server. I tried in local m/c
also in unix server and at both place the
Hi...
I'm in the Getting Started Tutorial example, everything works so far,
but I'm unable to debug (Step 6). It always runs thru the code
ignoring my breakpoints. BTW, if I create a breakpoint there isn't a
breakpoint window where that one appears (like shown in the Tutorial)
I tried both
The problem is when i try to display com.google.gwt.user.client.ui.HTML
(String html) with html like this
code
brullidotted el1br/lilidotted el1br/li/ulfont
color=#339966bbr/b/fontollione/lilitwo/
lilifont color=#00three/fontbr/li/olfont
color=#339966b/b/fontColours and other things work
Hi Sumit,
Yes, I did it that way, but I don't lock objects, the error message
tells user that data has been changed by someone else and that he
should reload, I use optimistic locking.
Many thanks,
On 23 juil, 19:38, Sumit Chandel sumitchan...@google.com wrote:
Hi Aymen,
Yes, that exactly
I'm looking at using GWT in an OSGi application. We want to be able
to add extra features as bundles. These bundles would add new
database tables, workflows and screens to an existing application.
I think it would be easy to add something to the menu - have a service
where the clients polls
While trying to create a FormPanel that uploads a file, my application
launches a pop-up window on FormPanel.submit(). Furthermore, the
listener designed to retrieve the results from the submit never gets
fired. I'm using the latest GWT 1.7. Below is a simplified example
that reproduces the
Well well,
I was just getting excited about the new release, and then I've got
busted.
I've updated from the 1.6.4 to the new 1.7 gwt release, and now I'm
getting an error when trying to compile the application.
Here is my GWT Development Shell Output:
[code]
[INFO] Starting HTTP on port
Just Right+Click the *.gwt.xml in your app package, and click
Debug As .
There will be two ok possibilities, debugging as GWT Hosted mode
Application, or as Web Application ( with the blue google icon).
Just choose the one that suits you, if you are in doubt, just try
both.
It might sound
Thx. I did setup an identical configuration on my home machine, which
works as expected. Even the breakpoint window appears. So, hopefully,
I can manage to get it running on the office machine too.
Thread over for now. Thx again
Ekki
On Jul 24, 8:59 pm, Sean slough...@gmail.com wrote:
Hello,
For anyone else experiencing similar issues, please see Issue #3871
(link below) for follow-up.
Issue #3871:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3871
Thanks,
-Sumit Chandel
On Jul 22, 10:08 am, mihai007 mihai@gmail.com wrote:
The error is:
Uncaught
Hi,
When the panel is shown some list boxes simply don't appear, I have to
pass the mouse over the list box to force the browser to show it.
I have this problem with one line listbox (combobox) and multiline
listbox.
I test this problem with Google Chrome, FireFox and Internet Explorer,
ONLY
I'm trying to upgrade from 1.5.2 to 1.6.4 and have the same issue as
the posts above, but I'm not using Maven at all. When I run in hosted
mode (launching from Eclipse Ganymede), as soon as I click the
Compile/Browse button, I get the error message GWT module needs to
be (re)compiled. I also
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
!-- Default page to serve --
welcome-file-list
welcome-fileCaribbeanvisit.jsp/welcome-file
JSP file is located in my war directory (war/Caribbeanvisit.jsp):
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ page import=com.google.appengine.api.users.User %
%@ page import=com.google.appengine.api.users.UserService %
%@ page
JSP is located directly in the war directory.
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ page import=com.google.appengine.api.users.User %
%@ page import=com.google.appengine.api.users.UserService %
%@ page import=com.google.appengine.api.users.UserServiceFactory %
!DOCTYPE
You have to extend Composite instead of EntryPoint and initialize your
widgets in the constructor.
Simple example:
public class SimpleButtons extends Composite{
public SimpleButtons(){
final VerticalPanel panel = new VerticalPanel();
initWidget(panel);
final Button
Is there a convenient way to access a stylesheet in programmatic form?
My intention is to have an animation, and to let another developer
specify a 'before' style and an 'after' style in the CSS rather than
the code (just width and height at this point), and then to have the
animation tween
Jennifer,
Sounds like you're up against this issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3510
There's a patch attached to comment #21 that has worked for many
(including myself). You can also upgrade to 1.7.0, which includes the
fix for issue #3510.
Hope that helps.
-
Hi,
I want to change my TabPanel's tab labels dynamically (e.g. add info
about what the user has done within the tab such as how many items he
has selected). Can the title be changed?
TIA
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Windows XP, I have IE Firefox Chrome installed on the machine.
Thanks
On Jul 24, 7:02 am, Rajeev Dayal rda...@google.com wrote:
Hey Raju,
It definitely sounds cookie related. What OS and Browser are you running
with?
Rajeev
On Fri, Jul 24, 2009 at 9:04 AM, Raju
one more question :) i know gwt mention about easy ajax,but i couldtnt
find usage of sessions in gwt.can you give or send me any link or
document to learn how to manage and use sessions in gwt
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I've been combing through the Getting Started guide, and I got
everything to work except this page.
http://code.google.com/webtoolkit/tutorials/1.6/debug.html
I've followed the directions and it doesn't work. The tutorial runs
normally and it doesn't break at the breakpoints. Anybody got
Hi Ekki,
Did you get this to work on your office computer? I'm experiencing the
same problem, and just like to get this to work.
Thanks,
Howard
On Jul 24, 12:25 pm, CI-CUBE e...@ci-cube.info wrote:
Thx. I did setup an identical configuration on my home machine, which
works as expected. Even
I am trying to use JPA with GWT . I am not sure how to make this
communication work .
I did googling around on this quite a bit . People suggest dozer and
gilead .
Dozer plug in is not working currently .
Gilead there is aproblem with lazy fetching .
This must be a time and tested approach .
So
you may give a look at this
pagehttp://tcninja.blogspot.com/2009/07/composites-when-you-need-to-group.html
to
learn a little more about composites.
On Fri, Jul 24, 2009 at 7:07 AM, Baskar baskarani...@gmail.com wrote:
I am new to GWT RPC application. I have downloaded the GWT plugin for
Hello Isaac,
Many thanks for the pointer to that thread. The patch fixed the issue
in 1.6.4 and I will also upgrade to 1.7.0 as you suggest.
Best,
Jennifer
On Jul 24, 2:13 pm, Isaac Truett itru...@gmail.com wrote:
Jennifer,
Sounds like you'reup against this issue:
Thanks, that was helpful.
On Thu, Jul 23, 2009 at 1:43 PM, Sumit Chandel sumitchan...@google.comwrote:
Hi Joseph,
GWT support for HTML 5 is definitely something the team is looking at for
an upcoming release. Until then, you can always use an HTMLPanel to contain
the video tag and manage its
Hi,
I'm trying to upgrade my code to 1.7, but I'm having a few problems,
and after trying to sort them myself searching the group and the
documentation, I gave up.
1) In 1.7
com.google.gwt.libideas.resources.client.ImmutableResourceBundle is
deprecated, and the javadoc point to
Hi Graham, there's not a directly way in GWT as yet.
As part of a project I'm doing, I've been building up an animation
library that is based on tweening between 2 styles that I've been able
to kept as open source. You can find the library here:
http://code.google.com/p/gwt-fx/ and an example
Hi all,
I am new to this rpc,i facing a problem with Date type,I have one
methods that takes MapString,Object
argument,when i am trying to send to Date as value for that map i am
getting exception like
java.lang.reflect.InvocationTargetException
java.lang.AssertionError: Not enough methods,
Hi all,
I am using gwt2swf jar for Flash Tag cloud widget.
I am passing history token in my url of each tag.
So, on click of each tag it goes to the onHistoryChanged() method when
I am working in Firefox and Chrome.
But in IE 7.0 and Safari when I click on any tag it first goes to
onModuleLoad()
1) A generator uses the SystemCL. Not recommended because it won't see
changes in client code unless hot-replace is working.
2) A generator uses TypeOracle. Recommended; changes are picked up on
refresh.
3) A generator uses the TypeOracleClassLoader. Useful for interacting with
On Fri, Jul 24, 2009 at 6:01 AM, Alen Vrecko alen_vre...@yahoo.com wrote:
1) A generator uses the SystemCL. Not recommended because it won't see
changes in client code unless hot-replace is working.
2) A generator uses TypeOracle. Recommended; changes are picked up on
refresh.
3)
I think it'd be reasonable. Patches welcome, particularly as you have the
reproduction case. ;-)
On Fri, Jul 24, 2009 at 10:33 AM, mescali...@gmail.com mescali...@gmail.com
wrote:
ok
sorry for all this bugspam
I finally solved this issue.
it turns out that Gentoo has many ant tasks
in GIN's case we could then do
ctx.getTypeOracleClassLoader().useSystemFor().startingWith
(com.google.gwt.inject.).create(); and not worry about any
surprises.
That seems, complicated and unnecessary. If you really, really need the
SystemCL version of a class, you'd just access it
Hey all,
We've been struggling with the issue of RPC forward/backward
incompatibility for a little while and I thought I'd bring it to the
list for discussion.
As some of you know, one of our use-cases for GWT is embedding the
compiled JS in a Firefox extension. Unfortunately, the
Reviewers: jgw,
Description:
Description:
=
WindowImplIE needs to embed a script tag on the outer window in order to
sink events on the outer window from within an iframe, which means we
need the init event methods as strings. Previously, we did this by
writing a JSNI black that
This patch is an improvement either way, but it doesn't fix the tests.
It looks like various tests are causing an infinite loop. Looking into
it now.
http://gwt-code-reviews.appspot.com/51814
--~--~-~--~~~---~--~~
On 2009/07/24 17:27:00, jlabanca wrote:
This patch is an improvement either way, but it doesn't fix the tests.
It looks
like various tests are causing an infinite loop. Looking into it now.
LGTM.
http://gwt-code-reviews.appspot.com/51814
One thing this setup won't do is to minify the JS.
http://gwt-code-reviews.appspot.com/51814
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Reviewers: scottb,
Message:
Review requested.
Description:
Rhino's Node.getLineno() only returns useful data for JS statements.
This patch changes GWT's JsParser to provide statement-level line number
resolution for JsExpressions.
Please review this at http://gwt-code-reviews.appspot.com/51816
Mostly LGTM.
http://gwt-code-reviews.appspot.com/51816/diff/1/2
File dev/core/src/com/google/gwt/dev/js/JsParser.java (right):
http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159
Line 159: SourceInfo toReturn = program.createSourceInfo(lineno,
parent.getFileName());
Why can't we use
http://gwt-code-reviews.appspot.com/51816/diff/1/2
File dev/core/src/com/google/gwt/dev/js/JsParser.java (right):
http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159
Line 159: SourceInfo toReturn = program.createSourceInfo(lineno,
parent.getFileName());
Will change.
http://gwt-code-reviews.appspot.com/51816/diff/1/2
File dev/core/src/com/google/gwt/dev/js/JsParser.java (right):
http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159
Line 159: SourceInfo toReturn = program.createSourceInfo(lineno,
parent.getFileName());
BTW: I didn't necessarily mean
Reviewers: robertvawter_google.com,
Description:
Description:
===
JsStackEmulator#baseName() does not handle urls from the file system
(eg. file:whatever). This can result in an infinite loop in
StackTraceCreator.
Fix:
Fixed the parser based on bob's suggestion.
Please review
LGTM
http://gwt-code-reviews.appspot.com/51817
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
Something wrong with my windows env. I rebuilt successfully on a
different windows env.
On Jul 24, 9:24 am, Freeland Abbott fabb...@google.com wrote:
Huh.
Well, if you look in dev/core/build.xml, you should see the rules for
building alldeps.jar; I'd edit that block heavily to add some more
On 24-Jul-09, at 6:39 PM, BobV wrote:
I have a design wave going on about how to add this to the new RPC
implementation. Here's a cruddy copy-and-paste of the current state
of the document.
Bob, this is awesome!
Is the plan to land this as part of deRPC, or is this a future feature
that
Also, will this be supported on methods themselves? For instance, can
I mark a new method parameter as @Optional so that older clients don't
need to provide it? Conversely, could we remove a parameter from a
method and still support clients sending data with the old signature?
I could go
The deRPC code went into trunk a week or so ago, and no initial fires
have been reported. I'd like to get folks on GWTC to give it a
shakedown.
Quickstart (for vanilla configurations):
- Inherit com.google.gwt.rpc.Rpc in your gwt.xml file
- Change your remote service interfaces to extend
On 24-Jul-09, at 9:11 PM, BobV wrote:
Also, will this be supported on methods themselves? For instance,
can
I mark a new method parameter as @Optional so that older clients
don't
need to provide it? Conversely, could we remove a parameter from a
method and still support clients
89 matches
Mail list logo