Re: Place image in object, send object over rpc, use hibernate to update database

2010-11-28 Thread Noor
Thus,the object will contain an image -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...

Re: RequestFactory - A request is already in progress

2010-11-28 Thread Richard Berger
Problem solved... I was confused about two key points (sadly confusion is an occupational hazard for us morons): 1) When to "reuse" a RequestContext vs. creating a new RequestContext 2) What Objectify.put() actually does For #1, I believe that the same dynatablerf code put it as "using the given R

Place image in object, send object over rpc, use hibernate to update database

2010-11-28 Thread Noor
Hi, I have a scenario which if would solve many of my problems. I have an object which needs to contain a member of type to hold a file which will be an image. What i need to do is to populate the object with its data such as fields and the image, send the object over an rpc. Then at the server im

Re: Client File IO

2010-11-28 Thread Didier Durand
Hi, Are you sure that you need to change the picture also ? The Same Origin Policy in the browser doesn't apply to tags. regards didier On Nov 28, 9:50 pm, khalid wrote: > Hello every one > I am working on a web-based proxy using GWT (similar to php proxy) > anyway , the idea is quite simple

Re: Several Servlets Help

2010-11-28 Thread Shawn Brown
http://lmgtfy.com/?q=servlets On Mon, Nov 29, 2010 at 2:14 PM, Noor wrote: > HI, in almost every tutorial I have seen only on servlets, Is it > possible to have several servlets. if yes how to manage the several > servlets -- You received this message because you are subscribed to the Google Gr

Several Servlets Help

2010-11-28 Thread Noor
HI, in almost every tutorial I have seen only on servlets, Is it possible to have several servlets. if yes how to manage the several servlets Thanks -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to goog

Re: GWT 2.1 debug hangs in Eclipse Development mode

2010-11-28 Thread Chris Conroy
Check the Devmode console for errors. There's no library mismatch that you need to worry about with the plugin. On Sun, Nov 28, 2010 at 6:47 AM, MH wrote: > Since I updated to GWT2.1 library when I try to run project in Eclipse > (with Google Eclipse plugin on jdk 1.6.21) with Debug (Eclipse F11

Requestfactory: server side request are static...

2010-11-28 Thread Simon Majou
I think it would be better to move the requests out of the entity in their own class and annotate them just like for the proxy (something like @requestsFor(Entity.class)). Would it be possible? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" grou

Re: What is the best way to render complex cell?

2010-11-28 Thread John LaBanca
We plan to introduce UiBinder for Cells in a future version of GWT, hopefully GWT 2.2. We want Cells to be a complete replacement for Widgets, but we realize that the potential for an HTML syntax error grows as the level of complexity of a Cell increases. UiBinder for Cells should make it much ea

Re: How to Make a NumberCell Clickable

2010-11-28 Thread John LaBanca
Your best bet is to create a new AbstractCell that renders a Number (copy the render method from NumberCell) and fires the ValueUpdater when clicked (copy onBrowserEvent from ClickableTextCell). Thanks, John LaBanca jlaba...@google.com On Sat, Nov 27, 2010 at 3:58 AM, savilak wrote: > Hi, > >

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: webappcreator with -maven and Eclipse: output directories don't match

2010-11-28 Thread PeteUK
On Nov 28, 5:57 pm, Rajeev Dayal wrote: > If you look at Project Properties -> Google -> Web Toolkit, what is > mentioned for the GWT SDK? Also, if you navigate to Window -> Show View -> > Error Log, do you see any errors listed there? Rajeev, The Web Toolkit in use is (specific SDK): "C:\M2Repo

Client File IO

2010-11-28 Thread khalid
Hello every one I am working on a web-based proxy using GWT (similar to php proxy) anyway , the idea is quite simple Get the URL from the user , make the server fetch it , change the HTML and send it back to the client Now I have encountered a problem which is how to send the images back to the cl

Can'c get DialogBox working in GWT 2.1

2010-11-28 Thread GregD
I'm building a new app, so I decided to try out the *LayoutPanels and Standards mode. Things had been working well, but I'm trying to show a DialogBox, and it's not working AT ALL. 1: The frame of the dialog box does not show up. 2: When I tell it "Glass enabled", it does it for the entire web pa

