[gwt-contrib] Re: Last call for GWT 2.8.2 patches, and testers needed!

2017-10-04 Thread Drew Spencer
I'm happy to test On Tuesday, 3 October 2017 11:28:48 UTC+1, Colin Alworth wrote: > > As you can see from https://github.com/gwtproject/gwt/milestone/18, GWT > 2.8.2 is almost ready to go! This release is important to get out for > several reasons: > > * Supports running the compile on Java 9

Re: Drag and Drop in GWT

2017-01-25 Thread Drew Spencer
Check out https://github.com/fredsa/gwt-dnd :) On Monday, 23 January 2017 16:54:29 UTC, Ani wrote: > > HI > I am working on a Diagram editor with GWT. The requirement is to be able > to drag from a palette and draw and connect different shapes. > So using a Canvas component for the drawing

Re: GWT2.8 : org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

2016-10-10 Thread Drew Spencer
Hey guys, this might help you. I had an issue with an old Xerces on the path before: http://stackoverflow.com/questions/38457973/cant-compile-gwt-app-using-2-8-0-snapshot-and-java-8-with-gwt-maven-plugin Happy coding! Drew On Monday, 10 October 2016 16:10:08 UTC+1, Ian Whyman wrote: > > Hi

Re: Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-08-19 Thread Drew Spencer
The SDM recompile happens first time, it's just that when I reload the page I see the "skipped compile because no input files have changed" message. I think I have a similar problem to this: http://stackoverflow.com/questions/27433642/gwt-superdevmode-fails-to-see-changes but if I remove

Re: Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-08-18 Thread Drew Spencer
And that doesn't work :( On Thursday, 18 August 2016 19:15:09 UTC+1, Drew Spencer wrote: > > Hmm, it seems app engine is fine - tried it again after clearing cache and > it runs fine. SDM seems to work, but it's not recompiling when I make a > change to a page and refresh. Very

Re: Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-08-18 Thread Drew Spencer
Hmm, it seems app engine is fine - tried it again after clearing cache and it runs fine. SDM seems to work, but it's not recompiling when I make a change to a page and refresh. Very odd. trying with incremental=true now... On Thursday, 18 August 2016 19:01:11 UTC+1, Drew Spencer wrote: >

Re: Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-08-18 Thread Drew Spencer
<https://www.google.com/url?q=https%3A%2F%2Fmaven.apache.org%2Fguides%2Fintroduction%2Fintroduction-to-optional-and-excludes-dependencies.html=D=1=AFQjCNGFBopR-7dUoBR9Uf7fVS2hlKpANQ> > > On Thursday, August 18, 2016 at 10:20:28 AM UTC-7, Drew Spencer wrote: >> >> Thanks for the

Re: Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-08-18 Thread Drew Spencer
August 18, 2016 at 5:54:12 AM UTC-7, Drew Spencer wrote: >> >> Hey all, I have recently changed the structure of my project to separate >> client, server and shared code into their own maven projects (modules). >> >> I am getting a HTTP Error 500 rel

Problems connecting to Super Dev Mode server with 2.8 / multi-module project

2016-08-18 Thread Drew Spencer
Hey all, I have recently changed the structure of my project to separate client, server and shared code into their own maven projects (modules). I am getting a HTTP Error 500 related to the Servlet API: *java.lang.NoSuchMethodError:

Re: GWT, App Engine and Google Cloud Vision API demo - with a taste of material design

2016-03-15 Thread Drew Spencer
Thanks for this. I'm interested in seeing how you access the camera on mobile devices as that's something I'd like my app to do eventually. On Thursday, 10 March 2016 20:43:42 UTC, Gilberto wrote: > > There you go: https://github.com/gilberto-torrezan/feel-vision > -- You received this message

Re: GWT 2.8 with App Engine on Java 7

2016-03-15 Thread Drew Spencer
I've had the same problem - was using GWT 2.8 and playing with a few lambdas and such in my GWT code, and even though there was no Java 8 code in my /server package, something (probably the target version in the pom.xml) stopped the maven plugin from deploying, so I had to revert. Fingers

Re: Multiple cell Renderers (or composite cells with UiRenderer/UiHandler)

2015-10-14 Thread Drew Spencer
, and they seem to have fallen out of favor > anyway. > > > On Mon, Oct 12, 2015 at 6:05 AM Drew Spencer <slugm...@gmail.com > > wrote: > >> Argh, I hate finding a (1 year old) post that asks exactly my question >> but has no answers! >> >> Did

