Re: RadioButtonGroup proposal

2010-04-18 Thread markovuksanovic
And what about UiBinder? How would you specify to which RadioButtonGroup a radio button belongs? Any suggestions? My previous suggestion is pretty restrictive regarding layout... On Apr 16, 5:51 pm, kozura koz...@gmail.com wrote: Not a bad idea, but probably would make this just a grouping

Re: Develop UiBinder widgets??

2010-04-18 Thread jocke eriksson
Some questions: Do you import the namespace where the widget is. Is your widget a container meaning does it implement has widgets. 2010/4/16 Toni tonin...@gmail.com Hi there, I'm trying to make my new composite widget work with UiBinder. It is a widget intended to contain, for instance, a

invoke a server method on each client request

2010-04-18 Thread Edo
Hello, Is there a way to invoke a server method on each request received from the client? I want this method to perform some common actions for each client request: logging, verify valid session, valid user etc. Any ideas? Thanks, Edo -- You received this message because you are subscribed to

Spring MVC with GWT RPC

2010-04-18 Thread keyboard_samurai
Hi, I am using GWT RPC with Spring MVC.. the integration details is similar as described @ http://technophiliac.wordpress.com/2008/08/24/giving-gwt-a-spring-in-its-step/. The integration works fine when deployed and tested on local servers. When we deploy the war on an enterprise environment

Re: Failed to parse policy file

2010-04-18 Thread David Given
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/04/10 14:51, David Given wrote: [...] I'm trying to upgrade a GWT app from an older version of GWT to the latest. Unfortunately, when after deploying, the servlet won't start up, producing the following error: This turns out to be due to not

Re: invoke a server method on each client request

2010-04-18 Thread Sripathi Krishnan
In your Rpc Servlet implementation, you can choose to override the following methods - //Gets called BEFORE your RPC method is invoked, //Here, you can figure out which rpc method is going to be called, and what parameters are being passed to it. //Perfect place to plugin

GWT useful for HTML Parsing? Is it fast enough

2010-04-18 Thread myapplicationquestions
Hi All, I have a requirement where i get a huge html report from a third party application (@50,000 records), i need to put a filter on it so i show only some records matching a certain criteria. I am thinking of using GWT for this, where i will go through DOM and parse each row, if a particular

Re: invoke a server method on each client request

2010-04-18 Thread Edo
Thank you, that works. Edo. On Apr 18, 5:12 pm, Sripathi Krishnan sripathikrish...@gmail.com wrote: In your Rpc Servlet implementation, you can choose to override the following methods - //Gets called BEFORE your RPC method is invoked, //Here, you can figure out which rpc method is going to

Re: Spring MVC with GWT RPC

2010-04-18 Thread keyboard_samurai
Also i see a alertbox by the browser that This page is accessing information that is not under its control. This poses a security risk. Do you want to continue ? This is the only thing which seems different that the local environment. I don't get this alert msg in local environment. Please

Re: GWT useful for HTML Parsing? Is it fast enough

