Re: CSS-ToolBar

2009-07-30 Thread muhannad nasser
Thanks Chad i will try that with regards On Wed, Jul 29, 2009 at 11:52 PM, Chad chad...@gmail.com wrote: Muhannad, Take a look at the CSS that is provided by the GWT team. They have 3 themes available. You can look at the rules they setup for the type button you are using (or want

Re: help on a servlet issue

2009-07-30 Thread Simon
I think there might be something wrong with my web.xml setting I just add a new module and some servlet calls, it returns correctly. Thanks On Jul 27, 7:54 am, Rajeev Dayal rda...@google.com wrote: Seehttp://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication Make sure you

Re: large GWT app fails to load in IE - anyone else seeing this?

2009-07-30 Thread Justin
Hi, We too are experiencing familiar symptoms. Sometimes it fires the onModuleLoad (which according to the link below doesn't fire until the document is ready) and other times it does not. It's very intermittent. Our app is fairly large with about 60 classes. If anyone can shed some light on

Re: Client or server?

2009-07-30 Thread alex.d
May be this thread will help you: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/1b66b3901ec37a7f# On 29 Jul., 17:13, Nuno brun...@gmail.com wrote: a class in the client sive can also be used in the server side...just make it implements Serializable and send it back to

GWT Coverage

2009-07-30 Thread chaitanya
Hi, I am trying to get Emma coverage report for the sample stockwatcher GWT app. I have download EclEmma 1.4.1 and replaced the emma.jar with the tools/redist/emma/emma.jar. As I am using GWT 1.7, I believe I do not require to apply any patches over GWT (Issue#779 got fixed in GWT 1.6). When

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Dean S. Jones
Short answer: no. Shorter answer: no. ImageBundle images can't be used as CSS backgrounds, if you understand the implementation, you understand why. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web

Re: Using class on both client and server sides

2009-07-30 Thread Dean S. Jones
this is the correct response, tho, I put all inter-client-server classes in shared/rpc, or some such package. On Jul 29, 11:10 am, Paul Robinson ukcue...@gmail.com wrote: You want this in your gwt.xml file:     source path=client/     source path=shared/ Note that if any source... element

Re: RemoteService - how to get http status of the response

2009-07-30 Thread Jason Morris
If the status code returned is not 200 the onFailure method will be passed StatusCodeException. The getStatusCode() method can be used from there. Hope that helps. reHa wrote: Hi I have implemented RemoteService and when I'm getting response in the callback - in methods onFailure and

Re: Widget.clear() method not clearing properly

2009-07-30 Thread Thamizharasu S
Hi Phil, This is working fine. Thanks for your answer. On Jul 27, 3:18 pm, Phil couch...@googlemail.com wrote: Hi Thamizharasu. Panel.clear() does only remove child-widgets. As the innerHTML 'sample content' is not considered a widget, it won't be affected. You may do the following to

Re: Using form.submit()??

2009-07-30 Thread Nickelnext
This is a solution or you can simply youse handlers provided by GWT, using button.Onclick(){ form.submit();} and the others 2 form handlers. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: Client or server?

2009-07-30 Thread Maarten Decat
Thanks! It helped a lot :) On 30 jul, 08:46, alex.d alex.dukhov...@googlemail.com wrote: May be this thread will help you:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... On 29 Jul., 17:13, Nuno brun...@gmail.com wrote: a class in the client sive can also be used

Re: Application Integration

2009-07-30 Thread NeMeSiS
Thanks! The problem is that the application I want to embed or communicate with is not a GWT Application but a desktop application(exe). And this application should preferred run on the client machine, not on a server. On 29 Jul., 14:57, Lucas Neves Martins snown...@gmail.com wrote: I saw some

Re: Multiple pages question

2009-07-30 Thread Maarten Decat
I'm trying to make a small app to log darts games. Basically, it should be possible to login with a user, register a new user, choose all the options for a new game and play that game. Playing the game means you just click the darts board on screen where you hit the board and the program

The following classpath entry '...' will not be available on the server's classpath

2009-07-30 Thread Paul Grenyer
HI All How do I turn off the above warning? I can go through each one and tell eclipse to ignore it, but that's a real ball ache and has to be done every time the project is checked out. Thanks! -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com w: http://www.marauder-consulting.co.uk b:

Re: Setting Background image on panel

2009-07-30 Thread Ed
Your css contains a mistake: you have to set a fixed height and width on your panel, and not through %. Try it and you will see it works. You did the same by adding a widget to it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Line 3: The import java.math cannot be resolved

2009-07-30 Thread Ken Kahn
I once needed BigInteger in GWT and took the source code for the BigInteger class and with minor editing it worked fine in GWT. Perhaps this would work with BigDecimal as well. Maybe someone on this list will know if there are any legal issues with doing this? -ken

Bug? this$static.element is null exception in com.google.gwt.user.client.ui.Image constructor

2009-07-30 Thread Domenec
This is happening on GWT 1.7 sometimes and randomly on an Ubuntu box using FF3.0 The exception first happened in an imatge.setWidth (that was GWT 1.5.3), so I added a getElement check (and reordered the code) Now it is happening in the constructor, which is weird and out of control... ** This

Controller navigation

2009-07-30 Thread mfiandesio
Hi Crux developers, I am having a look at the framework and it seems great! I easily integrate my service factory using spring and the declarative UI system is very intuitive. I have only a couple of questions for you : 1)Using the valueObject binder i receive an error at compilation time on

Re: Controller navigation

2009-07-30 Thread Matteo
Sorry...wrong group. :) Anyway,have a look at the Crux Framework...it's a nice piece of code. Bye On Jul 30, 1:19 pm, mfiandesio matteo.fiande...@gmail.com wrote: Hi Crux developers, I am having a look at the framework and it seems great! I easily integrate my service factory using spring

