GWT 2.4 RequestFactory Exception when receiving data from BackEnd

2011-09-15 Thread POODevelopper
Finally RequestFactory work with Spring back end, but I have another issue : Is that i receive an exception on client when he process the data, the server service is call but I get this exception on client. Everything is set up correctly the Proxy Value Object, the Request Object and the RequestFa

Re: How do I add general Button or Label widget into CellTable ?

2011-09-15 Thread Ashwin Desikan
Why do u want 2 use a label & button inplae of TextCell /ButtonCell? You can always create your custom cell by extending one of the abstract cell classes Thanks Ashwin Sent from my iPhone On Sep 15, 2011, at 12:31 PM, suresh babu wrote: > Hi, > > I would like to use general Button, and Lab

Re: GWT 2.4 RequestFactory Exception when receiving data from BackEnd

2011-09-15 Thread Jens
Caused by: java.lang.RuntimeException: Server Error: null at com.google.web.bindery.requestfactory.shared.Receiver.onFailure(Receiver.java:44) So I would say you most likely have a Nullpointer Exception on server side while executing a service method. -- J. -- You received this message bec

Re: GWT 2.4 RequestFactory Exception when receiving data from BackEnd

2011-09-15 Thread Ashwin Desikan
Have u tried to override the onFailure and onviolation methods in ur Receiver? They give you better clarity on the error? Do u any constraints/ validation on the entity? If they are not met your request would fail Thanks Ashwin Sent from my iPhone On Sep 15, 2011, at 1:24 PM, POODevelopper

Re: How do I add general Button or Label widget into CellTable ?

2011-09-15 Thread suresh babu
I have ImageButton which is extend by Button widget, so I want to use this ImageButton into my CellTable. Any way I can do this ?. On Thu, Sep 15, 2011 at 1:17 PM, Ashwin Desikan wrote: > Why do u want 2 use a label & button inplae of TextCell /ButtonCell? > > You can always create your cust

Re: mvn gwt:run failed

2011-09-15 Thread kim young ill
problem solved: http://code.google.com/p/google-web-toolkit/issues/detail?id=3557 i just use the approach with JDTCompiler adapter & add this line to my pom.xml -Xmx1024m -Dbuild.compiler=de.webapp.JDTCompiler16 just strange that there're not so many complaints, looks like everyone use plain ht

syncProxy + Xsrf

2011-09-15 Thread Shawn Brown
Hello, In trying to test rpc protected with GWT's RPC XSRF protection, I used syncProxy to get a valid xsrf token and then modified syncProxy to write it to the request the same way that GXT does in RemoteServiceProxy.java (i.e. by writing it to the request body with streamWriter.writeObject(rpc

Re: How do I add general Button or Label widget into CellTable ?

2011-09-15 Thread Ashwin Desikan
On Thursday 15 September 2011 01:43:02 PM IST, suresh babu wrote: I have ImageButton which is extend by Button widget, so I want to use this ImageButton into my CellTable. Any way I can do this ?. On Thu, Sep 15, 2011 at 1:17 PM, Ashwin Desikan mailto:ashwin.desi...@gmail.com>> wrote:

Re: syncProxy + Xsrf

2011-09-15 Thread Shawn Brown
> I guess the underlying issue is that syncProxy uses > interfaceWhateverService extends XsrfProtectedService and does not use >  WhateverServiceAsyn that gets created by GWT.create(). I also tried using SyncProxy to use WhateverServiceAsync but can't set the Xsrf token in the normal manner -- ((

Re: GWT and jQuery.width()/bind()

2011-09-15 Thread Jeff Larsen
Have you looked at gwtQuery? That could probably solve your problems. It is a gwt port of JQuery -- 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-toolki

Data duplication during serialization

2011-09-15 Thread Maverick
I'm having a strange behavior (at least, something that I don't understand) during derialization/deserialization, which causes values to be duplicated to a List. I have a custom Map that basically adds key order preserving through an ArrayList. Each time a key/value pair is put into the map, the

Re: RequestFactory / AutoBean with non-bean value type

2011-09-15 Thread Thomas Broyer
I don't think ServiceLayerDecorator would work (interface won't validate against domain object; you could use @SkipInterfaceValidation but that actually wouldn't help, at least with GWT 2.4.0: see my comments on http://code.google.com/p/google-web-toolkit/source/detail?r=10542). How about addin

Re: JSNI - Call Javascript native method from another

2011-09-15 Thread dreamer
Technically, Here you are trying to call java method from javascript. I did not come across this situation, try full compile if throws any errors. Global School District http://schoolk12.appspot.com/ On Sep 14, 9:57 am, Jésica wrote: > Hi, I'm facing problems for calling a native method from

Re: GWT 2.4 RequestFactory Exception when receiving data from BackEnd

2011-09-15 Thread POODevelopper
I executed a JUnit Test on the services and there was no null pointer Exception. Also there is no constraint validation on the Entity. How can I make the exception message more clear ?? Below the Code of the entity : @Document(collection="transactions") public class Transaction implements Seriali

Re: JSNI - Call Javascript native method from another

2011-09-15 Thread Thomas Broyer
On Wednesday, September 14, 2011 6:57:42 PM UTC+2, Jésica wrote: > > Hi, I'm facing problems for calling a native method from another. i'm > trying to do It like this: > > //JSNI code > public native void dragStart()/*-{ > alert("OnDragStart"); > }-*/; > > public native void addPushpin

Re: Ordering guarantees for RequestFactory.append()

2011-09-15 Thread Thomas Broyer
Technically, when you append() a RequestContext, you make it share the same internal state as the one you append to (and that's why you cannot append a RequestContext where you already create()d or edit()ed proxies, or invoked methods); so the order of invocations will be the exact order you mad

Re: HOWTO handle right click on CellTable Header ?

2011-09-15 Thread Thomas Broyer
Not tested but you should be able to do that by providing a Cell to the header that listens to the "contextmenu" event (and possibly the "click" event, you'd have to try on each browser), so that its onBrowserEvent will be called back when such an event is fired on the header's cell. In other wo

Re: GWT 2.4 RequestFactory Exception when receiving data from BackEnd

2011-09-15 Thread Thomas Broyer
Put a breakpoint in com.google.web.bindery.requestfactory.server.DefaultExceptionHandler, or provide your own ExceptionHandler to the RequestFactoryServlet to log the exceptions (with their stacktrace). -- You received this message because you are subscribed to the Google Groups "Google Web T

Re: How do I add general Button or Label widget into CellTable ?

2011-09-15 Thread Jeff Larsen
Short answer is no. Long answer is yes, but it will take you far more time to implement than you want. If you wanted to use similar implementations, you could change your button implementation to work with ButtonBase from the com.google.gwt.*widget*.client package. -- You received this mes

Re: HOWTO handle right click on CellTable Header ?

2011-09-15 Thread Jeff Larsen
if contextmenu isn't sunk by all browsers ( I haven't tested EVERYWHERE, but it does where chrome, ie8, 9, firefox) you can always grab the native event, check for the click event then nativeEvent.getButton() == NativeEvent.BUTTON_RIGHT -- You received this message because you are subscribed t

Re: Data duplication during serialization

2011-09-15 Thread Thomas Broyer
I think GWT-RPC uses the CustomSerializer for the HashMap (which calls put() for each key/value pair) in addition to deserializing the ArrayList. The custom-serializer will then call your put() methods which will add to the list. Marking the ArrayList 'transient' or @GwtTransient should be enoug

Re: Data duplication during serialization

2011-09-15 Thread Paul Robinson
Your implementation doesn't handle the case where adding a value to the map overwrites an existing entry. In that case, you shouldn't add a new entry to your list of keys, but replace one of them. When the map is transferred over RPC, the key list is sent with the data. When RPC reconstitutes

Re: GWT CELLTABLE SimplePager : Event handling on first,last,next,prev button present in SimplePager?

2011-09-15 Thread vaibhav gwt
How to determine which button is clicked by user ? Is there any way to find out NEXT,PREV,LAST & FIRST button clicked ? On Aug 6, 7:49 pm, Patrick Tucker wrote: > Look at range change. > > On Aug 5, 6:31 am, vaibhav bhalke wrote: > > > > > > > > > Hi, > > > How to handle event on SimplePager? Ev

Re: Strange Request: How do I open a new browser window, run part of the GWT application there, and communicate with it

2011-09-15 Thread Robert W
Within jsni you can open new windows by window.open and there you have reference to new window. In the opened win you have samething like parentWindow (with my distant memory). Gwt not have rather inter-window communications methods. -- You received this message because you are subscribed to t

Re: How a GWT module can be loaded dynamically?

2011-09-15 Thread helios
Quick hack but hope it helps (replace YOURMODULEID): GWT (at least 2.0.x) uses document.write in two parts: 1) for inserting the marker scipt tag and 2) for inserting a callonInjectionDone... So if you do the (1) using document.appendChild it find the correct tag: var marker = document.createEl

