Making GWT application crawlable by a search engine.

2010-03-12 Thread PhilBeaudoin
I want to use the #! token to make my GWT application crawlable, as described here: http://code.google.com/web/ajaxcrawling/ The GWT showcase app available online uses this, for example: http://gwt.google.com/samples/Showcase/Showcase.html#!CwRadioButton Will serve the following static webpage to

Re: Making GWT application crawlable by a search engine.

2010-03-12 Thread PhilBeaudoin
 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: I want to use the #! token to make my GWT application crawlable, as described here:http://code.google.com/web/ajaxcrawling/ The GWT showcase app available online uses this, for example:http://gwt.google.com/samples/Showcase

Re: Making GWT application crawlable by a search engine.

2010-03-12 Thread PhilBeaudoin
or not it solved my problem. Thanks a lot! On Mar 12, 6:27 am, Thomas Broyer t.bro...@gmail.com wrote: On Mar 12, 10:13 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: I want to use the #! token to make my GWT application crawlable, as described here:http://code.google.com/web/ajaxcrawling

Re: Making GWT application crawlable by a search engine.

2010-03-12 Thread PhilBeaudoin
through the filters, even if the requested .html file is there? On Mar 12, 6:27 am, Thomas Broyer t.bro...@gmail.com wrote: On Mar 12, 10:13 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: I want to use the #! token to make my GWT application crawlable, as described here:http

Re: Making GWT application crawlable by a search engine.

2010-03-12 Thread PhilBeaudoin
/tracker/index.php?func=detailaid=2962074group_id=47038atid=448269# Thanks all for your help! On Mar 12, 12:07 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: It almost work... The only problem left is that the development mode will serve the default html file right away if it is present, so

Internet Explorer 7 reloads on fragment change?

2010-03-18 Thread PhilBeaudoin
I get a strange problem with Internet Explorer 7: some of my Hyperlink causes the page to unexpectedly reload. The strange thing is that I have two hyperlinks to the same history token on the same page, one of them causes the page to reload and the other one does not. The only difference I can see

Re: MVP related question

2010-03-18 Thread PhilBeaudoin
The View and Presenter participants in the MVP pattern are expected to live on the client only. The Model objects are typically shared between the client and the server. If you look at your Project.gwt.xml file you will see: !-- Specify the paths for translatable code

Re: asynchronous RPC means convoluted return values(?)

2010-03-18 Thread PhilBeaudoin
Why not create all the structure client-side -- with slots in which you can insert sequences of content if needed. Then the asynchronous calls puts the content in the required slot as soon as they return. This way they can return in any order. On Mar 17, 11:46 am, adisharoon

Re: Internet Explorer 7 reloads on fragment change?

2010-03-18 Thread PhilBeaudoin
, this will switch tab but not reload! On Mar 18, 9:44 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: I get a strange problem with Internet Explorer 7: some of my Hyperlink causes the page to unexpectedly reload. The strange thing is that I have two hyperlinks to the same history token on the same page

Re: Several CSS resource questions

2010-03-19 Thread PhilBeaudoin
I have the exact same problem with opacity. When I add the IE- specific: filter: alpha(opacity=20); The CSS resource to fails to compile. The IE8 version: seems to work fine. I haven't looked for a workaround, yet, but all I can think of will look like an ugly patch... I've found the bug in

Re: Several CSS resource questions

2010-03-19 Thread PhilBeaudoin
Just noticed that the issue has a workaround: filter: literal(alpha(opacity=50)); On Mar 19, 2:14 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: I have the exact same problem withopacity. When I add the IE- specific:   filter: alpha(opacity=20); The CSS resource to fails to compile

Two generator questions

2010-03-20 Thread PhilBeaudoin
I'm trying to write my first GWT generator... I've gotten pretty far, but I have the following questions: 1) Is there any way to see the generated class for debugging purposes? For example, can I force GWT to produce the .java file for my generated class (it did it once when I had an error, but I

Re: Two generator questions

2010-03-20 Thread PhilBeaudoin
=com.some.gin.MyGinInjector / Regards 2010/3/20 PhilBeaudoin philippe.beaud...@gmail.com I'm trying to write my first GWT generator... I've gotten pretty far, but I have the following questions: 1) Is there any way to see the generated class for debugging purposes? For example, can I force

Re: MVP related question

2010-03-21 Thread PhilBeaudoin
, PhilBeaudoin philippe.beaud...@gmail.com wrote: The View and Presenter participants in the MVP pattern are expected to live on the client only. The Model objects are typically shared between the client and the server. If you look at your Project.gwt.xml file you will see

Re: Two generator questions

2010-03-21 Thread PhilBeaudoin
); ); Thanks again Gal. This is a neat trick! Philippe On Mar 20, 8:34 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: Thanks Gal, it really helped! I'm not quite sure I know how to include a folder in my lookup entries. Is this something I can do in Eclipse debugger? The idea

Re: Two generator questions

2010-03-21 Thread PhilBeaudoin
point class, I had to create a configuration property. Is there a way, within a generator, to access the entry point class defined in the module: entry-point class='com.puzzlebazar.client.Puzzlebazar' / On Mar 21, 1:01 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: Yeah, well... Method

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread PhilBeaudoin
t.bro...@gmail.com wrote: On Mar 18, 8:27 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: If you want to see this yourself, go tohttp://filouguestbook.appspot.com/#!main sign-in with a google account and click on the Settings link the the top bar. Switch between the General

Re: Internet Explorer 7 reloads on fragment change?

2010-03-26 Thread PhilBeaudoin
Broyer t.bro...@gmail.com wrote: On Mar 26, 5:42 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: Thanks Thomas, This seems to be exactly the problem I'm having. Although I have absolutely no clue why the Hyperlinks are not attached. The Hyperlink is inside a Composide that I build

Re: gwt-dispatch, gwt-presenter, mvp4g

2010-04-06 Thread PhilBeaudoin
I'll take this opportunity to shamelessly plug my own take on the MVP architecture: http://code.google.com/p/gwt-platform/ I started using gwt-presenter, but I ran into a number of problems with code-splitting, lazy-loading and weakly-coupled nested presenters. So I created GWTP, a fork of

createForClass fail in javascript compiled version

2010-04-12 Thread PhilBeaudoin
Hi, I'm using the new google-gin AsyncProvider to implement code splitting in my GWT application. It works well in most situations, but I ran into a strange issue recently which might hint at a problem in GWT itself. My app works well in development mode: I call myAsyncProvider.get(myCallback)

Re: Looking for a good MVP framework

2010-05-13 Thread PhilBeaudoin
Thanks for all the kind words on GWTP. Claude is right in saying that it looks like a hobby project, essentially because it started as such! However, I would say it is well on the way to maturity and, given the current level of involvement of some of the members, I believe it will eventually turn

Re: MVP, gwt-presenter + UIBinder + Gin

2010-05-17 Thread PhilBeaudoin
I think the key is not to write your views into UiBinder but rather to use one UiBinder file for each of your views. Then you make your presenters embed one another in the desired fashion. That's what I understand from: http://code.google.com/webtoolkit/articles/mvp-architecture-2.html Many

Re: MVP Framework in GWT 2.1 M1 ?

2010-05-22 Thread PhilBeaudoin
From what I understand GWT's MVP classes are designed with SpringRoo's automatic code generation in mind. As such, they might be a little confusing for those of us who learned MVP's from Ray Ryan's talk and Google's mvp-architecture documents. A gwt-platform user has given SpringRoo + GWT's MVP

Re: Large scale application development and MVP -- Developing composite screens with a menu and main view

2010-06-07 Thread PhilBeaudoin
There are many ways to do this. I've found that sometimes it is useful to use the event bus to reveal a hierarchy a presenters, each presenter responsible for maintaining the view of a specific slot: left menu, main content, footer, etc. Sometimes, a view is itself comprised of complex widgets

Re: MVP with EventBus question