Re: Multiple cell Renderers (or composite cells with UiRenderer/UiHandler)

2015-10-12 Thread Drew Spencer
Argh, I hate finding a (1 year old) post that asks exactly my question but has no answers! Did you find a nice solution to this in the end? I'd be interested to hear what you came up with or any advice anyone might have. On Thursday, 16 October 2014 13:50:12 UTC+1, Shaun Tarves wrote: > > I

Re: JSInterop sample / tutorial?

2015-07-20 Thread Drew Spencer
Any news on this buddy? I would like to learn JsInterop. Any help or pointers appreciated Drew On Monday, 8 June 2015 12:29:10 UTC+1, Cristian Rinaldi wrote: Estimated I have the outdated projects these days will change the versions and write a tutorial. El martes, 27 de enero de

Re: JSInterop sample / tutorial?

2015-06-05 Thread Drew Spencer
I get the same error. Difficult to look for help as Codehaus is closing down. Odd as in my other projects I never specify that parameter. On Wednesday, 28 January 2015 08:12:59 UTC, marian lux wrote: For example I can't run the project https://github.com/workingflows/gwt-jscore.git

Re: GWT rich text editor

2015-05-11 Thread Drew Spencer
I'll throw this into the mix:http://gwtbootstrap3.github.io/gwtbootstrap3-demo/#summernote On Thursday, 9 April 2015 09:32:56 UTC+1, Stig Runar Vangen wrote: I am looking for a GWT based rich text editor for use in an application. My search has not been successful, as all the editors I've

Re: GWT 2.7.0 is here

2014-11-25 Thread Drew Spencer
I find the source maps works sometimes, but sometimes not. I've heard other say the same as well. Haven't been able to reproduce it with any level of consistency either so who knows what's causing it! On Monday, 24 November 2014 23:17:56 UTC, jaga wrote: Yes. I noticed it needs double the

Re: GWT 2.7.0 is here

2014-11-24 Thread Drew Spencer
I'm really not sure. I just run mvn gae:deploy which runs my tests, compiles if needed and then completes the interaction with the server. If I deploy using 2.6.1 it's fine, it's just a bit annoying as I have to do a total clean time I switch between 2.7 and 2.6.1. Meh On Friday, 21 November

Re: GWT 2.7.0 is here

2014-11-24 Thread Drew Spencer
Hmm, in my appDir I have a project.nocache.js and a project.devmode.js. Not sure If I can exclude them though as they are generated at compile time aren't they? Surely I can't be the only one with this problem? Drew On Monday, 24 November 2014 08:56:02 UTC, Drew Spencer wrote: I'm really

Re: GWT 2.7.0 is here

2014-11-21 Thread Drew Spencer
Awesome! Thanks so much to all the guys working on this. You are legends. Quick question - has anyone had any problems with deploying to appengine using the maven-gae-plugin? I tried a couple of times with 2.7rc1 and when I tried to load the deployed version it seemed to be looking for the dev

Re: Upload a file using Drag and Drop on the Browse button in the Browser

2014-10-31 Thread Drew Spencer
Hi Surinaidu! I can tell you how I do it. Define a ChangeHandler like this: ChangeHandler changeHandler = new ChangeHandler() { @Override public void onChange(ChangeEvent event) { uploadFile(); } }; In my View I have the FileUpload field called 'uploadField'. I simply

Re: Editor Framework for Polymorphic types

2014-10-31 Thread Drew Spencer
I added a comment with a link to another SO question. One of my own in fact. Hope it helps. Drew On Thursday, 30 October 2014 16:00:21 UTC, Arpit wrote: Details in this SO post: http://stackoverflow.com/questions/26656370/gwt-editor-framework-for-polymorphic-types Main issue with the

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-21 Thread Drew Spencer
I'm using the snapshot since yesterday and it seems to be working great. On Saturday, 18 October 2014 01:02:35 UTC+1, Thomas Broyer wrote: On Sat, Oct 18, 2014 at 12:26 AM, Thomas Broyer t.br...@gmail.com javascript: wrote: On Friday, October 17, 2014 10:58:49 AM UTC+2, Thomas Broyer

Re: Putnami Web Toolkit 1.1, a productive and powerful GWT Framework