Re: GWT Coverage

2009-07-30 Thread chaitanya
Can some one please point me to any How to document on Code Coverage for GWT applications? On Jul 30, 11:46 am, chaitanya kcth...@gmail.com wrote: Hi, I am trying to get Emma coverage report for the sample stockwatcher GWT app. I have download EclEmma 1.4.1 and replaced the emma.jar with

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread Yanick
On Jul 29, 2:09 pm, Trevis trevistho...@gmail.com wrote: Some good info in that link, Isaac, thanks. [snip] The article doesn't seem to directly address Nickelnext concern about having the admin content already in the browser though.  I mean, once you compile the UI into javascript and the

Re: Application Integration

2009-07-30 Thread NeMeSiS
I found something that seems to be perfect for my needs. The editor is called XMLmind and can be embedded as an applet! Unfortunately its not for free... I hope my boss will accept this solution. Thanks again for your help! On 30 Jul., 10:20, NeMeSiS m.weish...@web.de wrote: Thanks! The

Re: Multiple pages question

2009-07-30 Thread alex.d
On 30 Jul., 10:22, Maarten Decat maarten.de...@gmail.com wrote: I'm trying to make a small app to log darts games. Basically, it should be possible to login with a user, register a new user, choose all the options for a new game and play that game. Playing the game means you just click the

Re: Can I invoke RPC Methods from Java

2009-07-30 Thread Yanick
On Jul 29, 11:11 am, Trevis trevistho...@gmail.com wrote: I'm also pretty new to GWT and your scenario never occurred to me. Generally i think that it's probably not the greatest idea to try and call the GWT RPC's from a different front end and i've not come across anything that would give

how to implement GWT project on apache tomcat

2009-07-30 Thread Saurabh Naik
Hello I have done one small application in GWT but facing some problems while deploying it to Tomcat. I am using Eclipse for createing gwt project. there in war folder the structure is ready I made the war file which includes all folders files withing the war folder and deployed it to

Re: GWT events, image overlays, and GChart

