Just a quick follow-up... If you want to see how the GWTP plugin for Eclipse
can dramatically speed-up your MVP development, I made a quick screencast
here:
http://www.youtube.com/watch?v=cC-Qh4q1lCI
Cheers! (And merci Alain :))
Philippe
--
You received this message because you are
I'm happy to announce that the MVP + command pattern framework GWT-Platform
version 0.6 has just been released.
Highlights of this release include:
- Introduction of the GWTP Eclipse
Pluginhttp://code.google.com/p/gwt-platform/wiki/EclipsePlugin.
(Presenter wizards!)
- Support for
We recently added a maven dependency to gwt-servlet and cleaned-up the POM
somewhat (thanks to Yannis Gonianakis) which made it possible to run as web
application simple projects that do not have a server-side component.
For my projects with a GAE component, the Launch and Deploy from this
Still no update on this from Google? Should I log an issue?
--
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 to
I use Maven + Eclipse and I have a strange problem with the Google Eclipse
Plugin deleting some dependencies from the WEB-INF/lib server whenever I do
Run As Web Application. Some of the deleted jars are needed to run the
app, in particular gwt-servlet.jar.
As a result I get a run-time error
Yes, I am following all of these steps, with the exception of step number 7:
Finally, and this is very important, the first time you launch your project
using Run As | Web Application (or Debug), you will be prompted to select
the war directly.
Since the GPE never asks me for a war directory.
@Juan: I did the mvn eclipse:clean eclipse:eclipse a bunch of times yet,
doesn't help.
@Jeff: It's not marked as provided... I've just tried making it
scopecompile/scope explicitely. As expected, mvn install copies it to
WEB-INF/lib, but it gets deleted as soon as I Run As Web Application.
If anybody wants to try, this happens with the samples in the gwt-platform
project. The process needed to get them to compile and run in Eclipse is
described here:
http://code.google.com/p/gwt-platform/wiki/CompilingAndDebuggingGwtp
--
You received this message because you are subscribed to
Thanks for the help Juan. Just for info, I did try all these cleanup
operations before hitting the forum, and they all failed. I want to use
m2eclipse because this is a complex multi-component project and it makes
dealing with it much easier. Also, it had been working prior to my update to
GPE
My app uses LayoutWidgets to create full screen widgets that resize
automatically with the browser window. This works very well on all desktop
browsers but, on iPhone, it seems to snap to an arbitrary size that has
nothing to do with the iPhone screen. That's unfortunate since the app would
Here's a dirty hack that I've never tried but which may work...
If your ClientBundleWithLookup doesn't change too often, you could
pre-generate the implementation through a GWT-compile (with the -gen
option). Once you have the class (or classes?) add them to your project.
Then you have two
The command pattern included in GWT-Platform gives a different path to each
command and yield very readable logs in GAE.
The trick is to call setServiceEntryPoint from the client async service
implementation. If you want to see how we do it in GWTP check out:
I've remarked that if you have a new line between two elements (or widgets?)
within a HTMLWidget in a UIBinder file, then Chrome and Firefox displays a
space between them whereas Internet Explorer doesn't. This can cause some
headaches when a seemingly stylistic reformatting of a .ui.xml file
In case anybody is interested, the fix (or, convention) we came up with
was to put the two elements on the same line separated by an nbsp; just so
that anybody refactoring the file is aware that the line should not be split
in two.
--
You received this message because you are subscribed to
Looks like a very useful tool! 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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to
I concur with Y2i regarding the use of a top TabBar, I'm using a
similar approach.
Other things you may want to add:
- Loose coupling between TabBar and content presenters (they are not
injected in one another).
The TabBar sends an event on the bus to discover and collect all the
content
You may want to take a look at http://gwtplatform.com an MVP framework with
built-in support for tabbed presenterd and breadcrumbs. Might not be exactly
what you're looking for, but it may help get the conversation started...
Cheers!
Philippe
--
You received this message because you are
For info, GWTP is looking to merge back with the GWT MVP classes. The goal
is to offer a nice annotation-based alternative to the complex setup and
boilerplate often required to wire together a large MVP app. In addition to
features such as simple tab presenters or hierarchical name tokens,
Sorry, wrong link:
http://www.google.com/events/io/2011/sessions.html
--
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 to
Nice. And will you have the shorter:
progress value=250 max=1000 /
For permutations that are guaranteed to support it?
On Wed, Mar 23, 2011 at 11:11 AM, John LaBanca jlaba...@google.com wrote:
@dflorey -
We do plan to include some HTML5 widgets using the Appearance pattern.
HTML5 widgets
I'm using maven with m2eclipse and want to use to nice debugging tools by
running my app directly from Eclipse via the Run As Web Application
command. This used to work well, but recently I've discovered that all the
external dependencies in target/MyProject/WEB-INF/lib are deleted every time
I found a workaround by disabling and reenabling Maven dependency injection
in Eclipse:
Right-click on the project Maven Disable Dependency Management
Right-click on the project Maven Enable Dependency Management
--
You received this message because you are subscribed to the Google Groups
Version 0.5.1 of the popular MVP and command-pattern framework GWT-platform
has just been released. GWTP's trunk has been compatible with GWT 2.2 for a
while, but with the recent release of Gin 1.5 we felt it was a good time to
repackage a version compatible with GWT 2.2 and depending on only
A quick update on my progress on this...
As you suggested, adding src/main/resources as source in Eclipse works fine.
The problem is that m2eclipse automatically adds excluding=** in
.classpath for any resource folder. I have therefore not found a way to have
the GEP work out-of-the-box with a
Thanks for all the answers! I'm glad to see it's a popular topic.
Thomas insight on source vs resource makes sense, but as Brian pointed out,
the problem I have is really about having non-java files in the java
directory. I'd be fine having everything sit under /src/main/.
Given that my
I've never tried that but am very interested in how it works out for you if
you ever decide to go this route. Please keep us posted! :)
--
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'm using Maven to build my GWT project, together with the standard Maven
directory layout. That is, sources are in src/main/java while resources
(such as CSS files) are in src/main/resources.
Now, in one of my .ui.xml file I have a ui:style tag that uses an src
attribute to define some
I think you may be hitting this bug:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5320
There is a workaround in there.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
On Mon, Feb 28, 2011 at 3:22 AM, Thomas Broyer t.bro...@gmail.com wrote:
On Saturday, February 26, 2011 9:14:37 PM UTC+1, Philippe Beaudoin wrote:
1) The ButtonCell(DefaultAppearance.Resources) constructor can be
confusing, I think it should be dropped.
2) Providing a custom
On Mon, Feb 28, 2011 at 10:30 AM, Jeff Larsen larse...@gmail.com wrote:
By forcing the user to do
new DefaultAppearance(Resource)
you're removing their ability to globally change the appearance. You've now
introduced a much tighter coupling than was there previously. As a for
instance,
at 2:23 PM, Philippe Beaudoin
philippe.beaud...@gmail.com wrote:
On Mon, Feb 28, 2011 at 10:30 AM, Jeff Larsen larse...@gmail.com wrote:
By forcing the user to do
new DefaultAppearance(Resource)
you're removing their ability to globally change the appearance. You've
now
introduced
On Monday, February 28, 2011 12:42:30 PM UTC-8, John LaBanca wrote:
On Mon, Feb 28, 2011 at 3:14 PM, Jeff Larsen lars...@gmail.com wrote:
On Mon, Feb 28, 2011 at 1:34 PM, John LaBanca jlab...@google.com wrote:
Let me clarify what I had in mind for replacing the default GWT
appearance.
Good to know Thomas, thanks for posting this.
--
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 to
Have you tried setting an explicit height to your DockLayoutPanel? Usully,
layout panels are meant to be embedded in other layout panels (all the way
up to the RootLayoutPanel), but in your case it's probably not possible.
Also, I'm not quite sure how to embed a layout panel in a FocusPanel.
John, I really like this idea. It's well thought-out and the customization
hooks seem at once powerful and easy to use. I like the use of
replace-with to provide a simple way to perform an app-wide appearance
switch. Here are a couple of remarks:
Sorry it's so long. Here is the *tl;dnr*
*1) The ButtonCell(DefaultAppearance.Resources) constructor can be
confusing, I think it should be dropped.
*
I would prefer the option. Lets say you have a 2 styles of buttons. A blue
cancel button and a grey standard type button. With the current proposal, I
would be able to use
On Sat, Feb 26, 2011 at 4:35 PM, Jeff Larsen larse...@gmail.com wrote:
Sorry, that is far better, but there still is a problem. With that way of
doing things is then you've lost your ability to use the .gwt.xml file to
swap out the Appearance as you're now using a new instead of a GWT.create.
I haven't really decided whether the url is going to be an application wide
resources or if it can be set to different values on an instance base. But
does it really make a difference in regards to DI?
The difference is that if you provide the url on an instance basis than your
creation
Hi Uemit,
I like your question and must say that I've personally run quite a few times
into the deferred binding vs injection question. My personal take on
this is that I always favor injection, unless the binding should be
property-dependent. By property-dependent I mean that the binding
As you learn, you'll find plenty of examples on the web. Tooting my own
horn, I would suggest you drop by http://gwtplatform.com it has a couple of
progressively more complex examples and a very helpful community.
Good luck! You're in for a nice discovery.
Philippe
--
You received this
You are correct: the code you pasted has only one split point and (provided
they are not called from anywhere else), foo(), bar() and goo() sit behind
that split point -- it means they will only be loaded when onClick is
called. [That's what the sentence you highlighted in red means.]
If you
There is a vote in progress to get a GWT 2.2-compatible version of the
gwt-maven-plugin:
https://groups.google.com/forum/?pli=1#!topic/codehaus-mojo-gwt-maven-plugin-users/iyp0V83Tktg
If you need it very quickly, feel free to grab my version:
pluginRepositories
pluginRepository
From what I understand, code-splitting must be thought about in a
method-by-method basis. That is, the variables you use is not important, but
the method you call on it is. In short:
- If all calls to methodA() happen behind the _same_ split point then
methodA() will be part of that fragment
@Deepak I read your question too quickly, my answer does not apply and I've
deleted the message. Sorry for the confusion.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
If you still have flexibility on the technologies you need for the backend,
consider Google AppEngine. It has been working really well for me.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
One thing that is not obvious at first is that code splitting part of your
application that performs computation is far from trivial and will sometimes
require you to change your code in deep ways. That's because you have to
switch your mindset from regular linear programming to deferred
The best way to explore the DOM with IE7 is to open the app with IE8, press
F12, click on Browser Mode and select IE7. Then you can use this Developer
Tool panel to explore the DOM.
I was able to recreate the problem in IE7 and I notice that 2 nested divs
have a height of 21px. Setting their
The way you write it does not worl:
int x = foo();
expects foo() to return an int, but it's declared as returning void.
You do not need to runAsync in foo, bar and goo provided you're only calling
them from one place (onClick). If you're always calling them in succession,
you should always
*shivers* :)
--
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 to
google-web-toolkit+unsubscr...@googlegroups.com.
For more
Agreed. I like the fact that the default theme is light-weight, does not
require fancy images and result in a relatively shallow DOM (compared to
some other widget providers) However I would really like the basic look to
match that of standard Google Apps. For example, the look and feel of the
Have you tried Void? (with a capital V)
--
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 to
Maybe try deleting all the releted dependencies from your local .m2 repo? In
my case I deleted gwt-dev 2.1 and verified that it was not re-downloaded. Do
the same with gin et al.
Cheers,
Philippe
--
You received this message because you are subscribed to the Google Groups
Google Web
Are you using LayoutPanels?
With regular FlowPanel/HTMLPanel you should not see this behavior. Maybe
post some code?
Cheers,
Philippe
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
(Glad to know you use GWTP. Hope you like it. ;))
A couple of things:
- The decorative-banner-top div should not be absolutely positioned. Can
you confirm it isn't?
- The DockLayoutPanel here will likely not work as desired as it is not
embedded into another LayoutPanel and has no explicit
Using IE's DOM explorer might help you see what's wrong there... If you have
the app deployed somewhere I could take a quick look.
Philippe
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
The only difference with mine seems to be that I don't include gwt-dev in
the dependencies. Including it did cause problem in m2eclipse so you may
want to take it out. (It's grabbed automatically by gwt-maven-plugin.)
--
You received this message because you are subscribed to the Google Groups
I don't know of any such site. This question on Quora might be a good
starting point:
http://www.quora.com/What-web-applications-use-Google-Web-Toolkit-(GWT)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email
gwt-maven-plugin version 2.1.0 uses gwt-dev 2.1 automatically, which can
break quite a few things. I have recompiled the plugin so that it uses
gwt-dev 2.2. AFAIK the official one has not yet been released but in the
meantime you can grab it from GWTP's maven repo. Info there:
If you want the layer to contain more than the button you can style the
button by specifying top/left/widht/height in its CSS. (By default you get
top:0; left:0; width:100%; height:100%; I believe.)
--
You received this message because you are subscribed to the Google Groups
Google Web
Did you try explicitely setting the CSS height of your ScrollPanel to 100%?
--
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
Might be the official way of doing it, but caused problems for me in Eclipse
with m2eclipse, and I've seen others report the same. Anyway, as they say,
YMMV. :)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
I am running into the same problem. I wonder if it could be related to the
fact that gwt-maven-plugin is version 2.1.0-1 and needs to be updated for
2.2.0?
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email
You're right, thanks! I don't know why I now have a dependency on
assistedinject, but adding it worked.
Since I did not really like the workaround of adding a dependency on
gwt-dev, I recompiled the gwt-maven-plugin to depend on gwt-2.2. I'm sure
the gwt-maven-plugin guys will publish v 2.2.0
I've had tons of problem using Vertical and HorizontalPanel to align
correctly. In my most recent project I followed the advice from GWT
documentation and moved away from them. Now I do everything with FlowPanel
(or HTMLPanel) and careful use of floats. It has made my life much easier. I
don't
Only the last line is taken into account here. If you want to support more
than one browser, specify a comma-separated list in the value property,
for example:
set-property name=user.agent value=safari,ie8,gecko,gecko1_8 /
The default supported values are defined in UserAgent.gwt.xml to:
IIRC it's a relatively recent change in GWT and I cursed a little when I
encountered it. I solved it by instantiating the SuggestBox using the
3-parameter constructor that let you specify an oracle. Using UiBinder and
gin to inject my SuggestOracle this gives:
public class MyView {
...
Exactly, this is where I ran into this.
On Fri, Dec 17, 2010 at 3:36 AM, Thomas Broyer t.bro...@gmail.com wrote:
On Wednesday, December 8, 2010 9:16:16 PM UTC+1, PhilBeaudoin wrote:
Just ran into an interesting little hack today. Basically, the interface
includes a method:
public void
Weird. Could you have some strange circular widget hierarchy?
On Wed, Dec 15, 2010 at 3:26 AM, Magnus alpineblas...@googlemail.com wrote:
After adding the above code into my onResize method, my browser
hangs...
--
You received this message because you are subscribed to the Google Groups
Just ran into an interesting little hack today. Basically, the
interface includes a method:
public void __do_not_implement_this_interface_extend_FooImpl_instead();
I'm far from convinced I like it, but it sure is right in your face in
case you don't read javadocs! ;)
Philippe
On Wed, Dec 8,
On Wed, Dec 1, 2010 at 11:30 AM, Sripathi Krishnan
sripathi.krish...@gmail.com wrote:
This is really interesting and I was not aware of that feature of modern
browsers. Could you clarify how this works or link to a website explaining
it? (In particular, I'm interested to know how a browser can
features.
On Tue, Oct 5, 2010 at 12:28 PM, Philippe Beaudoin
philippe.beaud...@gmail.com wrote:
Spring support is planned for release 0.5 (e.t.a. early November)
Philippe
On Tue, Oct 5, 2010 at 6:40 AM, Travis Camechis camec...@gmail.com
wrote:
Do you have to use Guice on the server side
Spring support is planned for release 0.5 (e.t.a. early November)
Philippe
On Tue, Oct 5, 2010 at 6:40 AM, Travis Camechis camec...@gmail.com wrote:
Do you have to use Guice on the server side in order to use Dispatch or can
you use Spring on the server side?
On Wed, Sep 29, 2010 at 11:46
Yes, I found a solution which I posted on Stackoverflow. Forgot to
post it here, sorry. Here my SO post:
- - - - -
I found my answer. The key is to use a LayoutPanel instead of the
DockLayoutPanel. For example:
g:LayoutPanel
g:layer left=100px right=0px
g:LayoutPanel
Thanks Thomas,
I'm glad to hear that... It seems like some of these could be
integrated in gwt-platform apps (i.e. Cell-based widgets, maybe even
the RequestFactory). I wish I had more time to look into this.
Philippe
On Fri, Jul 9, 2010 at 1:12 PM, Thomas Broyer t.bro...@gmail.com wrote:
Yes. Much simpler indeed. Would you believe I didn't even know you could
have static instances attached to interfaces... I'm still relatively new to
Java. :)
Cheers and thanks again.
On Sun, Mar 21, 2010 at 2:02 PM, Gal Dolber gal.dol...@gmail.com wrote:
You don't need to do that, you can just
75 matches
Mail list logo