Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-24 Thread will0
I can confirm the instructions from Keith work. Thanks so much. I must have spent eight hours trying to figure this out. Will Temperley On Mar 23, 3:37 pm, Keith Platfoot wrote: > Hi Bert, > > I converted the GWT starter app into a Maven project (see attachment), which > might serve as a good st

Re: UiBinder fails after upgrading to gwt 2.1.0

2010-11-04 Thread will0
Same issue as pgraham on Ubuntu 10.04, eclipse 3.6. This doesn't happen for eclipse 3.5 on the same machine. It also works on Windows 7 ultimate 64bit, eclipse 3.6. On Nov 4, 3:36 am, Richard Berger wrote: > OK, this won't help much, but... I was having the same problem just > going through some

Re: Driver Best Practices with CheckBox and RadioButtons

2010-11-09 Thread will0
On Nov 2, 4:00 am, jefe wrote: > All, > > After reviewing the GWT 2.1 Editor/Driverfeatures I've found uses > fields like TextBox or DoubleBox but nothing pertaining to concepts > such as CheckBox or RadioButton. Are there any specific best practices > for providing binding between a bean and a

Re: problem while saving entity with collection while using RequestFactory :"sideEffects":{"DELETE"

2010-11-19 Thread will0
Hi I'm having the same problem. I have a class named Survey which contains a list of SurveyReplicates (see code below). My app edits both the Survey and the SurveyReplicates then sends the whole lot to the server. @Entity public class Survey { . @OneToMany(mappedBy="survey",

Clarification on RequestFactory and one-to-many relationships

2010-11-22 Thread will0
Please could someone confirm whether or not updates to one-to-many relationships are supported by RequestFactory? For example, I have a class named Survey which relates to a list of SurveyReplicates (see code below). My app edits both the Survey and the SurveyReplicates then sends the whole lot t

Re: How to use ListEditor> for a list?

2011-01-25 Thread will0
Hi Bálint, I don't know how to to this with a select box (I'm sure it's possible), but the editor framework is designed to work with the CellList I believe. Say you had a list defined on the entity you want to edit, e.g.: List listOfProxies If you put a HasDataEditor in your editor hierarchy,

Re: How to use ListEditor> for a list?

2011-01-26 Thread will0
retty good! > The data is shown, it can be edited, but the persist() magic doesn't work, > hopefully it will! > Thanks again, your advice was a great help! > > > > > > > > > > On Tue, Jan 25, 2011 at 7:48 PM, will0 wrote: > > Hi Bálint, > > >

Why does CellTable hold on to AsyncDataProvider instances ?

2011-02-11 Thread will0
Hi All I've got a fairly standard gwt 2.1.1 setup, a CellTable which is controlled by an Activity. Each time the Activity is instantiated on a place change, this creates a new AsyncDataProvider. It appears the CellTable keeps a reference to _all_ the AsyncDataProviders it has ever come across

Re: Why does CellTable hold on to AsyncDataProvider instances ?

2011-02-11 Thread will0
Great, thanks, that's what I was looking for. Just this wasn't immediately obvious to me, perhaps because it wasn't mentioned in the docs: http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellWidgets.html#data-provider Best, Will -- You received this message because you are subscribed t

Re: RequestFactory : Persisting List of Child EntityProxies : setting Child Properties to null.

2011-04-05 Thread will0
If you're using the method of obtaining the EntityManager that Google suggest in: http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html i.e. public static final EntityManager entityManager() { return EMF.get().createEntityManager(); } This won't work. RequestFactory wi

TextInputCell and escaping of apostrophes

2011-04-12 Thread will0
Hi - anyone know is there a way to avoid TextInputCells within CellTables from escaping their input when being rendered? I'm having issues with author names having apostrophes in their names escaped. 2.3 M1 Beta Thanks Will -- You received this message because you are subscribed to the Goo

Re: TextInputCell and escaping of apostrophes

2011-04-12 Thread will0
Good news - thanks Thomas! -- 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

FieldUpdater within CellTable still cannot update EntityProxy

2011-04-13 Thread will0
Hello Myself and others have been struggling with updating values in CellTable that is part of an editor hierarchy via a HasDataEditor. Essentially the AutoBean provided to the FieldUpdater is frozen. The Autobeans held by Editors obtained from ListEditor.getEditors() are also frozen. I'm fin

Re: FieldUpdater within CellTable still cannot update EntityProxy

2011-04-13 Thread will0
On Apr 13, 2:01 pm, Thomas Broyer wrote: > This is "by design". The editor framework is built around a "flow > synchronization" > pattern, > where you only modify the edited object when you flush() the editor (each > internal HasDataEditor

Cancelling RequestContext.create()

2011-05-26 Thread will0
Dear all, Considering the following common data structure: ParentProxy { ... List } In our app, the user may change and add a number of ChildProxies as well as ParentProxy properties, then save everything. When I'm creating a new ChildProxy, I call ParentRequestContext.create() to obtai

Re: Is it required to update Eclipse to update GWT ??

2011-06-13 Thread will0
Nope, you can use Eclipse 3.5 http://code.google.com/eclipse/docs/install-eclipse-3.5.html Or 3.4 http://code.google.com/eclipse/docs/install-eclipse-3.4.html Or the nice people at google even support 3.3 http://code.google.com/eclipse/docs/install-eclipse-3.3.html -- You received this message

Re: "secure" widgets

2011-07-08 Thread will0
In protecting the data as David rightly suggests, you can protect the UI by returning SC_UNAUTHORIZED if an unauthenticated user attempts to access any remote service. I've overridden the RequestFactory onResponseReceived function which redirects to a login page if the response is SC_UNAUTHORIZE

Getting absolute paths an Editor from a Violation picked up from RequestContext onViolation

2011-07-08 Thread will0
I'm using round-trip validation for my entities - i.e. I pick up any violations from RequestContext.onViolation then populate errors in the UI via an EditorVisitor. This mostly works well except I can't figure out how to get absolute paths of sub-editors from a violation. In my EditorVisitor I

Re: Getting absolute paths an Editor from a Violation picked up from RequestContext onViolation

2011-07-08 Thread will0
I guess because I was using SimpleBeanEditorDriver which doesn't have that method (until 2.4 is released I now see). Thanks for pointing it out. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit htt

Re: EventBus in 2.4

2011-08-04 Thread will0
I've filed an issue. http://code.google.com/p/google-web-toolkit/issues/detail?id=6653 Should be an easy fix - just changing the import in Activity would do it I imagine. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this disc