Re: Minimalistic JPA in GWT 2.1.0.M3

2010-10-05 Thread Y2i
Hi Jin, Thank you for your response! I was able to make JPA work in Jetty, but only using resource-local entity manager in Java SE environement. This makes sence because for container-managed entity manager an EE environment is required, and Jetty by itslef does not provide it. My persistence

Re: New GWT 2.0 Book

2010-10-05 Thread lalit
I think it's fair enough for a developer of the framework to write a book. This gives a more comprehensive insight in the framework. Buying a book is a choice to be exercised by us . No one forces us. If it is well written and worth it why not buy it. As far as documentation goes, I do agree

Re: Help: Development of large App with GWT

2010-10-05 Thread lalit
With ability to bid on multiple bidding at the same time I think what you are leveraging is the ability to do multiple AJAX calls to server simultaneously which is GWT strength but is not unique to GWT. There are many AJAX engines out there. I feel where GWT stands out is to able to push a lot of

Re: calling GWT Javascript compiler from ant

2010-10-05 Thread 3p1...@googlemail.com
great, works now thanks nacho On Oct 4, 10:03 pm, nacho vela.igna...@gmail.com wrote: Try with this: ?xml version=1.0 encoding=utf-8 ? project name=ProjectName default=war basedir=.   !-- Configure path to GWT SDK --   property name=gwt.sdk location=/path/to/gwt /   !-- SWT on Mac

Re: Help: Development of large App with GWT

2010-10-05 Thread Noor
Yes, I think that you r right lalit. That's the confusing part, which app can i develop, what where i am blocked?? -- 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

Re: part II - Large scale application development and MVP - No Eclipse supported!

2010-10-05 Thread 100IT
SOLVED, THANKS!! I had to clear the cache files under the war folder. I have to look into these remaining warnings: ContactsViewImpl is a raw type. References to generic type ContactsViewImplT should be parameterized The import com.google.gwt.dom.client.NodeList is never used The import

CellTable and Paging question

2010-10-05 Thread Maurice
Hi, I have a CellTable with a SimplePager. When I click forward on the SimplePager widget, it flicks through the pages as you'd expect. However, when I get to the last page and continue hitting forward, blank pages keep loading. Which parameters should I change to stop this behaviour? Thanks!

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Shedokan
Maybe instead try asking the person to login before enabling him the option to write a message? On Oct 3, 12:31 pm, Haris harishas...@gmail.com wrote: Using Users Service, after filling up login and password and press OK, onModuleLoad is executed. Basically the gwt module is reloaded. I am

Re: Programming issue with splitlayoutpanel

2010-10-05 Thread tibo_fr
[RESOLVED] It's allright I've found a solution. here it's my source code for a widget that works as the Windows Explorer in detail mode: Within the splitlayoutpanel there are labels. - .ui.xml - ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Didier DURAND
Hi, can't you store this text in a cookie so that you get it back after reload ? (I would even say you that you can push this cookie back/down to the client browser via some rpc form of you choice in order to place it in the browser cache before reload happens) regards didier On Oct 5, 1:56 pm,

Re: GWT for client-only web-application

2010-10-05 Thread Shedokan
I had the same question, when I started using GWT I knew javascript very good and I was just starting with java. I found that when writing in java you can have classes and classes that inherit from other classes which is a must in all modern apps, this makes your life a whole lot easier. You do

Re: Who is the owner of gwtnews.blogspot.com?

2010-10-05 Thread Shedokan
Thanks for your help, I hope this gets resolved because these blogs are just unneeded and probably are used just to make money. If it is not against the Blogger TOS maybe at least they can ask them to hide our emails. Thanks On Sep 29, 4:43 pm, David Chandler (Google) drfibona...@google.com

Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Brian
Hi, I'm trying to figure out onAttach() onDetatch() onDetachChildren() to ensure I'm not leaking, but I don't quite get it. Is there a reference somewhere? Am I best digging through the code to figure out the flow? I've read the javadocs, but am having a hard time putting it together. Got a

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread George Georgovassilis
Hello Haris, Not sure if I understand your problem, so I'll rephrase it: You have a GWT page with a Form element and a submit button. When the submit button is clicked, the page is reloaded. Question: Do you programmatically construct the form or does it exist in the static html? The reason

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Thomas Broyer
On Oct 3, 12:31 pm, Haris harishas...@gmail.com wrote: Using Users Service, after filling up login and password and press OK, onModuleLoad is executed. Basically the gwt module is reloaded. I am going to loose data entry stuff form the user. For instant if someone is typing a forum post and