2009-07-30 Thread bconoly
I actually tried that and then called GChart's onBrowserEvent(event) function. That unfortunately didn't work because something deep with the code needed the event. I eventually found a solution using GChart's built in curves by requesting help on their message board here:

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread Nickelnext
So you think I shouldn't load the admin area with the rest, and make it visible when the user has logged in, but i should let user log in and in response (within the asyncCallback) i send from the server to the client the whole Panel, that would be added in the Gui. Is it what you're saying? Now

Twitter4J

2009-07-30 Thread mugathur
Hello. I was wondering if anyone had any experience with twitter4j and the google web toolkit. I'm fairly new to web programming and I'm not entirely sure where to execute the sample code. Specifically, I'm trying to get the OAuth working. There is sample code here:

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread Nickelnext
I tried this way but i cannot make my AdminPanel (extends verticalPanel) serializable, so i cannot transfer it like an object through rpc... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: The following classpath entry '...' will not be available on the server's classpath

2009-07-30 Thread Miguel Méndez
If you want to use the libraries on the server, then they should be in WEB-INF/lib. The warning has a quick fix that will do that for you. If you really don't want these on the server then you can add the .settings folder to your version control system once you have excluded them. We've

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Salman Hemani
Yes I know that ImageBundle cannot be used as CSS backgrounds that is why I am asking this question. I am not looking at putting that in the ImageBundle and I apologize if the question sounded like that. I am simply trying to figure out if I can automate the process of putting the background

Re: How to write this test in jMock?

2009-07-30 Thread Arthur Kalmenson
You can't use GWT.create() in a non-GWTTestCase. If you'd like to mock it out you need to use GWTMockUtilities.disarm() and then restore() after. -- Arthur Kalmenson On Thu, Jul 23, 2009 at 8:56 AM, Dalladalla_man...@hotmail.com wrote: I have a testcase that runs like it should using

Re: The following classpath entry '...' will not be available on the server's classpath

2009-07-30 Thread Paul Grenyer
HI 2009/7/30 Miguel Méndez mmen...@google.com: If you want to use the libraries on the server, then they should be in WEB-INF/lib. Yeah, I don't. These ones are just for testing.  The warning has a quick fix that will do that for you. If you really don't want these on the server then you

Re: Multiple pages question

2009-07-30 Thread Ian Bambury
The easiest way is just to have the html in the host html page in a div with display:none Inside that div, have all the elements you need for the page, add widgets to these elements with RootPanel.get(id).add(something); and set the enclosing div to visible = true when you want it to be displayed.

Google plugin for Eclipse 3.5

2009-07-30 Thread vogella
Hi, I have not seen an official annoucement but the Google Plugin has been updated for Eclipse 3.5 and is available. I have updated my GWT tutorial which can be found here: http://www.vogella.de/articles/GWT/article.html The update of the article contains only the correct update site which is

Re: The following classpath entry '...' will not be available on the server's classpath

2009-07-30 Thread Miguel Méndez
On Thu, Jul 30, 2009 at 10:12 AM, Paul Grenyer paul.gren...@gmail.comwrote: HI 2009/7/30 Miguel Méndez mmen...@google.com: If you want to use the libraries on the server, then they should be in WEB-INF/lib. Yeah, I don't. These ones are just for testing. The warning has a quick fix

Re: The following classpath entry '...' will not be available on the server's classpath

2009-07-30 Thread Paul Grenyer
Hi  The warning has a quick fix that will do that for you. If you really don't want these on the server then you can add the .settings folder to your version control system once you have excluded them. Yeah, I don't fancy that much, especially as the projects are shared.

module.nocache.js getting cached

2009-07-30 Thread Domenec
For several reasons I was thinking that it did happen, although [1] explains that it shouldn't happen. [2] shows a couple of methods to prevent that this file gets cached. In my case, server side exceptions [3] were being thrown for RPC calls from Ubuntu+FF3.5, saying that serialization

Adding event handler from *outside* widgets