Re: clicking outside of widget seems to disable NativePreviewHandler ONKEYPRESS

2010-11-28 Thread KaffeineComa
I've figured out that what's causing the loss of keyboard events is my call to SimplePanel.setWidget(), which happens as part of my app's navigation, via an Activity implementation. I've boiled this down to a simple example that's repeatable (for IE8, at least): Java code http://pastebin.com/ykjvc

Re: google plugin error

2010-11-28 Thread Rajeev Dayal
Try Window -> Show View -> Error Log. On Fri, Nov 19, 2010 at 8:39 AM, Frank Bølviken wrote: > Where do I find this error..? :P It only says "see error log". Does > eclipse have its own error-log somewhere? > > On 15 Nov, 10:23, Didier Durand wrote: > > Hi, > > > > For more info onWebAppCreator,

Re: Google Plugin In Spring Source Toolkit seems to be wipping out the project on run.

2010-11-28 Thread Rajeev Dayal
On Mon, Nov 22, 2010 at 10:23 AM, Chris wrote: > > On Nov 19, 7:50 pm, Thomas Broyer wrote: > > FWIW, I have *no* problem with Eclipse Helios (3.6, updated to SR1) > > with GPE 1.4.0.v201010280102 and m2eclipse 0.10.2.20100623-1649 on > > Windows XP Pro SP3 > > (if I understand correctly the iss

gwt File Upload

2010-11-28 Thread Noor
Hi, Have anyone of used this http://code.google.com/p/gwtupload/. This is because before I use it i want to ensure that it lives up to the expectation. So if anyone of u knows something about this, just place it here Thanks -- You received this message because you are subscribed to the Google Gr

maven and GWTTestCase

2010-11-28 Thread Stefan Bachert
Hi, running a GWTTestCase needs com.google.gwt.dev.cfg.Condition. On the other hand, gwt-dev should not be a dependency of the project. Looks like a deadlock. Does anyone know a trick anyway? Stefan Bachert http://gwtworld.de -- You received this message because you are subscribed to the Goog

Re: webappcreator with -maven and Eclipse: output directories don't match

2010-11-28 Thread Rajeev Dayal
If you look at Project Properties -> Google -> Web Toolkit, what is mentioned for the GWT SDK? Also, if you navigate to Window -> Show View -> Error Log, do you see any errors listed there? On Sun, Nov 28, 2010 at 10:34 AM, PeteUK wrote: > On Nov 22, 7:41 am, Manuel Carrasco Moñino wrote: > > W

Re: Gwt 2.1 Eclipse Helios

2010-11-28 Thread Eric Clayberg
You have not provided enough info to know whether this is actually a problem or not. Depending on how you have configured your project and what classes/jars you are referencing, those error may be correct. Please provide the following info: 1) What exact GWT Designer version are you using (from th

Upgrading from gwt 2.1.0.RC to 2.1.0 compilation errors: [ERROR] Unable to write re-encoded PNG

2010-11-28 Thread marypfc
Hi guys, I was working on a gwt project with 2.1.0.RC and I upgraded to 2.1.0, but I can't even compile my project: I don't know what kind of problems I encounter with images and resources. Any help will be appreciated. Thank you :) Here is the beginning of the stacktrace: Compiling module com.

Re: webappcreator with -maven and Eclipse: output directories don't match

2010-11-28 Thread PeteUK
On Nov 22, 7:41 am, Manuel Carrasco Moñino wrote: > When using maven in eclipse, it is better to let maven to produce the > eclipse stuff instead of webAppCreator using the undocumented option > -XnoEclipse, and use the google eclipse plugin to launch the app in > dev mode: > > 1.-  webAppCreator

Re: How to override CellTable css

2010-11-28 Thread Efstathios Kalyvas
That is correct, you also need the following: CellTableResource resource = GWT.create(CellTableResource.class); CellTable table = new CellTable(10,resource); as Marcin suggests. On Sun, Nov 28, 2010 at 11:34 AM, Marcin Misiewicz wrote: > I guess, that you are also passing CellTableResource

mvn plugin

