Hi Mark -
I've actually gotten this partially working since we last talked. I can't
use a RemoteServiceServlet because the GWT-RPC mechanism is based on XHR
which is restricted by SOP. I'm writing my own custom transport layer using
JSONP, but I still want to be able to use java objects to
On Mon, Jun 1, 2009 at 10:46 PM, SunilBansal
sunil.ban...@daffodildb.com wrote:
lan thanks for your response which log you are talking about. because
when i checked in hibernate.log then i found no exception.
The servlet container's log. In the default case for GWT it used to
be Tomcat but
I have used netbeans to create the rails project(jruby) and deploy it
in debug mode on glassfish v3.
I then used eclipse to create the gwt project inside the public folder
in rails.
From eclipse I unchecked the launch internal server and I changed
the url to the url of of the page on the server.
HI All,
I am trying to shift on GWT 1.6. But when i compiled my code on GWT
1.6 then i face some compilation issue. The Exception stack trace is
showing as :-
[ERROR] Unexpected internal compiler error
java.lang.StackOverflowError: null
at
same code is working fine on GWT 1.5 and it's also showing the
following message
Gwt module 'module name' needs to be (re)compiled,please run a compile
or use the Compile/Browse button in hosted mode
On Jun 2, 11:18 am, Sanj sunil.ban...@daffodildb.com wrote:
HI All,
I am trying to shift
Thanks, Mark.
On Jun 2, 7:40 am, Mark Renouf mark.ren...@gmail.com wrote:
Not without modifications to the RPC subsystem. code generators and
API.
There is a Wiki doc on the proposed design:
http://code.google.com/p/google-web-toolkit/wiki/RpcAuth
On Jun 1, 5:46 am, Deep Blue
Hi men,
I am trying to implement my own Composite named MenuItem composing of
a Grid with 3 cells next to each other and a Label placed in the
middle cell. I call initWidget(the Grid).
The issue now is that I register a click handler for the Label which
should determine if the MenuItem was
Hi Igor. I think your problem is related to mine:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3652
But I can reproduce it in both hosted mode and in the browser. I think
there is a serialization issue with the GWT RPC when sending inherited
(super-class) fields.
On May 31, 11:33
Hi all,
Using the GWT EntryPoint is there anyway to make sure that the entry
point isn't invoked until the rest of the document is loaded?
I have made a widget that can be shown on various pages and sometimes
due to one thing or another the widget fails to render but when this
happens it stalls
Ok, that was what I wanted to know. I'll proceed with doing what you
suggested. Thanks.
On Jun 2, 2:04 am, Paul Robinson ukcue...@gmail.com wrote:
I (and presumably many others) am serializing things from an inheritance
hierarchy without any problems.
I can suggest two things for you:
(1)
Have you ensured that the gwt script tag occurs after everything else?
Or tried a deferred command in the onModuleLoad which calls a routine to do
everything currently in the onModuleLoad ? That should be queued until
everything else is done.If your other js is deferring stuff too, then a
deferred
Hi Everybody,
Could somebody be nice enough to post snippets of code around handling
multiple windows in a GWT app. I've read the bug #404 entry and the
pieces of suggested workarounds with window.open() but somehow I'm not
connecting the dots.
What I'm trying to achieve is:
- Main window shows
Hi Ian,
Many thanks for the reply.
I'm assuming you mean the GWT DeferredCommand object.
I'll have to take a look into how that is utilised.
Eggsy
On Jun 2, 10:55 am, Ian Bambury ianbamb...@gmail.com wrote:
Have you ensured that the gwt script tag occurs after everything else?
Or tried a
I started a GWT project and quickly had the need for more widgets than
what is provided in the standard SDK. GWT-EXT comes up consistently as
a popular library that provides widgets on top of GWT but when digging
into the implementation it is clear that it actually is a binding of a
Javascript UI
Ignore my previous comment. It has nothing to do with it.
On May 31, 11:33 am, igor.khd igor@gmail.com wrote:
Hello guys!
I am using GWT-1.6 + gwt-ext-2.0.5 + gilead (previous name is
hibernate4gwt).
I encountered next problem:
I am getting next exception when sending to the client
Well, I have finally found the problem:
Drums roll:
The GWT Timer class is not serializable (my super class had a Timer
field buried down in there)! The compiler doesn't complain at all and
when the time to serialize comes it just doesn't serialize the whole
class without throwing any exception.
Yeah, it's just a timer of 1ms as far as I remember, but the browser will
put the request at the back of the queue so unless your other js leapfrogs
it by doing the same trick, it should run after everything else.
The screen will be rendered before it runs, which may or may not be a
problem or an
did you do a compile before you deployed it.
When you are in hosted mode just tell it to compile the application.
You will see a button in hosted mode called 'Compile/Browse'. This
will compile your application and launch a browser to view it.
At this point you have all the code compiled and
[+jaime, gwt]
The normal Google-Web-Toolkit group (cc'd) is fine for this discussion. I'm
not all that familiar with it myself, but I've cc'd Jaime Yap, who should
know more.
Cheers,
joel.
On Mon, Jun 1, 2009 at 11:08 PM, phan le sang phanles...@gmail.com wrote:
Hi,
Sorry for asking your
Hello:
I am dragging and dropping small HorizontalPanels between two
ScrollPanels. When there are no scroll bars on the ScrollPanels, it
works just fine. However, if there are bars present, moving the
panels jsut causes the ScrollPanel to scroll and the dragged panel
disappears as if it is
We opted to remove it to avoid confusion when using eclipse. The plugin
does not currently have an export ant file option.
However, you can submit an issue for this at
http://code.google.com/p/googleappengine/issues/list .
On Mon, Jun 1, 2009 at 8:32 PM, jvincent xzgf2...@gmail.com wrote:
use
As a follow up, I switched to -noserver mode and it works just fine
now. Must've been a conflict with running it in the bundled jetty.
Thanks for the tips!
On May 14, 2:36 pm, tim.clymer tim.cly...@gmail.com wrote:
Sure. I'm using Maven2 for my dependency management and project
structure,
I do something similar with other events, so I would imagine it should
work the same way. I have a class extending Composite that contains,
among other things, a button. When that button is clicked, a
CloseEvent is raised by the class. This is accomplished by having my
class (extending Composite)
Hello there,
Anyone know how i can integrate GWT and JAAS?
I'm using JBoss and i create my realm and I configure my jboss-web.xml
in my web project. It's work correctly.
But i don't know how i can autenticate using a form with GWT.
Anyone have an ideia?
Thanks for helping
Otavio
Hi
I want the session to be expired if the it is idle for 5 minutes.
I have the following client code after a successful login:
String sessionID = /* (Get sessionID from server's response to login
request.) */ ;
long DURATION = 1000 * 60 * 5;
Date expires = new Date(System.currentTimeMillis() +
Nice! This com.mysql.jdbc.ConnectionImpl exception error was driving
me crazy also. Thanks!
On Apr 13, 6:46 am, martin hotston...@googlemail.com wrote:
Ok, I solved the problem ;-)
Go to the project's properties and uncheck Use Google App Engine.
Additionally, as vitali mentioned, the
When using the i18n script for generating the constant interface, the
maps are not generated as desribed in the documentation
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/i18n/client/Constants.html
The following properties file
key1 = foo
key2 = bar
map = key1, key2
hello,
is it somehow possible to provide suggestion in RichTextArea instead
of in SuggestBox?
I noticed in Google Wave presentation video, that their spellchecker
opens a popup with suggestions (corrections) in richtextarea right
under the misspelled word. How is the placement of this popup
Hi,
I am facing a issue when I am clicking on compile/browse button,Error
message generate when click on
compile/Brows
gwt module 'module name' needs to be (re)compiled,please run a
compile or use the Compile/Browse button in hosted mode
I am using
LibraryVersion
GWT
are there any other languages planned for the GWT? such as C# or C its
self? as not everyone knows java, and not everyone is willing to learn
a new language to use the toolkit.
since if C# and C/C++ are covered along side java, you cover almost
all the programmers who would want to/be able to,
Hi,
I have a legacy web application, and I'm creating a GWT interface for
it.
I put the GWT module folder in the project and in Eclipse I used its
src folder as a source folder, so both client and server files are
compiled.
I cannot add new servlets as GWT RPC requires, but I'm trying to use
raw
All apologies if this is a really obvious question but after 3+ hours
searching this group and the tubes in general I couldn't find the
answer.
I have xml data that looks like this:
root
item
item-descriptiona/item-description
item-weight5/item-weight
item-colorblue/item-color
I seem to have found some unusual behaviour - I have captured the
KEY_TAB event in the following code:
public void onKeyPress(Widget sender, char keyCode, int
modifier) {
firedKeyDown = true;
switch (keyCode) {
case KEY_TAB:
Jun 2 2009,11:10AMaud2008
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email
I ran into issues like this also, its how IE7 does the CSS compared to
the other browsers. You need to setup the CSS for IE7 and the other
browsers.
I use firefox firebug to see how the CSS are setup, that is how they
are shown. I recommend running your program without the setStyleName
and use
Hey Darren,
We don't have specific plans for other languages right now, and
there's a bit about why GWT uses Java over here:
http://code.google.com/webtoolkit/makinggwtbetter.html#introduction
However, the beauty of open source is that everybody's totally free to
implement their own web
On 06/02/2009 02:15 AM, acpir wrote:
All apologies if this is a really obvious question but after 3+ hours
searching this group and the tubes in general I couldn't find the
answer.
I have xml data that looks like this:
root
item
item-descriptiona/item-description
Well, I am also having almost the same trouble, so if anyone can help
us it would be apreciated.
Thanks
Fernando
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group,
Hi all,
I'm developing a new web application base on GWT technology, the name
is gwt-mind-mapping. It's not done yet (is a beta version), but please
have a look for this application in http://gwt-mind-mapping.appspot.com/
and give your opinion.
Thank you ..
Bosangjay
Is there a way to deploy a Eclipse GWT Project to a war file ?
Im using Eclipse 3.4, GWT 1.6.4, GWT plugin for Eclipse. I want to
deploy to Websphere Application Server Community Edition server.
--~--~-~--~~~---~--~~
You received this message because you are
We don't currently support exporting to a war from the IDE. You could do a
clean build in eclipse, then perform a GWT compile, then you can simply war
the contents of the war folder.
We are tracking the export war request as part of the following issue:
My understanding is that GWT-Ext development is halted.
Your mileage may be different, but if you are setting up your
technology stack, why pick something with no apparent future?
It's popular now but when something is not moving at all, other things
are bound to catch up and surpass it.
We're
This is not a beta version. This is an alpha prototype at best.
I've got a few suggestions:
* Use a canvas to draw the lines (in the browser)
* make each node selectable without editing (you could traverse the
mindmap like a tree and press F2 to rename a node)+
* Drag and drop
Hi rjcarr,
Because you can do arbitrary things in an eval, I'm not sure the GWT
compiler will be able to infer that there are types referenced from the JSNI
method parameter list in the eval argument. I could be wrong on that, so
I've cc'ed Scott to double check that assertion.
On the other hand,
Hi Sumit-
Thanks for the response. I'm looking forward to hearing from Scott if
he has anything to say.
My example of doing simple arithmetic was only to explain the problem.
However, if I think about it more, maybe it is still applicable.
Say I have an application that allows users to input
Guilty as charged. I was on the road for some time and had no chance
to file the RFE.
Should I still do it?
On May 29, 6:11 pm, Rajeev Dayal rda...@google.com wrote:
Hi Abby,
No, I don't think that an RFE has been filed for this. Would you mind filing
one?
Yes, the best workaround right
Is performing an eval on arbitrary code from an untrusted source
(client in this case) a good idea?
It seems like it would be a rather large security breach in your
application (depending upon what else you app does I suppose)
It just sounds naughty to me.
-jason
On Jun 2, 2009, at 12:50
I'm using the GWT Eclipse plugin with the latest GWT 1.6. My test
looks like this:
public class MyTests extends GWTTestCase
{
public String getModuleName() { ... }
public void testAddAction()
{
MyServiceProxy proxy = new MyServiceProxy(
new MyServiceCallback()
Hi Jason-
Thanks for the response, but again, it is just an example of what I'm
doing. But you're right, and thanks for the suggestion, I'll take a
closer look at my specific application for any potential security
issues.
--~--~-~--~~~---~--~~
You received this
Would it, though? You're executing, on the client, arbitrary code that
originated from the client/user. It's nothing a user couldn't do with
Firebug or other browser extensions. It certainly looks like the sort
of thing that should send up red flags, but I don't think it's a
problem in this case.
Hello.
GWT 1.6 + Eclipse.
When trying to connect to MySQL, I get access denied
(java.lang.RuntimePermission modifyThreadGroup) as an
accesscontrolexception. I tried to find Jetty's policy file, but with
no success.
Is there an example GWT+MySQL for 1.6? Thank you
Hi,
I would live to create a button that works just like a pushbutton, but
without the grey background. Is there an easy way to just remove th
egrey button outline, or will I have to roll my own component?
Regards,
Anders S. Johansen, ange.dk
Hi,
check:
http://code.google.com/intl/es-AR/webtoolkit/doc/1.6/DevGuideTesting.html
(section Asynchronous Testing)
delayTestFinish(6000) doesn't delay the execution, you can use a Timer
instead.
Regards,
On Tue, Jun 2, 2009 at 4:18 PM, Igor Moochnick igor.moochn...@gmail.comwrote:
I'm
What about timing out the session on the server?
Assuming that you're using a Java application container on the server,
you can add the following to web.xml:
session-config
session-timeout5/session-timeout
/session-config
This will cause the server to time out connections after
Hi Greg,
Push the button GWT Compile Project
Compile your project setting log level to Spam
Go to Debug Configurations , on the 2nd tab GWT of your project
set log level to Spam.
Run Debug as... ( your project )
Make your breakpoints on your project
Then press Compile/Browse on
Hi Suren,
Unfortunately, disable text selection on double click is one of those things
that is hard to prevent across all browsers. I tried a couple of
implementations to disable text selection on double-click, but neither of
them worked.
However, you can use an onselectstart='return false;'
live
...should be 'like', obviously. I'm not THAT into making a prettier
PushButton :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
Hi Neeraj,
The answer to how to integrate GWT with your existing Spring MVC Web
Application depends on how deeply you want to integrate GWT into your
application.
For example, if you would simply like to add a few GWT components to your
application pages, all you would need to do is define an
Hi --
I have seen a lot of posts referring to variants of this problem, but
haven't seen a resolution to this specific situation ... and I'm
afraid I'm not making headway. This seems very simple, but if I can't
do it, please let me know.
I'm running Eclipse 3.4.2 with GWT 1.5.2. I have a
Hi Adrian,
There's nothing immediately obvious to me with the code snippet you posted.
The dialog box should come up normally.
Could you try compiling your application in PRETTY mode and seeing if the
error still occurs when loading your application in Firefox?
Also, did this occur when hitting
I want an HTML button with and image AND text. I could use a control
form a widget library, but I want my button to be a native HTML
button. Anyone know how to do this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I appears that the JDK v 14 is causing the problem. I installed the
v13 JDK and then told Eclipse (via the launch configuration) to use
v13 and breakpoints started to work again. I think this needs to be
reported back to GWT group.
Sincerely,
Steve
On May 30, 5:05 pm, Greg
I want a GWT control that's a TextBox with the label as light grey
text inside the field (as opposed to beside it). You know, so you see
what the field's for, but it saves space. And when you click inside
the text box, the light grey label disappears.
Anyone know if there's a widget library
Also, you can compile in PRETTY mode using the Google Eclipse Plugin by
following the steps below:
1) While your project is open, click on the Run... drop-down arrow to open
the list of run configurations.
2) Select Run Configurations...
2) In the Run Configuration dialog, select your project's
I just wanted to ask you guys about this topic as our IP lawyers have
found a potential problem.
* ExtGWT extends classes in GWT therefore creating a derivative
work.
* ExtGWT is licensed under the GPLv3 and GWT under ASFv2.
Now, we know that these are compatible. But, only ONE WAY!
You can
This is the section from Apache about compatibility:
This licensing incompatibility applies *only* when some Apache project
software becomes a derivative work of some GPLv3 software, because
then the Apache software would have to be distributed under GPLv3.
This would be incompatible with ASF's
You can find source code from http://www.gwtorm.com/mail/Mail.html.
Jim
http://code.google.com/p/dreamsource-orm/ for GWT ORM.
On Jun 2, 5:29 pm, mrpantsuit kevin.peter.w...@gmail.com wrote:
I want a GWT control that's a TextBox with the label as light grey
text inside the field (as opposed
Hi,
Perhaps this might not be the correct place to ask this. But please
kindly tell some answer to this.
I am new to web development and I started reading about GWT, and when
I look at web.xml I see the
servlet
servlet-namegreetServlet/servlet-name
Hi Jacob,
The difference between the two depends on what you do with them. The
emulated ArrayList provides a number of convenient features. If you use
ArrayList, you will definitely pay the cost of increasing the size of your
JavaScript, but that might not be a problem if you need these features
In GWT 1.6,
1.calc.html should contain a generated Javascript code like
script type=text/javascript language='javascript' src='mail/
mail.nocache.js'/script in http://www.gwtorm.com/mail/Mail.html.
2.A service interface like MailService has the following code:
Hi All,
Its fairly simple take a look at Spring Security for some examples,
the Subject just ends up in the HttpSession. You can use a HttpFilter
to check it to block request to your RpcServlets, and you can login to
your jboss JAAS session from the Servlet/Filter web code, just like
you can
Hi,
I'm using com.google.gwt.user.client.ui.Frame to embed an external
url. There seem to be a small inset border even though I have
everything set to 0 in the css. I think this is because of iframe has
a separate frameborder attribute. How can I set this attribute? I
don't see the function in
3.mailService is mapped to MailServiceImpl servlet as indicated
in the following web.xml.
servlet
servlet-namemailServlet/servlet-name
servlet-
classcom.google.gwt.sample.mail.client.server.MailServiceImpl/
servlet-class
/servlet
servlet-mapping
I found a solution and wanted to share it in case anyone else needs
it.
I needed to change:
.georgeMenuItem .gwt-MenuItem-selected {
background: #c1272d;
color: #FFF200;
}
to
.georgeMenuItem-selected {
background: #c1272d;
color: #FFF200;
}
On May 22, 8:21 am, Tracy
GWT-Ext is free for commercial?
Yes it is free - though you may want to look at SmartGWT as well which
also has a free version (the enterprise version is not free, but
just for a good look and feel the free version is fine). A lead dev
from GWT-Ext moved to SmartGWT.
ExtGWT is another
In your example, once you type http://localhost:8080/calc/greet in
FF, it is a synchronous regular request in Get method. Your servlet
doesn't override doGet method and
com.google.gwt.user.server.rpc.RemoteServiceServlet returns HTTP Error
405 to your request. In GWT application, it is a
My understanding is that GWT-Ext development is halted.
A active replacement is SmartGWT (has a free LGPL version).
Note that Ext-GWT is not free for commercial use - it uses GPL
licencing. I'm currently using it.
- Carl.
--~--~-~--~~~---~--~~
You received this
Have you tried compiling with -Xss64m as a VM arg?
-Carl
On Jun 2, 4:35 pm, SunilBansal sunil.ban...@daffodildb.com wrote:
same code is working fine on GWT 1.5 and it's also showing the
following message
Gwt module 'module name' needs to be (re)compiled,please run a compile
or use the
I want to write a small library API which will expose certain
classes of Objects and well-known methods on them for plain-old
JavaScript to invoke.
Creating the API isn't too hard, and using JSNI, I'm able to create
methods in JavaScript that call back to the GWT (obfuscated) code.
What I
One thing I tried was adding an 'export' method to the Foo class:
class Foo {
public Foo() {
this.export();
}
private native void export() /*-{
this.doBar = function() {th...@foo::doBar()();}
}-*/;
public void doBar() {
// ... something
}
}
This causes, on creating an
I have a picklist using the PagingScrollTable (Feb 27 build and only
have 1 page). I select rows, then copy them to another
PagingScrollTable and remove the selected rows from the first table.
This works, except not all selected rows disappear from the first
table. When I select rows 0,1,2, they
Rajeev Dayal wrote
1) Are you using Debug As to launch your application's debugging session?
2) If you switch to the Debug perspective and look at the breakpoints view,
are all of the breakpoints enabled?
3) If you go to Preferences (Window - Preferences on Linux and Windows,
Eclipse -
Kelo wrote
Push the button GWT Compile Project
Compile your project setting log level to Spam
Go to Debug Configurations , on the 2nd tab GWT of your project
set log level to Spam.
Run Debug as... ( your project )
Make your breakpoints on your project
Then press Compile/Browse
Hi everyone!
I'd like to invite all of you to play my own Tetris which I
implemented with GWT. It's called GWTetris :p and I hope you'll enjoy
it :) I added high scores feature so I think it'll be fun.
You can find it here:
http://mars.iti.pk.edu.pl/~swoosh/GWTTetris.html
Greetings,
Janusz
This method is available in com.gwtext.client.widgets.Panel class.
Cheers!
Amzad Basha.
On Jun 2, 3:45 am, KodeMaestro troypeter...@rogers.com wrote:
What class would that be a member of? I cannot find a method called
setAutoHeight on any of the widget classes.
Thanks,
Troy.
On Jun 1,
How can we call a java script function on GWT click event,I mean
clicking on a button how can we execute a java script code.Is there
any example.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
hi
Unfortunately there is no universal way to disable text selection via
mouse dragging that works in all browsers.
If I recall correctly to disable text selection one must add the event
listener that Sumit suggests, but this only applies for Ie and maybe
opera. For the others one must add a
Author: j...@google.com
Date: Mon Jun 1 22:59:06 2009
New Revision: 5490
Modified:
trunk/user/super/com/google/gwt/emul/java/util/Date.java
trunk/user/test/com/google/gwt/emultest/java/util/DateTest.java
Log:
two changes to java.util.Date in an effort to track down a very intermittent
Author: j...@google.com
Date: Mon Jun 1 23:11:52 2009
New Revision: 5491
Modified:
branches/snapshot-2009.05.12-r5406/branch-info.txt
branches/snapshot-2009.05.12-r5406/user/src/com/google/gwt/i18n/client/Dictionary.java
Author: j...@google.com
Date: Tue Jun 2 07:19:52 2009
New Revision: 5492
Modified:
trunk/user/test/com/google/gwt/dom/client/ElementTest.java
Log:
Fixes test failure on FF2 with a bit of a hack in the test (FF2 has an
off-by-one error in getBoxObjectFor() that cannot easily be fixed).
TBR:
Reviewers: bobv,
Please review this at http://gwt-code-reviews.appspot.com/33839
Affected files:
dev/core/src/com/google/gwt/core/ext/soyc/impl/StandardClassMember.java
Index:
dev/core/src/com/google/gwt/core/ext/soyc/impl/StandardClassMember.java
Author: r...@google.com
Date: Tue Jun 2 07:35:31 2009
New Revision: 5493
Modified:
trunk/dev/core/src/com/google/gwt/core/ext/soyc/impl/StandardClassMember.java
Log:
Fix checkstyle violation.
Review by: b...@google.com
Modified:
Comment by PaRaDoXXX.ZeRo:
Same as mark here, rev 5393 breaks oophm with document.body is null as an
error.
Reverted to 5392 and it works...
For more information:
http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM
--~--~-~--~~~---~--~~
Thanks, Cameron! I assigned the issue to Joel, who's working on this.
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
94 matches
Mail list logo