How to use external Java beans on client

2011-09-28 Thread David
I need to use Java beans (classes with getters and setters) from an external jar-file (like Xyz-1.2.3.jar) on the browser client. These beans implements java.io.Serializable and the Java source is available in a separate Xyz-1.2.3-sources.jar. How could this be done? I found

How To test Application an emulate many users

2011-09-28 Thread Foermchen82
Hi everybody, the GWT Test tools only allows to test single modules. But who is it possible to test a deployed application? I want to emulate multiple users to have whole load test. Kind regrads, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: UiBinder using Element and appendChild(child) possible?

2011-09-28 Thread Sudhakar Abraham
No need to appendChild in GlassPanel. In glassPanel constructor specify the uiBinder.createAndBindUi(this), it binds the divelement through UiBinder interface. S. Abraham www.DataStoreGwt.com Persist objects directly in GAE On Sep 27, 7:42 pm, benjamin_ma...@lavabit.com

GWT Developer Plugin for Firefox 7?

2011-09-28 Thread Kees de Kooter
When can we expect the GWT Developer Plugin for Firefox 7 to be released? Or do we have to revert again to installing an .xpi from svn? Kees de Kooter -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: What do you think?

2011-09-28 Thread Paul Robinson
You're never going to please everybody. I think GWT does a good job of something that is technically very difficult. We're writing java that gets run natively in a browser as javascript, and you even get to debug in java. That's pretty amazing. The author talks about anti-patterns without

Re: What do you think?

2011-09-28 Thread Alain Ekambi
Without GWT there are things we could not have even dreamed about doing. For me nothing beats GWT out there. 2011/9/28 Paul Robinson ukcue...@gmail.com ** You're never going to please everybody. I think GWT does a good job of something that is technically very difficult. We're writing java

com.google.gwt.i18n.client.impl.cldr.LocalizedNamesImpl_zh not found in GWT-2.4

2011-09-28 Thread corto
Here is the complete message Errors in 'jar:file:/local/eclipse/plugins/ com.google.gwt.eclipse.sdkbundle_2.4.0.r36v201109211906/gwt-2.4.0/gwt- user.jar!/com/google/gwt/i18n/client/impl/cldr/ LocalizedNamesImpl_zh_HK.java' Line 25: No source code is available for type

Re: GWT-Project with JBoss 5.1

2011-09-28 Thread Sascha Hoffmann
Hi Thanks a lot. I fixed the problem. The servlet and servlet-mapping tags were disorderd. Again thank you. Sascha 2011/9/27 Mauro mauro.no...@gmail.com Hi Sascha Hoffmann Take a look at:

Re: UiBinder using Element and appendChild(child) possible?

2011-09-28 Thread benneq
Hey, I think you didn't understand what I meant. I want to create a GlassPanel as it is above (one div in another div). And then I'd like to use this Panel in another UiBinder to add a child Element to it. The Problem is: When I do write the code as above, UiBinder will not say 'append' the new

how to set HorizontalPanel tag's id attribute in ui.xml?

2011-09-28 Thread wahaha
in ui.xml,there is a HorizontalPanel tag,i write name attribute in it,it make errors. then write a styleName atrribute,it does not work. then,i want to know,how to apply css rules to the HorizontalPanel tag? -- You received this message because you are subscribed to the Google Groups Google Web

Re: Is it possible to flush the sub-editor of a CompositeEditor ?

2011-09-28 Thread tom
Don't know if it will help, but you might check out the ValueAwareEditor interface. Editors that implement it are fed with property updates during editing. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

java.io, java.nio for GWT

2011-09-28 Thread David Given
Hello, I've just released a library that, among other things, contains reasonable implementations of big chunks of java.io and java.nio: http://www.cowlark.com/cowj/ What you get is InputStreams, OutputStreams, Readers, Writers, Buffers, Charset and a handful of charset codecs, and assorted

Re: XSRF protection

2011-09-28 Thread David Chandler
RequestFactory does not provide built-in XSRF protection. You can set a custom header in DefaultRequestTransport as previously suggested by Thomas Broyer: https://groups.google.com/group/google-web-toolkit/browse_thread/thread/f0f74b0734f04a1c/431c7ba0e3368c8f As for the session mechanism in

Re: XSRF protection

2011-09-28 Thread David Chandler
Hot off the press: see also https://groups.google.com/d/msg/google-web-toolkit/-/PmeSgruN0Z4J /dmc On Wed, Sep 28, 2011 at 7:20 AM, David Chandler drfibona...@google.comwrote: RequestFactory does not provide built-in XSRF protection. You can set a custom header in DefaultRequestTransport as

Re: How to install a previous version of the GWT - Eclipse Plugin with Maven

2011-09-28 Thread David Chandler
Hi Jose, you can download the GWT SDK and GAE SDK separately from their download sites and use the Configure SDKs link the Eclipse dialog to point to them. /dmc On Tue, Sep 27, 2011 at 12:47 PM, Jose CT josemiguelcruztol...@gmail.comwrote: Hi all, I have been following the instructions found

Gwt Binder problem.

2011-09-28 Thread Brito
Compile application shows the error. please help. //environment eclipse 3.5 gwt 2.4.0 app engine 1.5.3 //error [ERROR] Element may only contain a single child element, but found g:VerticalPanel ui:field='panel1' and g:VerticalPanel ui:field='panel2'. Element g:center //.xml file ui:UiBinder

Re: add Handler to RichTextArea elements

2011-09-28 Thread Alesandro Lang
On the GWT IRC channel I got a hint how to solve it. Now I have implemented it this way: class MyRichTextArea extends RichTextArea { @Override public void onBrowserEvent(Event event) { if (DOM.eventGetType(event) == Event.ONMOUSEOVER) { // check event.getEventTarget()

Re: Keeping Data and SelectionModel in sync

2011-09-28 Thread Paul Illingworth
I'm having the same problem and have posted a question on Stack Overflow http://stackoverflow.com/questions/7581628/gwt-celltable-selection-model-is-returning-old-selection -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Error: An internal error occurred during: Launching HelloWorld (1). org/eclipse/jdt/debug/core/JDIDebugModel

2011-09-28 Thread TBirch
I just upgraded to Java version 7 and GWT 2.4. Affter creating the basic GWT new app I get this error when trying to run the app: An internal error occurred during: Launching HelloWorld (1). org/eclipse/jdt/debug/core/JDIDebugModel. Anyone else have this problem and know of a fix? -- You

XPath based Document search

2011-09-28 Thread Mohit
Hey all, Does GWT provide XPath notation based searches in DOM like GXT does? My requirement actually is to look out for a node under a given parent node with a given css class name. In GXT, there is a API like DomQuery.selectNode(String selector, Element root). I can provide selector like

Re: Keeping Data and SelectionModel in sync

2011-09-28 Thread Paul Illingworth
Looks like a bug. http://code.google.com/p/google-web-toolkit/issues/detail?id=6278 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: how to set HorizontalPanel tag's id attribute in ui.xml?

2011-09-28 Thread Sudhakar Abraham
Use inline style sheet within uibinder tag. Add styles attribute inside ui:style../ui:style tag, and specify the style name at styleName attribute in HorizontalPanel. Try the code. //example code ?xml version=1.0 encoding=UTF-8? ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'

Re: Gwt Binder problem.

2011-09-28 Thread Sudhakar Abraham
DockLayoutPanel center element holds only one panel. Wrap your veritcalpanels in another verticalpanel. See the sample below. //corrected code .xml file. ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' g:DockLayoutPanel

Test folder included in GWT compile??

2011-09-28 Thread Patrick Tucker
I recently added a GWTTestCase class to one of my project for learning/ experimental purposes. Today when I went to compile the project for deployment, I was given an error indicating that the test class source code is not available. The test class is in a separate folder from my actual projects

Re: What do you think?

2011-09-28 Thread Kees de Kooter
I think the writer of this article should first read up on the manual of the enter key. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: What do you think?

2011-09-28 Thread Andreas Horst
+1 One of the worst (formatted) articles I've 2011/9/28 Kees de Kooter kdekoo...@gmail.com I think the writer of this article should first read up on the manual of the enter key. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Is there a way to cancel/destroy a RequestContext or EditorDriver while editing?

2011-09-28 Thread Aidan O'Kelly
You don't need to decide whether you call persist(), or remove(), until the user decides to save or delete the entity, so you can use a RequestContext to start editing, and later, depending on what the user decides to do, call either persist() or remove() in that same RequestContext. Slightly

Re: What do you think?

2011-09-28 Thread Ryan Groten
I'm still very new but I'm enjoying it a lot. Like cueman said though, can't please everybody. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: What do you think?

2011-09-28 Thread Jim Douglas
Oh wow, an anonymous and incoherent rant. I am shocked -- shocked! -- to find such a thing on the Internet. On Sep 27, 9:37 pm, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: Hi , what do you think about this:http://amplicate.com/hate/gwt/4104355-i-hate-gwt-its-one-of-the-worst...  ? --

Are there any libraries for highlighting/pointing to/selective disabling of widgets?

2011-09-28 Thread toont...@googlemail.com
We have a Swing library (http://code.google.com/p/migen/source/browse/ trunk/java/src/uk/ac/lkl/common/ui/jft/) that is useful for implementing interactive tutorials and programmatic interface interventions (e.g. 'intelligent' help). We are wondering if there is anything close that works for GWT

Re: GWT-Project with JBoss 5.1

2011-09-28 Thread lakumc
Hi Sascha, i think there is no problem to deploy on JBoss 5.1. I use weblogic 11g and the only thing i had to do was compile with one click on 'GWT Compile Project' icon in Eclipse and copy the war directory in autodeploy dir. I think it's similar on JBoss 5.1. On 27 Set, 14:48, Sascha Hoffmann

Re: What do you think?

2011-09-28 Thread Palo G.
Author of article has right in some points (think that everyone who is developing apps using gwt found himself in similiar problems like author), but as Paul Robinson said, GWT do something that is very difficult. You can never please everybody bud I'm sure that everyone who had develop some J2EE

UiBinder errors not very helpful -- am i missing a compiler option?

2011-09-28 Thread HBA
Hi, I'm starting a new gwt project, and I've decided to use UiBinder instead of pure java. I'm starting to regret this decision. In fact, I'm starting to think that maybe I should switch to pure java. But before that, I thought I post a question and get your feedback. In my limited

Image compression.

2011-09-28 Thread German Castellar
I have a client requirement for uploading images of aprox 5 Mb. Due to a bandwidth constraint i need to compress this images and upload them using GWT. How can i achieve this? thanks, -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Image compression.

2011-09-28 Thread David Given
On 28/09/11 17:44, German Castellar wrote: [...] I have a client requirement for uploading images of aprox 5 Mb. Due to a bandwidth constraint i need to compress this images and upload them using GWT. You want to use the HTML5 File API to read the file client-side and then mangle them how you

Request Factory Proxy Variable Null problem

2011-09-28 Thread Mark Wengranowski
Hi Everyone, I'm stuck on figuring out why a List Variable lineItems from my entity comes back as null when passing it through the entity proxy. All the other getter methods return values but for some reason the list is null. When stepping through the code i can see that the list variable is

Re: UiBinder errors not very helpful -- am i missing a compiler option?

2011-09-28 Thread Ryan Groten
When I get the failed to resolved ... via deferred binding errors there's usually a useful error message in the output above it (missing required attribute or can only have 1 child element, etc). You don't get those types of error messages? -- You received this message because you are

Re: How To test Application an emulate many users

2011-09-28 Thread Palo G.
You can use Selenium to do load test trought user interface with little modifications, or you can create load test using for example JMeter that sends POST messages with content that you will catch from GWT RPC communication. On 28 zář, 08:57, Foermchen82 juergen.f...@gmx.de wrote: Hi

Re: How To test Application an emulate many users

2011-09-28 Thread karim duran
Hi Juergen, 1) Build your application as you usually do. Deploy it. 2) Then download Webload tool ( open source version of the famous Loadrunner from Mercury) http://www.webload.org 3) Read the instruction to integrate the plugin in your browser 4) Then browse your application as a normal user.

Re: How to use external Java beans on client

2011-09-28 Thread karim duran
Hi David, 1) If you have the javadoc of the library where the javabean Class is, you don't need the source at all. 2) Simply put the *.jar in /WEB-INF/lib of your web application. GWT don't prevent you to use normal java library in your project. As soon as is done, your javabean is in the

Re: Is it possible to flush the sub-editor of a CompositeEditor ?

2011-09-28 Thread Eric Andresen
Thanks for the idea. I took a quick look at that interface, but I didn't want my sub-editors to have to report every single change as they happened, I wanted the updates all at once as a single object (since my CellTable takes objects). The route I'm currently looking down involves passing

Re: Request Factory Proxy Variable Null problem

2011-09-28 Thread Julian
Could this be related? https://groups.google.com/forum/#!searchin/google-web-toolkit/requestfactory$20null/google-web-toolkit/ocBf6sXrv-I/HNkuYb9CnfQJ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Debugging GWT application powered by php Apache web server

2011-09-28 Thread panda
Hello, I created a GWT application integrated with my current web site based on php under Apache. The data exchange is made in JSON so no problem for integrating these two technologies. The problem I have now is almost during the stabilization phase of my development because I want to debug the

Re: RequestFactory, ServiceLocator and Spring

2011-09-28 Thread Tom
Works great thanks for sharing!! -- 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/-/2nsmTnLPjRsJ. To post to this group, send email to

Re: Request Factory Proxy Variable Null problem

2011-09-28 Thread Mark Wengranowski
It could be but im not really sure how i should use it? How do you determine what parameter gown in with(param) would i just change this line of code rs2.getInvoiceWithDetails(clientFactory.getUser() +view.getInvoice()).fire(new ReceiverInvoiceProxy() to

Re: Request Factory Proxy Variable Null problem

2011-09-28 Thread Jens
You have to use the property name of the entity proxy. So in your case .with(lineItems). If you need more than one property you can just add it to the parameter list, e.g. .with(lineItems, otherPropertyName). You can also go down the hierarchy with a dot notation. Imagine your

Re: Request Factory Proxy Variable Null problem

2011-09-28 Thread Mark Wengranowski
Awsome! Thanks for you help with this guys. Everything is working properly now. Cheers, -Mark On Sep 28, 3:17 pm, Jens jens.nehlme...@gmail.com wrote: You have to use the property name of the entity proxy. So in your case .with(lineItems). If you need more than one property you can just add

Re: Request Factory Proxy Variable Null problem

2011-09-28 Thread Julian
*Your other properties are already filled because they are primitive types ( = no entity proxy). Only properties that are entity proxies or lists of entity proxies are null when you do not add these properties to the .with() method.* This also applies to instances of ValueProxy. -- You

Re: Is it possible to flush the sub-editor of a CompositeEditor ?

2011-09-28 Thread Thomas Broyer
I don't get why you have/want to flush the subeditor of your CompositeEditor (and by the way, why aren't you using a ListEditor?) Could you explain? (actually, I don't understand your 2.d and 2.e steps) -- You received this message because you are subscribed to the Google Groups Google Web

Re: Debugging GWT application powered by php Apache web server

2011-09-28 Thread Thomas Broyer
See http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: XSRF protection

2011-09-28 Thread Vampire
Hm, thanks. While I don't see a post of Thomas Broyer in the link you mentioned I think I know what you mean. I just wondered that there is not an XSRF-save extension of the newer RequestFactory as there is for the older GWT-RPC. Or is this something to expect in a future release? On 28 Sep.,

Can't launch the sample project

2011-09-28 Thread Valentin Torikian
Hello, I'm new to GWT, it seems to be a great tool, but unfortunately I can't properly launch the sample app (the one created by default when creating a new GWT project). When I launch it and click on the Send button I got this error browser side:

Devmode not working

2011-09-28 Thread bryanb
I'm trying to get devmode working using Tomcat rather than the embedded Jetty server. I've followed the instructions, and everything seems to be correct, but it doesn't work. Using ant war' I can compile the whole project, copy the war to Tomcat, then

Re: Is it possible to flush the sub-editor of a CompositeEditor ?

2011-09-28 Thread Eric Andresen
Hi Thomas, You are right that the ListEditor (or HasDataEditor) is the behavior I wanted to use, but my Proxies at the time were related with a Set interface based on the server-side requirements. Essentially what I did was re-write the ListEditor as a SetEditor. Recently we had to

twitter4j + GWT

2011-09-28 Thread Bruno Sandivilli
Anyone can help me with this? I want to have an ouath twitter application based on on GWT. But i cant add twitter4j on client side, so how can i manage the callback url(for example)? Any code snippets are welcome :). Thanks! -- You received this message because you are subscribed to the Google

Re: Devmode not working

2011-09-28 Thread bryanb
I created a simple new project, and it works as it should. I think the problem with my other project is that I've compiled the code from multiple other modules into some jars for deployment and I think this is why devmode is not picking up the changes to the source because of the jar files. --

Request for help with Request Factory and Spring MVC integration

2011-09-28 Thread Krishna Kishore k
Hello, Can anyone please help me out on the below? I am new to GWT and I have been trying a lot to get a starter app running using GWT, Spring and hibernate. I was able to set up basic app but now I want to use RequestFactory with Spring MVC. After searching a lot I came across few links to get

Comparing GWT and Gen2 performance

2011-09-28 Thread Karzai
please let me know if there is any performance issue if I go for 'com.google.gwt.gen2. package instead of pure GWT. -- 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

Documentation suggestion: MVP tutorial using EventBus and Custom GwtEvent

2011-09-28 Thread Brandon Donnelson
I'd like to suggest writing more documentation using the MVP approach and EventBus with Custom GWT Event handlers for say a larger de-coupled GWT application. I think a great example would be writing a GwtEvent based on [Google] Logged in/out on app engine. Once the rpc call comes back from

Re: UiBinder errors not very helpful -- am i missing a compiler option?

2011-09-28 Thread Brandon Donnelson
Here is a quick UiBinder screencast. I'm not sure I get what your doing yet. http://www.youtube.com/watch?v=Fem2T4ob7GI Brandon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

I made a few simple screencast tutorials.

2011-09-28 Thread Brandon Donnelson
I made a few GWT screen casts tutorials and have more in the works. For those who want another angle to look at. http://www.youtube.com/playlist?list=PL29B4CCEF46EFF4F2 Brandon Donnelson http://gwt-examples.googlecode.com -- You received this message because you are subscribed to the Google

Re: GWTTestCase run by surefire 2.9

2011-09-28 Thread Colin Alworth
I've gotten emma to work with gwt:test, but only with maven 2 - I havent tracked down the specifics of why it didn't work with 3. Main piece in doing this was to stop surefire from running, and make sure that gwt tests run normally during a build. After that, the only step was to run the

Re: UiBinder errors not very helpful -- am i missing a compiler option?

2011-09-28 Thread -sowdri-
One occasion in which UiBinder errors are misleading is when you add custom xml namespace like, *xmlns:c=urn:com.google.gwt.user.cellview.client*, in this case i 've actually missed xmlns:*import*:c, the compiler would just say it cannot find a matching element on the xml file. A better

Failure Parsing XML Document from Servlet

2011-09-28 Thread AThinerCoin
I'd like to pass an xml file to my gwt client. I created another servlet that fetches it from the local file system and returns the xml file when I call its url. If I go to the url from my browser, it looks fine. If I fetch the url from curl, it uses the gt;lt; kind of format. If I fetch the

Re: Debugging in production mode

2011-09-28 Thread Laura Bickle
gwt-log helped me find my errors. (Thanks Isaac) I had a bunch of NullPointerExceptions that weren't getting caught. (Thanks Thomas) When I changed my code to check first instead of catching an exception, it worked! On Fri, Sep 23, 2011 at 1:03 AM, Thomas Broyer t.bro...@gmail.com wrote:

Re: Request for help with Request Factory and Spring MVC integration

2011-09-28 Thread -sowdri-
http://jsinghfoss.wordpress.com/2011/08/10/gwt-2-2-0-requestfactory-spring-3-0-x-integration/ . The solution presented in the above blog, suggests RF integration using DispatcherServlet, but there actually there is another way of integrating directly with your spring container. I'll put

[gwt-contrib] Re: Generated EditorContext class names take actual parameterization into account. (issue1352806)

2011-09-28 Thread t . broyer
Reviewers: rjrjr, Message: On 2011/09/27 21:34:03, rjrjr wrote: Thomas, if you still want this in can you make the me reviewer? Well, your comment was enough to add you as a reviewer (and it removed BobV at the same time). I'll go through my other open reviews previously assigned to Bob, to

[gwt-contrib] Any interest in having css3pie integrated with GWT?

2011-09-28 Thread Jeff Larsen
To be blunt, Trying to get styling to work right in IE is somewhat of a nightmare. Especially with the lack of css3 support. There is a library out there that fixes some of the major headaches css3pie. http://css3pie.com/ border-radius,

Re: [gwt-contrib] Any interest in having css3pie integrated with GWT?

2011-09-28 Thread Juan Pablo Gardella
+1 2011/9/28 Jeff Larsen larse...@gmail.com To be blunt, Trying to get styling to work right in IE is somewhat of a nightmare. Especially with the lack of css3 support. There is a library out there that fixes some of the major headaches css3pie. http://css3pie.com/ border-radius,

[gwt-contrib] [google-web-toolkit] r10674 committed - Added missing FF7 Plugin lib

2011-09-28 Thread codesite-noreply
Revision: 10674 Author: acle...@google.com Date: Wed Sep 28 12:17:34 2011 Log: Added missing FF7 Plugin lib http://code.google.com/p/google-web-toolkit/source/detail?r=10674 Added: /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libmozalloc.so