menu with stacklayout

2010-10-05 Thread András Csányi
Hi Guys, I'm new at gwt and I would like to ask some hint or advise how can do this. My idea that I want to use StackPanel (StackLayout) to group my menuitems like this: - administration -- user administration -- rules - practice -- hangman -- card etc. The 'administration' and 'practice' part

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Thomas Broyer
On Oct 5, 2:30 pm, Brian hibr...@gmail.com wrote: Hi, I'm trying to figure out onAttach() onDetatch() onDetachChildren() to ensure I'm not leaking, but I don't quite get it.  Is there a reference somewhere?  Am I best digging through the code to figure out the flow?  I've read the

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Brian
Thanks. I still have to call onAttach() on my widget in order for the ClickHandler to fire. HTMLPanel hpanel = new HTMLPanel(); Wrapper w = new Wrapper(Test); w.addClickHandler(...); w.onAttach(); hpanel.add(w, foo); This does clean up the code a lot -- but I'm still left wondering when/ where

Re: GWT-Platform with GWT 2.1

2010-10-05 Thread Travis Camechis
Do you have to use Guice on the server side in order to use Dispatch or can you use Spring on the server side? On Wed, Sep 29, 2010 at 11:46 PM, Brendan Doherty bren...@propertysimplified.com wrote: Here are a few discussions on the differences.

Re: GWT for client-only web-application

2010-10-05 Thread خليل ابو عواد
asier. You do have to think differentl2010/10/5 Shedokan shedok...@gmail.com I had the same question, when I started using GWT I knew javascript very good and I was just starting with java. I found that when writing in java you can have classes and classes that inherit from other classes

Re: CellTable and Paging question

2010-10-05 Thread Thomas Broyer
On Oct 5, 12:28 pm, Maurice maurice.ocon...@gmail.com wrote: Hi, I have a CellTable with a SimplePager. When I click forward on the SimplePager widget, it flicks through the pages as you'd expect. However, when I get to the last page and continue hitting forward, blank pages keep loading.

Re: time selection widget?

2010-10-05 Thread Vik
hie thanks just for a single widget i dont want to use whole library so i was looking for a number selector widget and could not find that either. any advise plz.. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Oct 4, 2010 at 7:33 PM, ctasada

Re: GWT- chat

2010-10-05 Thread danigb
There's a complete Chat implementation library using xmpp as protocol at: emite.googlecode.com You can use only the library or the complete UI implementation. Maybe it helps On Oct 4, 5:44 pm, Subhrajyoti Moitra subhrajyo...@gmail.com wrote: http://code.google.com/p/atmosphere-gwt-comet/

Gzip'ing nocache file causes IE 6 to fail to load

2010-10-05 Thread Jeremy Hulford
I came across a weird situation yesterday where if I compressed my nocache.js file after deploying my app, IE 6 fails to start the GWT module unless I hit shift-refresh to reload the page. After doing that, the page loads fine on further page loads. This issue didn't exist in any other browser,

Re: GWT panel for HTML UL/LI lists

2010-10-05 Thread Andy
I took a similar approach but made it more generic and didn't add special Widget wrapping methods (I just add ElementPanel(LI) to an ElementPanel(UL) or ElementPanel(OL). I like your approach which enforces usage. /** * A generic element panel for Hx, UL, LI, etc. */ public class ElementPanel

Upgrade to 2.1.0m3 failed.

