Re: GWT + GILEAD OR REQUEST FACTORY?

2011-01-11 Thread Richard Berger
FWIW, I made the switch from Gilead to RequestFactory and was pleased with the outcome. I am sure that both will work fine, but I seem to recall fewer setup/configuration issues with RequestFactory. Gilead is wonderful, but perhaps because RequestFactory is built-in it is a little easier to get

Re: Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2010-12-26 Thread Richard Berger
Thanks to all for the feedback - just wanted to share some reactions 1. I was surprised by the lack of responses re: restlets - that seemed to be a promising technology 2. Some of the suggestions/links seemed a little bit over my head - but that is probably just because my head is at a pretty

Re: Title: EntityProxyChange not being called?

2010-12-20 Thread Richard Berger
to invoke. Bottom line - nothing to do with Objectify, no problems with GWT, just the usual user error. Thanks again for the pointers to that code - helped me work through things more carefully. RB On Dec 19, 11:21 pm, Richard Berger richardlan...@gmail.com wrote: Sorry for not noticing

Exposing my GWT API via web/RESTful service - can it be done (easilyish)?

2010-12-20 Thread Richard Berger
Apologies in advance if I am not using the right terminology in describing my question. English is my first language. But COBOL was my first programming language :). I am investigating using GWT/GAE for an upcoming project and one of the requirements is that we provide an engine that will be

Re: Title: EntityProxyChange not being called?

2010-12-19 Thread Richard Berger
that the version has indeed changed for the entity? HTH, /dmc On Sun, Dec 12, 2010 at 5:52 PM, Richard Berger richardlan...@gmail.com wrote: I am following the model of DynaTableRf in building a sample app combining RequestFactory, EditorFramework, CellTable, and Objectify. In tracing

Exposing RequestContext methods to non-GWT clients.... (newbie question)...

2010-12-16 Thread Richard Berger
In building very simple learning application using GWT-RPC and then RequestFactory, I was wondering whether it was possible to expose the methods that are in my RequestContext interface (in the RequestFactory- based app). In particular, I have: public interface CommitmentRequest extends

Title: EntityProxyChange not being called?

2010-12-12 Thread Richard Berger
I am following the model of DynaTableRf in building a sample app combining RequestFactory, EditorFramework, CellTable, and Objectify. In tracing the code for DynaTableRf after a new Person is created (when the user clicks on New Person), the onPersonChanged method is called, since it was

Re: Request factory: java.lang.NoClassDefFoundError: org/json/JSONException

2010-12-07 Thread Richard Berger
Just noting that this does solve the problem and that the gwt-servlet- deps.jar is in the GWT 2.1 distribution. (I hit this problem today and adding the jar resolved the issue). RB On Nov 28, 1:42 am, Thomas Broyer t.bro...@gmail.com wrote: On 27 nov, 15:46, Simon Majou si...@majou.org wrote:

Modeling a simple 1 to Many relationship using Request Factory, Objectify...

2010-11-29 Thread Richard Berger
With much help from web sources and others, I got this working - won't be of any help to the smart folks out there - just the Morons Like Me (tm) :). Here's a link - don't make fun of my ancient MovableType blog - it was all the rage in the late 90s -

Re: RequestFactory - A request is already in progress

2010-11-28 Thread Richard Berger
Similar problem, but I was not able to implement your solution - any guidance is suggested. And I promise, once I get my simple app working, I will write the GWT/Objectify 1-to-Many Relationships for Moron Like Me guide :). The problem in the small... CommitUsers can have Commitments. I create

Re: RequestFactory - A request is already in progress

2010-11-28 Thread Richard Berger
, and then calling put() again. Now I make the changes to both entities and call put() once. This seemed to be the more important of the two. These items may be obvious to all others, but on the off-chance there are other old folks trying to write code Enjoy, RB On Nov 28, 2:04 pm, Richard Berger

Re: Gilead AND GWT

2010-11-27 Thread Richard Berger
I had some difficulties getting Gilead/Hibernate/GWT working together, but here is something I posted about 11 months ago after I got it all working - hope it helps you... http://www.mail-archive.com/google-web-toolkit@googlegroups.com/msg34602.html Enjoy, RB On Nov 25, 12:00 pm, Noor