2010-06-24 Thread PhilBeaudoin
In gwt-platform (http://code.google.com/p/gwt-platform/) we use gin to inject the EventBus to whoever needs it. The framework is designed such that only the presenters communicate on it. In your example, the gwt-platform way would be to create a PresenterWidget for WidgetA and another for

Re: MVP with EventBus question

2010-06-26 Thread PhilBeaudoin
@UiFactory constructors into the owned Widgets. On Jun 24, 5:35 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: In gwt-platform (http://code.google.com/p/gwt-platform/) we use gin to inject the EventBus to whoever needs it. The framework is designed such that only the presenters

Re: how to use GIN ?

2010-06-28 Thread PhilBeaudoin
Thomas gives very good advice, although I personally never use the @ImplementedBy annotation (not entirely sure why...). To complement his answer, if you're interested in saving the addClickHandler call you may want to take a look at UiBinder the @UiHandler annotation. On Jun 27, 3:41 pm, Thomas

Re: How to simplify your GwtEvent classes and have fun doing it!

2010-06-28 Thread PhilBeaudoin
Another simple trick I use when I need multiple events that have the same payload and handler methods, is to not declare the TYPE as a static member of the event. Instead I declare it elsewhere (anywhere really) and pass it to the event's constructor. Really simple, but can dramatically cut down

Re: MVP with EventBus question

2010-06-29 Thread PhilBeaudoin
, PresenterWidgets, etc and how you should handle the history tokens in order to give this app coherent state based on history, but optimal usage of GWTP in terms of correct MVP patterns (which then assist greatly with JUnit testing!). On Jun 27, 7:48 am, PhilBeaudoin philippe.beaud...@gmail.com wrote

Re: Anyone finds Contacts2 confusing?

2010-06-29 Thread PhilBeaudoin
Relying on a good MVP framework can dramatically cut down on boilerplate. Personally, I'm now building all my apps with MVP (without Roo for now) and find that the result is much more pleasing to look at and develop than any GWT code I've written before. I would say this is true even for

Re: Creating new Presenter/View in a Presenter

2010-07-04 Thread PhilBeaudoin
You mentioned you intend to write a big app, so you might be tempted at some time to go for one of the available libraries/frameworks for MVP, which might force you to rewrite a lot of code to be ported to 2.1. Regarding the GWT-platform MVP framework, rest assured that it will be ported to

Re: mvp for application with menutree

2010-07-04 Thread PhilBeaudoin
Hi Jeroen, You might be interested in some of the examples included with GWT- platform. The SimpleNestedExample (http://code.google.com/p/gwt- platform/wiki/SimpleNestedSample) uses some of the features required to build an MVP app with a navigation pane. My little side project PuzzleBazar also

Have one of the edge widget of a DockLayoutPanel overflow into the center

2010-07-07 Thread PhilBeaudoin
I use a DockLayoutPanel to split my screen in a left navigation column and a center area. My problem is that the app skinning requires that a selected tab in the navigation column overwrite a 1 pixel wide column of the central area. Is there a way to setup my DockLayoutPanel to do this?

Re: concerns on 2.1 MVP approach

2010-07-09 Thread PhilBeaudoin
I found the following overview interesting too: http://www.over-look.com/site/index.php/documentation/techblog/item/gwt-2-1-tutorial-1-mvp-the-model The DTO model described there seems a little involved. If I understand correctly, there is a client-side and server-side version of the DTO for each

Re: Image setUrl and setResources IE8 JavaScriptException

2010-07-12 Thread PhilBeaudoin
I've encountered the problem and entered this as an issue in the tracker: http://code.google.com/p/google-web-toolkit/issues/detail?id=5114 Cheers, Philippe On Jul 11, 2:51 am, Sven sven.ti...@googlemail.com wrote: Hi Stefan, I did not encounter such a situation, yet. However, to my

Re: MVP Problem when implementing the presenter as singleton

2010-07-13 Thread PhilBeaudoin
How do you instantiate and populate your view? Is it fully created before the presenter constructor is called? For my part, I use GIN and the gwt-platform mechanism which has an onBind() method that is invoked automatically after all the relevant objects are constructed. The onBind() method is

Re: Share user input data within MVP + Lady_Gaga

2010-07-20 Thread PhilBeaudoin
Another approach that wasn't mentioned but that I use quite frequently is to use the history and pass the information as parameters in the history token. This is made really easy in frameworks like gwt- presenter and gwt-platform and has a number of advantages provided the parameter is

Release 0.3 of gwt-platform

2010-07-21 Thread PhilBeaudoin
I just wanted to announce that release 0.3 of the gwt-platform MVP framework is now available at http://gwtplatform.com It sports a number of cool new features including hierarchical history tokens (for breadcrumbs) and a simple annotation-based syntax for binding events to your proxies rather

Internet Explorer load standard.css after my CssResource

2010-07-21 Thread PhilBeaudoin
I want to override default styling for my dialog box, but I also want to rely on CssResource and spriting. The way I do this is to define @external styles in my CssResource .css file. For example: @external .gwt-DialogBox, .Caption; @sprite .gwt-DialogBox .Caption { gwt-image: 'dialogCaption';

Re: GWT app development in teams

2010-07-22 Thread PhilBeaudoin
If it's a new project and you're not tied to a specific backend, you could could consider deploying on AppEngine. This has been very efficient for our team where every developer works remotely. AppEngine offers a standardized built-in environment right in eclipse so everybody can test locally with

Re: CSS in UIBinder or separate file?

2010-07-22 Thread PhilBeaudoin
Just to complement the answers here... I've found the new spriting mechanism of GWT (@sprite) to be really simple and useful. Unfortunately, it doesn't work for UiBinder-embedded CSS styles. Therefore, I rely on an external CssResource for all my styles that need spriting. On Jul 22, 8:43 am,

Re: CSS in UIBinder or separate file?

2010-07-22 Thread PhilBeaudoin
Wow! That's good to know Thomas, thanks... I'll bring things over to my UiBinder file. On Jul 22, 12:34 pm, Thomas Broyer t.bro...@gmail.com wrote: On 22 juil, 18:48, PhilBeaudoin philippe.beaud...@gmail.com wrote: Just to complement the answers here... I've found the new spriting mechanism

Re: Internet Explorer load standard.css after my CssResource

2010-07-22 Thread PhilBeaudoin
, 2010 at 6:37 PM, PhilBeaudoin philippe.beaud...@gmail.comwrote: I want to override default styling for my dialog box, but I also want to rely on CssResource and spriting. The way I do this is to define @external styles in my CssResource .css file. For example: @external .gwt

Re: How do I set the border around elements in a DockLayoutPanel?

2010-08-14 Thread PhilBeaudoin
I haven't tried this, but you could try to put a LayoutPanel in each the DockLayoutPanel side you want to style, then style that LayoutPanel and add any other widget inside this LayoutPanel. On Aug 13, 11:52 am, cokol eplisc...@googlemail.com wrote: then do the same - use the decoratorpanel as

Re: GWT eat your own dogfood ? Future of GWT ?

2010-08-26 Thread PhilBeaudoin
On Aug 26, 7:06 am, Ed post2edb...@gmail.com wrote: This is easy to do... I even like more the old widgets then the new Cell widget for css customization. Did you try it ? Because it's hard, and in many cases, espcially with dependent styles not possible! Have a look as this issue and

Re: What are some of the most valuable frameworks in your project?

2010-08-28 Thread PhilBeaudoin
Client-side: Gin + GWTP Server-side: Guice + Objectify + GWTP On Aug 28, 8:10 am, Thomas Broyer t.bro...@gmail.com wrote: On 28 août, 07:08, jocke eriksson jock...@gmail.com wrote: Gin :) love it +1 GIN, and nothing else:http://code.google.com/p/google-gin I just started a series of

Re: What are the benefits of using a MVP Framework?

2010-08-30 Thread PhilBeaudoin
In my opinion, using an MVP framework is yet another way to benefit from the knowledge gathered by countless of your peers working on similar problems. One key benefit of gwt-platform, for example, is to crystallize the community around a specific implementation. I'm sure GWTP users can tell you

Release 0.4 of gwt-platform

2010-09-10 Thread PhilBeaudoin
We just released version 0.4 of the gwt-platform MVP framework, you can get it from http://gwtplatform.com New features include automatic event and action generation via annotation processors, a new mechanism for delayed reveal of presenters, simplified unit testing, and many other improvements

Re: Development Mode performance with Chrome

2010-09-16 Thread PhilBeaudoin
I echo these thoughts. Chrome is easily my favorite browser for everything but testing my GWT apps in dev mode. On Sep 16, 6:04 am, Sean slough...@gmail.com wrote: I'm not sure if this deserves it's own post either, but I can't stand using Chrome in dev mode because when Debugging Chrome

Re: GWT-Platform with GWT 2.1

2010-09-30 Thread PhilBeaudoin
One good place to start are Thomas Broyer article on 2.1 MVP in case you haven't read them already: http://tbroyer.posterous.com/gwt-21-places http://tbroyer.posterous.com/gwt-21-places-part-ii http://tbroyer.posterous.com/gwt-21-activities

Re: GWT-Platform with GWT 2.1

2010-09-30 Thread PhilBeaudoin
Also, the following discussion will likely be of interest to you: http://groups.google.com/group/gwt-platform/browse_thread/thread/4c00e59dc139ccdf On Sep 30, 11:01 am, PhilBeaudoin philippe.beaud...@gmail.com wrote: One good place to start are Thomas Broyer article on 2.1 MVP in case you

Re: GWT Spring integration - what is the best method in late 2010?

2010-09-30 Thread PhilBeaudoin
Many gwt-platform [1] users have also successfully integrated its dispatch module with Spring. The next version (0.5), planned in a month or so, will add built-in support for Spring. It will also make it easy and seamless to switch the backing service for your various server actions. (Some can use

Re: GWT Spring integration - what is the best method in late 2010?

2010-10-01 Thread PhilBeaudoin
, PhilBeaudoin philippe.beaud...@gmail.comwrote: Many gwt-platform [1] users have also successfully integrated its dispatch module with Spring. The next version (0.5), planned in a month or so, will add built-in support for Spring. It will also make it easy and seamless to switch the backing

Re: MVP + UiBinder, thoughts?

2010-03-05 Thread PhilBeaudoin
Just a quick thought... If you wanted to make the Presenter-View relationship bidirectional without having to inject it manually, couldn't you have GIN inject a ProviderMyPresenter.DisplayHandlers into the view? Then you just bind MyPresenter.DisplayHandlers to MyPresenter. On Feb 21, 11:33 am,

Re: 2.1 MVP Jumpstart

2010-10-18 Thread PhilBeaudoin
Alternative frameworks like gwt-platform and mvp4g offer similar MVP, Place and event bus architectures but require much less boilerplate. If you worry about departing from the main line of GWT, you should know that GWTP's architecture share many similarities and we plan to start integrating it as

Re: GWT-Platform spring integration

2010-10-26 Thread PhilBeaudoin
Hi Travis, The feature has been contributed only recently and has not even compiled in the default jar. Some people have successfully compiled and used the feature and are working on a sample and it will make it in the soon to be released 0.5. You can star and follow this issue to be notified of

Re: What Major Companies Use GWT???

2010-10-26 Thread PhilBeaudoin
VMWare uses it in its new Code2Cloud project: http://tasktop.com/blog/tasktop/springsource-vmware-code2cloud Google do use it in many products, in particular adwords. There is a question on the topic in Quora, might be a good place to add some answers:

Re: Nested Views in MVP

2010-10-29 Thread PhilBeaudoin
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

Re: Announcing gwt4air 1.0

2010-11-01 Thread PhilBeaudoin
Alain, According to the terms of the Apache 2.0 license of the original work: You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to

Re: Gwt 2.1 Activities + Code splitting + Gin

2010-11-06 Thread PhilBeaudoin
Hi Nicolas, If you start using AsyncProvider, you might be interested in GWTP's ProviderBundle at some point. The problem of AsyncProvider is that it may introduce too many split points, and you will often want to do some manual optimization and group a few things together behind the same split

Re: Gwt 2.1 Activities + Code splitting + Gin

2010-11-07 Thread PhilBeaudoin
, maybe that I will be more comfortable with it :) Nicolas.  2010/11/7 PhilBeaudoin philippe.beaud...@gmail.com Hi Nicolas, If you start using AsyncProvider, you might be interested in GWTP's ProviderBundle at some point. The problem of AsyncProvider is that it may introduce too many

Re: Gwt 2.1 Activities + Code splitting + Gin

2010-11-08 Thread PhilBeaudoin
Thanks Thomas. So the way I understand it, the ActivityManager/ActivityMapper are GWT 2.1 equivalent's of GWTP's proxy for the purpose of navigation. It's just that in GWTP you don't need to create or modify a separate class, all is done within your presenter. In my apps, I often have some

Re: Entire Site in GWT?

2010-11-10 Thread PhilBeaudoin
We also decided to build our entire website using GWT (hosted on App Engine). It's early in the development process, but with a good MVP framework and UiBinder it is not that different from building a traditional website but you get a faster, richer and much more interactive experience. Check out

Re: MVP : VP to VP and Nested View communication

2010-11-11 Thread PhilBeaudoin
As Nicolas, though, I suggest you never use the event bus from your view. Let your presenter do the talking. On Nov 11, 5:01 am, Jambi michael.lukaszc...@googlemail.com wrote: I think an EventBus would work fine here. Check out this

Re: How to change the panel in Activity.start()

2010-11-12 Thread PhilBeaudoin
Thanks Thomas for preempting me. Next time I'll try to be faster than you and conclude with you can also wait a bit and see what Thomas will propose. ;) That being said, I believe it's important to point out that there are two point of views with respect to that problem. Some think nesting

Re: How to change the panel in Activity.start()

2010-11-13 Thread PhilBeaudoin
In french, très bien! :) Yes, let's try to meet at some point. I always enjoy reading your thoughtful articles and replies. I'm sure there would be a lot of value in exchanging F2F. In fact, I never even met Christian! There are also quite a few people on Guice, GIN, MVP4G and GUIT that I'd like

Re: RootLayoutPanel strange code using MVP

2010-11-16 Thread PhilBeaudoin
Why make the Root a inner class? I think it should be either a static nested class or a top-level class. Also, you can remove a lot of your boilerplate and ugly news there using GIN and binding asEagerSingleton. In this way you could bind: - Root - PlaceController - ActivityMapper -

Re: Filtering Code Splitting

2010-11-17 Thread PhilBeaudoin
For things like that you should definitely look into GIN: - It will facilitate your deferred binding problems a lot, just add or remove a module from your Ginjector to swap code based on configuration. - It will also facilitate your code splitting needs with the very nice AsyncProvider Cheers,

Re: How to get the next day of week date?

2010-11-17 Thread PhilBeaudoin
Say your looking for next tuesday: int desiredDay = 2; // tuesday Date currDate = new Date(); int currDay = currDate.getDay(); int daysToJump = (7+desiredDay-currDay)%7 if (daysToJump == 0) daysToJump = 7; Date nextTuesday = new Date(currDate.getTime() + daysToJump * 24 * 60 * 60 * 1000); No

Errors in GWT SDK's BigDecimal?

2010-11-17 Thread PhilBeaudoin
When executing my app in development mode I started getting a long list of errors in the tree log, all related to BigDecimal. Here are the first few lines: Errors in 'jar:file:/C:/eclipse/plugins/ com.google.gwt.eclipse.sdkbundle.2.1.0_2.1.0.v201010280102/gwt-2.1.0/

Re: Styling Login Widget

2010-11-19 Thread PhilBeaudoin
I do all my styling using UiBinder and CssResource, with HTMLPanel you can write all the HTML you need to make your app look perfect. This is how we did BookedIn: http://corp.bookedin.net/ (check the live demo) Cheers, Philippe On Nov 18, 5:03 pm, Nicholas nick.sm...@gmail.com wrote: I

Re: Styling Login Widget

2010-11-20 Thread PhilBeaudoin
I agree with Thomas. If you really want to keep it, you could wrap it in a div or FlowPanel and then use element CSS to style it. For example: ... div class={style.loginWidgetHolder} g:LoginWidget / /div And use styles like: .loginWidgetHolder div {...} .loginWidgetHolder div span {...} A bit

Re: GWT Examples

2010-11-26 Thread PhilBeaudoin
A couple of simple sample at: http://gwtplatform.com They are base on GWT platform, but might give you a good idea. Philippe On Nov 26, 4:11 am, daniela iervolino daniela.ie...@gmail.com wrote: Well, there's something at this linkhttp://www.gwtapps.com On the right side there's some

Re: Large scale application development and MVP tutorial / no Places or Activities

2010-12-01 Thread PhilBeaudoin
This conceptual leak between activity, presenters and places has also confused me quite a bit. Now that I understand it (slightly) better I think part of the confusion is caused by the fact that GWT expects you to build your own presenter/view separation and doesn't provide base classes or

Re: How to prevent CSRF/XSRF when using RequestFactory

2010-12-01 Thread PhilBeaudoin
On Dec 1, 2:39 am, Sripathi Krishnan sripathi.krish...@gmail.com wrote: RequestFactory (and GWT RPC as well) automatically adds a custom http header (X-GWT-Permutation) to each request. See DefaultRequestTransport.javahttp://code.google.com/p/google-web-toolkit/source/browse/trunk/user/

Re: GWT 2.1 Activities – nesting? YAGNI ? - an exa mple of where you NEED it !

2010-12-02 Thread PhilBeaudoin
For anybody considering GWTP (http://gwtplatform.com) as an alternative to GWT MVP, I want to stress out the fact that, despite the differences, there are a lot of similarity in the spirit of these two libraries. For example, gwtplatform's proxies are very similar to GWT's Activities. The place

Re: Announcing free online GWT/GAE mini-book

2010-12-02 Thread PhilBeaudoin
I've had the pleasure of reviewing an early version of this book, and can confirm it is very well down! I'm sure it will prove useful both to newcomers to GWT and to power users who want to learn more about tools like Guice, Gin, GWT- Platform, etc. Congratulations Marius! Philippe On Dec

Re: gwt-maven-plugin / google plugin for eclipse / working for anyone?!?!

2010-12-03 Thread PhilBeaudoin
A valuable resource that has helped me quite a bit are the POMs from Harald Pehl in his various open source projects. Check out: Super POM with global settings: http://code.google.com/p/pehl-parent/source/browse/trunk/pom.xml Super POM for Piriti:

Re: onResize issue with IE 7

2010-12-03 Thread PhilBeaudoin
I'm working with Mayumi on this bug and I'm pretty sure there is a problem somewhere in GWT. In our case, it happens with deeply nested layout panels. To reproduce the bug, we removeFromParent() a panel in the middle of the hierarchy and later re-add() it. At that point, the children of the

Re: onResize issue with IE 7

2010-12-03 Thread PhilBeaudoin
Just found this issue which is basically recommending the same workaround as the one proposed here: http://code.google.com/p/google-web-toolkit/issues/detail?id=5245 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Re: A MVP widget within a View

2010-12-07 Thread PhilBeaudoin
Thanks metalhammer, the support is always appreciated. Also, Fkereki, even if you don't want to use GWTP it might still be a good place to look at for the pattern you are looking for. Basically, the idea in GWTP is to compose the presenter of your widget within your view's presenter. A bit more

Re: A MVP widget within a View

2010-12-07 Thread PhilBeaudoin
with each other. -Brian On Tue, Dec 7, 2010 at 11:44 AM, PhilBeaudoin philippe.beaud...@gmail.com wrote: Thanks metalhammer, the support is always appreciated. Also, Fkereki, even if you don't want to use GWTP it might still be a good place to look at for the pattern you are looking

Re: MVP Issue

2010-12-15 Thread PhilBeaudoin
What Myles describe is discussed here: http://code.google.com/webtoolkit/articles/mvp-architecture-2.html And there: http://arcbees.wordpress.com/2010/09/18/uihandlers-and-supervising-controlers/ It really makes it easier to use cool features like @UiHandler, however if you want to keep your old

Re: chrome - prompting me to install gwt plugin but already installed

2011-01-26 Thread PhilBeaudoin
On Jan 26, 3:48 pm, PhilBeaudoin philippe.beaud...@gmail.com wrote: Same issue here. I verified this behavior on: Chrome 9.0.597.83 beta and Chrome 8.0.552.237 The plugin version is: GWT DMP Plugin - Version: 0.9.0 -- You received this message because you are subscribed to the Google Groups

Announcing GWT-Platform 0.5

2011-01-31 Thread PhilBeaudoin
We just released version 0.5 of the GWT-Platform framework: http://gwtplatform.com GWTP is one of the most popular MVP framework for GWT and is being used in many production applications. It sports a simple annotation- based API that makes it very easy to design web apps with nested views,

Re: Announcing GWT-Platform 0.5

2011-01-31 Thread PhilBeaudoin
:29 AM, PhilBeaudoin philippe.beaud...@gmail.comwrote: We just released version 0.5 of the GWT-Platform framework:  http://gwtplatform.com GWTP is one of the most popular MVP framework for GWT and is being used in many production applications. It sports a simple annotation- based

Re: History.replaceItem?

2011-02-04 Thread PhilBeaudoin
I agree with Ben. Here is how I would do it: Starts on #Home Selects a list: goes on to #List?id=aaa Pages through: stays on #List?id=aaa but this view is stateful (keeps information on the current page) Selects a record: goes on to #Record?id=bbb Hits back: goes back to #List?id=aaa on the last

Re: Gin, SingleInstanceProvider?

2011-02-05 Thread PhilBeaudoin
Here is a simple way to do what you want: public class LazyT { @Inject ProviderT provider; private T instance; public T get( ) { if (instance == null) { instance = provider.get(); } return instance; } } public class Main { @Inject LazyThing thingA; @Inject LazyThing

Re: History.replaceItem?

2011-02-06 Thread PhilBeaudoin
@zixzigma: stateful in the sense that the view (or the presenter if you're using MVP) has a private variable that keeps the last page seen and is only initialized on a new search. As a consequence, it would show the exact same page if you navigate back to it. On Feb 4, 2:08 pm, Jason

Re: ClientBundle images missing in IE8

2011-02-16 Thread PhilBeaudoin
I've had ClientBundle bugs specifically on IE with images larger than 32kb. If this is your problem you may want to star that issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=5114 It also proposes a couple of workaround. In my case, I have reverted to using image URLs in

[gwt-contrib] Including a CSS resource into another one

2010-03-02 Thread PhilBeaudoin
I've encountered the situation described in: http://groups.google.com/group/google-web-toolkit-contributors/browse_frm/thread/ca91dbdeaa6f93e8 I created `defines.css` in which I put all my @def. I then include this in my UIBinder-xml-specific style: ui:style src='../resources/defines.css' ...

[gwt-contrib] Why is JClassType#getAnnotations() not public?

2010-08-10 Thread PhilBeaudoin
Hi, In one of my generator I would need to scan the list of all annotations in order to find one that is marked with another annotation. Unfortunately, there doesn't seem to be any public mechanism in JClassType to access the list of all annotations. Looking at the class I see: getAnnotations()

[gwt-contrib] Re: Why is JClassType#getAnnotations() not public?

2010-08-12 Thread PhilBeaudoin
with @TheAnnotationImLookingFor? On Aug 10, 1:32 pm, John Tamplin j...@google.com wrote: On Sun, Aug 8, 2010 at 3:57 PM, PhilBeaudoin philippe.beaud...@gmail.comwrote: In one of my generator I would need to scan the list of all annotations in order to find one that is marked with another annotation. Unfortunately

[gwt-contrib] Re: Why is JClassType#getAnnotations() not public?

2010-08-12 Thread PhilBeaudoin
I see... But it is somewhat limiting as it doesn't let you scan annotations for a specific attribute. In my case I believe that the my process would ensure the annotation I'm looking for has been compiled. What I'm trying to do here is to let the users of the GWTP framework define custom

[gwt-contrib] Re: Breaking change proposed: future proofing Activity in 2.1.1

2010-12-07 Thread PhilBeaudoin
Tell me if I get this right, but the most important advantage of having only an abstract class is that you are guaranteed your user extends the abstract class instead of implementing the interface, which let you easily extend it later (i.e. add methods) without breaking existing user code? On the