is it possible to integrate PersistentUnit annotations in RequestFactoryServlet?

2011-09-15 Thread Elhanan
so far rpc's give me the jee standard of DI injection, but RequestFactoryServlet is closed, so i can't really place anything. and i can't use GIN,guice or spring.. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion o

Re: Data duplication during serialization

2011-09-15 Thread Maverick
Thank to both of you for your quick reply. The CustomMap implementation posted here is just a small test case that reproduces the problem, so I'm aware there are a lot of things missing. Although, for the use we are using, duplicating a key due to multiple put() is acceptable. The solution of mak

Re: Data duplication during serialization

2011-09-15 Thread Thomas Broyer
Have a look at http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/HashMap_CustomFieldSerializer.java (and http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/user/client/rpc/core/java/util/Map

about Composite's initWidget() method

2011-09-15 Thread wahaha
the class Composite has a protected method initWidget(). the javadoc says: This method may only be called once for a given composite. why? -- 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-too

Re: Strange Request: How do I open a new browser window, run part of the GWT application there, and communicate with it

2011-09-15 Thread Derek
I once had to do something vaguely similar. I needed to open a GWT app in a window from a non-GWT app. I called var win = window.open("GwtHtmlPage.html") and then set the data the GWT app needed with win.blah = 3 or whatever. Then my GWT app used some JSNI to fetch that value. The problem as Rober

PlaceHistoryHandler and Analytics

2011-09-15 Thread Jake Wharton
I'm trying to implement analytics tracking in our Place-based GWT 2.2 webapp and finding some trouble listening to History's ValueChangeEvent. The events seem to not be firing as a result of the false argument on this line

Re: how to create meta with @template?

2011-09-15 Thread Luke
ya. it's for google bot to crawl. is gwt2.4 cant use this tag anymore? -- 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

Re: GWT and jQuery.width()/bind()

2011-09-15 Thread Darnok
Yes, I've tried, and getting the same issues with gwtQuery. On Sep 15, 10:34 am, Jeff Larsen wrote: > Have you looked at gwtQuery? That could probably solve your problems. It is > a gwt port of JQuery -- You received this message because you are subscribed to the Google Groups "Google Web Tool

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-15 Thread Brad Leupen
Thanks for all of the replies. I have had some time to dig into this a little more. Long story short, the ValidationTool finds inherited @ExtraTypes when run on its own from the command line but does not when run as an automated annotation processor. I think it might have something to do with the f

Re: PlaceHistoryHandler and Analytics

2011-09-15 Thread Thomas Broyer
How about providing your own Historian (extending DefaultHistorian) to PlaceHistoryHandler and track changes in the Historian's newItem method (after delegating to super.newItem so that the token is updated)? -- You received this message because you are subscribed to the Google Groups "Google

Re: about Composite's initWidget() method

2011-09-15 Thread Alexandre Dupriez
The purpose of this method is to bind the structured widget you build within your Composite widget with the underlying widget hold by the composite. This pattern allows you to customize your Composite with any subclass A of Widget without exposing the methods of A. For instance, suppose you want t

Re: how to create meta with @template?

2011-09-15 Thread Thomas Broyer
Google bot won't execute your JS, so injecting a from JS is useless. That's totally independent from GWT. -- 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-we

Re: GWT 2.4 Validation Tool not picking up @ExtraTypes on superclasses

2011-09-15 Thread Brad Leupen
*"my proxies AND request factories are organized into multiple projects" i meant to say -- 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 grou

Re: File download by GWT client

2011-09-15 Thread Derek
Yes, FileSystem and FileWriter are HTML5 Javascript APIs that are available to browsers that support them. And yes, with JSNI. Overlays are described here: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html For example, the FileSystem object described at http://dev.w3.o

Re: PlaceHistoryHandler and Analytics

2011-09-15 Thread Jake Wharton
That indeed did work. 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/-/RalK5gJrh4EJ. To post to this group, send email to google-web-t

Re: How to create image sprits

2011-09-15 Thread Alexandre Dupriez
You can use the ClientBundle interface. Create an interface which extends ClientBundle and declare you image resources in it. Here is a piece of code: public interface AppResources extends ClientBundle { @Source("image/frame.gif") ImageResource frame(); } Note that the path you provide in th

Re: JavaScript GWT

2011-09-15 Thread Alexandre Dupriez
If your Javascript is not too long, you can use JSNI. Just declare a native method like void native foo() /*-{ Put here you Javascript }-*/; and call the foo() method like any other else. Alexandre. On 15 sep, 01:20, Diego Piedrahita wrote: > I have a JavaScript file and want to include GWT,

Re: Plug-in for Eclipse 3.7 (Indigo)

2011-09-15 Thread gwtomni gwtomni
hello, try to use https instead of http. -- 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+unsubsc

Re: HOWTO handle right click on CellTable Header ?

2011-09-15 Thread Christophe
I was on this, but it appears I never enter in my test. When I right- clik on the header, it opens the standard browser context-menu. Below my code : private class RightClickableHeader extends SafeHtmlHeader { public RightClickableHeader(SafeHtml headerHtml, String columnId, String dat

Re: JSNI - Call Javascript native method from another

2011-09-15 Thread Alexandre Dupriez
The point is that GWT compiler will not understand the "dragstart" string in your addHandler(.) method, and let it untouched. Once your unit will be compiled, the Javascript piece of code you wrote will refer to an in-existing method, since the actual dragstart() method will be given another bindin

Re: is it possible to integrate PersistentUnit annotations in RequestFactoryServlet?

2011-09-15 Thread Jens
You can use guice with RequestFactory: http://wanderingcanadian.posterous.com/guiced-up-gwt-requestfactory -- J. -- 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/g

Securing only part of the App

2011-09-15 Thread msanztru
Hello, I have been struggling all day with an issue. I am sure there must be some easy solution that lots have already implemented as it looks to me as a basic setup. I am building an app with GWT and appengine using requestfactory. This app has some "pages" (they are actually MVP views) that

Re: Unable to parse module

2011-09-15 Thread Fábio Marigo
In dev mode also occurs. The following web.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> Salto Bandeirantes - GWT

Re: Using how do I customize my splitLayoutPanel slider bars with buttons?

2011-09-15 Thread geert3
afaik the slider bar is not customizable so you either have to draw everything yourselves, or add your buttons somewhere else. You may be able to place div's on top of the scrollbar but it will be ugly and likely not cross-browser compatible. Drawing the scrollbar yourselves is a lot of work but

Re: Aw: Re: Aw: Code splitting for activities

2011-09-15 Thread Craig Greenhalgh
Has anyone got an example of how to use this in 2.4 ? Thanks again Craig On 31/08/11 10:11, Craig Greenhalgh wrote: Ok thanks guys, I'll wait for 2.4 Cheers Craig On 31/08/11 10:04, Jens wrote: The used AsyncProvider from GIN will be integrated in GWT 2.4 (see: http://code.google.com/p/g

TinyMCE GWT UIBinder finally displayed correctly, but colorpicker's colors and font-dropdown-menu's fonts are not clickable

2011-09-15 Thread Maxim Schäfner
Hello, I'm still searching for a maybe better solution for implementing of TinyMCE in GWT UiBinder (as other discussion created by me). Now I managed somehow through deferredCommand to get my TinyMCE in an div from uibinder-composite, and the whole configuring and so on of that editor works. And a

Re: JAXB + GWT

2011-09-15 Thread Maiku
Hi, If you are not totally tied to JAXB you may want to check out JIBX. I was successfully using the beans that it creates on both Server side and Client side. The way it marshals is by injecting information into the bytecode and this seems to allow GWT to still recognize the source of the beans

Re: HOWTO handle right click on CellTable Header ?

2011-09-15 Thread Thomas Broyer
Where is this sinkEvents from? class SafeHtmlCellWithContextMenu extends SafeHtmlCell { public Set getConsumedEvents() { return Collections.singleton("contextmenu"); } public void onBrowserEvent(Cell.Context context, Element parent, SafeHtml value, NativeEvent event, ValueUpdater valueUpdat

Re: Securing only part of the App

2011-09-15 Thread Thomas Broyer
You could have 2 instance of RequestFactoryServlet: one "open", the other requiring authentication. On the client-side, use a RequestTransport to set the URL of the one servlet you want to use. And in each and every service, check if the user is logged in (so that even if the service is accessed

Installation not done properly

2011-09-15 Thread samir v
When i installed GWT toolkit in eclipse(preferences->install New Software->available softwares) i got the following error. Cannot complete the install because one or more required items could not be found. Software being installed: Google App Engine Tools for Android 2.4.0.r36v201108301710 (com.

RequestFactory with complex client parameters

2011-09-15 Thread albertoknox
I´m using GWT RequestFactory and want to transport client-side parameters in a service. The parameters should be created on the client, because they aren´t part of the domain model and won´t be stored in the database. Unfortunately I found no way to do this, because only xxxProxy objects can be use

getting colors

2011-09-15 Thread mallikarjun....@gmail.com
Hi i need to get the colors from out side and i need to apply for my app. Could u please let me know if any body knows. Thanks and Regards in advance -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to go

I want to Access External .js file in My GWT Application How can i achieve it??

2011-09-15 Thread Nagendrasinh Rathod
I want to Access External .js file which contains some function in My GWT Application How can I achieve it?? How can I access javascript function written in external .js file can you plz. help with some example. Thanks -- You received this message because you are subscribed to the Google Grou

Dynamic Mapping Of Click Events to Touch Event

2011-09-15 Thread Vijay Sarin
Hi, I am working on a Project in which i have to make my website optimized for iPad and Android Tablets. So in case of click events, when we do some click, it takes 300ms delay which i calculated, for the click to complete. So is there any option to fix this possibly by mapping all click events

IE8 CellTable Events

2011-09-15 Thread BilisJoe
Hi, this is my first time posting, so I'm sorry if I'm not asking for help in a proper way. I've created a CellTable with a column that looks like this: Column name = new Column(new ClickableTextCell()) { @Override public String getVa

Questions about GWT suitability

2011-09-15 Thread Rakesh
Hi, knowing very little about GWT apart from the main headlines, I am considering using it for my upcoming projects. Others are criticizing this choice on 2 main points: 1. The application is not rich enough - the app is a shop where products are added to a basket and user details and payment de

EJB integration in GWT-jBoss-project

2011-09-15 Thread Norman Klingspor
Hello, I'm trying to establish a shop-system through gwt. In Ecplise running on jBoss 6.1.0.Final, GWT 2.4 In my first approach I wanted to integrate my ejb-structures from the originial project. As a result I: 1.) created a .ejb project and integrated all classes relevant from my original proje

Re: EJB integration in GWT-jBoss-project

2011-09-15 Thread Norman Klingspor
correction: STEP 4.) folder: WEB-INF/lib of course. The error remains the same. On 15 Sep., 17:24, Norman Klingspor wrote: > Hello, > > I'm trying to establish a shop-system through gwt. In Ecplise running > on jBoss 6.1.0.Final, GWT 2.4 > > In my first approach I wanted to integrate my ejb-str

Re: NullPointerException in MethodPropertyContext

2011-09-15 Thread Tiago Rinck Caveden
A little bit more information I've gathered with a debugger: At a certain moment, TypeUtils.getParametrization is called with a type that is a TypeVariable of value T. That method doesn't deal with such types, and returns null. The result of the request where this happens is a List> where the ent

Re: NullPointerException in MethodPropertyContext

2011-09-15 Thread Thomas Broyer
I think it is (illegal). You should make one sub-interface of AValueProxy per type of AGenericEntityProxy that you'd use for its T type parameter; remove the type parameter (making AValueProxy no longer generic), and using @ExtraTypes (GWT 2.4 onwards) for polymorphism, listing the sub-interfac

Re: GWT 2.4 breaks JDK 5 compile support

2011-09-15 Thread Thad
Right, good riddance to 1.5 so long as your not stuck supporting a few die-hards with old Macs as servers. Apple didn't port Java 1.6 to the old non-Intel RISC machines.If a site's server runs OSX 10.4 or below, or it's a non-Intel machine with OS 10.5, GWT 2.4 is not an option. God help us when J

Re: NullPointerException in MethodPropertyContext

2011-09-15 Thread Tiago
The issue you point me to is probably related, since I have a Request>>... Thank you for the fast response. I'll look the docs for what you suggest me and see how it fits. Currently the project I'm working with is using GWT 2.3, so I don't even know if I'll be able to use it, let's see. Thanks ag

Re: Basic CSS question

2011-09-15 Thread Mike Dee
I've been playing around with this for a couple of days, to great frustration. Can't get it to work. I followed the example here: http://code.google.com/p/google-web-toolkit/wiki/ClientBundle#Examples That doesn't work either. The call to Window.Alert to print out the css shows no text. I al

remember places

2011-09-15 Thread Fabricio Pizzichillo
hello to the group I am developing an application, and I need at the time of requesting the login,remember that place comes the request, so you can continue browsing where you were How do I remember the place where I come from? greetings and thanks! -- You received this message because you are

The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread Eric Andresen
I just upgraded to 2.4, and am seeing the following problem when I try to run my server: SEVERE: Unexpected error java.lang.RuntimeException: The RequestFactory ValidationTool must be run for the XX RequestFactory type at com.google.web.bindery.requestfactory.vm.impl.Deo

Re: GWT 2.4 breaks JDK 5 compile support

2011-09-15 Thread cri
Time to bring your guys up to date, I'd say, and off the antiquated mac servers. ;-) Actually I didn't know people used Macs as servers. ;-) On Sep 15, 11:05 am, Thad wrote: > Right, good riddance to 1.5 so long as your not stuck supporting a few > die-hards with old Macs as servers. Apple didn't

Re: Problem to migrate requestfactory 2.3 to 2.4

2011-09-15 Thread RickL
Good Morning, Any luck with this? I am having the exact same problem with the expenses sample app (I refreshed it from the repository yesterday). I have been trying to get past this for days. I can manually validate the expenses request factory class with: java -cp \ /rick/workspace-ee/expense

Re: mvn gwt:run java.lang.IllegalStateException: No Constructor

2011-09-15 Thread Y2i
The java process started by mvn gwt:run opens the same file twice: one file in ~/m2/repository, another file in ${webappDirectory}/WEB-INF/lib. geronimo-spec-jta, that contains UserTransaction, is also on the list of open-twice files. Could that be a problem? Thank you in advance! -- You r

Re: remember places

2011-09-15 Thread Alex Dobjanschi
Your login place should have a 'redirectAfterLogin' String member, like this: class LoginPlace extends Place { String redirectAfterLogin; } Optionally, you could go for, this is closely bound to GWT specific implementation: class LoginPlace extends Place { Place redirectAfterLogin; } -- Y

Re: Remember username password in GWT

2011-09-15 Thread Markandayarushi Pamu
Please help on this issue On Sep 15, 8:23 am, Markandayarushi Pamu wrote: > Hi, > > I want to implement the remember username and password functionality > in my application. > > We are using the GWT version 2.2. I have tried to implement but user > name auto complete is only working in the Fiiref

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread Y2i
In Eclipse I only had to make RequestFactory interfaces and their server domain counterparts to be available on the sourcepath during the compilation process. This seemed to be enough to validate RF interfaces and generate additional Java types. The deployed app worked after this. -- You rec

Re: Installation not done properly

2011-09-15 Thread Y2i
Google App Engine Tools for Android requires Android ADT which needs to be installed first. -- 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/-/ZR5

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread David Chandler
Hi Eric, Look for a class named *YourRequestFactory*DeobfuscatorBuilder in the WAR. This will be present if the RF validation tool has run. We're currently working on an issue where it gets wiped out in Maven projects in Eclipse Indigo. /dmc On Thu, Sep 15, 2011 at 12:45 PM, Eric Andresen wrote

Re: GWT 2.4 breaks JDK 5 compile support

2011-09-15 Thread Jeff Larsen
You're not required to have a java 1.6 server to run with gwt compiled 1.5 code. You'll just have to setup a no-server situation. That way your 1.5 server code can live in a 1.5 environment and you compile your js with java 1.6 -- You received this message because you are subscribed to the Go

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread Jeff Larsen
@David, my post here https://groups.google.com/forum/#!topic/google-web-toolkit-contributors/-4gaablGx8I is how I got rfvalidator-apt working with m2e in indigo. If you have questions, let me know. -- You received this message because you are subscribed to the Google Groups "Google Web Tool

Re: remember places

2011-09-15 Thread Fabricio Pizzichillo
Thanks Alex! 2011/9/15 Alex Dobjanschi > Your login place should have a 'redirectAfterLogin' String member, like > this: > > class LoginPlace extends Place { > String redirectAfterLogin; > } > > Optionally, you could go for, this is closely bound to GWT specific > implementation: > > class Logi

Re: RequestFactory with complex client parameters

2011-09-15 Thread Jesse Hutton
You can create proxy instances in the client using RequestContext#create(Class clazz). For your filter object, you just need an interface extending ValueProxy that has a server side representation, and you should be good to go. Jesse On Thu, Sep 15, 2011 at 3:35 AM, albertoknox wrote: > I´m usin

Re: GWT 2.4 breaks JDK 5 compile support

2011-09-15 Thread David Goodenough
On Thursday 15 Sep 2011, Thad wrote: > Right, good riddance to 1.5 so long as your not stuck supporting a few > die-hards with old Macs as servers. Apple didn't port Java 1.6 to the > old non-Intel RISC machines.If a site's server runs OSX 10.4 or below, > or it's a non-Intel machine with OS 10.5,

An IncompatibleRemoteServiceException was thrown

2011-09-15 Thread Rob Tanner
Hi, An application I build with GWT 2.1 in Eclipse (v3.5, Classic) worked just fine in tomcat. However, I've upgraded my environment to Eclipse Indigo (EE version) and GWT 2.3 and the same app will not run on the production servers, but builds and runs fine in the development environment. Since

Re: EJB integration in GWT-jBoss-project

2011-09-15 Thread karim duran
Hi Norman, 1) As you see in your log -> java.lang.NoClassDefFoundError: sung/app/kylintv/product/Product , one of your Classes or package can't be found by the server runtime. Are you sure that your *.war is well generated ? Open your *.war with a ZIP utility tool and check if there is a 'Produc

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread Eric Andresen
I'm using M2E and Indigo, so it looks like I might be running into this problem. I don't see the *DeobfuscatorBuilder in my WAR anywhere. I'll take a look through Jeff's link below and see if that helps me at all. Thanks, Eric -- You received this message because you are subscribed to the Goo

CellTable Tab Event Handling

2011-09-15 Thread ryepie
Hello, Getting some odd behavior on tab events with CellTable and hoping someone can point me in the right direction. The CellTable is using a type of AbstractInputCell. After finishEditing is called with an onChange event, the focus is sent back to the first cell in the row with KeyboardSelectio

Re: RequestFactory / AutoBean with non-bean value type

2011-09-15 Thread Eric Sirianni
Thanks Thomas - that was going to be my workaround, but we have a fairly rich domain model and use Joda types extensively. Providing String-based wrapper properties on each entity class is going to be a bit of a pain. This is why I'd been looking for a more centralized approach. I'm not too fami

Radiobutton vs checkbox in celltable

2011-09-15 Thread Roger Studner
If I do a single selection model etc.. (canonical).. I get a checkbox. Technically, you'd think, this would render as a radio button.. Anyone experiment/discover how to replace the default check box column w/ a radio button ? thanks Roger -- You received this message because you are subscrib

Re: CellTable Tab Event Handling

2011-09-15 Thread ryepie
On Sep 15, 11:32 am, ryepie wrote: > Hello, > > Getting some odd behavior on tab events with CellTable and hoping > someone can point me in the right direction. The CellTable is using a > type of AbstractInputCell. > > After finishEditing is called with an onChange event, the focus is > sent bac

Re: Basic CSS question

2011-09-15 Thread Mike Dee
Made progress on this. Posting here since it may be helpful to someone else. Also additional questions. Started from scratch. Having @CssResource.NotStrict is important. That pretty much allowed the css to be loaded without @external. One problem occurs if there is a css class with a hyphen in

Re: Basic CSS question

2011-09-15 Thread Ernesto Oltra
The documentation you have linked is for vesion < 2.0. It clearly says at the beggining: *Documentation for the GWT 2.0 release of ClientBundle can be found on the GWT Developer's Guide website.* 1) I have included a hyphen e

Re: Basic CSS question

2011-09-15 Thread Ernesto Oltra
The CSS file must be in the same *package* as the ClientBundle java file. In one of my projects I have this structure: src/com/company/app/Resources.java resources/com/company/app/Style.css And both folders (src & resources) are "Source folders" in my IDE 2011/9/15 Mike Dee > Made progress on

Re: Strange Request: How do I open a new browser window, run part of the GWT application there, and communicate with it

2011-09-15 Thread Rob
Hi, Take a look at gwt-multipage: -> http://code.google.com/p/gwt-multipage/ and this post: -> http://uptick.com.au/content/managing-multiple-host-pages Cheers Rob On Sep 15, 11:30 pm, Derek wrote: > I once had to do something vaguely similar. I needed to open a GWT app > in a window from a

Re: Unable to parse module

2011-09-15 Thread Fábio Marigo
migrated to version 2.4.0 and now I'm having the following problem: [INFO] Loaded 3546 units from persistent store. [INFO]Found 3195 cached units. Used 3195 / 3195 units from cache. [INFO]Added 187 units to persistent cache. [INFO]Validating newly compiled units [INFO] Errors in

Re: JSNI - Call Javascript native method from another

2011-09-15 Thread Jésica
Thomas, your example with $entry worked perfectly. I have a question about your code snippet: which is representing *that* var assignment in this case and why Is It necessary to use It?. Thanks, Jésica. On Sep 15, 7:40 am, Thomas Broyer wrote: > On Wednesday, September 14, 2011 6:57:42 PM UTC+2,

Re: GWT 2.4 RequestFactory Exception when receiving data from BackEnd

2011-09-15 Thread POODevelopper
Thank you guys for the hint, I used this article to set up a proper Exception handling : http://cleancodematters.wordpress.com/2011/05/29/improved-exceptionhandling-with-gwts-requestfactory/ I have found that the Property "destTransactionId" was Null. GWT need to handle Exceptions well Out of the

Re: GWT Developer Plugin for Firefox 6

2011-09-15 Thread HakunaMatata
Worked on Lion without a hitch!! -- 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/-/nw1YU4LHCTkJ. To post to this group, send email to google-web-t

GWT, Canvas, and excanvas.js

2011-09-15 Thread Christopher Piggott
Hi, I have been searching for information on excanvas.js and GWT, and I find a lot of information that is old/obsolete. Some documents say that you still need excanvas; others do not. I have tried to make it work by including excanvas.js then creating a little canvas in my GWT project's html loa

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2011-09-15 Thread David Chandler
Thanks, Jeff. That's some pretty fine Maven wizardry. What we've discovered is that with the lifecycle mapping POM hacks in place, the ValidationTool does in fact run under Indigo, but the WTP publish operation that happens just prior to launch does not have access to the newly-generated sources i

  1   2   >