2014-10-21 Thread Drew Spencer
Sounds great. Your databinding does look very interesting. When I get to the point of adding validation to all of my editors (still in development) I will look at PWT properly and think about switching widget sets. My main concern is that I don't want to be bound to one framework too much, so

Re: setspacing for HorizontalPanel and VerticalPanel does not seem to work?

2014-10-21 Thread Drew Spencer
I think you made the incorrect assumption I once did - that calling setspacing() in those panels would set the spacing between all elements inside them. It doesn't, it just adds space around the whole panel. See this question:

Re: setspacing for HorizontalPanel and VerticalPanel does not seem to work?

2014-10-21 Thread Drew Spencer
to the horiz- / vertical- panel; 2. it used to work (some older versions) and it does not work somehow now!! Weihua On Tuesday, October 21, 2014 10:52:02 AM UTC+2, Drew Spencer wrote: I think you made the incorrect assumption I once did - that calling setspacing() in those panels would set

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Drew Spencer
Hmm, I don't think I can update the maven version in Eclipse properly - on 'Installations' page it says Embedded runtime is always used for dependency resolution. Can we switch to gradle? :D On Friday, 17 October 2014 01:07:49 UTC+1, Brandon Donnelson wrote: It appears that the

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Drew Spencer
, 2014 at 10:31 AM, Drew Spencer slugm...@gmail.com javascript: wrote: Hmm, I don't think I can update the maven version in Eclipse properly - on 'Installations' page it says Embedded runtime is always used for dependency resolution. Can we switch to gradle? :D On Friday, 17 October 2014 01

Re: Putnami Web Toolkit 1.1, a productive and powerful GWT Framework

2014-10-17 Thread Drew Spencer
It looks really interesting. Congratulations! Is there any information on how it could integrate with other frameworks? If we just wanted to use some of the widgets, or the databinding features for example? On Tuesday, 14 October 2014 11:03:20 UTC+1, Putnami wrote: Hi All, Putnami Web

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Drew Spencer
FWIW my app seems to compile and run ok using gwt-maven-plugin 2.6.1 with gwt 2.7.0-SNAPSHOT... gwt:run launched the codeserver and the auto recompile seems to be working :) On Friday, 17 October 2014 08:55:07 UTC+1, salk31 wrote: Hi Thomas, Thanks, I'm up and running again with dependency

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Drew Spencer
and dependencies are done with 3.2.1 as far as I can tell. On Friday, 17 October 2014 15:40:45 UTC+1, Brandon Donnelson wrote: Hi Drew, what version of maven are you using? mvn -version? On Friday, October 17, 2014 2:58:03 AM UTC-7, Drew Spencer wrote: FWIW my app seems to compile and run ok using

Re: Putnami Web Toolkit 1.1, a productive and powerful GWT Framework

2014-10-17 Thread Drew Spencer
Hey Fabien, Well, I use GWTP, plus GWT-Bootstrap, and I use the editor framework A LOT. I'm thinking of moving from GWT-Bootstrap to GwtBootstrap3 as some point, I've heard there are better databinding solutions than the editor framework but I've invested a lot of time in it already. So... to

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Drew Spencer
I think I'm getting two errors relating to the bugs in the POM that Thomas mentions above: [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.7.0-SNAPSHOT:compile (default-cli) on project UsavAppV7: Failed to resolve artifact: Some problems were encountered while processing

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Drew Spencer
I'm using Eclipse Kepler with m2e 1.4.0.2xx. I think my maven version is 3.0.4 - it's the one that came embedded with eclipse. I'll try the new eclipse and see what that says. On Thursday, 16 October 2014 10:38:27 UTC+1, Thomas Broyer wrote: On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Drew Spencer
://oss.sonatype.org/content/repositories/google-snapshots//url as a pluginRepository ? Where do you deploy the latest gwt-maven snapshot to sonatype or codehaus ? On Thursday, October 16, 2014 11:38:27 AM UTC+2, Thomas Broyer wrote: On Thu, Oct 16, 2014 at 11:10 AM, Drew Spencer slugm

Re: ListBox vs ValueListBox