2009-07-30 Thread max3000
Hi, I find it very annoying that one can't add event handlers to widgets *outside* the widget itself. Am I missing something or is there no way this can be done elegantly? I'm thinking something like: panel.addHandler(ResizeEvent.getType(), new ResizeHandler() { public void

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-30 Thread Gugas
Well done everybody!!! We can crack open the champaigne! 3.5 plugin is out!!! On 29 Jul, 17:05, petB peter.bo...@gmail.com wrote: On Jul 28, 10:14 pm, Juraj Vitko juraj.vi...@gmail.com wrote: If you know anything about software development, then you know that any and all development time

ListBox performance problem,with many items

2009-07-30 Thread Enea
Hi. I'm populating ListBox with 8000 items. ListBox lb=new ListBox(); for(int i=0;i8000;i++) lb1.addItem(+i); RootPanel.get().add(lb1); In my real project I have to add items from a big list of cities, but anyway. That takes 5 seconds on my developer machine, in hosted mode. In IE is a

GWT JAR Issue

2009-07-30 Thread CI-CUBE
For my non-trivial GWT O3D(JS) App I need to split the code into a (1) Java library and a (2) GWT Project using that library. (1) and (2) are created as projects inside Eclipse (3.4.2, GWT 1.7, App Engine 1.2.2, JDK 1.6.0_13); (1) is a regular Java project, (2) was created using the GWT wizard.

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread jhulford
I think what they're saying is use a pair of deferred bindings for your application. One for the standard use case and another for the admin use case. The standard case should never reference the admin tab and therefore the code that is contained in that tab or referenced in it should be

Re: XML parsing using GWT

2009-07-30 Thread Rahul
Hi, I am also getting the same error com.google.gwt.xml.client.impl.DocumentImpl cannot cast to com.google.gwt.dom.client.Document This is my code public void onResponseReceived(Request request, Response response) {

Re: GlassPanel for gwt 2.0?

2009-07-30 Thread Arthur Kalmenson
It's been moved/is in the process of being moved into trunk. I'm not sure if that means it'll make it into GWT 2.0 though. -- Arthur Kalmenson On Sat, Jul 25, 2009 at 1:42 PM, tfreitastfrei...@gmail.com wrote: Hi GlassPanel we will be in GWT 2.0?

Re: GWT 1.7 Crash while Compiling HistoryImplTimer.java

2009-07-30 Thread Fab
I have exactly the same trace. Some bugs in the release ? --~--~-~--~~~---~--~~ 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

NumberConstants in the en, ZA locale have changed in 1.6

2009-07-30 Thread aku
Hi In GWT1.5 and prior the decimalSeparator for the ZA (South Africa in case you wondering) locale use to be a '.' and since GWT 1.6 it has changed to a ','. This is in the NumberConstants_en_ZA.properties file. I am uncertain about the reason for this change, but to my best knowledge it is

TextBox, TextArea, RichText in Hosted mode debug sometimes go ReadOnly

2009-07-30 Thread eugeniog
Hello, I am new in the group. I have been using GWT 1.6.4 and now 1.7. My browser is IE 7.0 e my Operating System Windows XP. I am using Eclipse Ganymede. I am using a apache server and not the buillt-in server. Sometimes while debugging my Text Controls (TextBox, TextArea, RichText) go to

Re: Several simple questions from a newbie

2009-07-30 Thread Lars Erik Karlsen
If you wrap your widget in a FocusPanel, you can catch mouse and keyboard events. - lars Manik Chand wrote: Can we add element of Horizontal panel instead of Image to catch mouse event. On Thu, Aug 2, 2007 at 8:12 PM, krispy cplum...@integrity-apps.com mailto:cplum...@integrity-apps.com

Removing handlers with out HandlerRegistration

2009-07-30 Thread venki
In my project we are not maintaining corresponding HandlerRegistration objects to Handlers(i.e at the time of adding handlers). Can you please help me out how to remove handler from an widget, I am having only ClickHandler object rather than HandlerRegistration. Great thanks in advance

Removing handlers

2009-07-30 Thread venki
Hi.. Good After noon all of you.. I have migrated from GWT 1.5 to GWT 1.7. Every thing is fine but at one situation i am facing the problem is that... To remove a handler.. you are providing the facility from the corresponding HandlerRegistration#removeHandler(). My problem is:- In the

How can I get composite from another composite?

2009-07-30 Thread Sherkan
Hi, I'm nebie in GWT. I've created simple project: -one standalone entry point with main menu which is on each page rendered, and couple standalone composites each one for sub page. So far so good:) In main menu, I've got ToolBarMenu button, which I want to change from loaded composite. How can

Re: Google analytics integration

2009-07-30 Thread makoki
Yes, right, we're trying to track dynamic pages. Otherwise, as Juraj says, we don't have any problem. On 29 jul, 17:22, Juraj Vitko juraj.vi...@gmail.com wrote: I have not implemented Analytics in GWT yet, but it seems that unless you want to track dynamic pages inside your GWT app, you may

Re: GWT JAR Issue

2009-07-30 Thread CI-CUBE
P.S. The class files properly are created but nothing where the JAR file should appear --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Error on server

2009-07-30 Thread pca
Hello everyone, I have a project using GWT, Spring and Maven. Using the new GWT Maven plugin we were able to update the project to use GWT 1.6.4. Unfortunately this resulted in having the application failing in some computers. On one it works just fine. On the other it fails when using a

Help using comet in tomcat

2009-07-30 Thread BarefootSanders
Hi all. I'm trying to reproduce the application here: http://gwtapps.com/?page_id=31 Its a simple instant messenger which uses comet for events. It imports these two classes: import org.apache.catalina.CometEvent; import org.apache.catalina.CometProcessor; But I guess I dont have them on my

Re: Possible cause for IncompatibleRemoteServiceException

2009-07-30 Thread neshaug
I have the same error, but only after I make the result from the persistence manager transient. The environment is the same as yours Ivo. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread Isaac Truett
@jhulford - That won't actually secure the admin UI, since anyone can still download the UI by requesting that particular permutation. **If the UI itself is sensitive** then you should consider other ways of protecting it. But if, as is far more likely, it's the *data* that is sensitive, then

Closer tab seperation

2009-07-30 Thread Paddy
Hi Folks, just wondering if anyone has created any css for GWT tab panels where the tab selectors at the top are closer together if not joined and alligned. From looking around I can see the below css that I could modify just looking for a nudge in the right direction. .gwt-TabPanel {

Re: Google analytics integration

2009-07-30 Thread Carver
To use Google Analytics in GWT, we set up a couple methods like this: public static native void runGoogleAnalytics() /*-{ try { $wnd.gaTrack = $wnd._gat._getTracker(UA-XX-X); $wnd.gaTrack._setDomainName(.slique.com);

Re: Cool GWT Features

2009-07-30 Thread Sumit Chandel
Hi Chinmay, There are a ton of previous talks given by the GWT team online (presentation video and slides). The Google I/O 2009 talk entitled GWT 2.0 can do what?! should provide excellent reference material for cool new features to talk about during your own presentation. Feel free to borrow

Re: Running a project against a non-Java server (with JUnit)

2009-07-30 Thread Sumit Chandel
Hi Damon, Before going further down the track of being able to issue requests for resources from within a JUnit test case, you might want to consider if that's a good idea to begin with. Generally, unit tests are meant to test individual units of functionality down to the method (and in some

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread Nickelnext
So, after reading your answers and over the web, i can assume that the fastest way to make an admin area is to make a new module with everything inside it and then use a Basic or Form Based tomcat authentication. That wouldn't be the best way, but for me it's the quickest. So, assuming that i

Re: Setting Background image on panel

2009-07-30 Thread Manuel Carrasco Moñino
You change your css by: *.rightPanelReservedZone {* * **background: red; } * If you can see the panel's backgroud in red, the problem is in the image's url. Also you can check if there is any error using firebug Manolo Carrasco 2009/7/29 Rodrigue Lagoue rlag...@googlemail.com Hi Ed at

Re: Standard JSP + GWT Usage

2009-07-30 Thread jeff . oakes
this sounds like a good avenue of exploration. Good luck to you, and thanks for the exploration. Another approach to the same componentizing is to use html with a sitemesh decorator. These are post page filters that add material, like headers and footers, ... . - Original Message -

Announcing the Google Plugin for Eclipse 1.1.0

2009-07-30 Thread Miguel Méndez
Hi everyone, We wanted to let all of you know that the Google Plugin for Eclipse 1.1.0 is now available. Some of the notable improvements are: - Support for Eclipse 3.5 (Galileo) - GWT RPC interface validation with quick fixes - App Engine DataNucleus enhancer console no longer steals

Re: Profiling memory usage for large gwt application

2009-07-30 Thread Sumit Chandel
Hi Ankur, An application size of 3MB sounds extremely large. Is that gzipped or uncompressed? Also, how large is your codebase? I would imagine that the runAsync feature would have given you a huge boost in reducing the initial download size of your application. You mentioned that you broke down

Re: PHP in hosted mode

2009-07-30 Thread Sumit Chandel
Hi Tobe, The project-name-shell and project-name-compile scripts are no longer generated in GWT 1.6 or later. Would you mind letting me know where you read about these scripts while trying to get started with GWT as it might indicate stale docs somewhere that need to be updated. Instead of using

Re: PHP in hosted mode

2009-07-30 Thread Sumit Chandel
Hello again, One thing I forgot to mention is that you will need to run hosted mode with the -noserver option once you get your GWT project compiled and ready to try out with your PHP backend. You can follow the instructions on the FAQ link below once you're at that point. Using hosted mode with

GWT Eclipse plugin Ant integration

2009-07-30 Thread johnyzee
I am starting off a new project on GWT 1.7 and trying to utilize the GWT Eclipse plugin. So far it seems to work well, but one thing I really need is being able to script some of the plugin's features so I can integrate it with my build scripts. I have not been able to find f.ex. Ant tasks that

Re: GWTDatePicker problem

2009-07-30 Thread Sumit Chandel
Hi Joakim, I believe the reason why the Calendar pops up when you try to enter a date to the DatePicker is because of the fact that it has a ValueChangeHandler added to it that fires when the a new date is entered. A potential solution would be to create your own subclass of the ValueChangeHandler

Re: Differences between Firefox and IExplorer

2009-07-30 Thread Sumit Chandel
Hi Harkon, I second Sean's suggestion regarding checking out your CSS if your application looks noticeably different in IE and in Firefox. Also, the reason why your application looks the same in both the hosted mode browser and in IE is because hosted mode embeds an instance of your operating

Help - multiple modules in the same Eclipse project

2009-07-30 Thread Petarian
Hi, I have two modules A and B in one eclipse project. Both have their own Launcher, which work fine. However, when once I launch A, I want to type the URL for B. For example: When I launch A, the URL is: http://localhost:/A.html I want to type: http://localhost:/B.html in the same

Re: Google Wave UI GWT Sample

2009-07-30 Thread Shade
Yeah. I just spent a good 6 hours building and configuring a configuration of Wave on a new server in order to start developing additional apps and plugins to go with it and extend from it. Only to find out there is no gui. I can't work with that, Command line kills all inspiration. IMO google

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-07-30 Thread Jeff Chimene
On 07/30/2009 10:00 AM, Miguel Méndez wrote: Hi everyone, We wanted to let all of you know that the Google Plugin for Eclipse 1.1.0 is now available. . . . Cheers, Miguel, on behalf of the Google Plugin for Eclipse Team thank-you!

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Isaac Truett
I would like to put that in an ImageBundle I am not looking at putting that in the ImageBundle Can you try to rephrase your question in less contradictory terms? Be careful not to mention ImageBundle. I mentioned it once already, but I think I got away with it. ;) - Isaac On Thu, Jul 30,

TRying to moveprojects to another workspace

2009-07-30 Thread tedpottel
Hi, I’m trying to port my projects to a new folder location (I set up a local web server, and trying to put them in it’s folder). I created a new workspace, with the new location and copied my project folders to it. The projects did not show up on the work space, but I can create new projects

Re: Adding event handler from *outside* widgets

2009-07-30 Thread Isaac Truett
Widgets, at least in the core GWT library, already have methods to add handlers for events that they support. If you're adding a custom event handler for a custom event that's not part of the Widget's API, then it makes sense to subclass the widget because you are, in fact, creating a new type of

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-07-30 Thread Jonathan Kushner
that's great news. thanks for all the hard work put into this. On Thu, Jul 30, 2009 at 2:44 PM, Jeff Chimene jchim...@gmail.com wrote: On 07/30/2009 10:00 AM, Miguel Méndez wrote: Hi everyone, We wanted to let all of you know that the Google Plugin for Eclipse 1.1.0 is now available.

Re: GWT ListBox css styling of the drop-down button.

2009-07-30 Thread javawizard2539
I don't think it is, given that it represents a list box with the select tag. I don't seem to recall that there's a way to style only the button using the select tag. What you could do is create a GWT button, style it, and have it show a popup menu below it when you click on it. Then you could

What validation framework best fits with Google-gin

2009-07-30 Thread Eduardo Nunes
Hello guys, I've been searching for a good bean validation framework to use with GWT and Google-gin. I've tried the gwt-validation.googlecode.com , but I have one issue with it, if I try to inject an object that implements the IValidatable interface the system hangs up, it throws an

Automated JUnit Tests for GWT

2009-07-30 Thread Ben2008
Hi folks, on http://code.google.com/webtoolkit/doc/1.6/DevGuideTesting.html When developing a large project, a good practice is to integrate the running of your test cases with your regular build process. When you build manually, such as using ant from the command line or using your desktop IDE,

Re: In Hosted mode, GWT Stopped displaying Widgets

2009-07-30 Thread Lucasi
Hi Raju, Any progress? I´m having the same issue using Eclipse 3.4.2 + Jdk 1.6.07 and GWT 1.6 On another machine with the same zipped enviroment eclipse + workspace... works... Lucasi --~--~-~--~~~---~--~~ You received this message because you are subscribed

Display image from post-request in GWT client

2009-07-30 Thread A2
Hi I want to display an image in GWT client by making a POST request to my request which queries the database for the image BLOB and returns that image with the correct content type and all. If I were using GET request, I think I could simply pass the path to the servlet as the Image URL, but

Possible to implement multiple ValueChangeHandlers?

2009-07-30 Thread jreue
Is there a way for a class to implement more than one ValueChangeHandler? I thought I could do the following public class Foo extends Composite implements ValueChangeHandlerValueTypeA, ValueChangeHandlerValueTypeB { public void onValueChange( ValueChangeEventValueTypeA event ) {

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Salman Hemani
Right hence my apology in the second email and asking in clear terms: I am simply trying to figure out if I can automate the process of putting the background images so that I do not have to manually put their x,y position in CSS. Did you miss that completely? On Jul 30, 2:50 pm, Isaac Truett

anchor won't allow name to be set

2009-07-30 Thread L Frohman
I am trying to set up links to parts of a large page using anchors, where the from has href=#to and the to has name=to. But it ignores the setName() on the anchor tag. Is this by design for some reason? --- public void onModuleLoad() { VerticalPanel vp = new VerticalPanel();

Re: Vertical Panel

2009-07-30 Thread Sumit Chandel
Hi Rahul, This code snippet might help: public void onModuleLoad() { TextBoxPanel v2 = new TextBoxPanel(); RootPanel.get().add(v2); } public class TextBoxPanel extends Composite implements ClickHandler { private VerticalPanel v2 = new VerticalPanel(); private TextBox[] t1 = new

Read TextBox inside FlexTable

2009-07-30 Thread mrubioroy
Hi all, I'm learning how to use GWT and I'l like to ask you a maybe basic question for which I haven't found an answer on the web. I'm putting TextBox'es on the first column of a FlexTable, and ListBox'es on the second column. When I want to send all the form to the servlet what I do is to

Re: TRying to moveprojects to another workspace

2009-07-30 Thread Ian Bambury
File | Import ... Existing projects .. browse to the folder with the .project file in it. Ian http://examples.roughian.com 2009/7/30 tedpottel tedpot...@gmail.com Hi, I’m trying to port my projects to a new folder location (I set up a local web server, and trying to put them in it’s

event when item is visible, and getOffsetHeight isn't 0

2009-07-30 Thread bradr
I'm working on a widget and need to do calculations based on it's height in order to layout its child components. So i do something like this: @Override public void setHeight(String height) { super.setHeight(height); ...do height calculations } The problem i'm having is that setHeight is

Re: Bundling Background Images defined in CSS

2009-07-30 Thread Isaac Truett
Nope, I saw that. I wouldn't describe that as clear terms myself. You're talking about putting the background images and, since you didn't say where you were putting them, I had to fill in the blanks myself and assumed you were still talking about putting them in ImageBundles. So I asked you to

Re: Announcing the Google Plugin for Eclipse 1.1.0

2009-07-30 Thread tfreitas
Tranks :D On Jul 31, 12:00 pm, Miguel Méndez mmen...@google.com wrote: Hi everyone, We wanted to let all of you know that the Google Plugin for Eclipse 1.1.0 is now available.  Some of the notable improvements are:    - Support for Eclipse 3.5 (Galileo)    - GWT RPC interface validation

Re: ImageButton in gwt

2009-07-30 Thread Isaac Truett
Have you looked at extending PushButton or CustomButton? On Tue, Jul 28, 2009 at 6:42 AM, dineshdinesh...@gmail.com wrote: I have to create a image button in GWT which uses three images(left side image,center stretch image and right image).Created ImageButton should have all the

Re: GWT 1.7 Crash while Compiling HistoryImplTimer.java

2009-07-30 Thread Isaac Truett
It's working fine for me. Is it possible that you have two different versions of GWT in your classpath? On Thu, Jul 30, 2009 at 4:38 AM, Fabfabien.gren...@gmail.com wrote: I have exactly the same trace. Some bugs in the release ? --~--~-~--~~~---~--~~ You

Re: Admin Area protected by simple scripted password in GWT

2009-07-30 Thread Isaac Truett
So, assuming that i would choose this solution, is there a possibility to make another page (i.e. my app is set on myapp.html, and i can create admin.html in which gwt would compile the admin area) without create a new module? I searched quite a lot but I can't find a good tutorial for it.

Re: event when item is visible, and getOffsetHeight isn't 0

2009-07-30 Thread Adam T
try the onLoad() method: /** * This method is called immediately after a widget becomes attached to the * browser's document. */ protected void onLoad() { } //Adam On 30 Juli, 22:10, bradr brad.rydzew...@gmail.com wrote: I'm working on a widget and need to do calculations

Re: Query: Multi-user environment and GWT RPC

2009-07-30 Thread Isaac Truett
Say if users using different services concurrently and yet I have grouped the services together, will my web application crash (it can't tell which service for whom) ? Are you saying that your servlets are stateful? That would indeed be a problem. You shouldn't have any member variables in

Re: How long does my Webapplication live?

2009-07-30 Thread Isaac Truett
Ben, I think you may be confused about the boundary between your GWT client and your server. The EntryPoint is just the first piece of your code that gets executed on the client, like a main() method. Any variables you declare in the EntryPoint or elsewhere in client code remain as long as the

GWT App Runs Everywhere but on 1 computer

2009-07-30 Thread Chris
I have an interesting problem that I'm not sure how to debug. Any pointers would be helpful. I have an application where the user logs in and then is presented with a menu of actions. This application works just about everywhere just fine. However, today I ran into an instance on 1 computer

  1   2   >