2010-11-28 Thread Stefan Bachert
Hi, I am about to switch to maven. Using gwt-maven-plugin.1.3.2 It looks strange to me that the goal "install" does not include a "gwt:compile". Has someone any idea why? Stefan Bachert http://gwtworld.de -- You received this message because you are subscribed to the Google Groups "Google Web

onChange event fired twice

2010-11-28 Thread Leung
Hi, I have a private inner class that implements ChangeHandler. This ChangeHander is applied to the listbox. Each click on the listbox will create another listbox and added to the container. The onChange event is fired twice for one click on the list box. Let say, I have 2 list box already add

Re: webappcreator with -maven and Eclipse: output directories don't match

2010-11-28 Thread PeteUK
On Nov 22, 3:52 pm, pete wrote: > A very simple receipe also is: > > 1) mvn archetype:generate > -> Select maven-archetype-gwt (currently nr. 46) > 2) adjust gwt-version in pom.xml (and maybe other things if wanted) > 3) mvn eclipse:eclipse > 4) mvn gwt:eclipse > 5) start eclipse -> Import existin

Re: Need help: [ERROR] Invalid version number "2.0" passed to external.gwtOnLoad(), expected "2.1"

2010-11-28 Thread Musicman75
Hello Daniel, try to clear the browser cache (cookies and data). That solved the problem for me. On 28 Nov., 10:10, dflorey wrote: > Hi, > I've upgraded one of my apps to 2.1. When running in dev mode I get > this error: > > Connection received from 127.0.0.1:49430 >    [ERROR] Invalid version

GWT 2.1 debug hangs in Eclipse Development mode

2010-11-28 Thread MH
Since I updated to GWT2.1 library when I try to run project in Eclipse (with Google Eclipse plugin on jdk 1.6.21) with Debug (Eclipse F11) the browser just hangs in waiting forever and never gets to my first breakpoint neither does it load the page Could it be some mismatch between the Google Ecli

GWT Designer UiBinder can not accept Arabic text.

2010-11-28 Thread sab...@gmail.com
When I use GWT Designer (UiBinder) and write Arabic in label or button text property the designer replace the text with things like this: بسم الله the GWT Designer (Java UI) work OK. Thank yo. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gro

Re: Simple question about GWT.create() signature

2010-11-28 Thread Thomas Broyer
On 26 nov, 21:12, "Alessandro Carraro (JUG Padova)" wrote: > A simple qestion, sorry if it is a FAQ: > > Why >   public static T create(Class classLiteral) > and not >   public static T create(Class classLiteral) With GWT-RPC you pass the "synchronous" (extends RemoteService) interface as an

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

2010-11-28 Thread Thomas Broyer
On 27 nov, 15:46, Simon Majou wrote: > Hello, > > I am trying to run the dynatablerf example for request factory, and I > get : > > HTTP ERROR: 500org/json/JSONException > RequestURI=/gwtRequestCaused by: h3>java.lang.NoClassDefFoundError: org/json/JSONException [...] > Can you tell which jar to

Re: How to override CellTable css

2010-11-28 Thread Marcin Misiewicz
I guess, that you are also passing CellTableResource instance to the constructor of the CellTable. Othwerwise you will stiil use the default styles. On Nov 28, 9:04 am, savilak wrote: > Hi Manstis, > > use the code below to do it. > > 1) Extend CellTable.Resources > --

gwt gdata authentication history problems

2010-11-28 Thread maks
Hi Guys, How do you solved the problem when using GData that redirects a link that has history. Example www.mydomain.com/#maps. When I put the sign in link to that link in order to grant access to the user it it wont complete the process. Any suggestions? Regards, Mark -- You received this mess

Need help: [ERROR] Invalid version number "2.0" passed to external.gwtOnLoad(), expected "2.1"

2010-11-28 Thread dflorey
Hi, I've upgraded one of my apps to 2.1. When running in dev mode I get this error: Connection received from 127.0.0.1:49430 [ERROR] Invalid version number "2.0" passed to external.gwtOnLoad(), expected "2.1"; your hosted mode bootstrap file may be out of date; if you are using -noserver try re

Re: How to override CellTable css

2010-11-28 Thread savilak
Hi Manstis, use the code below to do it. 1) Extend CellTable.Resources --- public interface CellTableResource extends CellTable.Resources { public interface CellTableStyle extends CellTab