2014-09-03 Thread Drew Spencer
Yes there is. Simply attach a ValueChangeHandlerT to the first ValueListBoxT, and then implement the code to change the values on the second one inside the onValueChange() method. You'll need to call setAcceptableValues() on the second box with whatever you want in there. On Wednesday, 3

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Drew Spencer
Get the metrics 2 plugin: http://metrics.sourceforge.net/ I think this will do exactly what you want. On Tuesday, 13 May 2014 08:37:33 UTC+1, Tom wrote: Does GWT 2.5 provide a tool to count total lines of code of a GWT project? I installed GWT2.5 in eClipse Juno, in Client package I have

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Drew Spencer
, 2014 7:27:38 PM UTC+10, Drew Spencer wrote: Get the metrics 2 plugin: http://metrics.sourceforge.net/ I think this will do exactly what you want. On Tuesday, 13 May 2014 08:37:33 UTC+1, Tom wrote: Does GWT 2.5 provide a tool to count total lines of code of a GWT project? I installed

Re: How to count total lines of code of a GWT project?

2014-05-13 Thread Drew Spencer
9:08:48 PM UTC+10, Drew Spencer wrote: That doesn't sound like expected behaviour. I would guess there is something else wrong with your installation of eclipse if the GUI is getting all messed up like that after a very simple plugin is installed. I've never had any such problems. Maybe

Re: Opensourcing some of our GWT libraries

2014-04-25 Thread Drew Spencer
+1 Thanks for sharing. On Friday, 25 April 2014 02:24:40 UTC+1, Alain wrote: Hello folks, Here are some of the GWT tools we use internally. It goes from Ext JS, Sencha Touch, Flex,Google Maps, PhoneGap, Titanium, till Node JS(Node Webkit). We hope you found them useful.

Re: The Future of GWT Report 2012 Published

2012-12-06 Thread Drew Spencer
Here here. We're meant to be building an open source community. Open, free, for everyone. Please make the pdf available on a public link so we can download it anonymously. On 5 Dec 2012 20:48, RAlfoeldi ralfoe...@gmail.com wrote: This survey is based on data collected from GWT users and should be

Re: The Future of GWT Report 2012 Published

2012-12-06 Thread Drew Spencer
Here here. We're meant to be building an open source community aren't we? Open, free, for everyone. Please make the pdf available on a public link so it can be downloaded anonymously, Vaadin. On 5 Dec 2012 20:48, RAlfoeldi ralfoe...@gmail.com wrote: This survey is based on data collected from

Re: TextBox with pre-filled suggestion

2012-12-06 Thread Drew Spencer
Wow, when I think of the hassle I went through writing JS to do this on my site a few years ago, and now HTML5 makes it that easy now! I shouldn't be bitter, but I am :) On Wednesday, 5 December 2012 10:27:25 UTC, dcheeky77 wrote: I confirm that both solutions worked!! Thank you very much!

Re: The Future of GWT Report 2012 Published

2012-12-05 Thread Drew Spencer
I agree with the others who think the email address requirement is a little over the top. You'd spread more copies by making it free, but I guess you want emails. On Tuesday, 4 December 2012 17:33:55 UTC, nicolas marchais wrote: Maybe it's Jukito : http://code.google.com/p/jukito/ Le mardi

Re: How to clear fields of editors?

2012-11-02 Thread Drew Spencer
Thanks guys! I think I will call edit() on a new instance, as this is a nice way of doing it. Also, are there significant benefits to re-using an editor? Mine is declared as final at the top of my view, then in edit() I am calling driver.initialize() and then driver.edit(object). That means

How to clear fields of editors?

2012-11-01 Thread Drew Spencer
Hi coders, I have recently implemented some editors in my app, and am planning on using them for all editing of beans from now on. For each object (say Account, for example) I have an EditAccountPresenter, which can be used to a) create a new Account from scratch, or b) edit the details of an

Re: How to clear fields of editors?

2012-11-01 Thread Drew Spencer
Forgot to ask... is calling edit(new Account()) an acceptable way to do this? Thanks On Thursday, 1 November 2012 15:35:34 UTC, Drew Spencer wrote: Hi coders, I have recently implemented some editors in my app, and am planning on using them for all editing of beans from now on. For each

Re: Could not load GWT DMP Plugin

2012-10-24 Thread Drew Spencer
Thank you Brian! All working now. On Wednesday, 24 October 2012 00:53:48 UTC+1, Brian Slesinsky wrote: A new version is now live in the Chrome store. The only difference is that the Windows version is statically linked. I don't have a sufficient number of Windows machines available for

Re: Could not load GWT DMP Plugin

