Re: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-25 Thread Martones
Hi Colin, maybe this document could help you : http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/fr//events/io/2011/static/presofiles/gwt_html5_a_web_develops_dream.pdf look at the DND section. The data you are passing is to be received by the "drop target", not th

Using last snapshot from maven?

2012-02-25 Thread Gal Dolber
Hi, I just added maven support to a project that was using gwt from trunk, and as I moved back to gwt 2.4 I noticed a huge slow down on compilation and dev mode. I guess is because of the generators caching framework thats not available on 2.4, but I'm not really sure. Anyway, is there any reposito

Re: Drag and Drop API in GWT 2.4

2012-02-25 Thread Martones
Hi Stagirus, if you dont need to drag Widgets you shall be theoretically able to drag / dragOver / drop any widget. For that, use widget.addDomHandler (as explained here http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/fr//events/io/2011/static/presofiles/gwt_html

ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Rocky
Hi, I have two objects person and address class Person{ String name; @one-to-one Address adderss; } class Address{ String HNo; String street; String zip; } I developed a screen with Person information and a ValueListBox with all the available addresses and a save button. By clicking on s

DataGrid and reset.css

2012-02-25 Thread Jeff
All, I just started using the new DataGrid and everything is working fine except when I click on a cell I get some funky border issues. I narrowed it down to the reset.css - when I remove that import from the host html file, everything works fine in the DataGrid. However, this messes up some oth

Error: com.google.gwt.user.client.rpc.StatusCodeException: 404 on Tomcat server

2012-02-25 Thread Maurice
Hello All, I am having problems getting my RPC code working on a Tomcat server hosted by serversanddomains.com. The steps I have followed are: 1) Using GWT 2.4, and eclipse I create an new web application project - with a project = Hello package = com.gwt.hello Using Google Web ToolKit Not us

Re: GWT Timer doesn't work

2012-02-25 Thread Peter D.
Has a solution been found to this issue? I have encountered the same thing, with no luck. On Jan 19, 2:24 am, Hanna Varakhobava wrote: > Hey, somebody... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email

Timer AsyncCallback issue

2012-02-25 Thread Peter D.
I have a timer set up to update an element on my UI periodically from a buffer. If the buffer grows too small, I make an RPC call which returns the next chunk of frames. However, I want the timer to continue updating the UI off the existing buffer while the RPC call is working. It seems that whe

Re: GWT StackLayoutPanel: how to change header background color

2012-02-25 Thread Arun Das
i have a similar problem . you reload the project in development mode and try -- 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 em

What's a good way to use Youtube with GWT.

2012-02-25 Thread MAQ
Hi, I would like to be able to integrate Youtube clips within my gwt project. I wasn't able to use gwt-youtube-api successfully. Should I use the offical Youtube JavaScript API, or try again with gwt-youtube-api? Thanks, MAQ -- You received this mes

GWT RPC not working behind Apache and Tomcat

2012-02-25 Thread mukarev
Hi folks, I'try to serve two gwt webapps via one apache from one tomcat with JK and I'm always running in the same error. Apache sends a 404 and tells me that it's not able to find the servlet if I try to communcate via RPC. I have two virtual hosts pointing at the directories within tomcat webap

Re: GWT RPC not working behind Apache and Tomcat

2012-02-25 Thread Alan Chaney
Hi Markus On 2/25/2012 9:25 AM, mukarev wrote: Hi folks, I'try to serve two gwt webapps via one apache from one tomcat with JK and I'm always running in the same error. Apache sends a 404 and tells me that it's not able to find the servlet if I try to communcate via RPC. I have two virtual host

Re: Pass data through event.setData() in 2.4 Drag and Drop

2012-02-25 Thread colin
Ludovit: Thanks for responding. I posted the code this way just to show the problem. I have the drop target set up and is getting null from getData(). Colin On Feb 25, 5:15 am, Martones wrote: > Hi Colin, maybe this document could help you > :http://static.googleusercontent.com/external_cont

Date box pop up seems to ignore default css

2012-02-25 Thread Deepak Singh
Hi All, I have a ui:binder and am using date box as follows Java: DateTimeFormat df = DateTimeFormat.getFormat("EEE, MMM d, "); Format f = new DateBox.DefaultFormat(df); agPacValidityFrom.setTitle("Validity date"); agPacValidityFrom.setFormat(f); agPacValidityFrom.addValueChangeHandler(new

how to test GWT app through a proxy

2012-02-25 Thread John Malpas
I have several GWT (2.4) applications out there. One in a while, a user writes in with a problem, where it is clear the RPC is not working, and it is clear there is some proxy involved in their access to the application. (Most recent: "Unable to initiate the asynchronous service invocation (MyDat

Re: ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Thomas Broyer
Without seeing more code, I'd say it's your server-side code fault: when sending the Address back to the server, you're not retrieving the entity back from the database but creating a new one, *or* you don't "attach" the entity correctly to your "session" when persisting, which then persists a

Re: ValueListBox in GWT editor with one-to-one relationship creating a new entry in related table

2012-02-25 Thread Daniel Mauricio Patino León
I have some kind of problem lke yours. I am creating a new Proxy: LayoutExampleRequest r = requestFactory.employeeRequest(); DepartmentProxy d = r.create(DepartmentProxy.class); r.save(d); departmentEditor.editProxy(d, r); Then pass the Proxy and the Request(LayoutExampleRequest ) to my editor

Re: Cannot run debug mode in client code

2012-02-25 Thread tong123123
Really strange, I try to simulate the problem in home pc (I am not in office), my debug configuraiton arguments is -startupUrl 127.0.0.1:7001/DesignerFirstTrial/ -noserver -remoteUI "$ {gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO - codeServerPort 9997 -war C:\workspace\workspace1\Design

Re: Cannot run debug mode in client code

2012-02-25 Thread tong123123
sorry, I miss the http:// in the startupUrl, after adding it, the debug mode can run. But my eclipse (OEPE- Oracle Enterprise Pack for Eclipse) is very strange, if I right click the project and select Debug as > Web application (running on external server), it will create a new debug configuration