2010-10-05 Thread skippy
I tried upgrading to version 2.1.0m3 to pick up some fixes related to blank/white pages. After the upgrade on our Solaris servers, all my RPC calls are failing when the first page is trying to load. Thoughts? -- You received this message because you are subscribed to the Google Groups Google

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Brian
What's odd (ie, I don't get this stuff yet) is the HTMLPanel's onAttach doesn't get called when htmlpanel.add() is called. Soo.. instead of wrapping the widget, it seems better to wrap the HTMLPanel and call onAttach on the panel itself, and add it to RootPanel.detachOnWindowClose(). ie, Label

Re: Upgrade to 2.1.0m3 failed.

2010-10-05 Thread olivier nouguier
Be sure to delete all generated files (hosted.htmt *.js etc ...). On Tue, Oct 5, 2010 at 4:00 PM, skippy al.leh...@fisglobal.com wrote: I tried upgrading to version 2.1.0m3 to pick up some fixes related to blank/white pages. After the upgrade on our Solaris servers, all my RPC calls are

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Thomas Broyer
On Oct 5, 4:13 pm, Brian hibr...@gmail.com wrote: What's odd (ie, I don't get this stuff yet) is the HTMLPanel's onAttach doesn't get called when htmlpanel.add() is called. Of course. It'll be called when adding the HTMLPanel into a container widget. Soo.. instead of wrapping the widget, it

Re: Gzip'ing nocache file causes IE 6 to fail to load

2010-10-05 Thread Thomas Broyer
On Oct 5, 3:52 pm, Jeremy Hulford jer...@hulford.net wrote: I came across a weird situation yesterday where if I compressed my nocache.js file after deploying my app, IE 6 fails to start the GWT module unless I hit shift-refresh to reload the page.  After doing that, the page loads fine on

Re: Upgrade to 2.1.0m3 failed.

2010-10-05 Thread skippy
OK, I do see the old version got checked into our source control environment. Let me clean that up and I will let you know. On Oct 5, 9:15 am, olivier nouguier olivier.nougu...@gmail.com wrote: Be sure to delete all generated files (hosted.htmt *.js etc ...). On Tue, Oct 5, 2010 at 4:00

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Brian
ok thank you. I had been doing : String s = getServerHTML(); DOM.getElementById(id).setInnerHTML(s); // woops id is an id to a Panel in the hierarchy. I didn't know how to set its innerHTML without using the DOM class. From there, I was using Dom methods to get the div I wanted to append a

Re: New GWT 2.0 Book

