Use IntegerBox instead of TextBox (and see ValueBoxBaseT and its
subclasses for other types).
Sebastian
On Fri, Oct 29, 2010 at 4:03 AM, wangzx wangzaixi...@gmail.com wrote:
class Person {
int age;
}
class PersonEditor {
TextBox ageEditor;
}
The GWT Compiler report: Found
Thanks a lot Steve!
I just overlooked one simple detail - include the source files.
Now it is working perfectly!
Currently I am just pondering about two follow up questions:
Say I have kind of a GWT Base project. Including CSS, Entry Point, ...
What would be a recommended approach to create an
Thanks for replay , it works now.
Best regards Giuseppe La Scaleia
2010/10/29 arrival...@gmail.com arrival...@gmail.com
Hi Giuseppe,
I had a similar problems, and found out that late that my browser
(i.e. chrome) had cache the previous info, try to clean the temp data
in the browser.
I was facing the same question and my solution was to have my main
theme in a CSSResource file.
This resource file is injected during the loading procedure of the
app.
Since the layout of my app is defined through CSS, I only allow to
change a few things (like color, font-style, various sizes
Hi!
In GWT you can write:
- plain JUnit tests,
- tests that are running inside browser (see GwtTestCase).
You can hide instance of DataPicker behind HasValue interface.
I.e. use:
HasValueDate dataPicker
instead of:
DataPicker dataPicker
This will allow you to create a mock for a dataPicker
I'm about writing a personal time recording app called TiRe. It
consists of four projects:
- tire-d8: The actual webapp which gets deployed on GAE/J. Contains
also the GWT frontend.
- tire-dao: DAO classes for accessing the datastore.
- tire-model: The server side model.
- tire-rest: Contains
Hi @ all,
just if you´re wondering, why you get javax.validation - Errors, the
gwt-servlet.jar file.
I coppied the old one in the war/WEB-INF/lib directory and my
Project is
working again.
So please fix this bug, Google.
Greets
Alex
--
You received this message because you are subscribed to
Hello:
I´m building a webapp which, depending on the user, will show some
options on the menu or other ones. For doing this, I invoke a Single
Singed On method passing as arguments, the user and the application
and getting as return value a string identifying the role of the
user. As I´m using
Hi all,
I have a question regarding the markup, which gwt generates.
If I use
HTML test = new HTML();
test.setHTML(br/);
The command test.getHTML() returns br, which is html but not
xhtml. (The function stands to its name)
However I would like to reuse the final markup of the webpage. So is
it
Hi Brian,
Thanks for your answer. I tried some things with the array and timer
and that staff. I tried with wait(), sleep() and also with a timer
object. But everytime, there comes an error, that these things are not
supported by gwt..
The easiest way would be to have the normal callback, which
hi,
This is the scenario u need to do..I implement this in a program used for a
vehicle tracking...
1. get all the data u need to animate(all LatlLon positions) and store them
in a arraylist
2. start one timer (gwt timer ) let me say witch will fire on every 100ms (U
have to test what will be
I just want to say that for the statment (and no way that can be done) im
wrong :) there is a GWT gear lib witch start multiple threads in a browser
but this is totally diff then what is a real thread in a programming
language :) but in any case it has the same mining..
On Fri, Oct 29, 2010 at
As far as I know, there is no way to rotate an image in CSS. You would have
to generate 360 versions of the image in photo editing software (or using
Java's image library) , then bundle them up into a ClientBundle and extend
Animation to animate the rotation. GWT doesn't have built in support
gwt-servlet.jar has a dependency on javax.validation, but we do not bundle
it because it would break maven support. If you include
gwt-servlet-deps.jar (included in the GWT distro) in your war/WEB-INF/lib/
directory, it should fix the errors.
If by the old one you mean the gwt-servlet.jar from
Waiting for the role to return and creating the app in onSuccess() is a
perfectly valid solution. To do so, you would just move your Widget
initialization code into onSuccess().
Alternatively, you can load the app first, then populate it when the RPC
request returns. It would be a little more
When RPC request returns, populate the state of the app. If RPC request
returns before the app it initialized, hold it until after the app is
initialized.-
John, how would u do this? Using a timer to monitor a
common-state-variable?
Thanks,
Subhro.
On Fri, Oct 29, 2010 at 5:46 PM, John LaBanca
You don't need a Timer in this case. Remember that javascript is
asynchronous, but not threaded, so you don't have to deal with reentry of an
executing code block.
The code could look like the following. You have separate methods to
initialize the UI and to populate the UI. Populating the UI
Hi,
I have been reading the excellent article at:
http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html
And love the new built in objects that facilitate the MVP design
paradigm. My initial thought is great but how does this system cope
with Nested Views or Dock Panel
Hello.
Is possible to get a RichTextArea widget to grow vertically as text is
filled in?
Thanks.
--
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-tool...@googlegroups.com.
To unsubscribe from
I'm just writing a simple FormPanel and a servlet that handle it.
However, there is a problem while getting parameter from FormPanel.
What I want to say :
formPanel = new FormPanel();
formPanel.setAction(ACTION_URL);
formPanel.setEncoding(FormPanel.ENCODING_MULTIPART);
Hi B,
Thanks for your answers.
I tried it like this:
In the class shipAnimation in the method onSuccess(), which is called
after successful rpc callback, i wrote the following code:
LatLng[] animationPoints = new LatLng[1];
animationPoints[0]=start;
Polyline animatedWay
Hi Ignat, thank you for the tip. I do remember reading that there is
a way to write gwt junit tests in a way that were much faster than the
way I'm doing it now. I wonder if this is it.
Is there some documentation for how to write unit tests of this
variety? I searched but didn't come across
On Oct 29, 2:03 am, wolfgang wor@gmail.com wrote:
I was facing the same question and my solution was to have my main
theme in a CSSResource file.
This resource file is injected during the loading procedure of the
app.
Since the layout of my app is defined through CSS, I only allow to
Hi,
Downloaded GWT 2.1 distribution and recompiled one of our mid-sized
(~1500 classes) Web apps, which is developed against 2.0 version.
Compilation time has not changed. I managed to get the same timing
However I see a significant increase in resulting obfuscated
JavaScript size.
The total size
Gene,
Thank you for your thoughtful questions. As you have observed,
Activities and Places do not directly support nesting, but there are a
couple different ways you can implement composite views:
1) An ActivityManager is responsible for swapping activities within
one container widget; however,
Hi
With the release of GWT 2.1, I think we should also update the Maven
repositories to the following?
repositories
repository
idgoogle-maven-release-repository/id
nameGoogle Maven Release Repository/name
urlhttps://oss.sonatype.org/content/repositories/google-releases/url
snapshots
To resolve this problem you must do this:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdgwt-maven-plugin/artifactId
version1.3.2.google/version
configuration
inplacetrue/inplace
hbaydarov,
How are you submitting the form?
On Fri, Oct 29, 2010 at 2:24 AM, hbaydarov hbayda...@gmail.com wrote:
I'm just writing a simple FormPanel and a servlet that handle it.
However, there is a problem while getting parameter from FormPanel.
What I want to say :
formPanel = new
Hi arrival123,
Google's gwt-maven-plugin is actually just a temporary fork of the
Codehaus gwt-maven-plugin. Configuration should be the same as
http://mojo.codehaus.org/gwt-maven-plugin-1.2/plugin-info.html. We
plan to contribute back the changes shortly.
/dmc
On Fri, Oct 29, 2010 at 12:15 AM,
Hilco,
There is one issue with the Expenses POM, but I don't think it's the
one you're seeing on your project:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5497
Try workaround #1 in the issue, after which you should be able to
remove the datanucleus.org repo from the Expenses
On 29 oct, 06:52, DrG drgenejo...@gmail.com wrote:
Hi,
I have been reading the excellent article
at:http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAnd...
And love the new built in objects that facilitate the MVP design
paradigm. My initial thought is great but how
On 29 oct, 08:24, hbaydarov hbayda...@gmail.com wrote:
I'm just writing a simple FormPanel and a servlet that handle it.
However, there is a problem while getting parameter from FormPanel.
What I want to say :
formPanel.setEncoding(FormPanel.ENCODING_MULTIPART);
On 29 oct, 17:19, David Chandler drfibona...@google.com wrote:
Hi arrival123,
Google's gwt-maven-plugin is actually just a temporary fork of the
Codehaus gwt-maven-plugin. Configuration should be the same
ashttp://mojo.codehaus.org/gwt-maven-plugin-1.2/plugin-info.html. We
plan to
On 29 oct, 11:42, Jan jan.morl...@googlemail.com wrote:
Hi all,
I have a question regarding the markup, which gwt generates.
If I use
HTML test = new HTML();
test.setHTML(br/);
The command test.getHTML() returns br, which is html but not
xhtml. (The function stands to its name)
When I place an object into a TabLayoutPanel it adds the style gwt-
TabLayoutPanelContent.
This style adds 6 px of padding to my widget. In my style sheet I
have already set the padding value I want it to have. Is there any
way you guys can remove this from the SDK?
I have to either modify the
This seems a bug to me. Can someone help me verify this?
when using a jpg like
@Source(images/Status-Verified.jpg)
@ImageOptions(width=10)
public ImageResource OrderStatusVerified();
the width parameter seems to have no effect.
when using a png like
oops, forgot to say this is GWT 2.1 RC1
On Oct 29, 12:10 pm, Potate sammyjiang...@gmail.com wrote:
This seems a bug to me. Can someone help me verify this?
when using a jpg like
@Source(images/Status-Verified.jpg)
@ImageOptions(width=10)
public ImageResource
Cracking !
Works like a dream the scrollIntoView().
Many thanks,
M.
--
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to
@buzdin -
We haven't seen any significant change in code size except in places were
we've actually used the new APIs (ex. Cell Widgets, SafeHtml). I just
compared the GWT 2.0.4 Showcase sample to the GWT 2.1 Showcase sample, and
all code increases are accounted for by Showcase's refactor and use
The default styles won't work in every case. For something like padding,
some users will prefer the padding so the widget isn't against the edge of
the panel, and some won't because they want the widget to fill the entire
panel. Either way, there is no perfect answer that fits all apps.
Thanks,
Can you create a bug in issue tracker to track this? It definitely seems
like a bug.
Thanks,
John LaBanca
jlaba...@google.com
On Fri, Oct 29, 2010 at 12:12 PM, Potate sammyjiang...@gmail.com wrote:
oops, forgot to say this is GWT 2.1 RC1
On Oct 29, 12:10 pm, Potate sammyjiang...@gmail.com
And if you think, as a lot of people seems to do, that nesting
presenters helps make your app cleaner, then you can look at MVP
solutions built on top of GWT that natively support presenter nesting
such as GWTP:
http://gwtplatform.com
Cheers,
Philippe
On Oct 29, 8:40 am, Thomas Broyer
Most C2B apps need to be crawlable. Though google search has a hard-to-
implement way to do this, a hybrid approach will work best:
traditional page generation for the read only pages and gwt for
certain editors. gwt's lack of data binding field validation make
programming editors inconvenient.
Dependency injection would work very well here. The article on MVP
with Activities and Places has a really good example of using
GWT.create() only in onModuleLoad() and then using manual dependency
injection to pass in your dependencies without GIN.
Here's the article:
Hi,
stymie jamesty...@gmail.com writes:
I was wondering if there were any built in ways or libraries that
would allow me to continously rotate an image in a 360 degrees
circle.Been using google but have not come up with anything as of yet.
You could extend GWT's Animation class to loop
Hi
I've just upgraded my Helios from GWT 2.1.0 RC1 to 2.1.0. I have a
ui.xml file which has a reference to a class derived from
com.google.gwt.user.client.ui.Composite. This has been in my project
since 2.0.3 and worked just fine. However after updating from 2.1.0.
RC1 to 2.1.0 I'm getting the
Will do. I just realized 2.1 final is out. I'll test again in 2.1
before submitting.
On Oct 29, 12:34 pm, John LaBanca jlaba...@google.com wrote:
Can you create a bug in issue tracker to track this? It definitely seems
like a bug.
Thanks,
John LaBanca
jlaba...@google.com
On Fri,
They know about it and are working on a fix.
You can shut off the error message (directions in this link).
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/684414e23255b8a7#
On Oct 29, 12:25 pm, alanmechy a...@mechnicality.com wrote:
Hi
I've just upgraded my Helios from
You can also add !important to the end of your style definition and
that'll override the inline
padding: 3px 3px 3px 3px !important; should work (as an example).
On Oct 29, 11:33 am, John LaBanca jlaba...@google.com wrote:
The default styles won't work in every case. For something like
I downloaded the Contacts application from webpage Large scale
application development and MVP (http://code.google.com/webtoolkit/
articles/mvp-architecture.html). It seems that this is somewhat out of
date. For example, it makes use of HandlerManager which according to
the Javadocs is deprecated.
Hi,
First off, let me begin by saying how excited I am about the latest release
of GWT, especially in regard to its new MVP frameworks. Congratulations,
Google, and great job!
I have an existing GWT/App Engine project which is based on the previous GWT
release and which doesn't use any sort of
Hi Jeff,
Thanks for the kudos. I have limited understanding of Roo, but I
believe you can modify the code generation templates to use any data
access layer you like. Having said that, your particular use case will
be much easier in the next GWT point release as we plan to add
RequestFactory
Hi,
is possibile to remove the box around the single cell that appears
when I click on a cell?
Thanks very much
Best regards
--
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 David,
Thank you for your timely response. Kudos well deserved should always be
offered. I and a number of developer friends look upon GWT not as an
evolutionary product but as a revolutionary one. One friend in fact recently
commented that she hasn't had this much fun coding since Visual
Hi,
The Cell Widgets documentation at:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html
at the bottom say:
*To Update Data Range Changes from a Cell Widget:*
1. Create a subclass of
Thanks Jeff,
Apologies for overlooking that thread.
Alan
On Oct 29, 10:34 am, Jeff Larsen larse...@gmail.com wrote:
They know about it and are working on a fix.
You can shut off the error message (directions in this link).
I have my java source under src/ and my testing classes under test/,
with the same package structure under each. After upgrading GPE and
GWT recently, I'm getting errors about easymock and junit classes not
being found in source packages. The app compiles runs just fine, but
it's annoying to have
Thanks again, Jeff. GWT+GAE re-ignited my own enthusiasm for Web
development prior to my joining Google. It's the platform I've been
waiting for these past 2^4 years as a Web apps developer!
Regarding Roo templates for Objectify POJO support, I think you mean
that you'd like to contribute them?
On 29 oct, 18:50, notcourage klr...@gmail.com wrote:
Most C2B apps need to be crawlable. Though google search has a hard-to-
implement way to do this, a hybrid approach will work best:
traditional page generation for the read only pages and gwt for
certain editors. gwt's lack of data binding
How can I make an enum that implements a marker interface serializable
in GWT 2.0?
The below example:
public interface IsConfigurable
{
}
public enum Color implements IsConfigurable
{
BLUE,
RED;
}
Results in the following:
[java] Compiling module com.colors
[java]
I was looking at it from a lesser of 2 evils stand point. Developers
who want the padding can easily add it. Developers who don't want it
have to jump hoops to override the style. Seems like it shouldn't be
there if that is the case...
I was not aware of the postfix !important, it did the
The enum itself can implement Serializable
On Oct 29, 2:41 pm, Mike mikem2...@gmail.com wrote:
How can I make an enum that implements a marker interface serializable
in GWT 2.0?
The below example:
public interface IsConfigurable
{
}
public enum Color implements IsConfigurable
{
thank you for your reply!
Finally I have solved the problem following this article :
http://www.javacodegeeks.com/2010/07/gwt-2-spring-3-jpa-2-hibernate-35.html
for persistance layer i have used Hibernate/jpa .
I hope this can help someone ;)
On 22 Ott, 16:36, David Chandler
Hi David,
On 29 October 2010 08:38, David Chandler drfibona...@google.com wrote:
And yes, this is working for me and many others once
jdo2-api-2.3-ec.jar is installed in local repo. Are you using App
Engine and JDO in your project? If not, you can remove all the repos,
maven-gae-plugin, and
Hi,
On upgrade to 2.1, a linker I used to catch the projectName.nocache.js
file that I need.
I used to find it in the link method but now it doesn't appear in the
ArtifactSet.
@Override
public ArtifactSet link(TreeLogger logger, LinkerContext context,
ArtifactSet artifacts) throws
I tried changing the line to:
public enum Color implements IsConfigurable, Serializable
and I'm still getting the same compile error.
Thanks!
Mike
On Oct 29, 3:57 pm, Patrick Tucker tucker...@gmail.com wrote:
The enum itself can implement Serializable
On Oct 29, 2:41 pm, Mike
Eclipse Galileo Build id 20090920-1017
Java 5
Mac OS X 10.5.8
Tomcat 6
GWT 2.0.3
Hi
I've attempted to move my eclipse workspace to another computer so I
can continue to build my GWT on a different machine. But when I
attempt to run the application I see the following error message:
Reference
To do this, you have to override the CellTable's default style.
Because CellTable uses a CssResource, which ultimately gets obfuscated
when you compile, you have to create your own implementation and pass
it to the CellTable in the constructor.
Here is how I did it:
Step 1) Create your own
Later the log reports Emitting resource projectName.nocache.js
Just to clarify.
Version 2.0.4 includes appName.nocache.js in the ArtifactSet passed
into the link method of a class that extends AbstractLinker AND
reports writing it to disk Emitting resource appName.nocache.js and
writes it to
I have a Logo panel defined and simply displaying a PNG file. And it
doesn't work on FireFox and Chrome.
It works fine on IE.
And I can't figure out how to attach my zp file so anyone can see what
I am doing wrong.
--
You received this message because you are subscribed to the Google Groups
Hi Stymie,
I wrote a GWT module early this year to wrap up CSS3 2d transforms
which should be exactly what you need. It supports Safari 3.2+, Chrome
5+, Firefox 3.5+, Opera 10.5+, and Internet Explorer 8.
The code site is:
http://code.google.com/p/gwt-ns/
and I wrote a tutorial with an example
Hello:
I have a GWT widget that subclasses the Composite, defined using
UiBinder. I also have a FormPanel within the widget. However it
appears that initWidget call fails for the widget. I have included the
UiBinder definition, it would be great if someone could let me know if
I am missing
http://gwt-code-reviews.appspot.com/1062801/diff/1/75
File
user/src/com/google/gwt/requestfactory/server/ReflectiveServiceLayer.java
(right):
http://gwt-code-reviews.appspot.com/1062801/diff/1/75#newcode77
user/src/com/google/gwt/requestfactory/server/ReflectiveServiceLayer.java:77:
return
http://gwt-code-reviews.appspot.com/1062801/diff/1/78
File
user/src/com/google/gwt/requestfactory/server/RequestFactoryInterfaceValidator.java
(right):
http://gwt-code-reviews.appspot.com/1062801/diff/1/78#newcode947
Revision: 9164
Author: gwt.mirror...@gmail.com
Date: Fri Oct 29 09:42:11 2010
Log: Public: Create seperate top level interfaces for
GwtSpecificValidators.
Review at http://gwt-code-reviews.appspot.com/1058801
Review by: robertvaw...@google.com
Revision: 9165
Author: jbrosenb...@google.com
Date: Fri Oct 29 06:15:35 2010
Log: Cleanup for EnumsTest and EnumsWithNameObfuscationTest suites, make
sure they always run with correct configuration property
Review at http://gwt-code-reviews.appspot.com/1018801
Review by:
Thank you for continuing to provide feedback.
It just happened to me that if the goal is support for polymorphism (as
suggested by the javadoc on
SimpleRequestProcessor.ServiceLayer#getClientType), then maybe the
getClientType method should take a Class? argument that the returned
object
http://gwt-code-reviews.appspot.com/1060801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
I'm not a fan of the experimental package being in GWT trunk. Can we
move this to trunk/bikeshed/ and just use the package name we expect it
to end up with com/google/gwt/geolocation/? That ensures that we
don't have to remove it if this isn't ready for GWT 2.1.1. It also
means we don't have
That would work for this package, but other HTML5 stuff involves
additions to core GWT classes, unlike the situation we had with cell
widgets last time. It seems like it would be tough for stuff in
gwt-user to have dependencies on bikeshed, and even tougher to avoid
such dependencies while
Revision: 9166
Author: b...@google.com
Date: Fri Oct 29 11:32:27 2010
Log: Created wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9166
Added:
/wiki/AutoBean.wiki
===
--- /dev/null
+++ /wiki/AutoBean.wiki Fri
If we don't include com.google.gwt.experimental in the release, wouldn't
we still break dependencies from gwt-user to the experimental stuff? If
we need to modify an existing class with a reference experimental class,
we either need to ship the experimental class or we need to create a
branch.
Reviewers: zundel,
Description:
Rolling back Enum Ordinalization Optimization, some issues have been
identified.
Please review this at http://gwt-code-reviews.appspot.com/1064801/show
Affected files:
M dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java
M
LGTM
http://gwt-code-reviews.appspot.com/1064801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 9167
Author: b...@google.com
Date: Fri Oct 29 12:11:01 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9167
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
http://gwt-code-reviews.appspot.com/1060801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Revision: 9168
Author: b...@google.com
Date: Fri Oct 29 12:46:21 2010
Log: Edited wiki page AutoBean through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=9168
Modified:
/wiki/AutoBean.wiki
===
--- /wiki/AutoBean.wiki Fri
http://gwt-code-reviews.appspot.com/1060801/diff/24001/25004
File user/src/com/google/gwt/geolocation/client/Geolocation.java
(right):
http://gwt-code-reviews.appspot.com/1060801/diff/24001/25004#newcode38
user/src/com/google/gwt/geolocation/client/Geolocation.java:38: *
Returns a {...@linnk
http://gwt-code-reviews.appspot.com/1060801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
Reviewers: amitmanjhi,
Description:
Ensure that all base URL's are absolut-ify-ed, no matter where we get
them from.
Also refactor the compute script base code to be easier to read
Please review this at http://gwt-code-reviews.appspot.com/1066801/show
Affected files:
M
I believe it's always been up to the app developer to choose to install
AuthenticationFailureHandler or not, in parallel with their choice to
use our auth scheme or not.
Having any special case handling for Response.SC_UNAUTHORIZED in DRT
seems wrong to me. Making it fail silently like it used
http://gwt-code-reviews.appspot.com/1061801/diff/1/2
File
user/src/com/google/gwt/requestfactory/client/DefaultRequestTransport.java
(left):
http://gwt-code-reviews.appspot.com/1061801/diff/1/2#oldcode154
user/src/com/google/gwt/requestfactory/client/DefaultRequestTransport.java:154:
if (200 ==
http://gwt-code-reviews.appspot.com/1066801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
http://gwt-code-reviews.appspot.com/867801/show
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
If you were paying careful attention, you just may have noticed that we
shipped GWT 2.1 yesterday.
http://googlewebtoolkit.blogspot.com/2010/10/announcing-final-release-of-gwt-21.html
I'd like to thank the GWT Contrib community for all of your interest in
and support with this
95 matches
Mail list logo