2010-04-18 Thread Chris Lercher
Hi Parag, I would use GWT for many things, but in this case, I would probably decide between - Using pure JavaScript (should usually be enough to do this.) - Using jQuery selectors, if it gets more complex. - Or write a quick standalone Java App which parses the HTML (using htmlunit, or NekoHTML

gwt click event

2010-04-18 Thread Muhammad Saifullah
i need to register a cross platform and version independent click event to the document. that means i have a two text box and submit button but when i click outside of the two text box and submit button then alert will be displayed .how can i achive this by gwt document.get().addMouseClick ???

menu with images?

2010-04-18 Thread Vik
Hie How to get images next to menu.addItem ? currently using like below: MenuBar menu =new MenuBar(); menu.addItem(Home,cmd); so how to add image next to Home text? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com -- You received this message because you are

Re: gwt click event

2010-04-18 Thread miller
You can add a NativePreviewHandler. It will receive all events. Event.addNativePreviewHandler In the handler, you can do something like: if (event.getTypeInt() == Event.ONMOUSEDOWN) { if(Event does not target the button or the text area) { //show your alert here event.cancel();

Maven, again

2010-04-18 Thread Steve
I'm getting very frustrated -- reading dozens of messages, faqs, whatever I can find on the subject, but I haven't found all the info I need in one place and haven't been able to piece it all together ... maybe I just missed it, but hopefully someone here can help. What I'd like to do ... Create

Re: How to share data ?

2010-04-18 Thread se
Hi all, Is there any other solution if not using MVP, just a plain project with UiBinder widgets? e.g. main app has user data, determined at runtime; some widgets should be able to read and write to this. I looked at

Re: Transferring an image over an PRC call

2010-04-18 Thread Trevis
Is your goal to show the image in an img tag in the web browser? I have user uploadable images on my gwt website and to present the images to users i use an http servlet. I have an img tag rendered in the client that references the image from the servlet. Since my images are saved in the DB,

Re: Maven, again

2010-04-18 Thread Chris
I've been wanting to do something similar... Here's what I've done: Declare some properties: properties !-- this is because the maven gwt plugin apparently has a hard-coded path to /war --

Re: Maven, again

2010-04-18 Thread Chris
That's what I've used: properties !-- this is because the maven gwt plugin apparently has a hard-coded path to /war -- war.directory${basedir}/war/war.directory

GWT Compiling throwing a NoClassDefFoundError with Maven?

2010-04-18 Thread Chris
Hello Any ideas about this? As you can see after the message Process Output, I get a [ERROR] NoClassDefFoundError? Any ideas? I'm a bit confused... I'm came about a similar thing earlier in another library compiling, although that had been due to the fact it didn't like the space in Document and

Re: GWT Compiling throwing a NoClassDefFoundError with Maven?

2010-04-18 Thread Chris
Not sure if it's any help, but on debug level, I get the following when it retries the permutation... [INFO] Worker died, will retry Permutation [INFO] com.google.gwt.dev.TransientWorkerException: Remote process did not connect within timeout period [INFO] at

GWT and JSON (RequestPermissionException)

2010-04-18 Thread nasionalem
I am new in GWT 2.0 and JSON. I need to get some values using JSON. so I downloaded json sample from code.google.com. When I run the project Its working fine. but when I change the url, I am getting error below. com.google.gwt.http.client.RequestPermissionException: The URL

Re: menu with images?

2010-04-18 Thread kozura
MenuBar.addItem and MenuItem.new both can be set to an HTML string, which should allow you to include an image. On Apr 18, 11:35 am, Vik vik@gmail.com wrote: Hie How to get images next to menu.addItem ? currently using like below: MenuBar menu =new MenuBar(); menu.addItem(Home,cmd);

Re: GWT useful for HTML Parsing? Is it fast enough

2010-04-18 Thread Thomas Broyer
On Apr 18, 4:48 pm, Chris Lercher cl_for_mail...@gmx.net wrote: Hi Parag, I would use GWT for many things, but in this case, I would probably decide between - Using pure JavaScript (should usually be enough to do this.) Why would it be better than GWT? - Using jQuery selectors, if it

Re: GWT useful for HTML Parsing? Is it fast enough

2010-04-18 Thread Chris Lercher
Hi Thomas, I agree. I just don't see any advantage for GWT in this case. So I'd say, that using it only makes sense, if there are other reasons, which weren't expressed in the question. By the way, GWT uses NekoHTML, too (it's in gwt-dev.jar). Why do you prefer the HTML parser you mentioned?

Re: GWT useful for HTML Parsing? Is it fast enough

2010-04-18 Thread Chris Lercher
BTW, re-reading my original answer, maybe it was mistakable. It was not my intention not suggest, that GWT is slower than the other methods (even if it sounded that way). I just wanted to say, that for the problem it doesn't look like the most natural choice. -- You received this message because

Re: Maven, again

2010-04-18 Thread Subhrajyoti Moitra
try this http://mojo.codehaus.org/gwt-maven-plugin/ On Sun, Apr 18, 2010 at 11:25 PM, Steve steveahlst...@gmail.com wrote: I'm getting very frustrated -- reading dozens of messages, faqs, whatever I can find on the subject, but I haven't found all the info I need in one place and haven't

Learning to develop Custom Widgets :: onAttach

2010-04-18 Thread Chad
I am working on developing a few custom widgets in order to learn how GWT works. One of these widgets is a custom scrollbar similar to that used by Google Wave. I have most of the widget working using nested DIV elements to display the visual elements. However, I am having difficulty getting the

[gwt-contrib] Re: Direction estimators are simple classes which estimate a string's direction using various heuris... (issue338801)

2010-04-18 Thread tomerigo
smoke test passes, and yes, I''m also running Checkstyle. http://gwt-code-reviews.appspot.com/338801/diff/1/9 File user/test/com/google/gwt/i18n/shared/AnyRtlDirectionEstimatorTest.java (right): http://gwt-code-reviews.appspot.com/338801/diff/1/9#newcode25

[gwt-contrib] Re: Direction estimators are simple classes which estimate a string's direction using various heuris... (issue338801)

2010-04-18 Thread tomerigo
http://gwt-code-reviews.appspot.com/338801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Fixes incorrect direction of isAssignable check when using @UiField(provided = true) (issue359801)

2010-04-18 Thread rjrjr
Reviewers: jgw, bobv, Description: Fixes incorrect direction of isAssignable check when using @UiField(provided = true) Also deletes some unused code: declareDomField no longer uses its element param, because ensureCurrentFieldAttached no longer uses its arg, etc. Review by: j...@google.com

[gwt-contrib] Re: Fixes incorrect direction of isAssignable check when using @UiField(provided = true) (issue359801)

2010-04-18 Thread rjrjr
Joel, if you can get to this first thing that would be great. Bob, if you're in a charitable mood and get there sooner, that would be great too. http://gwt-code-reviews.appspot.com/359801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors