You are right (of course) ;-) !
Thanks!
On 4 Mai, 12:12, Thomas Broyer t.bro...@gmail.com wrote:
On 4 mai, 11:40, olel lauri...@engram.de wrote:
Unfortunately I have to use GWT 1.5.3 at the moment and this version
doesn't even have a HostedMode class. The GWTShell class (which should
be
Anyone who uses the keyboard, the context menu or uses some browser
extension that adds functionality to links or just overrides link
styles in the browser will notice the forgery ;-) You can't win the
duck typing [1] race here. Thomas' Anchor solution is of course better
than my history-trick,
Hello group,
I have some problem with GWT Servlet Session and Java Servlet Session. I
have stored a data in GWT Servlet Session like this:
HttpServletRequest request = this.getThreadLocalRequest();
HttpSession session = request.getSession(true);
session.setAttribute(key, data);
but when I do
On 7 mai, 06:32, David Terei davidte...@gmail.com wrote:
I have a project using GWT which integrates with existing HTML. I want
to be able to place widgets into the page by retrieving HTML elements
with specific ID's and inserting the widget as a child.
In 1.5 I just used:
On 6 mai, 18:56, Sudhir sudhi...@gmail.com wrote:
I've made horizontal and vertical flow panels and put them up here:
http://blog.sudhirj.com/2009/05/vertical-and-horizontal-flow-panels-i...
Any idea why something like this isn't in GWT in the first place? It
would be useful...
Principle
It's not a GWT thing.
I remember that I made an web application for a bar code scanner once
and basically you make an input text field (a TextBox) where you can
type the bar code.
You make sure this field get's focus which you can do in many ways,
and then just scan. The scanner will then do the
I found a dirty solution to solve the problem:
ListString control = new ArrayListString();
reportService.generateReport(...lots of params..., new
AsyncCallback
() {
public void onFailure(final Throwable throwable) {
control.add(false);
}
public void onSuccess(final Object o) {
http://www.velocityreviews.com/forums/showpost.php?p=2949642postcount=2
Or type attach javadoc eclipse in google and profit
Hope that helps,
Salvador
On May 6, 11:07 pm, Allen Holub allen.ho...@gmail.com wrote:
I've been trying the new 1.6 Eclipse plugin, but when I hit shift-F2
on a GWT
Your backend are just servlets in a servlet container (tomcat, jetty,
etc) and I don't know if a servlet can stop its container (if it can,
it looks like a security risk). Anyway, why do you need to stop the
backend ?
Cheers,
Salvador
On May 7, 4:33 am, mishal talk2mis...@gmail.com wrote:
Hi
Hello there,
I am using GWT 1.5.3 with a FormPanel to submit a video upload to
youtube.
Everything works fine and the upload is successful.
The YouTube API indicates that when you do a video upload using an
HTMLform, i have to specify the next URL, so my browser will be
redirected to this URL
Ah, yes, thanks for the link. But in my case I'm not actualy doing dom
manipulation of anything event-related.
I was just trying (and failing) to use the Dom to work out why my
links wernt fireing when clicked.
Something is blocking my links, allthough the mouse cursor changes so
it seems to be
Hi!
Just wanted to say thank you for your help! It worked nicely!
// Joakim
-Original Message-
From: Google-Web-Toolkit@googlegroups.com
[mailto:google-web-tool...@googlegroups.com] On Behalf Of Adligo
Sent: Thursday, May 07, 2009 1:37 AM
To: Google Web Toolkit
Subject: Re: Unique
On 7 mai, 13:12, twdarkflame darkfl...@gmail.com wrote:
Ah, yes, thanks for the link. But in my case I'm not actualy doing dom
manipulation of anything event-related.
I was just trying (and failing) to use the Dom to work out why my
links wernt fireing when clicked.
Something is blocking
On 7 mai, 13:09, ruds roud...@gmail.com wrote:
But does anyone know how the GWT Form reacts when it is submitted and
the response code is 301 that redirects the user's browser, causing
the browser to request and load the URL that you had specified with
the nexturl parameter in your upload
Ok, it is solved now, i have no Errors on my js console, the permission
error was due to the CROSS DOMAIN policy, as i was redirecting to another
domain. so i moved everything where my gwt app is hosted. but nothing moves
now :(...I dont see any errors but the browser is not redirecting.
On Thu,
I tried with a simple example GWT (with a simple GWTTestCase) and I
have always TimeOutException.
I don't want to reinstall all, have you some idea ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web
We are aware of the issue and have fixed it internally. The next release
will configure the javadoc paths for the container.
On Thu, May 7, 2009 at 6:52 AM, Thomas Broyer t.bro...@gmail.com wrote:
On 7 mai, 11:44, Salvador Diaz diaz.salva...@gmail.com wrote:
When you create a project in eclipse for a widget, do you create a gwt
project or just a normal java project.
I still can not make the below work, it states can not find
the .gwt.xml file for the widget, even if I add this in the path.
From what I have seen its very hard to create a widget
What are you getting in the SubmitCompleteHandler ? I'm guessing you
have to redirect manually with the SubmitCompleteEvent you received
(just guessing, I've never tried uploading something to youtube)
Hope that helps,
Salvador
On May 7, 3:14 pm, rudolf michael roud...@gmail.com wrote:
Ok, it
wehaa..thx THomas.apparantly event.getResults()
in onSubmitComplete is returning for me the redirected page as being
executed.Which is good for me and it did solved my problem :--).
regards,
ruds
On Thu, May 7, 2009 at 4:40 PM, Salvador Diaz diaz.salva...@gmail.comwrote:
What are
Hi! My name is Fran and I have a question regarding GWT. I'm creating
a big app and my problem is when the app loads it downloads the whole
javascript project (I have it in separate projects in Eclipse) and I'd
like to know if there's a way to download only the javascript that I
need. For
Hi,
How can i get the offline GWT document for reference?
Thanks,
Thamizharasu S
--~--~-~--~~~---~--~~
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:
I am trying to use a bookmarklet to load my GWT application on top of
any existing webpage (e.g.,
http://www.pathf.com/blogs/2007/08/bjax-a-quick-ha/).
Because the js created by GWT isn't designed for this (e.g., it
assumes onload hasn't happened already), I anticipate this will
require
My inherits doesn't seem to find the theme. I'm using Netbeans 6.5.
Where exactly do I need to put the jar file and how should I inherit
it?
I'm very new at this and was thrown in at the deep end.
--~--~-~--~~~---~--~~
You received this message because you are
I use the eclipse to create a default GAE java project with GWT
feature. I start the GAE server and the app url can be accessed by IE
correctly, but failed when I try it in Firefox.
Is there any way to resolve the problem?
--~--~-~--~~~---~--~~
You received this
I also started to have to same problem. It was running all good before
2 days. Now it complains even for the smallest changes.
Please do update the post if any one have any idea.
On Apr 24, 11:19 am, irc1258 chuck.r.irv...@embarq.com wrote:
Versions:
GWT 1.5.x
Eclipse 3.4.1. Build
Hey Fran,
If you're concerned about getting all of the compiled javascript at
once (how big is your compiled output?), there's a feature currently
in the trunk (not released yet as of GWT 1.6, but it's available in
the main development branch) called runAsync which looks like it might
be useful
Are you talking about the Gears API?
http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=Gears
E
On May 7, 6:29 am, Thamizharasu S zaru...@gmail.com wrote:
Hi,
How can i get the offline GWT document for reference?
Thanks,
Thamizharasu S
BUILD FAILED
C:\Documents and Settings\Arnaud AGOSSA\Bureau
\ProjetSiteInternetArnaud
\gwt-windows-1.6.4\siteAfrikaSciences\build.xml:25: Unable to find a
javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to
On 7 mai, 15:26, jsantaelena jsantael...@gmail.com wrote:
Hi All,
I'm trying to execute the hosted mode with -noserver.
What I did:
Compile my GWT Module to target/work/webapp
Run jetty:run-exploded where the exploded path is target/work/webapp
Started HostedMode -noserver -port 8080
I think he's talking about the GWT Developer Documentation. I don't
know if they're packed for offline consumption though.
On May 7, 5:11 pm, Evan Ruff evan.r...@gmail.com wrote:
Are you talking about the Gears API?
http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apis...
E
Hello,
I haven't personally tried this, but it looks like there's a nice
plugin for NetBeans that should help make sure your GWT classpaths get
set up right.
https://gwt4nb.dev.java.net/
Although, if you're not very tied to NetBeans, may we suggest that
there's also a very nice plugin for
Is this a feature that will be included in the next versions of GWT ?
Thanks !
Fran
On 7 mayo, 12:07, Alex Rudnick a...@google.com wrote:
Hey Fran,
If you're concerned about getting all of the compiled javascript at
once (how big is your compiled output?), there's a feature currently
in
I've seen people have problems with that approach (at least within the GWT
context). I prefer to just manually generate my session ids set that in
the sid cookie.
public static final byte [] VALID_SESSION_CHAR = new byte[10 + ('z' - 'a' +
1)];
private static final SecureRandom rand = new
Hello,
That's a really interesting error -- thanks for mailing to let us
know. Like Salvador pointed out, the UnsupportedClassVersionError is
probably indicative of what's going on...
Just to help us diagnose, could you try going through those same steps
with the Eclipse IDE for Java Developers
I believe that's the plan, yes. It won't be in updates to version 1.6,
but it should be in subsequent releases.
On Thu, May 7, 2009 at 11:42 AM, Fran elf...@gmail.com wrote:
Is this a feature that will be included in the next versions of GWT ?
Thanks !
Fran
Cheers,
--
Alex Rudnick
swe,
A couple questions:
Are you certain this is not a timing issue – trying to retrieve the
value before its placed in session? If not, explain how you eliminated
this possibility.
Are you using a standalone web server or is there clustering
(httpsession replication)?
On May 7, 2:11 am, Mamadou
You can do this by configuring a jetty-web.xml file. I blogged what
worked for us at:
http://humblecode.blogspot.com/2009/05/gwt-16-using-jndi-datasource.html
On Mar 11, 11:16 pm, wiltonj wilt...@gmail.com wrote:
Hi,
How to setting DataSource in GWT 1.6 (Hosted mode - Jetty)?
Hoping for
Hello
I've built OOPHM for windows and its running very well with Firefox,
although it errors out in IE (6,7,8) with the error stack trace as
shown at the end of this message (copied from the oophm hosted-mode
console window for IE). This error seems to be occuring for IE when
RPCs are executed.
I'll try to give it a chance. Anyway that insn't exactly what I was a
looking for. Do you know any other way to accomplish what I want to
do ?
On 7 mayo, 13:06, Alex Rudnick a...@google.com wrote:
I believe that's the plan, yes. It won't be in updates to version 1.6,
but it should be in
Thomas, thank you for the reply.
Now, that you said, I checked it out and I'm using SDK 5 in all
places. And, once I'm using the same eclipse lauch configuration that
I were using before changind the command line arguments (added -
noserver and changed the -startupUrl), it couldn't be the
Alex's suggestion of runAsync looks to me like exactly what you want
to do: users would download code chunks as-needed based on the
runAsync calls you place in your code. Perhaps you could restate your
requirements in a different way?
On Thu, May 7, 2009 at 12:36 PM, Fran elf...@gmail.com
Hi,
I'm using GWT 1.6.4. I'm trying to deploy my war file from the
simple starter program given by GWT itself to my Resin server v2.1.13.
I have not done any changes to the application. Only created a war
file and dropped it into the webapps folder. When I try to use RPC, I
get the following
Thanks Isaac I'll try it now! Do you have a compiled version so I can
avoid downloading all source code and compile it ?
Thanks
Regards
Fran
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google Web Toolkit
I don't, actually. But it's definitely worth the time to get a working
trunk setup locally so you can do your own builds and play with new
features pre-release. Here are the instructions, in 6 easy steps:
http://code.google.com/webtoolkit/makinggwtbetter.html#compiling
On Thu, May 7, 2009 at
Hey Dahui,
GWT definitely supports Firefox 3, so there's a problem here!
Did you launch your new project with Run As Web Application?
(Debug As would be fine too). After that, did you hit GWT's
compile button?
It's also possible that IE and Firefox are using different proxy settings?
Hope we
Ok so something really fishy is going on with the Gears API.
I created my own prepareSQLStatement that converts the SQL Call and
parameter list into a string.
private String prepareSQLStatement( String sqlStatement, String[]
params ) throws DatabaseException
{
Can some one please help me with this issue and guide me to right
directions??
Thanks a lot for your help.
On May 6, 5:04 pm, sim123 sim3...@gmail.com wrote:
I have created two GWT projects A and B where A is an independent and
main application and B is more like test application for A, so I
This happens also for perfectly 'legal' HTML:
div id=staticarea /
div id=applicationarea
div id=menuarea /
div id=clientarea /
div id=actionpanel /
/div
(the reason for doing so is that by using CSS I can easily position
the four areas in the client area - see
No it's not. You aren't using it correctly.
Panel actionsarea = RootPanel.get(actionpanel);
ActionsView actions = new ActionsView();
actions.setMainPanel(actionsarea);
I'm going to go out on a limb here say it's the third line where the
exception gets thrown. Here's what I think you are doing
Your best bet for android specific stuff would be to ask on the
android-users group. Here are some general observations inline:
On Thu, May 7, 2009 at 2:12 PM, Evan Ruff evan.r...@gmail.com wrote:
Ok so something really fishy is going on with the Gears API.
I created my own
Javascript Java have different regular expressions, so if you are running
your stuff on desktop browsers in Hosted Mode but compiled mode in Android,
then you might be running into that problem.
A performance improvement should be:
String statement = new String( sqlStatement );
StringBuffer sb
Oh yeah - didn't notice that you were using StringBuffer. StringBuilder is
the appropriate one. I had assumed that sqlStatement was perhaps an array
or something - if it's another string, then yes, you do not need to create a
copy like that since they are immutable.
The while loop instead of
StringBuilder! that was what I was looking for.
Thanks Eric, I'll take this over to the gears-users group.
E
FWIW, this is still really slow, but it does work!
On May 7, 2:42 pm, Eric Ayers zun...@google.com wrote:
Your best bet for android specific stuff would be to ask on the
Vitali,
Thanks for your response!
That RegExp for the ? was giving me trouble, as it wouldn't match.
I also tried [\\?] without success as well. Any idea on how to find
that guy?
Thanks,
E
On May 7, 2:59 pm, Vitali Lovich vlov...@gmail.com wrote:
Javascript Java have different regular
nope - sadly it's a much more of a n00b error :/
someone who knows A LOT more about GWT than me, correctly pointed out
that it's my HTML that's borked
as it's not XHMTL, the div need an explicit /div to close them, or
they will all be 'children' of the ones that precede them
added a bunch of
Can someone explain the way that GWT deals with iframes in this
regard.
If I want to create my own widgets or for that matter, use other
widgets in an iframe.
The situation is that I have cached versions of arbitrary webpages
loaded into iframes (to get around the iframe domain problem)
and then
What's the code for the regexp that you are trying what is the source
string that you are matching against.
On Thu, May 7, 2009 at 3:24 PM, Evan Ruff evan.r...@gmail.com wrote:
Vitali,
Thanks for your response!
That RegExp for the ? was giving me trouble, as it wouldn't match.
I also
Daniel,
The DOM package was updated in 1.6 to deal with all those nasty $doc
assumptions, so you can create and manipulate the DOM in multiple
documents correctly (though it's still tricky, as you have to keep
track of which element belongs to which document). However, the Widget
library was
Hellu,
I am trying to get a better understanding of the event bubbling and
canceling an event:
1) Does all gwt events bubble up? even if the parent itself doesn't
support the gwt event? So a Panel should receive the focus event of
contained textbox?
2) Suppose I have panel with a textbox and I
Hi,
I'm not sure if this is the right place for incubator questions. I
haven't been able to find the incubator group.
I am using the scroll table from the incubator, it has a small icon
(2 mini arrows pointing left and right).
I would like to remove/hide this icon.
Any ideas?
Thanks,
Mike.
We are pleased to announce updates to the Google API Libraries for the
Google Web Toolkit project. The Google API Libraries for GWT project
allows GWT developers to access some of Google's popular JavaScript
APIs. This release contains new bindings for two libraries:
- Google AJAX Loader API
Great thanks for all the options. I'll have a look into them all but
doesn't seem like there is any particularly 'clean' method. HTMLPanel
having a wrap method as part of GWT sounds nice though.
And yeah my WidgetUtils.attach() method is already as you say :), code
posted was 'working out' code.
On 7 mai, 23:14, Ed post2edb...@hotmail.com wrote:
Hellu,
I am trying to get a better understanding of the event bubbling and
canceling an event:
1) Does all gwt events bubble up? even if the parent itself doesn't
support the gwt event?
in web.xml patterns are relative, I have given the path in web.xml,
but my application appends /B/userinfo here is my web.xml
configuration
servlet
servlet-nameUserService/servlet-name
servlet-class
com.test.UserServiceImpl
/servlet-class
/servlet
Really, I don't understand why callback is needed.
The article and another article
http://code.google.com/support/bin/answer.py?answer=55954topic=10213
presume the reader knows why a callback is required.
Right now, I am guessing ... is it because what old time programmers
call the racing
I've seen IE die on page loads where you check History.getToken()
right away and there is no token, so make sure you test {with a
cleared cache} http://your.site/page and http://your.site/page#at.
They behave differently, and sometimes, waiting a little with a timer
to check History.getToken() or
Vitali,
I was just trying to match '?' in the SQL statement, such as:
INSERT into users ( name, city ) VALUES( ?, ? )
so I can mash up my own prepare SQL statement.
Also, I can run the test on the android phone to see if that might be
the problem.
E
On May 7, 4:36 pm, Vitali Lovich
What is the exact Java code snippet that you are using?
On Thu, May 7, 2009 at 10:10 PM, Evan Ruff evan.r...@gmail.com wrote:
Vitali,
I was just trying to match '?' in the SQL statement, such as:
INSERT into users ( name, city ) VALUES( ?, ? )
so I can mash up my own prepare SQL
Perhaps you're having a fundamental misunderstanding about the
asynchronous world the web lives in - without the callback, how would
you propose to know that the JSON data is available to your program?
You still need to deal with the fact that your JSON data is going to
come across the network
Is it possible to use local data to draw county line in Florida using
GeoMap and IntensityMap?
Jim
http://www.gwtorm.com
On May 7, 5:50 pm, Eric Ayers zun...@google.com wrote:
We are pleased to announce updates to the Google API Libraries for the
Google Web Toolkit project. The Google API
Comment by lunarjchav:
Where is placed gwt-dev-oophm.jar??
Thanks.
For more information:
http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
On Wed, May 6, 2009 at 4:49 PM, Alex Epshteyn
alexander.epsht...@gmail.com wrote:
I'm using static code rewriting at the Java source level to maintain a
virtual stack. It's actually working out very well so far. Getting
surprisingly good results for code size, efficiency, and correctness.
Hi to all,
i'm using the java wrapper library for Javascript google maps API and
i have a question:
is there a way to draw a route from an array of waypoints but drawing
just the first and the last waypoint on the map (i mean with the A-B-
C-...symbol), and having on other waypoints just little
Hello ledzgio,
See my answer to your question over in the gwt-google-apis group and direct
followups there.
https://groups.google.com/group/gwt-google-apis/browse_thread/thread/ec3dba2d6bfb74c1
-Eric.
On Thu, May 7, 2009 at 8:37 AM, ledzgio giorgiomarci...@gmail.com wrote:
Hi to all,
i'm
Author: a...@google.com
Date: Thu May 7 09:04:45 2009
New Revision: 5323
Modified:
wiki/WikiWelcome.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/WikiWelcome.wiki
==
---
I'm starting to use the gen2 incubator table widgets. I hope I can
provide some valuable feedback in the days and weeks to come...
The first issue I've run into that I cannot seem to work around: When
I load my data into the PagingScrollTable, it is already sorted (in
fact, all of our data uses
Hi Jay,
That does sound like a bug. Opening an issue in the tracker is a good
idea. Issues with patches attached are even better.
- Isaac
On Thu, May 7, 2009 at 3:02 PM, jay jay.gin...@gmail.com wrote:
I'm starting to use the gen2 incubator table widgets. I hope I can
provide some valuable
Ah. I will look at doing both :-)
In the mean time, here's the solution I just stumbled upon. In my
derived class:
int index = ...; // figure out the column that we're sorted by.
Element headerElem = getHeaderTable().getFlexCellFormatter
().getElement( 0, index );
Hi Bob,
Could you provide some numbers in terms of raw and gzipped
before/after bytes?
This is the OBF compiled js size of a TypeRacer module before and
after instrumentation (raw/gz): 382/118 vs. 505/142 which can be
further reduced by using shortened identifiers instead of method name
Reviewers: jlabanca,
Description:
CheckBoxes were sending two click events when their labels were clicked,
due to trickery going on to send ValueChangeEvents only when
appropriate.
I've moved all the trickery down to RadioButton, the only place it is
actually needed, and filter out click events
I've set my table resize policy to UNCONSTRAINED. I then very
carefully setup my ColumnDefinitions to have the right preferred size
(because the user may have previously resized the columns, and I need
to honor that size).
What I've noticed, though, is that out-of-the-box, my columns are
If you want the columns to be an exact size, set the minimum and maximum
column widths and call resetColumnWidths() or set the resize policy to
FIXED.
The preferred width is exactly that, the width that the columns should
attempt to maintain if they can. When the resize policy is set to
83 matches
Mail list logo