2010-10-05 Thread Kristjan
Hi, if you look at the Table of Contents, you can see it is mostly basic stuff and 2.0 contents. regards Kristjan On Oct 1, 7:38 pm, Tommy Lui tlui1...@gmail.com wrote: Hi, Please help me understand why Chris Ramsdale (Google's Developer Relations team to develop and advocate GWT best

TextBox

2010-10-05 Thread Caio
I have created a puzzle app using resources from AWT/Swing and it prints TextFields in a window according to specific positions (x, y) I set with setBounds in order to form a main vertical word. This app works very well. Now, I have to pass this app into a GWT one, but I don't know how to create

Re: Help: Development of large App with GWT

2010-10-05 Thread 007Prog
I am also thinking about this. Google provide us with a toolkit. So, what type of application can we create with this one that we cannot or would be difficult with another framework. Because Now Noor must choose a proper application that clearly shows that yes, THIS APPLICATION WOULD HAVE BEEN

GWT Module Dependency

2010-10-05 Thread Yudji
I was read the article http://code.google.com/p/gwt-comet/wiki/GettingStarted and where in the project I put inherits name=net.zschech.gwt.comet.Comet / ? and add-linker name=xs/ anywhere in the xml? thanks -- You received this message because you are subscribed to the Google Groups

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Flan Brody
Hi GWT in Action has an excellent chapter about Event Handling. It's an old book, probably 2007 and GWT 1.6 but as far as I can tell from looking at the 2.1.M3 API (*com.google.gwt.user.client.ui.Widget) *alot of this hasn't changed much, if at all I read somewhere that in 2.0 Listeners became

MVP JUnit test startup error

2010-10-05 Thread Tom de Vroomen
Hello there, I just implemented MVP into my project and wanted to do some GWTTestCase tests. I run the test by eclipse launcher with JUnit 3, also tried JUnit 4, but no success. I get the following stacktrace: Module com.nuon.cs.is.nuonxx.web.mijnnuon.gwt.movestatus.MoveStatusTest.JUnit has

Re: Weird error on RPC calls

2010-10-05 Thread Quincy
Are you intending for ActualModelData to extend MyModelData rather than ModelData? Yes - sorry my typo. I would have loved to step through the source for the serializer and try to work out why that field didn't get serialized, but I don't know where to find that code. Thanks, Quincy -- You

NoClassDefFoundError

2010-10-05 Thread wingdings
im getting this random error today i dont know why it was working better yesterday javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.Boolean

Re: Cannot create new web applications.

2010-10-05 Thread Justin Lilly
This was sent 3 days ago. I've since gone with Aptana which worked successfully. The 32 and 64 bit versions of Eclipse didn't work. Also, this moderation is lame for a group based around user support :-/ -justin On Mon, Oct 4, 2010 at 9:19 PM, Y2i yur...@gmail.com wrote: Strange, I didn't have

Re: GWT Complier OutOfMemory issue

2010-10-05 Thread Chris Conroy
This doesn't address code-splitting per-se, but r8921 and r8850 reduce both DevMode and compiler memory footprint. On Sat, Sep 18, 2010 at 11:34 PM, lin.liang birdandfis...@gmail.com wrote: Chris, I didn't see the OOME before using code splitting. In order to reduce the application's startup

Best way to add click handler to Element?

2010-10-05 Thread Falcon
What's the best practice to add a ClickHandler in GWT to an Element? For example, I have a ul with multiple li Elements inside, and I need to take an action based on which li is clicked. (It would also be best if other widgets could listen for those events, since I'm using this to make tabs but

Re: Cannot create new web applications.

2010-10-05 Thread Chris Conroy
Justin, we'd all love to not have to deal with the hassle of moderation, but sadly there are a lot of spammers out there. Only new members are automatically moderated, and once a member makes some legitimate posts, we flip the bit that allows them to post without being stuck in the moderation

Re: GWT panel for HTML UL/LI lists

2010-10-05 Thread Markus Kramer
You could do it with DOM.createElement(ul). But you would be using some lower level API directly. I believe it's good to have a clear encapsulation of a HTML construct that at least I use quite frequently now. @Andy: I no longer understand the purpose of that clear method as well. Have to check

Re: Cannot create new web applications.

2010-10-05 Thread Justin Lilly
Aptana does work with GWT. I installed GWT and Eclipse Java EE version (4 times, twice with 64 bit, twice with 32 bit versions of eclipse). I installed the GWT plugin (install software, etc) but those menu options were not there, they did not appear after a restart (computer or eclipse itself),

Nested Layout Issues

2010-10-05 Thread Chris Boldon
I'm creating an application with a view based upon the DockLayoutPanel. I initialize a DockLayoutPanel and add SimplePanels to the north, south, west, and center docks so I can pass them to the Presenters. The presenter then adds a custom widget to the to the SimplePanel. The custom widget

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Thomas Broyer
On Oct 5, 4:40 pm, Flan Brody flannanbr...@gmail.com wrote: Hi GWT in Action has an excellent chapter about Event Handling. It's an old book, probably 2007 and GWT 1.6 but as far as I can tell from looking at the 2.1.M3 API (*com.google.gwt.user.client.ui.Widget) *alot of this hasn't

Re: Help: Development of large App with GWT

2010-10-05 Thread Thomas Broyer
On Oct 5, 3:02 pm, 007Prog camarad250...@gmail.com wrote: I am also thinking about this. Google provide us with a toolkit. So, what type of application can we create with this one that we cannot or would be difficult with another framework.  Because Now Noor must choose a proper application

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Flan Brody
good to know that the excellent chapter in GWT in A on event handling is still more or less relevant with 2.1. Thanks Thomas On Tue, Oct 5, 2010 at 9:06 AM, Thomas Broyer t.bro...@gmail.com wrote: On Oct 5, 4:40 pm, Flan Brody flannanbr...@gmail.com wrote: Hi GWT in Action has an

Re: MVP JUnit test startup error

2010-10-05 Thread Thomas Broyer
On Oct 5, 10:00 am, Tom de Vroomen tomh...@gmail.com wrote: Hello there, I just implemented MVP into my project and wanted to do some GWTTestCase tests. I run the test by eclipse launcher with JUnit 3, also tried JUnit 4, but no success. I get the following stacktrace: Module

Re: Need help with [ERROR] Annotation error: while doing GWT compile

2010-10-05 Thread Thomas Broyer
On Oct 5, 5:31 am, Sanjeev sanjeev.x.ve...@gmail.com wrote: Hi: GWT newbie here, using gwt 2.04 with Guice 2.0, Gin 1.0 and mvp4g-1.2.0. I am getting the below error when trying to run “com.google.gwt.dev.Compiler” on my GWT project. Feeling very lost right now, so please help. Please ask

Re: GWT-Platform with GWT 2.1

2010-10-05 Thread Philippe Beaudoin
Spring support is planned for release 0.5 (e.t.a. early November) Philippe On Tue, Oct 5, 2010 at 6:40 AM, Travis Camechis camec...@gmail.com wrote: Do you have to use Guice on the server side in order to use Dispatch or can you use Spring on the server side? On Wed, Sep 29, 2010 at 11:46

Re: Nested Layout Issues

2010-10-05 Thread Falcon
In general, the *LayoutPanels need one of the LayoutPanels as their parents because of the absolute positioning CSS magic GWT is doing to make the layouts work. You can switch to using one of the LayoutPanels as a parent; set a height value for the StackLayoutPanel in your code (which is obviously

Re: GWT Module Dependency

2010-10-05 Thread Y2i
These go to your module file. http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml On Oct 4, 3:34 pm, Yudji guilhermeyu...@hotmail.com wrote: I was read the articlehttp://code.google.com/p/gwt-comet/wiki/GettingStarted and where in the project I put

GWT Designer for Eclipse 3.6 - Install Fails

2010-10-05 Thread tinnitus007
I have tried w/ Eclipse 3.6; 3.6sr1; for J2EE RCP. With and without GWT Eclipse Plugin installed prior (GEP install succeeds). Problem Occurred message w/ 3.6sr1 for RCP is... - An error occurred while collecting items to be installed session context

Calling java from external javascript

2010-10-05 Thread Boris Lenzinger
Hi, I'm currently trying to call a java method from a javascript that lives outside of the generated javascript from GWT. What I want to do is the following : make the gwt component communicates with a javascript component (in both ways). I have to say that I don't know at all javascript..

Re: Calling java from external javascript

2010-10-05 Thread Boris Lenzinger
Sorry for the javascript : there is a mistake : variable name is not buttonnode but button at return step of the method... Anyway the problem still stands ;-) Boris 2010/10/5 Boris Lenzinger boris.lenzin...@gmail.com Hi, I'm currently trying to call a java method from a javascript that lives

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Brian
Just got rid of all remaining wrapped elements where I was calling onAttach directly. It's a different case than before... Have a few pages of static html where I just come in to attach a ClickHandler to a few divs. I was doing the DOM traversal, then wrapping an element, adding my click hander,

Implementing @OneToMany in a GWT Record subclass

2010-10-05 Thread Y2i
An Entity class participates in one-to-many relationship: @OneToMany private SetSomeClass someClass = new HashSetSomeClass(); How would I implement an EntityRecord? PropertyXXX someClass = new PropertyXXX(someClass, SomeClass.class); abstract XXXSomeClassRecord getSomeClass(); What should go

Re: New GWT 2.0 Book

2010-10-05 Thread Chris Ramsdale
Just to clarify, I donated my time to submit a few chapters and to review some of the other content that is going into the book. And yes, you read that right...I donated my time. We don't accept royalties at Google. I can't comment on the amount of 2.1 content in the book, but I can say

Re: New GWT 2.0 Book

2010-10-05 Thread Y2i
Chris, Nice to hear from you. Really appreciate your articles on MVP. Please elaborate more on GWT 2.1 MVP support in your book. Thanks, Yuri On Oct 5, 10:19 am, Chris Ramsdale cramsd...@google.com wrote: Just to clarify, I donated my time to submit a few chapters and to review some of the

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Haris
The way the users service work is. A login or logout url is generated by the User Service API. The link with this URL is presented to User. Let say to login, User will click the login url and it will redirect to login page. I did not create this login page. If using Google, it is google login

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Haris
As per your reply: - do the login in a popup window, with your redirect_to URL signaling the opening window (your app) that the user is successfully logged in This is what I want to do. Just that I do not know how to do it. Perhaps I will figure this out eventually. Will be great if

Re: AppEngine Users Service with GWT will always reload page/module upon login

2010-10-05 Thread Haris
A good idea. However there bound to be user who type very long message and time out. On Oct 5, 7:56 pm, Shedokan shedok...@gmail.com wrote: Maybe instead try asking the person to login before enabling him the option to write a message? On Oct 3, 12:31 pm,Harisharishas...@gmail.com wrote:

Re: New GWT 2.0 Book

2010-10-05 Thread Chris Ramsdale
Thanks, it's not my book though. The vast majority of the book is being written by Robert Hanson and Adam Tracy (the original authors of GWT In Action). On Oct 5, 2:06 pm, Y2i yur...@gmail.com wrote: Chris, Nice to hear from you.  Really appreciate your articles on MVP. Please elaborate more

GWT + GAE StockWatcher tutorial still has issues

2010-10-05 Thread BrianP
I've been following the GWT Tutorial - Google App Engine and following the Eclipse instructions. I downloaded and imported the StockWatcher project from http://code.google.com/webtoolkit/doc/latest/tutorial/projects/GettingStartedAppEngine.zip. Once I got to the point of testing the UserService

Re: New GWT 2.0 Book

2010-10-05 Thread Bayard Randel
While we've got your ear Chris, are we also likely to see documentation on scaffolding with Roo as well, or is that remaining within the purview of the Springsource team? On Oct 6, 7:38 am, Chris Ramsdale cramsd...@google.com wrote: Thanks, it's not my book though. The vast majority of the book

Trouble in using jboss with GWT in dev mode ([ERROR] Unable to find 'xxxx.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?)

2010-10-05 Thread Sanjeev
Gurus: GWT newbie here, need help. I have a J2EE app (has web and MDB components) that I am developing using JBoss as the app server. We decided to use GWT as a piece in our frontend technology. I am having trouble setting up the project such that I can run the app in dev mode. I have a GWT

Re: Need help with [ERROR] Annotation error: while doing GWT compile

2010-10-05 Thread Sanjeev
You are right sir, absolutely! I had not compiled the code (^%$), I know :-). Thank you for helping out! Regards Sanjeev -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Resolution specific size of panels / widgets

2010-10-05 Thread Deepak Singh
Hi All, I have one complex UI binder file. The xml file is attached here. The problem is that it appears as fixed size layout on all system resolution / all sizes of monitors. So it does not look good on high resolution. I want that the panels and widgets inside it should automaticall be

Re: Calling java from external javascript

2010-10-05 Thread Daniel Kurka
if you are in javascript its not $wnd its just window :) 2010/10/5 Boris Lenzinger boris.lenzin...@gmail.com Sorry for the javascript : there is a mistake : variable name is not buttonnode but button at return step of the method... Anyway the problem still stands ;-) Boris 2010/10/5 Boris

