Re: How to exclude JUnit test files to be converted to javascript inside /src/test/java/ folder when the Project is using Maven.

2011-09-01 Thread Andrew Hughes
Maven should not even allow you project to compile if that is the case. Dev mode might still run. Try mvn install . If that fails you prob have an import/reference to a test in you main src code. Post results back. On 01/09/2011 7:06 AM, Jason Pack jason...@gmail.com wrote: In your gwt.xml

Re: Can't install google eclipse plugin on fresh Helios install.

2011-03-04 Thread Andrew Hughes
2.1.1 SDK Bundle for Eclipse 3.6 2) Install the plugin following this instructions http://code.google.com/intl/es/eclipse/docs/install-from-zip.htmlhttp://www.google.com/url?sa=Dq=http://code.google.com/intl/es/eclipse/docs/install-from-zip.html Juan 2011/3/3 Andrew Hughes ahhug...@gmail.com

Can't install google eclipse plugin on fresh Helios install.

2011-03-02 Thread Andrew Hughes
Hi All, I've noticed a lot of posts that people are having trouble updating their eclipse plugins (starting ~14th Feb 2011). I'm not updating, I have a fresh Helios install that won't install the plugin or sdk from http://dl.google.com/eclipse/plugin/3.6. Would anyone be able to confirm this

Re: Maven repository for GWT 2.1.1

2010-12-26 Thread Andrew Hughes
Andrey, The ?gwt.codesvr=127.0.0.1:9997 is very important and must be used when running in dev mode. Production/compiled javascript (i.e. outside of dev mode) will not need this. --AH p.s. this is identical for maven or eclipse. On Mon, Dec 27, 2010 at 12:29 AM, ailinykh ailin...@gmail.com

Re: Mixing GWT 2.0.x 2.1.0 Browser Plugins, How?

2010-12-14 Thread Andrew Hughes
BINGO! Thanks Thomas :) On Tue, Dec 14, 2010 at 8:43 PM, Thomas Broyer t.bro...@gmail.com wrote: It's not a plugin issue. You probably just have a file in your browser cache that references the older version. -- You received this message because you are subscribed to the Google Groups

Mixing GWT 2.0.x 2.1.0 Browser Plugins, How?

2010-12-13 Thread Andrew Hughes
I recently upgraded our app to 2.1.0 on a branch. All went well :) but we're still running with 2.0 for sometime yet. Consequently, I am now switching between GWT 2.0.4 and 2.1.0 as I switch branches. This is causing problems with my Dev Mode Browser plugin (FireFox v1.0.7511). The error reported

Re: Support IE7 but not IE6, how?

2010-10-10 Thread Andrew Hughes
=ie8,gecko,gecko1_8,safari,opera/ [1] http://www.quirksmode.org/css/condcom.html On Oct 9, 3:22 am, Andrew Hughes ahhug...@gmail.com wrote: Hi People, I noticed that the (2.0.4) user.agent options are 'ie6,ie8,gecko,gecko1_8,safari,opera'. The problem is, we would like to support

Support IE7 but not IE6, how?

2010-10-08 Thread Andrew Hughes
Hi People, I noticed that the (2.0.4) user.agent options are 'ie6,ie8,gecko,gecko1_8,safari,opera'. The problem is, we would like to support IE7 but not IE6 (because IE6 css constraints). AFAIK, IE7 is covered by the same user.agent as IE6... that being 'ie6'. So how we support IE7 but not IE6?

GWT (2.0.4) Dev Mode and/or Plugins are Crashing, Debug How???

2010-10-04 Thread Andrew Hughes
Hi Again, Sadly our application now appears to crash dev mode and/or the browser plugin(s). The lack of visibility we have means I don't really know where the problem lies. This is impeding development dramatically. The only observations I can see is that: * Windows reports that the 'The

Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-27 Thread Andrew Hughes
Howdy, Our ui.xml template styles would like to access some ImageResources defined in a ClientBundle. ui:with field=res type=com.acme.project.client.resource.AcmeClientBundle/ But the @sprite's can't ever seem to use the ClientBundle's ImageResources from the ui.xml's ui:style... for

GWT-OpenLayers 0.5 Released

2010-09-27 Thread Andrew Hughes
Greetings, Around Twelve months in the making and GWT-OpenLayers 0.5 has been released, a BIG THANK YOU to everyone who contributed. I've posted this across a few mailing lists that might find this interesting blend of technologies applicable to their needs, these are primarily the GeoServer,

Re: Uibinder, @sprite and ui:with ClientBundle ImageResource, HOW?

