Re: Workaround for Embedded objects

2011-05-18 Thread Jerome Thoma
Cheers, but that didn't help. Maybe David can elaborate on what he said above about the enum being declared in the proxy? The strange thing is that persisting works for a newly created object, but not for an existing one that I edit. The same mechanism is used for other proxy types which work

Re: Workaround for Embedded objects

2011-05-18 Thread Jerome Thoma
Never mind, I've finally found my mistake. I forgot to make my find method accessible in the locator object. Someone else just posted the same problem a short while ago. Sorry to bother anyone... -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: Workaround for Embedded objects

2011-05-11 Thread Jerome Thoma
Could you please provide more information on using enums? I am trying to use a custom enum type: public enum PermissionEnum{ ... } in an EntityProxy as: PermissionEnum getPermission(); void setPermission(PermissionEnum permission); The PermissionEnum type is declared in a package that is

Re: EntityProxy efficiency

2011-05-09 Thread Jerome Thoma
I've been thinking some more about your remarks and all my solutions are dead-ends: - use EntityProxies for all objects. Not possible because I cannot execute a complete RF server call in a single Hibernate session (because Hibernate runs one a different server encapsulated by web services) -

Re: EntityProxy efficiency

2011-05-09 Thread Jerome Thoma
Thanks a lot Thomas! You've just made my day. Currently we don't need the live check, because all integrity checks are already performed by the backend, so i'll just return true in isLive. Now I should be able to use a single proxy for crud and list operations in most cases. Have a nice day

Re: EntityProxy efficiency

2011-05-09 Thread Jerome Thoma
Sorry, I don't exactly understand what you mean. Deleted by whom? Let's say there is a request for a list of objects which I retrieve from my web-service. Why does RF need to check if these objects have not been deleted even though my service has just delivered them as being valid? I feel like

Re: EntityProxy efficiency

2011-05-04 Thread Jerome Thoma
Thanks a lot Colin, sounds logical to me, but unfortunately it does not fit at all into our system design. All our RF requests are piped through HttpInvoker beans to our Spring-powered backend (which is shared by many different applications, so I cannot touch it) which of course manages the

EntityProxy efficiency

2011-05-03 Thread Jerome Thoma
Hi everyone, I have a question about EntityProxy vs. ValueProxy and efficiency issues. I need to load a list of SubProxy objects using RF for display in a listbox inside an editor for an encompassing SuperProxy type. No SubProxy instance is modified by the editor, but because RF does not

RequestFactory Proxy Problem

2011-04-07 Thread Jerome Thoma
Hi everyone, I've been struggling with a weird RF problem for some time and I have no idea what else to try, so maybe someone can point me in the right direction. I have my proxy class: @ProxyFor(value = Secteur.class, locator = SecteurLocator.class) public interface SecteurProxy

Re: RequestFactory Proxy Problem

2011-04-07 Thread Jerome Thoma
Hi Thomas, you are right, the problem is that the Locator is not used. I tried finding the cause for this, but I don't know enough about the inner workings of RF to find it. So far I can tell you that no Locator class is found for Secteur, but it works fine for all DO classes. I examined the

Re: RequestFactory Proxy Problem

2011-04-07 Thread Jerome Thoma
Finally! Thanks to your kick-start I think I have found the problem and an explanation for its erratic nature. I use two different proxies for Secteur.class SecteurListProxy is used for one-way communication (displaying data in CellTables) and based on ValueProxy to avoid the version checks etc

Re: RequestFactory / When is Entity.findEntity used?

2011-04-07 Thread Jerome Thoma
Glad to hear that I am not the only one ;) Sounds logical once you know the internal behaviour of RF, maybe an extra warning would save first-timers a lot of headache? Greets Jerome -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

CellTable Paging

2011-03-18 Thread Jerome Thoma
Hi everyone, I am just wondering how you are supposed to use a CellTable in a resizable container from a user experience point of view. What would be desirable (in my opinion) would be either - one large scrollable list of entries that has a fixed header (i.e. not disappearing when scrolling) -

Master-Detail View Proxies (GWT 2.2)

2011-03-17 Thread Jerome Thoma
workflow? How can you make this behaviour work in a scenario where several entities are transferred in one go? Thanks for enlightening me, Jerome Thoma GWT Application Developer -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Grouping Table Implementation

2011-03-15 Thread jerome Thoma
Cheers Raphaël, could it be that you are using a FlexTable and not a CellTable? I could not find the method you mentioned in the CellTable class. For now I implemented my table as a CellList with custom cells that contain HTML tables. Works fine, but relies of course on a mix of GWT and HTML code

GWT 2.2 CellTable sorting

2011-03-14 Thread Jerome Thoma
nor changing data seems to trigger a re-sort event. Do I have to trigger this myself? And how can I create a ColumnSortEvent? Have a nice day, Jerome Thoma -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Grouping Table Implementation

2011-03-14 Thread Jerome Thoma
(to feed the tables). I wonder if this solution is feasible and fast enough? Any alternative ideas? Thanks a lot Jerome Thoma -- 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

Custom Components Widget.getOffsetWidth

2011-03-02 Thread Jerome Thoma
Hi, I am building a custom GWT 2.1 toolbar widget that allows the insertion of spacers. The width of these spacers is adjusted so that components are always distributed evenly across the width of the toolbar (e.g. button - spacer -button - spacer -button creates a toolbar with one button left-,

Re: Custom Components Widget.getOffsetWidth

2011-03-02 Thread Jerome Thoma
Cheers, the solution you propose is definitely better and I first implemented it as well. In fact a toolbar with a right and left area was what I was initially aiming for... without much success. The little detail that has escaped my attention (or is not documented?) is that you can integrate

Referencing SimpleBeanEditorDriver

2011-02-24 Thread jerome Thoma
Hi everyone, as our business software relies a lot on recurring patterns like Master-Detail views I am trying to organise my GWT 2.1 activities / views in a hierarchy where a base activity / view encapsulates shared elements and the common workflow as much as possible. I am currently stuck when it

Re: SimpleBeanEditorDriver object changes checking

2010-12-29 Thread jerome Thoma
I am using Request.isChanged() in combination with an Editor and the strange thing is that once I call Request.edit(object), isChanged() always returns true, even though no changes have been made yet. Has anyone else experienced this phenomenon? Cheers Jerome On Nov 18, 7:59 am, Fábio Miranda

Re: GWT 2.1.1 is here!

2010-12-20 Thread jerome Thoma
Great news! Did I get it right though that I have to wait until a new version of the mojo GWT compiler plugin has been releases before I can use 2.1.1 with Maven? Greetings Jerome Thoma Software Engineer / VdL On Dec 17, 8:41 pm, David Chandler drfibona...@google.com wrote: http