Re: Calling java from external javascript

2010-10-05 Thread Y2i
I think Boris is correct by using $wnd. I also call my javascript library functions from a native method through $wnd, as described here: http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html Boris' example seems complicated. At the beginning I would simply

Re: Resolution specific size of panels / widgets

2010-10-05 Thread Thomas Broyer
On 5 oct, 23:02, Deepak Singh deepaksingh...@gmail.com wrote: Hi All, I have one complex UI binder file. The xml file is attached here. The problem is that it appears as fixed size layout on all system resolution / all sizes of monitors. So it does not look good on high resolution. I want

Re: Implementing @OneToMany in a GWT Record subclass

2010-10-05 Thread Thomas Broyer
On 5 oct, 18:54, Y2i yur...@gmail.com wrote: An Entity class participates in one-to-many relationship: @OneToMany private SetSomeClass someClass = new HashSetSomeClass(); How would I implement an EntityRecord? PropertyXXX someClass = new PropertyXXX(someClass, SomeClass.class); Hmm,

Re: Implementing @OneToMany in a GWT Record subclass

2010-10-05 Thread Y2i
Thanks for the reply Thomas. Properties are still there in M3, and Roo still generates them. May be they are gone in M4? Or simply they are not necessary in M3. I'll try to get rid of them. Regarding one-to-many: for now I use many-to-one and service methods to retrieve collections. Will be