2010-09-27 Thread Andrew Hughes
! *? } /ui:style Cheers for replying tho :) On Tue, Sep 28, 2010 at 8:24 AM, Chris Conroy con...@google.com wrote: Sounds like you need to use ui:with http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Using_an_external_resource On Mon, Sep 27, 2010 at 2:17 AM, Andrew Hughes

Re: UiBinder with background-image and ImageResource

2010-09-11 Thread Andrew Hughes
Here's a simple example WITHOUT external css file. It works, providing the ClientBundle and the ui.xml are in the same package. I believe you can use them from different packages but I still haven't worked out how. ui:with type=blah.client.MyClientBundle field=cb/ ui:image field=loading

Re: UiBinder: ClientBundle with ImageResource ui:style. How?

2010-09-09 Thread Andrew Hughes
:17 pm, Andrew Hughes ahhug...@gmail.com wrote: But when MyView and MyResources are in different packages, resource={res.loading} never works. Is this expected and does it work for you? It does work here http://code.google.com/p/puzzlebazar/source/browse/src/com/puzzlebazar/client/core/view

Re: UiBinder: ClientBundle with ImageResource ui:style. How?

2010-09-08 Thread Andrew Hughes
={res.loading}/ But when MyView and MyResources are in different packages, resource={res.loading} never works. Is this expected and does it work for you? CHEERS :) On Tue, Sep 7, 2010 at 4:41 PM, marius.andreiana marius.andrei...@gmail.com wrote: On Sep 7, 5:53 am, Andrew Hughes ahhug...@gmail.com

UiBinder: ClientBundle with ImageResource ui:style. How?

2010-09-06 Thread Andrew Hughes
Hi Guys, I'll try to be concise :) I do *NOT* want to use an external css file. All style should be in the ui.xml... *Client Bundle:* public interface MyClientBundle extends ClientBundle { @Source(loading.gif) ImageResource loading(); } *ui.xml* ui:with type=blah.client.MyClientBundle

Re: UiBinder: ClientBundle with ImageResource ui:style. How?

2010-09-06 Thread Andrew Hughes
stuff... THANKS HEAPS. On Tue, Sep 7, 2010 at 10:46 AM, Andrew Hughes ahhug...@gmail.com wrote: Hi Guys, I'll try to be concise :) I do *NOT* want to use an external css file. All style should be in the ui.xml... *Client Bundle:* public interface MyClientBundle extends ClientBundle

Image problem, can't use file:/// URL, ie new Image(file:///c:/blah/blah.png);

2010-09-01 Thread Andrew Hughes
Hi Guys, Not by choice we need to load Images from a *file:///* url. For example... *Image myImage** = **new** **Image(file:///c:/blah/blah.png);* This will produce (as seen in chrome+firebug) html that looks like... img src=file:///c:/blah/blah.png The problem, is that the image

Re: Image problem, can't use file:/// URL, ie new Image(file:///c:/blah/blah.png);

2010-09-01 Thread Andrew Hughes
: Yes its browser security, you need to load the images from the server and not directly from the drive, I dont know what you are trying to do, but this wont work on client side as the user may not have c: drive or the images. - Abdullah On Thu, Sep 2, 2010 at 10:39 AM, Andrew Hughes ahhug

Re: How do you use @sprite's and ui:image in UiBinder ui.xml templates?

2010-08-12 Thread Andrew Hughes
: *myResourceUrl*; } /style Here, the image will be referenced without forcing width/height. 2010/8/9 Andrew Hughes ahhug...@gmail.com Thanks Nicolas - I think I am very close I'm trying this (very simple)... ui:image field=onImage src=on.png/ g:Image resource=onImage

Re: GWT 2.0, Maven, Google eclipse and TOMCAT, why didn't google build maven support?

2010-08-11 Thread Andrew Hughes
Déjà vu - this tread is nothing new. If people would like to raise the GWT steering committee's awareness of maven related issues, try using the tool setup for just this purpose :) http://code.google.com/p/google-web-toolkit/issues/list

Re: How do you use @sprite's and ui:image in UiBinder ui.xml templates?

2010-08-08 Thread Andrew Hughes
=deactiveImage / * 2010/8/6 Andrew Hughes ahhug...@gmail.com Hi Guys, I can't find any doco, so help would be great! I want to set some background gwt-image's inside my ui.xml's ui:style Easiest way to ask my question is to show you what is not working :) !DOCTYPE ui:UiBinder SYSTEM http

How do you use @sprite's and ui:image in UiBinder ui.xml templates?

2010-08-06 Thread Andrew Hughes
Hi Guys, I can't find any doco, so help would be great! I want to set some background gwt-image's inside my ui.xml's ui:style Easiest way to ask my question is to show you what is not working :) !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder

Re: JSONP: Overlays with Optional Attributes (HostedModeException's), How?

2010-08-03 Thread Andrew Hughes
this.xmin; }-*/; On Tue, Aug 3, 2010 at 11:50 AM, Andrew Hughes ahhug...@gmail.com wrote: Thank's again André :) I've made some progress. you'r suggestion to use Integer and not primitive int was bang on the mark! :) Unfornately autoboxing was masking some of my problems - but now I have

JSONP: Overlays with Optional Attributes (HostedModeException's), How?

2010-08-02 Thread Andrew Hughes
I'm attempting to perform JSONP (cross domain ajax), just like in this great article (thanks) http://eggsylife.co.uk/2010/04/22/gwt-2-jsonp-and-javascript-overlays-with-jsonprequestbuilder/ The json response has optional attributes, it could be... {error: yay} or {response: 53} The

Re: JSONP: Overlays with Optional Attributes (HostedModeException's), How?

2010-08-02 Thread Andrew Hughes
Thanks André, Indeed, you are correct that Production Mode can detect a problem when attempting to parse out a null value. This I already knew :) The problem lies a little deeper... Hopefully others can help me with this plase :) 1) This HostedModeException is very annoying. Null (or in

Re: JSONP: Overlays with Optional Attributes (HostedModeException's), How?

2010-08-02 Thread Andrew Hughes
Thank's again André :) I've made some progress. you'r suggestion to use Integer and not primitive int was bang on the mark! :) Unfornately autoboxing was masking some of my problems - but now I have learnt the error's of my ways :) Now I am happily using Integer with and without null

Re: GWT 2.0.4 is now available

2010-07-01 Thread Andrew Hughes
Dear GWT Steering Commitee, This is feedback, please take it objectively! Your maven support to date can only be described as careless. There is a *large* community need you as much as you need them. Cheers :) On Thu, Jul 1, 2010 at 3:49 PM, Frederic Conrotte frederic.conro...@gmail.com

Re: Creating tr / td's with UiBinder, how?

2010-06-27 Thread Andrew Hughes
I don't want a div - as you point out this won't work... I would like to create a tr from UiBinder (with no div wrapping it). Cheers. On Sat, Jun 26, 2010 at 7:09 PM, Thomas Broyer t.bro...@gmail.com wrote: On 26 juin, 11:14, Andrew Hughes ahhug...@gmail.com wrote: What do you mean

Re: Creating tr / td's with UiBinder, how?

2010-06-26 Thread Andrew Hughes
for the suggestion tho. On Sat, Jun 26, 2010 at 4:32 AM, Chris Boertien chris.boert...@gmail.comwrote: wrap it with g:HTML or g:HTMLPanel On Fri, Jun 25, 2010 at 9:22 AM, Andrew Hughes ahhug...@gmail.com wrote: I want a template that produces a tr. The following doesn't work, but it's

Re: Creating tr / td's with UiBinder, how?

2010-06-26 Thread Andrew Hughes
What do you mean by parsing? Is this done by the UiBinder parsing the ui.xml templates to generate impl code? On Sat, Jun 26, 2010 at 8:32 AM, Thomas Broyer t.bro...@gmail.com wrote: On 25 juin, 17:22, Andrew Hughes ahhug...@gmail.com wrote: I want a template that produces a tr

Re: A design pattern for widgets in the MVP - GIN - UiBinder paradigm.

2010-06-25 Thread Andrew Hughes
I don't entirely understand everything you have said reading between the lines I think there's some information that could be helpful (but I might be wrong) Gin won't change your architecture or the MVP pattern, but it does drastically reduce boilerplate. A common problem with many

Creating tr / td's with UiBinder, how?

2010-06-25 Thread Andrew Hughes
I want a template that produces a tr. The following doesn't work, but it's what I was hoping for... !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui tr tdg:Label

Re: MVP with EventBus question

2010-06-25 Thread Andrew Hughes
Yeah, the one problem with UiBinder and MVP is this pattern collision UiBinder says, view are directly attached to views. MVP says, view's are attached to presenters, if you want to chain views the presenters control this. Consequently, you can't get UiBinder to create your @UiFields (i.e.

Re: UIBinder Benefits?

2010-06-24 Thread Andrew Hughes
, On Jun 22, 3:36 pm, Andrew Hughes ahhug...@gmail.com wrote: Almost all of the problem's listed below are bad advice and I suggest you disregard them. Do you, or others, have any valid arguments (opinions are no valid arguments) I am not going to do things the wrong or the poor way just

Re: UIBinder Benefits?

2010-06-22 Thread Andrew Hughes
Almost all of the problem's listed below are bad advice and I suggest you disregard them. Except for the it's a graphic designer mindset - this statement is correct. Thankfully we no longer need to code our layout and style in java! The main problem I have with UiBinder is that when you try and

Re: Re-Using .gwt-DialogBox .Caption in UiBinder, how?

2010-06-21 Thread Andrew Hughes
=Panel Title / /g:SimplePanel g:Label text=content goes here/g:Label /g:VerticalPanel /g:DecoratorPanel /ui:UiBinder On Mon, Jun 21, 2010 at 12:09 PM, Andrew Hughes ahhug...@gmail.com wrote: Hi Guys, I'd really like to re-use the .gwt-DialogBox .Caption style outside of a DialogBox. We have

Re-Using .gwt-DialogBox .Caption in UiBinder, how?

2010-06-20 Thread Andrew Hughes
Hi Guys, I'd really like to re-use the .gwt-DialogBox .Caption style outside of a DialogBox. We have a bunch of widgets and raw html inside UiBinder that we'd like to have styled the same way (for consistency of course). Here's a BROKEN example: !DOCTYPE ui:UiBinder SYSTEM

Re: GWT with Mave

2010-06-15 Thread Andrew Hughes
Create your maven project like this.. http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.html http://mojo.codehaus.org/gwt-maven-plugin/user-guide/archetype.htmlThen run the dev mode with the goal 'gwt:run' On Tue, Jun 15, 2010 at 11:57 PM, Subhrajyoti Moitra subhrajyo...@gmail.com

Re: Optimizing Dev Module with user.agent?

2010-06-01 Thread Andrew Hughes
Thanks Thomas, that's a really concise and helpful response :) On Mon, May 31, 2010 at 6:03 PM, Thomas Broyer t.bro...@gmail.com wrote: On 31 mai, 04:27, Andrew Hughes ahhug...@gmail.com wrote: Hi, I'm told that dev mode run's directly against java classes. Could I expect reduced

Optimizing Dev Module with user.agent?

2010-05-30 Thread Andrew Hughes
Hi, I'm told that dev mode run's directly against java classes. Could I expect reduced compile+build times by specifying my specific user.agent when running in dev mode? Is the user.agent even used when running in dev mode? Cheers. p.s. example: Firefox Only (from gwt.xml): set-property

Re: Where is com.google.gwt.core.client.prefetch.Prefetcher?

2010-05-22 Thread Andrew Hughes
, Andrew Hughes ahhug...@gmail.com wrote: Hi All, I've having a look at the source for the GWT Showcase samplehttp://code.google.com/p/google-web-toolkit/source/browse/#svn/trunk/samples/showcase. For the purposes of good and not evil I grabbed all the source and dragged it out into my own

Where is com.google.gwt.core.client.prefetch.Prefetcher?

2010-05-21 Thread Andrew Hughes
Hi All, I've having a look at the source for the GWT Showcase samplehttp://code.google.com/p/google-web-toolkit/source/browse/#svn/trunk/samples/showcase. For the purposes of good and not evil I grabbed all the source and dragged it out into my own project. However, I am unable to resolve a

Re: GWT + checking if user is logged in + Http session handling?

2010-04-30 Thread Andrew Hughes
Hey, My advice would be to focus more on a server side solution and not GWT (javascript). Your application server (tomcat, jetty, websphere, glassfish, jboss... or maybe even httpd - whatever you are using) would have the ability to secure url's. It also has the ability to prompt for passwords,

Re: new GWT MVP article (part 2)

2010-04-28 Thread Andrew Hughes
There is quite a serious collision between the MVP pattern and the (super cool) UiBinder. Presenters don't know what their concrete view is, all they know is the view interface has a asWidget() method. This seems like a logical separation. MVP says presenters shouldn't know HOW they are visually

Non-Anonymous UIBinding without @UIField(provided=true), How?

2010-04-11 Thread Andrew Hughes
Hi Guys, Sure, it's easy with UIBinder to add an anonymous/on the fly child widget without declaring '*...@uifield Label blah;*' in the java class or *'** ui:Field=blah' *in the ui.xml template. For example, here there is no '*...@uifield Label blah;*' in the java class and there is no

Re: Where is GWT's Default CSSResource?

2010-04-06 Thread Andrew Hughes
images aren't from css but instead are part of a ResourceBundle. Look in at the top of the Tree class, you'll see the default ImageAdapter which refers to the png files in com.google.gwt.user.client.ui/doc-files. On Apr 5, 11:31 pm, Andrew Hughes ahhug...@gmail.com wrote: Hi All, I would like

Re: Generated CSSResource not injected when using UIBinder

2010-04-05 Thread Andrew Hughes
I think this was a bug, try 2.0.3 and please let others know if this fixes your problem :) On Tue, Apr 6, 2010 at 6:05 AM, lineman78 linema...@gmail.com wrote: I just compiled this and the problem seems to only exist in hosted mode. On Apr 5, 2:25 pm, lineman78 linema...@gmail.com wrote:

Where is GWT's Default CSSResource?

2010-04-05 Thread Andrew Hughes
Hi All, I would like to re-use some of the image's found in GWT's default theme. Specifically, I need a reference to the + and - png's that are found on tree lists. See them here: http://gwt.google.com/samples/Showcase/Showcase.html#!CwTree How can I reference these images from CSS and from

Re: Can UIBinding's auto-fit LayoutPanel components?

2010-02-23 Thread Andrew Hughes
Thanks István, This sucks, really sucks! If you want to run best fit gwt gui's for mobile, desktop, 16:9, 4:3, 5:4 screens then you are going to encounter serious problems. We're not facing these problems, but we will have different widget's appearing depending on ACL roles (and hence the layout

Re: Paths for UiBinder Template and associated owner Java Class

2010-02-23 Thread Andrew Hughes
Considering we use the g: panel's and widgets and provide our own customized unique ui.xml (in a different location). It would seems highly likely. Maybe the GWT source code is worth a look to see how it does it.

Re: UIBinder + MapWidget

2010-02-23 Thread Andrew Hughes
You could try putting the MapWidget inside and AbsolutePanel. FWIW: MapWidget's tend to dislike dynamic layout / rezising. Without knowing how the bindings are applied at runtime it *could* be affecting this. For this reason you will find two methods:

Re: standard overrides own css no matter what?

2010-02-23 Thread Andrew Hughes
guess: perhaps it's the order in which the css files are listed and thus loaded. On Sun, Feb 21, 2010 at 3:44 AM, Pico zurmu...@gmail.com wrote: Hi all, I'm quite new to GWT. I'm currently facing an annoying issue with the standard css overriding my own one no matter what. In reference

Re: style problems

2010-02-23 Thread Andrew Hughes
hi, might I suggest you take a look at this in firebug (or chrome's debug console). It should allow you to see if the css has been loaded. If it has not, then there is no style to apply (the browser does not consider this to be an error). on the other hand, I think client bundles now have the

Re: Can UIBinding's auto-fit LayoutPanel components?

2010-02-23 Thread Andrew Hughes
use divs! The first row will fit its height to its contents. In that case you can assign the second row some fixed height. Chris On Feb 23, 11:32 am, Andrew Hughes ahhug...@gmail.com wrote: Thanks István, This sucks, really sucks! If you want to run best fit gwt gui's for mobile

Re: UIBinder + MapWidget

2010-02-23 Thread Andrew Hughes
well with dynamic sizing using non-UIBinder GUI layout. On Feb 23, 5:44 am, Andrew Hughes ahhug...@gmail.com wrote: You could try putting the MapWidget inside and AbsolutePanel. FWIW: MapWidget's tend to dislike dynamic layout / rezising. Without knowing how the bindings are applied

Resizing Events for % Sized Widgets/Panels?

2010-02-18 Thread Andrew Hughes
Hi All, I've got... myWidget.setSize(100%,100%); The actualy size of this can change dynamically, as it's a % and not absolute. For example: + other content is added to the dom + the css style is changed + a split panel is moved by the user + the browser window size changes --- ignore this, we

Re: Maven users survey

2010-02-04 Thread Andrew Hughes
Any improvements in GWT-Maven support from Google would be excellent! Google are 'maven friendly' :) THANKS KEITH AND OTHERS! I can't speak highly enough of Maven. It's an instant injection of mature engineering practices for projects and companies alike. It's a shame it has becoming

Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-01-31 Thread Andrew Hughes
Thanks for everyone's replies. I'm still not sure what the fundemental differences are between the 2.5 options above. The following appears to be the case: - GXT superseed's the GWT-Ext (as GWT-Ext is no longer under active development), so really this concludes that GWT-Ext is not a