Re: RequestFactory, Objectify, saving a new object with collections

2010-11-24 Thread Richard Berger
/setter that calls Objectify to get / put an entity by its Key. These helper methods are likely what you would expose in the EntityProxy so client-side code won't have any references to Key. This works today. /dmc On Tue, Nov 23, 2010 at 5:23 PM, Richard Berger richardlan...@gmail.com wrote

RequestFactory, Objectify, saving a new object with collections

2010-11-23 Thread Richard Berger
Goal: Save an object an associated collection How to do this with Request Factory and Objectify? I have an object that looks like: Commitment.java (in com.br.commit2.server.domain) public class Commitment { @Id private Long id; private String title; // other simple fields private

Re: RequestFactory, Objectify, saving a new object with collections

2010-11-23 Thread Richard Berger
that your Proxy doesn't expose the Objectify Key type, as only entity types and a few value types are supported until 2.1.1. /dmc On Tue, Nov 23, 2010 at 2:23 PM, Richard Berger richardlan...@gmail.com wrote: Goal: Save an object an associated collection How to do

Re: GWT MVP and RequestFactory

2010-11-18 Thread Richard Berger
I am having a very similar problem - NullPointerException when I call fire() (the NPE is in AbstractRequestContext.doFire()). So I am wondering if you have found a solution to your problem. The code with the fire() is: CommitmentSystemRequestFactory requestFactory =

Re: GWT MVP and RequestFactory

2010-11-18 Thread Richard Berger
(); requestFactory.initialize(eventBus); has moved me past my NPE. Into other errors of course... Thanks for listening RB On Nov 18, 11:50 am, Richard Berger richardlan...@gmail.com wrote: I am having a very similar problem - NullPointerException when I call fire() (the NPE

How can I use applySortedColumnIndicator

2010-11-15 Thread Richard Berger
I have a ScrollTable that I sometimes need to sort programmatically and would like to indicate to the user which column has been used to sort. In the javadocs at http://collectionofdemos.appspot.com, I find that the AbstractScrollTable has the applySortedColumnIndicator method that seems just

Re: UiBinder fails after upgrading to gwt 2.1.0

2010-11-03 Thread Richard Berger
OK, this won't help much, but... I was having the same problem just going through some basic tutorial using UiBinder and GWT 2.1. So, I redid everything, writing down each step - and, of course, the problem vanished. So, there exists the possibility that 2.1 and UiBinder do actually work

Re: DockLayoutPanel layout problem with south and UiBinder

2010-01-21 Thread Richard Berger
I am using a DockLayoutPanel with UiBinder and it seems to work fine. However, I can't see any real difference between your code and mine. My ordering is different - I have north, center, west, then south. Also, my center panel has a size. Sorry to not have anything more useful for you. RB On

Re: Apply css to dockLayoutPanel

2010-01-19 Thread Richard Berger
It may not be possible. At least the information at http://java.ociweb.com/mark/programming/GWT.html#Formatting doesn't show any CSS styles for DockPanel. Hope the pointer is useful to you. Enjoy, RB On Jan 15, 4:06 am, netxplorer loupasch...@gmail.com wrote: Hello, I'm actually trying to

Re: TRying to upload a file

2010-01-18 Thread Richard Berger
Here's a link that I found pretty useful in using FileUpload with GWT... http://www.jroller.com/hasant/entry/fileupload_with_gwt Enjoy, RB On Jan 18, 12:30 am, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Yes you are correct. GWT has not automated file upload, it just submits the data to

Re: problemas con Hibernate y gilead no compatible con gwt 2.0

2010-01-01 Thread Richard Berger
Had the same problem - the following post was very helpful: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca5722230f14f54e/408301beba6a2bf4?lnk=raot RB On Dec 30 2009, 12:08 pm, marcelomos marcelo.mosc...@gmail.com wrote: GRAVE: WebModule[/gwt20lab2hibernate]Exception

Re: Using Gilead with GWT 2.0 ms1

2009-12-26 Thread Richard Berger
Trevor: Thank you for the post - it was a life saver. When I copied the java files to my system, I had a compiler error at line 161 of RPCCopy.java: return RPCCopy_GWT16.invoke(target, serviceMethod, args, serializationPolicy); The error was: The method invoke(Object, Method, Object[],