GWT 1.6.4 question

2010-10-05 Thread Chris
I am working on an app that uses GWT 1.6.4 - I need to override the RemoteServiceProxy stub that gets dynamically created when I call GWT.create(Service) to set a custom header before it fires off the request to the server. I have found a way to do this using BindUI, however, upgrading GWT to 2.0

Advice for site design

2010-10-05 Thread nick kov
I'm creating a site which will have a sign up screen, a login system, and then interaction with the site once you login. My question is, can I mix GWT with PHP in a healthy manner? I don't know how well GWT handles client-server interactions. But should I stick to pure GWT for ease and cross

JSON requests with authorization and cross-site

2010-10-05 Thread Wouter
Hi there, im quite new to GWT and i can not figure this one out... I want to do a JSON request to a server which would normally show me a popup to fill in my username and password. How can i access this with GWT? i tried the request builder and using setPassword and setUser but it doesnt work for

Re: Wrapping elements, preventing leaks, attach, detach

2010-10-05 Thread Sorinel C
Sorry for bothering you with this -- but I just put it on net -- and it's a very very cool tool -- Check it out:http://cool-movie-browser.blogspot.com/ Cheers! PS: if you want more GWT tricks you can find it here: http://ui-programming.blogspot.com/ -- You received this message because

Re: Advice for site design