2012-10-23 Thread Drew Spencer
Same here. This is a little disappointing, also my message above got deleted for some reason. On Tuesday, 23 October 2012 09:28:16 UTC+1, Justin Kames wrote: Never had problems with GWT plugin up untill new update! Win 7 version 22.0.1229.94 m Reinstalled chrome/ reinstalled developer

Re: GWT Bean Validation doubts

2012-10-23 Thread Drew Spencer
I think we would all be very grateful for some comprehensive documentation on the use of the validation framework for the front and back ends. Also the editor framework. I don't get how I'm meant to build a full, complex app without understanding these features fully, and current docs are

Re: Could not load GWT DMP Plugin

2012-10-23 Thread Drew Spencer
, October 22, 2012 5:49:24 AM UTC-7, Drew Spencer wrote: Same here. Glad I'm not the only one. I'm on Windows as well, using v22 of Chrome. Bah! On Saturday, 20 October 2012 21:08:44 UTC+1, seas wrote: Started getting 'Could not load GWT DMP Plugin' yesterday when I start my app from

Re: GWT 2.5 RC2 Is Here!

2012-10-22 Thread Drew Spencer
I have to agree with Milan here. We really could do with more tutorials and examples for the more complex features like validation and editors. Most of the time the best we get are fragments of code, half examples and javadocs. If you aren't a super programmer with lots of experience then it's

Re: Could not load GWT DMP Plugin

2012-10-22 Thread Drew Spencer
Same here. Glad I'm not the only one. I'm on Windows as well, using v22 of Chrome. Bah! On Saturday, 20 October 2012 21:08:44 UTC+1, seas wrote: Started getting 'Could not load GWT DMP Plugin' yesterday when I start my app from Eclipse using Chrome. Happening on both work and home

Re: Chrome 15, GWT DMP Plugin crashes

2012-10-22 Thread Drew Spencer
Cheers for the link. On Sunday, 21 October 2012 07:28:11 UTC+1, John Patterson wrote: BTW, just save it on your desktop and turn off auto-update or it will be replaced with the broken new version as soon as you restart it. On Sunday, 21 October 2012 12:59:08 UTC+7, John Patterson wrote:

Re: Editor with ListBox in UiBinder

2012-09-13 Thread Drew Spencer
Thanks for the reply. So, I guess I will wait until 2.5 comes out and see whether there are any changes made in the near future. I can live with a null value there for a while as it's only in development stage. You guys are great. Drew On Wednesday, 5 September 2012 16:18:24 UTC+1, Jens

Re: Editor with ListBox in UiBinder

2012-09-05 Thread Drew Spencer
on it as it needs a return value. Thanks On Wednesday, 5 September 2012 09:02:10 UTC+1, Ümit Seren wrote: valueBox.setAcceptableValues(ListEntityProxy values); On Tuesday, September 4, 2012 1:32:37 PM UTC+2, Drew Spencer wrote: Did you guys get anywhere with this? I'm learning the Editor

Re: Editor with ListBox in UiBinder

