hi

2009-10-22 Thread e kaavya
http://www.123maza.com/electromagnetism --~--~-~--~~~---~--~~ 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

Re: any way to return image through rpc?

2009-10-22 Thread alex.d
There was another really insane way where you actually decode your image (bytes you've sended back) and produce a lot of 1px sized divs with accordant colors which makes the image :)) But like i said - it's kind of crazy. On 22 Okt., 07:55, Robert J. Carr rjc...@gmail.com wrote: Thanks Ian ...

Re: any way to return image through rpc?

2009-10-22 Thread Robert J. Carr
I appreciate your imagination. :) On Thu, Oct 22, 2009 at 1:22 AM, alex.d alex.dukhov...@googlemail.com wrote: There was another really insane way where you actually decode your image (bytes you've sended back) and produce a lot of 1px sized divs with accordant colors which makes the image

Re: any way to return image through rpc?

2009-10-22 Thread alex.d
Glad i could help ;) On 22 Okt., 10:26, Robert J. Carr rjc...@gmail.com wrote: I appreciate your imagination. :) On Thu, Oct 22, 2009 at 1:22 AM, alex.d alex.dukhov...@googlemail.com wrote: There was another really insane way where you actually decode your image (bytes you've sended

Re: any way to return image through rpc?

2009-10-22 Thread Erik
You can make a servlet and point the url (with or without parameters) of the image to that servlet, in the doPost or doGet method: final BufferedImage image = new BufferedImage(canvasWidth, canvasHeight, BufferedImage.TYPE_INT_RGB); final Graphics2D graphics2D = image.createGraphics(); // create

Validation with Checkbox TextArea in gwt1.5.3

2009-10-22 Thread Srihari.Ch
Hi all, I am new to gwt i am using gwt1.5.3. I have 7x3 (=21) checkboxes arranged in a FlexTable[say, instance-name = myFlexTable]. I also have a TextArea widget[say, instance-name = myTextarea] within the same Flextable. Now, I need to validate these widgets in such a way that,

Re: Validation with Checkbox TextArea in gwt1.5.3

2009-10-22 Thread Venkatesh Babu
If you are having a scenario where in each cell of your flextable has the checkbox + text input and you need to enable/disable the text input depending on whether the checkbox in that cell is checked or not, then, you can create a small widget containing checkbox+text input, and that widget can

Timers

2009-10-22 Thread ben fenster
i was wondering how many timers can operate together and how would a collisution between them effect performence is it better to use one timer with a list of stuff that need to be updated on timeout or is it better to make a timer for each another thing is if i use iframe to display other

Re: Validation with Checkbox TextArea in gwt1.5.3

2009-10-22 Thread Srihari.Ch
sorry, I have here 'n' number of checkboxes only a single TextArea widget. If any one of these checkboxes gets checked, TextAreaWidget must be set enabled=true. If none of these checkboxes gets checked[Also initially], then TextAreaWidget must be set enabled=false[i.e., disabled] Thanks for

Re: need to execute commands on windows machine from remote server

2009-10-22 Thread Lazo Apostolovski
If I understand correct. You want to use GWT to start program on the client side when you send some event from server side. GWT Code is compiled to JavaScript. JavaScript is executed by the browser so browser security police don't give permition the code from javascript to be executed out of

Re: need to execute commands on windows machine from remote server

2009-10-22 Thread Lazo Apostolovski
Appendix: Fix on my message before I mean You can't call even cd c:\user on the client computer. You cant use GWT to remote access files or remote call any dos or other command on the client computer. :) Greetings! --~--~-~--~~~---~--~~ You received this

Re: Possible to cancel an event dispatch loop?

2009-10-22 Thread shangxiao
On Aug 28, 9:50 pm, Thomas Broyer t.bro...@gmail.com wrote: I have a button with three click handlers registered.  They are chained so that the calling order is A, B, C. IMO you shouldn't depend on your handlers call order, you'd rather have a single handler that eventually defers to

Re: Timers

2009-10-22 Thread ben fenster
??? On Oct 22, 12:52 pm, ben fenster fenster@gmail.com wrote: i was wondering how many timers can operate together and how would a collisution between them effect performence is it better to use one timer with a list of stuff that need to be updated on timeout or is it better to make a

Re: how to send variables in form panel

2009-10-22 Thread Lazo Apostolovski
Its probably a multipart message :S Try googling for how to accept multipart message on the server side here is some example but i don't know if you find usefull. public HashMapString, InputStream parseMultipartMessage( HttpServletRequest request) { mapWithStreams = new

inheritance not allowed???

2009-10-22 Thread Prashant
i tried doing something like : public abstract class MyEntryPoint implements EntryPoint{ @Override public abstract void onModuleLoad(); // My custome methods... } public class GWTTest extends MyEntryPoint { @Override public void onModuleLoad() { // code goes

Re: Validation with Checkbox TextArea in gwt1.5.3

2009-10-22 Thread Venkatesh Babu
In that case, you can have a global function that keeps track of the number of checkboxes checked/unchecked, and that function can increment/decrement the count whenever a checkbox is selected/deselected, and enable/disable your text area depending on whether the count is 0 or non-zero. Then, with

Re: inheritance not allowed???

2009-10-22 Thread Prashant
basically, i want to write some custom methods common to all gwt modules, if my approach (refer to previous post) is not correct/possible please suggest me a workaround. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

GWT and DragListener

2009-10-22 Thread sony
Hello, Is DragListener part of GWT? because when i type in com.google.gwt.user.client.dnd.DragListener it is not recognizing. i saw this in an example. Is there anything i need to add to make it work? any help would be appreciated. Thank you.

Re: candle stick charts

2009-10-22 Thread nicola...@gmail.com
Try JFreeCharts a good library to create charts of all kind On Oct 22, 4:58 am, sathya sathyavik...@gmail.com wrote: Why dont you use gcharts http://code.google.com/p/gchart/ On Oct 21, 8:10 pm, Bobby Richards bobby.richa...@gmail.com wrote: Anyone have any experience with creating

Re: inheritance not allowed???

2009-10-22 Thread tskaife
Don't know if I'm thinking right here but why implement EntryPoint in MyEntryPoint and just implement EntryPoint in GWTTest. Like so... public class MyEntryPoint { // My custome methods... } public class GWTTest extends MyEntryPoint implements EntryPoint { @Override public void

Complete example using BeanModel

2009-10-22 Thread rernst
Is there a complete example somewhere which includes construction of the BeanModel with the domain class that I could inspect? Not just 'that you pass a BeanModel' to the loader? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: inheritance not allowed???

2009-10-22 Thread Thomas Broyer
On 22 oct, 15:23, Prashant antsh...@gmail.com wrote: Compiling module antshpra.gwt.GWTTest    Refreshing module from source       Validating newly compiled units          Removing units with errors             [ERROR] Errors in

Re: Timers

2009-10-22 Thread Thomas Broyer
On 22 oct, 12:52, ben fenster fenster@gmail.com wrote: i was wondering how many timers can operate together and how would a collisution between them effect performence I don't think browsers set a limit, and they won't affect performance AFAICT (unless you have really many many of them,

Re: inheritance not allowed???

2009-10-22 Thread Prashant
thanks for you reply but it doesn't work. --~--~-~--~~~---~--~~ 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

Re: inheritance not allowed???

2009-10-22 Thread Prashant
i re-modified my code a little bit and now its working :-) . scroll down for code snippet public class MyEntryPoint implement EntryPoint{ // My custome methods... } public class GWTTest extends MyEntryPoint{ @Override public void onModuleLoad() { // code goes here } }

Access denied when uploading image

2009-10-22 Thread hou0175
Hi, I'm new to GWT and am having problems writing a page to allow users to upload an image to the server (onto DB using JDO). I'm getting the following exception: java.security.AccessControlException: access denied (java.io.FilePermission C:\Users\hou0175\AppData\Local\Temp

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread Keith Platfoot
Hi Chad, I tried to repro this with Eclipse 3.4.2 and GWT 1.7.1 using the latest Eclipse plugin (1.1.2), but was not able to trigger a 404. I tested on both Windows and Ubuntu. Just to verify that I followed the right sequence: I created two projects, renamed the HTML page in each war directory

Re: Access denied when uploading image

2009-10-22 Thread Marcos Kajita
Right after I posted this message I came accross another sample code that allowed me pass the error and let me upload the my image. Here is the code that let me do that. ServletFileUpload upload = *new* ServletFileUpload(); response.setContentType(text/plain); FileItemIterator iterator =

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread cretz
Thank you very much for the quick reply. Sorry, I should have added one more step: 6. Now go back and run testapp1 again. By the way, the 404 is not on the HTML, but rather the css and default RPC service generated on new web app project (as visible in the GWT log window). This occurs

Re: Does GWT work in Snow Leopard?

2009-10-22 Thread Joe
Is there no update on this sorry issue? I keep expecting Google to do The Right Thing - i.e., I click update in Eclipse and then everything works - but after all this time with no solution my paranoia gene has me thinking this may have more to do with Apple v. Google issues than 64bit v. 32bit.

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread cretz
Duh! Appears to be an IE cache issue on the HTML itself which was looking for the wrong resources. Clearing IE's cache solves the problem. On Oct 22, 11:25 am, cretz chad.r...@gmail.com wrote: Thank you very much for the quick reply. Sorry, I should have added one more step: 6. Now go back

Re: Google Eclipse Plugin issue w/ GWT 1.7.1 and hosted mode

2009-10-22 Thread cretz
Duh! IE cache issue. Clearing cache resolves issue. On Oct 22, 11:25 am, cretz chad.r...@gmail.com wrote: Thank you very much for the quick reply. Sorry, I should have added one more step: 6. Now go back and run testapp1 again. By the way, the 404 is not on the HTML, but rather the css and

Re: any way to return image through rpc?

2009-10-22 Thread Robert J. Carr
Thanks Erik, but I don't think you read my post closely enough. I'm currently using generic servlets to do what you describe. However, I need to make some really complex image requests and I don't want to be bothered with building and parsing the request. This is why I'd like to use gwt's

Re: Creating a sample application of 3 different pages

2009-10-22 Thread Romeo Sanchez
Thanks everyone. After this discussion, I went ahead and read some documentation, and implemented some small cases. It is kind of clear to me know. Thanks everyone for your comments and time you took to respond our questions. One final question: - Is it possible to load entrypoint modules with

Compiling module Error using Eclipse GWT Compiler

2009-10-22 Thread Ram kumar
I added new jar in the lib directory mvc4g-1.0.0.jar. I am using Controller class form that jar. When i try to compile the module, i am getting the below compile time error. Can any body help on this issue. Compiling module com.manning.gwtip.calculator.Calculator Refreshing module from source

Cross-side hosted mode not yet implemented

2009-10-22 Thread alx
Hi, After upgrading from gwt 1.5 to 1.6.4, the following message appear when running the app: cross-side hosted mode not yet implemented.See issue http://code.google.com/p/google-web-toolkit/issues/detail?id=2079 What kind of problem could be?

Announcing GWT 2.0 Milestone 2

2009-10-22 Thread John LaBanca
Hi everyone, We are excited to release the second milestone build for GWT 2.0 today. This milestone is essentially feature complete, and provides somewhat more stability in the various bits of core functionality that will be coming in GWT 2.0. Please download the distribution from:

Re: onModuleLoad not called when serving files from Rails

2009-10-22 Thread Jae
Anybody? On Oct 16, 9:24 pm, Jae jaeho...@gmail.com wrote: I have been struggling with this problem all day long and I am about to pull my hair out. I generated a simple GWT module. Since I have JRuby onRails, I configured the hosted mode for -noserver and I pointed it myRailsapp -

RPC communication between client and server running different GWT versions

2009-10-22 Thread Gwencalon
Greetings! I'm trying to develop my first web application that uses GWT. I'm using GWT 1.7.1 to develop the client, since I'd like to use SmartGWT and it requires at least GWT 1.5.3. However, my server is running JRE 1.4.2. Therefore, I can only use GWT 1.4.x. To achieve this, I'm generating

Looking for feedback

2009-10-22 Thread Bart Guijt
Dear all, I'd like some feedback over an HTML5 Database API for GWT. I already have the 1:1 API of the W3 spec in GWT, but would like to add a simpler API on top of that. Please take a look at http://code.google.com/p/gwt-mobile-webkit/issues/detail?id=8 and let me know what you think.

I'm a web developer - where do i fit in?

2009-10-22 Thread mattkime
My company is examining front end technologies and we're a java shop so everyone is interested in GWT. As a web developer (the html/css/ javascript type - and i _like_ javascript) I'm curious where I fit in. I've paged through a number of books and watched a number of online videos and it seems

Button labels get line breaks in Opera

2009-10-22 Thread Tarjei Knapstad
Just tried out our prototype Gwt app on a multitude of browsers, and there's a really weird problem with Opera. All the Gwt Button's are linewrapped where ever there is a space in the label. Button labels look like this in FF, Chrome, IE and Safari: Please click here In Opera (9.64, 10.0 and

Re: how to send variables in form panel

2009-10-22 Thread Sudeep S
multipart requests have to be sent via a FORM panel On Thu, Oct 22, 2009 at 6:53 PM, Lazo Apostolovski qbox2...@gmail.comwrote: Its probably a multipart message :S Try googling for how to accept multipart message on the server side here is some example but i don't know if you find usefull.

GWT In Eclipse: file not found for:

2009-10-22 Thread Anh Phuong Tran
Hello! Im starting a new GWT project (ModelViewer) and in one of the class, I try to acces a xml file locally. The message that I get when I started the apps in hosted mode is: WARNING: No file found for: /modelviewer/RENO_L2_EXPERT.sdm My question is, if I have a folder with xml files or txt

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread charlie
Honestly, removing the HTML designer is largely why I chose GWT, only because I'm not very good with HTML design and this allows me to work on projects i would have otherwise needed a designer for. I disagree about the platform specific JS / CSS, I work at a fortune 500 web site and there are

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread Ian Bambury
2009/10/22 mattkime mattk...@gmail.com My company is examining front end technologies and we're a java shop so everyone is interested in GWT. As a web developer (the html/css/ javascript type - and i _like_ javascript) I'm curious where I fit in. I've paged through a number of books and

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread mariyan nenchev
Why don't you try learining new stuff(like gwt) and try to fit everywhere? It is not any rocket science On Thu, Oct 22, 2009 at 3:55 PM, mattkime mattk...@gmail.com wrote: My company is examining front end technologies and we're a java shop so everyone is interested in GWT. As a web

Date Picker not found in GWT 1.7.1

2009-10-22 Thread Rafael DL
Hi, I'm trying to use the datebox after GWT upgraded to version 1.7.1, and noticed that the screens that have this component does not work. I have tried chrome, firefox and ie8, match any of them worked. Anybody else has this problem? Does the problem is my browser or is the GWT 1.7.1? Please

Deploying to Apache HTTPD only

2009-10-22 Thread Charbel
Hi, I just finished my first GWT application and I wanted to know if it is possible to deploy a GWT application on Apache HTTD, this GWT app only uses compiled Javascipt to access a Tomcat application hosting all the functionality via servlets. Thanks, Charbel

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread charlie
@Ian: I'm a Java web developer and it took some adjusting at first. It's NOT like any other web framework, I think you have to approach it as writing a desktop application, not a web app. This idea of Events, MPC, layouts etc are all desktop app idioms. On Thu, Oct 22, 2009 at 1:05 PM, mariyan

A decorated menubar by extending menubar?

2009-10-22 Thread TomJanssens
Hello, I wish to create a decorated menubar version by extending the menubar class (in the same way as decoratedstackpanel extends stackpanel). Would something like this be possible? The decorated menubar would need to wrap a decoratorpanel around the menubar. I know it would be easier to just

Re: url question, hosted/web mode

2009-10-22 Thread mwaschkowski
Yes, thats what I ended up doing (using GWT.getHostPageBaseURL()), thanks for the help. On Oct 14, 6:35 am, Thomas Broyer t.bro...@gmail.com wrote: On 13 oct, 21:02,mwaschkowskimwaschkow...@gmail.com wrote: Hi, In hosted mode, my url looks like:  http://localhost:8090/xyz.html

blackberry support

2009-10-22 Thread mwaschkowski
Hi, Do we have any gwt devs that own blackberry's? Does blackberry's built in browser do gwt if the javascript/css/ie emulation is turned on? Asking because I asked a buddy of mine to turn on the above and he wasn't able to see my simple gwt site... Thanks! Mark

How to make public resources in submodules visible to main module

2009-10-22 Thread Allen Holub
My program is broken into several submodules (the main program, a widgets library, a login module, etc.). Each of these is it's own GWT module, which runs standalone for testing purposes. (Each of the submodules has two version of the ...gwt.xml Module-definition file, one with an entry point for

Re: Announcing GWT 2.0 Milestone 2

2009-10-22 Thread Devraj Mukherjee
Hi John, Is there any documentation that goes with the milstone releases so we can read up on howto use some of these news features? I am particularly interested in the XML UI descriptors. Thanks again. On Fri, Oct 23, 2009 at 4:43 AM, John LaBanca jlaba...@google.com wrote: Hi everyone,

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread David Sanders
My company is examining front end technologies and we're a java shop so everyone is interested in GWT. As a web developer (the html/css/ javascript type - and i _like_ javascript) I'm curious where I fit in. I've paged through a number of books and watched a number of online videos and it

TabLayoutPanel in GWT 2 m2

2009-10-22 Thread BryanDavid
fyi - If you want TabLayoutPanel to lay out its tabs correctly, then you will need a CSS rule like: span.gwt-Tab div.gwt-Label{ display:inline; } The inner DIV was laying out as block and causing the tabs to stack vertically. The above rule only works for TabPanel.add(Widget child,

Re: Jasperreports with GWT

2009-10-22 Thread mdwarne
Hi Haydar, One way I have done this is to create a report Servlet on my server. Then I am using something like in my Button, or Hyperlink Click Handler: Window.open(http://urlToMyServlet? reportName=MyReport,param1=somedataparam2=moredata); The Pdf Report Servlet generates the jasper

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread mattkime
I think its correct that I'd become a java developer, even if I'd slide in slowly. I enjoy learning new tech but I don't want to spread myself too thin. I've been examining various front end technologies lately and cringe whenever someone claims a particular framework fixes something in

Re: GWT and DragListener

2009-10-22 Thread SUHASINI PRASAD
HI, I have that part added to my project, still it is not recognizing the DragListener. What i am trying to do is to create a pop-up menu the moment widget is dropped. i am already extending one class so i cannot extend click listener. Is there a way i can do that. are there any examples. Thank

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread hazy1
There is no 'spreading thin'. All these languages, design patterns, idioms, hacks all start to look the same, regardless of language, after you get enough experience and then it is just picking the right tool for the job. On Oct 22, 11:05 pm, mattkime mattk...@gmail.com wrote: I think its

Re: Announcing GWT 2.0 Milestone 2

2009-10-22 Thread jscheller
Is there a corresponding build of the GWT Incubator library in sync with MS2? 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

Re: I'm a web developer - where do i fit in?

2009-10-22 Thread David Sanders
I've been examining various front end technologies lately and cringe whenever someone claims a particular framework fixes something in javascript. Its almost never a javascript problem but a dom problem or its just a variation from how java works. Additionally, there is no inherent barrier to

[gwt-contrib] [google-web-toolkit] r6445 committed - CompileStrategy now passes the user agents into JUnitShell#maybeCompil...

2009-10-22 Thread codesite-noreply
Revision: 6445 Author: jlaba...@google.com Date: Thu Oct 22 08:20:50 2009 Log: CompileStrategy now passes the user agents into JUnitShell#maybeCompileForWebMode to restrict the number of permutations. Patch by: jlabanca Review by: jat

[gwt-contrib] [google-web-toolkit] r6443 committed - Updates to use the rebased protobuf library. References to com.google....

2009-10-22 Thread codesite-noreply
Revision: 6443 Author: rda...@google.com Date: Wed Oct 21 18:05:58 2009 Log: Updates to use the rebased protobuf library. References to com.google.protobuf in RemoteMessageProto.java and ViewerServiceClient.java have been updated. Also updated licensing information to indicate that

[gwt-contrib] Ignore @GwtTransient fields in SerializabilityUtil

2009-10-22 Thread rice
Reviewers: Lex, bobv, Please review this at http://gwt-code-reviews.appspot.com/84801 Affected files: user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java Index: user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java

[gwt-contrib] Announcing GWT 2.0 Milestone 2

2009-10-22 Thread John LaBanca
Hi everyone, We are excited to release the second milestone build for GWT 2.0 today. This milestone is essentially feature complete, and provides somewhat more stability in the various bits of core functionality that will be coming in GWT 2.0. Please download the distribution from:

[gwt-contrib] Disable mhtml because it might cause IE6 to hang

2009-10-22 Thread jlabanca
Reviewers: Ray Ryan, Description: Description: UiBinderGwtSuite causes IE6 to hang, which is possibly related to mhtml. Fix: === Disabling mhtml to see if it fixes the build. I didn't just comment it out because it would mess up the gwt.xml file. Instead, I added a property to disable it for

[gwt-contrib] [google-web-toolkit] r6446 committed - Check for @GwtTransient annotation when checking for transient fields ...

2009-10-22 Thread codesite-noreply
Revision: 6446 Author: r...@google.com Date: Thu Oct 22 12:08:44 2009 Log: Check for @GwtTransient annotation when checking for transient fields in the RPC subsystem. Review by: spoon http://code.google.com/p/google-web-toolkit/source/detail?r=6446 Modified:

[gwt-contrib] Re: Build current GWT gives ant error: java.lang.NumberFormatException: Expected 3 elements in array

2009-10-22 Thread m...@infinitum.ch
Did find out the problem. As I am building a unstable version of GWT I set the version (in env GWT_VERSION) to '2.X.X'. This has worked fine in the past up to 9152b50f. I would suggest eliminating the last parsing check. - Martin diff --git a/dev/core/src/com/google/gwt/dev/About.java

[gwt-contrib] Re: Build current GWT gives ant error: java.lang.NumberFormatException: Expected 3 elements in array

2009-10-22 Thread m...@infinitum.ch
Created bug report 4158 http://code.google.com/p/google-web-toolkit/issues/detail?id=4158 At least one other person had the same problem: http://teamcity.jetbrains.com/viewLog.html?buildId=26004tab=buildResultsDivbuildTypeId=bt15 - Martin --~--~-~--~~~---~--~~

[gwt-contrib] Re: Single XPI for Dev Mode (OOPHM) Plugin

2009-10-22 Thread Sam Gross
Hi John, I updated the patch set at http://gwt-code-reviews.appspot.com/56808. The loader stub.js checks the user agent string for Fedora to determine whether to load the alternate FF3 libraries. I've put a built XPI at http://web.mit.edu/sgross/www/gwt/gwt-dmp.xpi. I've tested the Hello

[gwt-contrib] Re: Single XPI for Dev Mode (OOPHM) Plugin

2009-10-22 Thread John Tamplin
On Thu, Oct 22, 2009 at 8:56 PM, Sam Gross colesb...@gmail.com wrote: I updated the patch set at http://gwt-code-reviews.appspot.com/56808. Great -- I probably won't have time to look at it until I get back from MTV, though I may be able to look over it on the plane. -- John A. Tamplin