2010-10-05 Thread Y2i
I decided to use end-to-end Java solution (GWT, Jetty, and even considering replacing PostgreSQL with Derby), but GWT is also compatible with PHP on the server. http://code.google.com/webtoolkit/doc/latest/tutorial/JSONphp.html I think you can also embed PHP client code for authentication. For

Re: JSON requests with authorization and cross-site

2010-10-05 Thread lineman78
If it is basic auth then you should just be able to use JSONP, since it is cross site, if form auth you will need to have them auth before making the request. Remember you can't make cross site requests directly, but JSONP allows you to work around that. Since it is an authenticated request a

Re: Advice for site design

2010-10-05 Thread nick kov
interesting...thanks! , anybody else have any input? On Oct 5, 7:03 pm, Y2i yur...@gmail.com wrote: I decided to use end-to-end Java solution (GWT, Jetty, and even considering replacing PostgreSQL with Derby), but GWT is also compatible with PHP on the

how to create PushButton using UiBinder

2010-10-05 Thread mars
hi, I tried to create a PushButton(with an image) in UiBinder but could not get it work, here is my code g:PushButton ui:field=myPushButton image=myImage.gif/ anyone know how? thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: how to create PushButton using UiBinder

2010-10-05 Thread Y2i
May be this will help? http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/CustomButton.html On Oct 5, 5:54 pm, mars marsg...@gmail.com wrote: hi, I tried to create a PushButton(with an image) in UiBinder but could not get it work, here is my code

hbm2ddl not working with POJO that implement IsSerializable

2010-10-05 Thread Ted Malaska
I've used GWT on about 10 projects now and it's been great. This project I tried doing things a little differently. Using JPA (Hibernate) and hbm2ddl. Now I'm have a bunch of problems. I think I solved all the problem except for hbm2ddl. When I run it on the POJOs I get a

Re: hbm2ddl not working with POJO that implement IsSerializable

2010-10-05 Thread Ted Malaska
I figured it out. I'm using Maven and my GWT dependency looked like this dependency groupIdcom.google.gwt/groupId artifactIdgwt-user/artifactId version${gwt.version}/version scoperuntime/scope /dependency The org.codehaus.mojo.hibernate3-maven-plugin requires the

Comet help about code

2010-10-05 Thread Yudji
I read the comet in http://code.google.com/p/gwt-comet/source/browse/trunk/src/net/zschech/gwt/chat/server/ChatServiceImpl.java?r=98 Can explain to me about the code, because i dont undestand: public void send(String message) throws ChatException { .

Comet help about code

2010-10-05 Thread Yudji
I read the comet in http://code.google.com/p/gwt-comet/source/browse/trunk/src/net/zschech/gwt/chat/server/ChatServiceImpl.java?r=98 Can explain to me about the code, because i dont undestand: public void send(String message) throws ChatException { .

Re: Help: Development of large App with GWT

2010-10-05 Thread Noor
Thus, if we resume, GWT helps more in the development phase of software development. The end result is similar to the client as development with any other framework. Is it that? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

2 Questions: getOffsetHeight ignores margin CssRe source doesn´t include css property

2010-10-05 Thread Sandler
Hi guys, i´ve got 2 questions. I´m using getOffsetHeight to get the height of an Widget. This works fine, but when i adding a css margin to the widget, the css-property seems to be ignored. The doc says: This is the total width of the object, including decorations such as border, margin, and

Disable Widgets till File Upload is complete

2010-10-05 Thread Nitin
HI! I am developing a web application in which the user selects several files and submits for file upload in a form. My problem is, I want to disable all the widgets on the form panel till the file Upload is complete. Currently, in my application, when the file upload begins, the user can still

Re: Disable Widgets till File Upload is complete

2010-10-05 Thread lineman78
disable them in a submit handler and you can re-enable them in a submit complete handler. On Oct 5, 10:57 pm, Nitin nkam...@gmail.com wrote: HI! I am developing a web application in which the user selects several files and submits for file upload in a form. My problem is, I want to disable

Re: Advice for site design

2010-10-05 Thread Paul Grenyer
I see no reason you would want PHP if you can use GWT. For security use Spring. -Original Message- From: nick kov nickko...@gmail.com Sender: google-web-toolkit@googlegroups.com Date: Tue, 5 Oct 2010 14:45:29 To: Google Web Toolkitgoogle-web-toolkit@googlegroups.com Reply-To:

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-05 Thread Ed
Yesterday my test was run with success and last night it failed again, without anything changing in the meantime :( I was digging a bit more in the GWT Junit test code and I think the test fails because I don't use a servlet that is hosted by the Tomcat container started by GWT. Like Freeland

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-05 Thread Ed
Hi John, Thanks for your reply. There are really two apps running in this case. First, there is the one created by JUnitShell, which contacts an RPC servlet to manage running the test. The timeout you see is because that servlet didn't get contacted. Could you please give me some more info

Re: [gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-05 Thread John Tamplin
On Tue, Oct 5, 2010 at 8:47 AM, Ed post2edb...@gmail.com wrote: There are really two apps running in this case. First, there is the one created by JUnitShell, which contacts an RPC servlet to manage running the test. The timeout you see is because that servlet didn't get contacted.

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-05 Thread Thomas Broyer
On Oct 5, 2:51 pm, John Tamplin j...@google.com wrote: I also use Selenium, have about 2500 tests that run through Selenium, that take about 50 hours to complete ;)... Some background info: I don't use runstyle for this. I run the tests against production ready code produced during the

[gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-05 Thread Ed
Thanks, I found the servlet you meant: JUnitHostImpl I see that the url that touches this servlet is correctly forwarded by the proxy and received by this servlet when debugging in Eclipse: The url that touches it: / com.bv.gwt.profile.intern.ProfileGwtTest.JUnit/junithost (also appears in the

Re: [gwt-contrib] Re: Test timeout in JUnitShell ? (GWT 2.0.0)

2010-10-05 Thread John Tamplin
On Tue, Oct 5, 2010 at 10:12 AM, Ed post2edb...@gmail.com wrote: I found the servlet you meant: JUnitHostImpl I see that the url that touches this servlet is correctly forwarded by the proxy and received by this servlet when debugging in Eclipse: The url that touches it: /

  1   2   3   >