2012-09-05 Thread Drew Spencer
: PersonPresenter: @Override protected void onBind() { super.onBind(); // this would be replaced with a call to datastore Address address = new Address(447a Archway Road, Highgate, N6 4HT, Scotland); // Scotland is the state Person person = new Person(1, Drew, Spencer, address); getView().edit(person

Re: Editor with ListBox in UiBinder

2012-09-04 Thread Drew Spencer
Did you guys get anywhere with this? I'm learning the Editor Framework and my ValueListBox only contains the actual value - how do I make it so that I populate the list with a predefined set of values, and select the actual value as selected? I'm using GWTP. My code for my UiFactory:

Re: Is it bad practice to use links like #viewObject104 instead of eventBus.fireEvent(viewObjectEvent(id)) ?

2012-02-10 Thread Drew Spencer
Thanks Kev, I think I'm getting the idea now, and should be at the point soon where I NEED to fire an event - like you say containing a proper object instead of just an id. I only found myself asking this question because I wanted to add the ID to the history token, so it seemed logical to do

Re: Is it bad practice to use links like #viewObject104 instead of eventBus.fireEvent(viewObjectEvent(id)) ?

2012-02-10 Thread Drew Spencer
I was adding a history token in a function being called by the event! So much boilerplate! Cheers -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Is it bad practice to use links like #viewObject104 instead of eventBus.fireEvent(viewObjectEvent(id)) ?

2012-02-09 Thread Drew Spencer
Hi coders, Hopefully the subject explains the question enough but here's a bit of background. I have been using events for pretty much everything, but while searching for a better way than using ButonCell in my CellTable, I discovered that using SafeHtml I could generate an anchor with a

Re: Using the Force.com App Engine connector to pass data to the client side

2012-02-03 Thread Drew Spencer
Just thought I'd post an update here as I solved this problem The problem was not at all that I couldn't pass data to the client side. You can indeed create a regular RPC Service which makes calls to the Force.com api instead of the datastore, then pass this data to the client as a list or

Re: MVP framework

2012-02-03 Thread Drew Spencer
I had this problem for ages. I think for a beginner you are best learning to do it from scratch as described here: http://code.google.com/webtoolkit/articles/mvp-architecture.html It's a lot to get your head around, it took me weeks and weeks to really get what was going on. Everyone has

Using the Force.com App Engine connector to pass data to the client side

2012-01-27 Thread Drew Spencer
Hey coders, I've been playing around with the example here: http://wiki.developerforce.com/page/Force.com_for_Google_App_Engine_Setup_Guide_Java I managed to get it working, and it pulls in a list of my salesforce.com accounts and writes them to the page. However, for someone using GWT as

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-26 Thread Drew Spencer
I actually just switched to using ListDataProvider instead of just calling setData() every time something is removed or added. I was basically reloading the presenter every time something changed. So my understand is that with ListDataProvider I only have to remove the item from

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-26 Thread Drew Spencer
On Thursday, 26 January 2012 14:49:59 UTC, Patrick Tucker wrote: You should be able to watch your traffic to see whether or not the browser is returning a cached copy of the result. What browser are you using? Using Chrome. I deployed the app earlier to test it live and it seems to work

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-24 Thread Drew Spencer
Thanks a lot for the reply, Eric! It really is appreciated. I have actually been replacing the CellTable with FlexTable as I said I would, but on the way realised that I could access my eventBus without passing it in to the view. I have a singleton instance of my app so where TheApp.java is my

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-24 Thread Drew Spencer
It's a weird one, this. It does seem much easier to have deleteButtons.setFieldUpdater(new FieldUpdaterSupplierFile, String() { @Override public void update(int index, SupplierFile object, String value) { TheApp.get().getEventBus().fireEvent(new

Re: Example of code using Data Grid of GWT2.4

2012-01-24 Thread Drew Spencer
It would seem from the Javadocs that DataGrid is almost analogous to CellTable, just that it implements one extra interface: RequiresResizehttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/RequiresResize.html . Try swapping out your CellTable for DataGrid

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-24 Thread Drew Spencer
Cheers for that Eric. So you are adding the index of the row to the payload of your DeleteEvent? I actually just switched to using ListDataProvider instead of just calling setData() every time something is removed or added. I was basically reloading the presenter every time something changed.

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-20 Thread Drew Spencer
I'm starting to think I'm using a sledgehammer to crack a nut here... gonna try using a FlexTable and attach a ClickHandler to the delete link in each row. Maybe when I'm better at GWT I can switch it to CellTable. -- You received this message because you are subscribed to the Google Groups

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-20 Thread Drew Spencer
Eric, do you have a way to sort the FlexTable by a particular column? That's gonna be an issue for me so if you have any code or tips that would be great. Maybe it's a case of writing a custom function? Thanks -- You received this message because you are subscribed to the Google Groups Google

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-19 Thread Drew Spencer
Hey Patrick, The thing with setFieldUpdater is that I can't work out how to access it from the Presenter. If I add something like HasCellT, C getDeleteColumn() to the interface my view implements, I can only access getFieldUpdater, not setFieldUpdater. In honesty the whole CellTable thing

Re: Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-17 Thread Drew Spencer
OK, I am making some headway with this. I realised I was going the wrong way about it needed to attach some kind of handler in the presenter, and found CellPreviewHandler. So I added this in to my presenter: display.getFilesTable().addCellPreviewHandler(new HandlerSupplierFile() { @Override

Re: GWT CellTable distorts when window is minimized or maximized...

2012-01-16 Thread Drew Spencer
Stop using IE7? Stop using IE8 and 9 too, but first of all stop using IE7. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/QLo-u1RDR2sJ. To post

Making RPC calls from a CellTable ButtonCell using MVP pattern

2012-01-16 Thread Drew Spencer
Hi coders, I've been working on an that uses to blobstore to save files and then serve them to users. in a CellTable by creating it and all of its columns in the view (Filename | DownloadButton | DateUploaded | DeleteButton) and then dropping it into a panel after construction.

Making an RPC call from a CellTable ButtonCell in a view (MVP pattern)

2012-01-16 Thread Drew Spencer
Hi coders, I've been working on an app that uses the blobstore to save files and then serve them to users. They are shown in a CellTable by creating it and all of its columns in the view (Filename | DownloadButton | DateUploaded | DeleteButton) and then dropping it into a panel after

Re: MVP in terms of UI and View

2012-01-16 Thread Drew Spencer
I think you'll find help on the Dumb Views thing here: http://code.google.com/webtoolkit/articles/mvp-architecture-2.html although I don't really understand it fully myself yet. It seems to be further splitting the view into two parts to avoid the view getting too 'smart'. -- You received

Re: How to implement admin features/sections in app

2011-12-01 Thread Drew Spencer
Hey everyone, and thanks again for the help. You have all given me lots of advice on security, which is something I don't have much experience on, so it's greatly appreciated. I am securing my server-side calls at the moment, and decided that as there will be only one or two admin users, it

Re: The requested URL was not allowed

2011-11-30 Thread Drew Spencer
Just been having this problem, I think. I have an app at http://usavtestapp1.appspot.com/ and I only want my app available for my Google Apps users. We already have our main website at our domain: http://utilitiessavings.co.uk - Can I host it on a subdomain or a subfolder of that domain? Am I

Re: How to implement admin features/sections in app

2011-11-28 Thread Drew Spencer
Hi guys, and thanks for the answers. So it seems the answers you have given are two-fold. I hadn't really got to thinking about securing the server yet as I am just building a prototype and still learning as I go. However, now seems as good a time as any to secure the RPC calls. Would

Re: a mistake when set backgroun-color value

2011-11-28 Thread Drew Spencer
Yeah, cueman is right. You need to use camelCase ing GWT. But jQuery can accept both types: *jQuery can equally interpret the CSS and DOM formatting of multiple-word properties. For example, jQuery understands and returns the correct value for both .css({'background-color': '#ffe',

How to implement admin features/sections in app

2011-11-25 Thread Drew Spencer
Hey coders, I'm building an app at the moment that will have regular users and administrators. The part I am building atm is an intranet-like section that allows the admins to upload files to the blobstore (also using app engine), so that users can download them. I have been using MVP with

Active GWT websites/blogs/tutorials

2011-08-16 Thread Drew Spencer
Hey all, I was thinking it would be good if we created a post with any useful resources all in one place. I keep finding little titbits online but the sites rarely seem to be active. If people could post any useful stuff here we can build it into a useful resource. Here are a few to start us

Can I/Should I test my *ServiceImpl class? (GAE+GWT+MVP)

2011-07-14 Thread Drew Spencer
Hey coders, I wonder if anyone can help me. I'm still learning GAE+GWT and trying to get into unit testing as I go along. I have finally managed to get my head around MVP and have written some basic tests to test my presenters, using mock objects for the view and server-side service. All good.

Re: Aw: is there a simpler gwt gae tutorial?

2011-07-07 Thread Drew Spencer
THANK YOU, THANK YOU, THANK YOU! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/IP7UUG1cupoJ. To post to this group, send email to

Re: Aw: is there a simpler gwt gae tutorial?

2011-07-07 Thread Drew Spencer
THANK YOU, THANK YOU, THANK YOU! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/s-BIoHoUHwwJ. To post to this group, send email to

Re: Shortcomings in Places

2011-06-07 Thread Drew Spencer
Hey coders, This might not be the best place to ask, but you all seem to be rather experienced in this 2.1 style MVP structure. I am currently tearing my hair out trying to learn MVP. I went through the contacts.zip example and the new 2.1 style one with Activities and Places. The problem for

Re: Shortcomings in Places

2011-06-07 Thread Drew Spencer
I was on your blog earlier Thomas and I did bookmark it :) , but I feel like I need to learn MVP properly first. I managed to kinda adapt the first MVP tutorial (http://code.google.com/webtoolkit/articles/mvp-architecture.html) to use my objectify data, but I just hated the fact that i needed