Re: Texbox width greater than others

2010-04-12 Thread Sagar Samag
Thank you, Kozura, My problem got resolved. I copied the code to a new GWT Project and it is working fine there without any change! But in the old project the same strange behavior continues. I checked CSS files. They are identical. I could not understand why this was happening. Sagar

Re: Texbox width greater than others

2010-04-12 Thread Chi H
I've run into this problem before, it is a 'quirk' of the CSS standards mode. Take a look at the following HTML: !DOCTYPE html html body input type='text' style='width: 300px;'br select style='width: 300px;'/selectbr button style='width: 300px;'nbsp;/buttonbr div style='width: 300px;

Unmodifiable Collections Serialization

2010-04-12 Thread mmoossen
Dear all! currently i am not able to serialize unmodifiable collections getting some exception because the class signature can not found in the serialization policy file. so i thought let's just create a dummy RPC method explicitely declaring Collections.EmptyList and co. as parameters to tell

Re: New GWT widget resource, of sorts: vaadin.com/directory

2010-04-12 Thread emarc
We have done some initial tests with code splitting, and it's working quite well. I don't know when it'll make it into the release, though - it will probably not be in 6.4, certainly in 7, maybe somewhere in between. Code splitting is actually quite easy to implement due to the way Vaadin creates

Re: FYI: A Simple GWT Generator Example

2010-04-12 Thread Olivier Monaco
Hi Francis, Using your generator can lead to NPE: your getSourceWriter can returns null (line 68). A generator have two goals: returns the name of class to instantiate and generate the code for that class. The first goal is mandatory, the second not. If your generator returns the name of a class

Re: Texbox width greater than others

2010-04-12 Thread Sagar Samag
Dear Chi H, It is amazing. I am really thankful to you for the response. You are dead right. My earlier project was in Standard Mode and the new one is in Quirks mode. The earlier html had following line: !doctype html And the new project has: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01

Re: Unable to bring up the hosted mode console for my web application

2010-04-12 Thread DanG
@Ian So is this the default new behaviour? The IBM guide I posted says I should get the hosted mode console if I use the GWT sdk. Is this simply out of date? Incidentally, if I copy and paste the URL into a browser, the page fails to load. I also prefer the hosted mode console for two reasons. I

Re: Unable to bring up the hosted mode console for my web application

2010-04-12 Thread DanG
@kozura I assume the GWT sdk is setup correctly because the field for version number is populated. Also, you'll see in my original post that I did try and getting Devmode running as a java application, but ran into issues. On Apr 12, 5:06 am, kozura koz...@gmail.com wrote: Alternatively you

Re: Unmodifiable Collections Serialization

2010-04-12 Thread mmoossen
well, i created my own serialization policy facade that does whitelist the unmodifiable collection classes, but then i failed to create a custom serializer since for that i would need to create a class called java.util.Collections overwriting the one of the JVM which i feel is not the best

Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0.3 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Every browser Detailed description (please be as specific as possible): Could not able to render GWT button on the screen in hosted mode. Please find the stack trace i'm getting 10:32:08.234

Serialization whitelist

2010-04-12 Thread Jon Vaughan
Hi, I have a serialization issue to solve, where a class that is passed to the client, and is marked as IsSerializable, with a default no arg constructor, does not end up in the whitelist. There are no messages during the gwt compile (at debug level) 1. Does anyone have any thoughts about how

Password saving and login through RPC request

2010-04-12 Thread Viliam Durina
In my application the login form is not submitted as a standard HTML submit, but as a RPC request. Everything works, except that the browser does not offer the password to save. Is there some workaround to this or do I have to change the login to standard submit? Thanks, Viliam -- You received

GWT For ASP.Net

2010-04-12 Thread akhil
Is Google Providing GWT's Version for ASP.Net...? -- 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 unsubscribe from this group, send email to

Re: GWT For ASP.Net

2010-04-12 Thread Jan Ehrhardt
No, there is nothing special for ASP.Net. In general a GWT application is a real client application, that can use a RESTful web service to request data from a server. So developing a GWT application is like developing a desktop application, that runs inside the browser. So it should be easy

Re: Serialization whitelist

2010-04-12 Thread Jon Vaughan
I think the problem is that on this example the type of the payload can be anything (it is not required to be serializable); given that this is possible, GWT must say, OK, then this type itself cannot be serialized (I would like this to fail the compile though somehow) On Apr 12, 10:27 am, Jon

RCPservice, use the same service for all calls...

2010-04-12 Thread FB
Hello, my question is about the use of RCPservice, I seen some tutorials online but I would like to know if could be a good solution use the RCPservice in this way: 1) Have just one class server/RCPserviceImp.java 2) Have just one class client/Service.java and ServiceAsync.java 3) Send from the

Project Stopped Working (wasn't me, I never touched it!)

2010-04-12 Thread Ian Bambury
I have a bit of a weird problem. A project stopped working. When I run it, it fails to create the directory in the /war/ directory for the project (as in rename-to). I wasn't doing anything to the project structure, just coding when it happened. The odd thing is that if I just rename the

-port keeps disappearing

2010-04-12 Thread Ian Bambury
In the Run Configs - Arguments I add -codeServerPort -noserver and -port. If I restart Eclipse, or go to the arguments, or after a while of just running via the run button, the -port switch and port number disappear. Anyone else get this? Any way to make it 'stick'? Is it a bug in the GEP? Ian

Re: -port keeps disappearing

2010-04-12 Thread Abdullah Shaikh
Yes the -port port number disappears for me too Below are the arguments that are automatically set for me, and I just add the -port argument since I want to use a different port. -startupUrl /myapp/MyApp.html -noserver -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -logLevel INFO -war

Re: Password saving and login through RPC request

2010-04-12 Thread Thomas Broyer
On Apr 12, 11:46 am, Viliam Durina viliam.dur...@gmail.com wrote: In my application the login form is not submitted as a standard HTML submit, but as a RPC request. Everything works, except that the browser does not offer the password to save. Is there some workaround to this or do I have to

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread Thomas Broyer
On Apr 12, 11:24 am, aditya ch adityac1...@gmail.com wrote: Found in GWT Release (e.g. 1.5.3, 1.6 RC): 2.0.3 Encountered on OS / Browser (e.g. WinXP, IE6-7, FF3): Every browser Detailed description (please be as specific as possible): Could not able to render GWT button on the screen in

Re: Unmodifiable Collections Serialization

2010-04-12 Thread mmoossen
At the end i got it almost working: 1. i have my serialization policy that whitelists java.util.Collections $xxx classes 2. and i also have in my project a class called com.google.gwt.user.client.rpc.core.java.util.Collections with an internal class EmptyList_CustomFieldSerializer which is even

Re: -port keeps disappearing

2010-04-12 Thread Katharina Probst
Hi, In your run/debug configuration, if you go to the Server tab, what does it say? This tab also sets the port and the -noserver (or server) arguments, so you'll want to make sure they're not in conflict with your Arguments tab. kathrin On Mon, Apr 12, 2010 at 8:33 AM, Abdullah Shaikh

Re: Project Stopped Working (wasn't me, I never touched it!)

2010-04-12 Thread Katharina Probst
Write permissions in the war directory? Files being read (do you have the app running from this directory?) so it can't override them...? kathrin On Mon, Apr 12, 2010 at 7:18 AM, Ian Bambury ianbamb...@gmail.com wrote: I have a bit of a weird problem. A project stopped working. When I run

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Not exactly. Earlier I used that for quick compilation and I can surely say it's not on when I'm running on hosted mode. Out of curiosity, How did you find out that ? On Apr 12, 5:40 pm, Thomas Broyer t.bro...@gmail.com wrote: On Apr 12, 11:24 am, aditya ch adityac1...@gmail.com wrote:

Problem with Radiobuttons

2010-04-12 Thread crojay78
Hi, I have a problem with radiobuttons, maybe I do not understand everything correctly because I don't see a solution. I have three rows of Radiobuttons (each row 2 radiobutton), each row is a group. Now I need to fire an event when something in these lines has changed. For example when in row 2

Re: -port keeps disappearing

2010-04-12 Thread ben fenster
did you found a solution? On 12 אפריל, 14:07, Katharina Probst kpro...@google.com wrote: Hi, In your run/debug configuration, if you go to the Server tab, what does it say?  This tab also sets the port and the -noserver (or server) arguments, so you'll want to make sure they're not in

Problem with StockWatcher Tutorial

2010-04-12 Thread Frank
I am using MyEclipse 8.5, Windows 7 and IE 8. I am at the point of creating the initial web application and have installed the GWT dev plugin into IE. When I enter http://127.0.0.1:/ into the browser I see the Web Application Starter Project and Please Enter your Name but not the entry field

Ellipsis in Firefox

2010-04-12 Thread TheNDV
Hello all I’m trying to get ellipsis to work in Firefox and have found a solution that involves CSS and XML Here the link: http://mattsnider.com/css/css-string-truncation-with-ellipsis/ This works fine in IE and Chrome but the Firefox solution is somewhat problematic, It tries to do –moz-binding

is there any plugin for eclipse which add drag and drop abilitiy for creating User Interface ?

2010-04-12 Thread KeremPekcabuk
Hi I'm looking for a free eclipse plugin which gives me the ability to drag a button to the web page and it will create a code automatically. (Also other ui objects) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Ezproxy rpc fails

2010-04-12 Thread Rodolphe Gomes
Good morning, Trying to call a service throws: Blocked request without GWT base path header (XSRF attack?) With Ezproxy headers X-GWT-Permutation and X-GWT-Module-Base are not created. I am using eventservice from Novanic. Any ideas ? Thanks for any help ! -- You received this message

How to scroll page to element

2010-04-12 Thread redlaber
I want to scroll page, generated with gwt, to some element. Its should be simple, but i cannt find the solution. For example: I have a vertical panel with two flexables. When i get the history token goto2 I want to scroll my page to the second table. (Sorry for the terrible english). -- You

Disclosure Panel - how can I avoid from button border?

2010-04-12 Thread Konstantin Konyaev
Gentlemen, I use Disclosure Panel widget. Its OPEN button is image-based. Both in Hosted Mode and under Firefox there is a solid border around the button's image (it's blue in Hosted Mode and black under Firefox). I hate the border and wanna destroy 'em. How can I do it? I am clever guy :) and

Rich Text Area, same as in Gmail Compose Mail

2010-04-12 Thread apurva
Hello, I would like to have exactly the same Rich Text Area in an application as the one available in Gmail, Compose mail option, along with language transliteration, insert smiley icons and insert image (Gmail labs feature). Any idea how I can do that? The Rich Text Area available in the GWT2.0

Re: Scrollbars for VerticalPanel?

2010-04-12 Thread Gilbert Corrales
good timing, we just went thru the same headache a couple of days ago as we are using GWT to build our admin website. the problem that you are facing is that by default the RootPanel and the RootLayoutPanel will wrap everything you put on with a couple of divs that will intentionally remove any

Unresponsive Script Warning - Need help on Incremental Command

2010-04-12 Thread Anand Mohan Singh
Hi, I am using GWT 2.0.3 along with Gilead 1.3 and Hibernate 3.2 for developing an application. Some of the bean classes have 20+ entities because of which when I am trying to bring list of such beans to client side the browser is throwing 'Warning: Unresponsive Script'. This hold true even

Change the default date

2010-04-12 Thread Vik_Sintus
in the StockWatcher example ... how can I change the last update date, it currently stated Last update : Jan 1, 1970 11:00:00 AM see yourself @ http://pasar-saham.appspot.com thank you for your help Vik -- You received this message because you are subscribed to the Google Groups Google Web

sliding navigation with gwt

2010-04-12 Thread ko_aung
hi, i'm wondering somebody could shed some light on how to achieve a sliding navigation with gwt, something like this http://www.wolfire.com/overgrowth thanks. regards, ko_aung -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

MooFlow, Gwt FireEvent on Both

2010-04-12 Thread Elmaho
Hey everyone, I want to integrate MooFlow external lib in my Gwt Application, so I begin by reading the essentials of JSNI and doing my things. So far it's OK, I create the Impl class to wrap the functions I need, I create also the JSObject and finally the widget itself (called CoverFlow). Now

Want to call Geocoder from the managed Server

2010-04-12 Thread pawan
Hi All, I am using geocoder.getLatLng(searchString, new LatLngCallback()... Callback is always fail in my application. In stand alone application it is working. How I can use it in managed server environment. Is there any other way. IF yes please help Regards PAwan kumar -- You received

Re: Unable to bring up the hosted mode console for my web application

2010-04-12 Thread kozura
Right, I was just trying to think back to when I've seen that exact error you posted, and how I solved it. Jetty is failing to start because it can't find something it needs, but don't remember what I did. I do remember debugging it by creating a project using webAppCreator instead of the with

ERROR Unable to find 'org/sempere/gwt/toolbox/core/toolbox-core.gwt.xml' on your classpath

2010-04-12 Thread dev_web_fr
Hi, I have a pb : when i run the file mywebapp-shell.cmd on shell mode, i have this error : [TRACE] Loading inherited module 'org.sempere.gwt.toolbox.core.toolbox- core' [ERROR] Unable to find 'org/sempere/gwt/toolbox/core/toolbox- core.gwt.xml' on your classpath; could be a typo, or maybe you

Re: How to get OnMouseOver Event on DIV Element

2010-04-12 Thread myapplicationquestions
I also have the same issue where the mouseover is not getting reisgtered in a div added via an HTML widget. I am trying to listen to mouseover using the native preview handler. FYI: This works in GWT 1.7.1 but once i upgrade to GWT 2.0 it stops working.. anyone has seen this happening? On Apr

Re: RCPservice, use the same service for all calls...

2010-04-12 Thread kozura
Point 1 and 2 are ok, or you can create multiple services if you'd like for a larger project. I keep them together, but then on the server side split out several actual server modules to handle different types of requests; the RPCServiceImpl is just a simple callout to the various modules. But

Re: RCPservice, use the same service for all calls...

2010-04-12 Thread FB
Ok, thanks... The SQL on client was just an example to understand the action... I don't use SQL on client :) Thank you again. -- 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: Problem with Radiobuttons

2010-04-12 Thread kozura
Can add the same ValueChangedHandler on all of them, this will tell you when one of them gets checked. On Apr 12, 7:30 am, crojay78 croja...@googlemail.com wrote: Hi, I have a problem with radiobuttons, maybe I do not understand everything correctly because I don't see a solution. I have

Re: RCPservice, use the same service for all calls...

2010-04-12 Thread FB
The compiler doesn't allow an Object[] array, but allows ArrayList -- 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 unsubscribe from this group, send email to

Re: -port keeps disappearing

2010-04-12 Thread Abdullah Shaikh
In the Server tab, I see a option to run built-in server, and I have the check box unchecked, bcoz I want to run the gwt app in my external server. I have check the checkbox it adds -port 8080 -server. - Abdullah On Mon, Apr 12, 2010 at 6:37 PM, Katharina Probst kpro...@google.comwrote: Hi,

Re: Rich Text Area, same as in Gmail Compose Mail

2010-04-12 Thread Paul Robinson
There's a RichTextToolbar in the showcase. You have to copy paste to use it. apurva wrote: Hello, I would like to have exactly the same Rich Text Area in an application as the one available in Gmail, Compose mail option, along with language transliteration, insert smiley icons and insert

Re: MooFlow, Gwt FireEvent on Both

2010-04-12 Thread Mohamed Cherb
How do I to fire a Gwt event from JavaScript ? 2010/4/12 Elmaho elmaho...@gmail.com Hey everyone, I want to integrate MooFlow external lib in my Gwt Application, so I begin by reading the essentials of JSNI and doing my things. So far it's OK, I create the Impl class to wrap the functions I

Re: Putting TabLayoutPanel into VerticalPanel in UIBinder

2010-04-12 Thread Phil
Hi there, You are mixing a VerticalPanel (older panel type, uses tables for layout) and the TabLayoutPanel, which is newer (GWT2.0) and relies on divs and CSS for layout. In general, you shouldn't mix the two types of Panels. but the result is awful, even when I tried some styling - I can't

Re: Problem doing POST with REST

2010-04-12 Thread Nathan Wells
Looks like you need to implement the toRepresentation method. ClientResource is not a GWT-provided class, so you may need to explain a bit better what your environment looks like. If ClientResource is a part of a library you're using, you might need to talk to the authors of the library, or find

Re: Starting a new blank project in Eclipse.

2010-04-12 Thread Phil
Hi, This is a fine question. The default Web App Project created by the Google Eclipse plugin includes some sample code... it is no problem to delete it from your projects and it is not required at all. It is just there for the first time user, really. I agree that cleaning it out is kind of a

Re: debugger does not work... SDK 1.6.0.19

2010-04-12 Thread Rajeev Dayal
Instead of using Run As - Web Application, try Debug As - Web Application. On Sat, Apr 10, 2010 at 12:21 PM, Oleg Demidenko odemide...@gmail.comwrote: Yes, I'm using Eclipse with plugin. I'm running it by run as-Web application Application in the browser works correctly an as far as I can see

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread Sripathi Krishnan
Out of curiosity, how did you find out? Trident is the layout engine used by IE. See http://en.wikipedia.org/wiki/Trident_%28layout_engine%29 Your stack trace shows DOMImplTrident, which indicates that its IE6 or IE8. To trigger that class, you need to have a deferred binding property for ie..

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread Thomas Broyer
On 12 avr, 15:26, aditya ch adityac1...@gmail.com wrote: Not exactly. Earlier I used that for quick compilation and I can surely say it's not on when I'm running on hosted mode. You might be running into issue 4823 or similar. http://code.google.com/p/google-web-toolkit/issues/detail?id=4823

Re: How to get OnMouseOver Event on DIV Element

2010-04-12 Thread Trevor Skaife
Here is an example of a FlowPanel that I added some handlers to... public class FlowPanelMouse extends FlowPanel implements HasMouseOverHandlers, HasMouseOutHandlers, HasClickHandlers { public HandlerRegistration addMouseOverHandler(MouseOverHandler handler) { return

Re: -port keeps disappearing

2010-04-12 Thread Thomas Broyer
On Apr 12, 1:24 pm, Ian Bambury ianbamb...@gmail.com wrote: In the Run Configs - Arguments I add -codeServerPort -noserver and -port. If I restart Eclipse, or go to the arguments, or after a while of just running via the run button, the -port switch and port number disappear. Er, I might be

Re: Checkstyle/PMD/FindBugs for GWT 2.0.3 projects

2010-04-12 Thread cretz
I always use Checkstyle in my projects. I don't believe in the true sense of http://checkstyle.sourceforge.net/config_design.html#VisibilityModifier so I always allow protected and package-private. The only problem I really run into is when I have really long method signatures in my JSNI and it

Re: Want to call Geocoder from the managed Server

2010-04-12 Thread Sripathi Krishnan
What error messages are you seeing? Do you happen to have Google App Engine enabled in your eclipse settings? --Sri On 12 April 2010 18:38, pawan kumarpaw...@gmail.com wrote: Hi All, I am using geocoder.getLatLng(searchString, new LatLngCallback()... Callback is always fail in my

Re: -port keeps disappearing

2010-04-12 Thread Jason Parekh
Hi, The -port argument is for specifying the port of the embedded server. In your case, you're running an external server, so the -port is not needed, and that's why it is getting removed. jason On Mon, Apr 12, 2010 at 10:21 AM, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: In the

Re: MooFlow, Gwt FireEvent on Both

2010-04-12 Thread Elmaho
the function isn't recongnized in JS (I recieve the undefined exception) !! line: cfo.addEvent('onClickView', function(obj){ }) Is there any solution On 12 avr, 11:49, Elmaho elmaho...@gmail.com wrote: Hey everyone, I want to integrate MooFlow external lib in my Gwt Application, so I

Re: Problem with Radiobuttons

2010-04-12 Thread Jim Douglas
Register a ValueChangeHandler against all RadioButtons in a given group. This won't tell you when a given radio button has become unchecked; it will only tell you when a given radio button has become checked. To work back to what radio button just became unchecked?, you need to keep track of the

Re: ERROR Unable to find 'org/sempere/gwt/toolbox/core/toolbox-core.gwt.xml' on your classpath

2010-04-12 Thread Sripathi Krishnan
inherits name=org.sempere.gwt.toolbox.core.toolbox-core/ inherits name=org.sempere.gwt.toolbox.remoting.toolbox-remoting/ Are these two regular java packages? Or have you create jar files for each of these? In GWTs module.xml, you don't inherit java packages. You inherit other modules. The

Re: How to scroll page to element

2010-04-12 Thread t.dave
use ScrollPanel.setScrollPosition(). that sets the vertical scroll position of the scrollpanel, which you will need to calculate. try something like this: new ClickHandler() { public void onClick( ClickEvent event ) { int tableTop = secondFlexTable.getAbsoluteTop();

Re: Declarative layout's ui:style / compression problem

2010-04-12 Thread Reinier Kip
On Apr 11, 12:32 pm, Thomas Broyer t.bro...@gmail.com wrote: On Apr 10, 1:10 pm,ReinierKipreinier@gmail.com wrote: Hi, I have placed ui:style src=example.css / in my ui xml. This refers to a stylesheet that contains (among other rules): background-image: -webkit-gradient(linear,

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Yeah Thomas, you are right. I have posted the exception occurring in Chrome, but as I mentioned earlier, similar kind of issue is even happening in FF, IE as well. If you want, I can even post the stack trace I'm getting with FF. Yes, I did a lot of refreshes in the browser with Ctrl+R, F5,

Re: Scrollbars for VerticalPanel?

2010-04-12 Thread Gilbert Corrales
Posts are live, actually we wrote two of them: one where we show a couple of ways to create a basic layout (including the scrollable one) and one were we only focus on the the scroll experience as we think is the one that always gets lost in the crow. Links to the post are as follow:

firebug aborted *.cache.html

2010-04-12 Thread Simon Botting
Hi, In firefox firebug a red message is showing in the net tab that the request for the *.cache.html file is being aborted then re-requested and reloaded - fresh from the server. Here is a screen shot of firebug: http://www.enbuenosaires.com/images/firebug-aborted-cache-html.png my apache (v

Re: Starting a new blank project in Eclipse.

2010-04-12 Thread tamooch
Thanks Phil. I appreciate the clarification and great tip! -Chris On Apr 12, 8:58 am, Phil mikan...@gmail.com wrote: Hi, This is a fine question. The default Web App Project created by the Google Eclipse plugin includes some sample code... it is no problem to delete it from your projects

Re: Extending the 'Contact: MVP' example

2010-04-12 Thread Brian Reilly
I think you should be able to do this pretty easily by putting something that implements HasWidgets (such as SimplePanel, FlowPanel, etc.) in your center column. You can then pass that container into your presenter as the place where its content should live. That should leave the other things that

Re: Non-Anonymous UIBinding without @UIField(provided=true), How?

2010-04-12 Thread Brian Reilly
I don't think that there's currently a way to do this. You'd still need to put some attribute on your anonymous Label so that you could look it up, much like an HTML id attribute. Still, the lookup would need some kind of reflection mechanism, or UiBinder would have to gather everything in the

Re: Compound properties

2010-04-12 Thread b.thakker
This is great information. I tried it out and it worked very well. Its exactly what I was looking for. I was about to ask how you knew about this and found the related section in the documentation. Thank You. On Apr 10, 1:55 am, Paul Robinson ukcue...@gmail.com wrote: What you're missing is the

[WARN] g:TabPanel is deprecated. Use the g:TabLayoutPanel instead.

2010-04-12 Thread Bilousme
Hello, When I compile my application with GWT 2.0.3, I receive the warning below : [WARN] g:TabPanel is deprecated. Use the g:TabLayoutPanel instead. But I cannot use TabLayoutPanel because I'm not in a panel layout context and if I have to use the TabLayoutPanel, I must specify the height of

__listener tags getting added in IE8 using GWT 2.0

2010-04-12 Thread myapplicationquestions
Hi All, I am having a very hard time understanding why each of my div when viewed in IE8 ( using its crappy developer tools) show me __listener tag which is incomplete.. div class=portlet-column style=height: 100%; __listener= DIV style=HEIGHT: 100% class=portlet-columnDIV class=mss-

Need to explicitly remove event handlers manually?

2010-04-12 Thread macagain
Is it required or even good practice to manually remove event handlers (say, on detach or unload)? I.e. keep the handlerRegistration around when returned from addHandler, then later call handlerManager.removeHandler(). Of course in the old world of manually managing listener collections, one had

createForClass fail in javascript compiled version

2010-04-12 Thread PhilBeaudoin
Hi, I'm using the new google-gin AsyncProvider to implement code splitting in my GWT application. It works well in most situations, but I ran into a strange issue recently which might hint at a problem in GWT itself. My app works well in development mode: I call myAsyncProvider.get(myCallback)

Re: Extra HTML in response from

2010-04-12 Thread Mark
On Apr 10, 2:56 am, Thomas Broyer t.bro...@gmail.com wrote: Could it be that the div is added by a Chrome extension? Try disabling all extensions to see if it makes a difference. Yes, that is exactly what it was! I've narrowed it down to this one:

Re: Need to explicitly remove event handlers manually?

2010-04-12 Thread rjcarr
If you no longer need the handler then yeah, you should remove it, because you don't want to execute code blocks (onClick()) that are no longer needed or used. But it certainly isn't required. On Apr 12, 2:32 pm, macagain rgk...@gmail.com wrote: Is it required or even good practice to manually

Re: sliding navigation with gwt

2010-04-12 Thread rjcarr
You would need to embed things (i.e., widgets, most likely images) into an absolute panel and then change their positions within the panel on the navigation action. By moving the items in the front faster than in the back it achieves a 3D look. Good luck! On Apr 11, 12:01 am, ko_aung

Re: createForClass fail in javascript compiled version

2010-04-12 Thread Sripathi Krishnan
Uncaught ReferenceError: java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava _lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2 is not defined I have seen this error before when using GWT runAsync.. so I do believe this is somewhat of an issue with GWT compiler. From

Re: Could not able to render GWT button on the screen in hosted mode.

2010-04-12 Thread aditya ch
Yeah Thomas, you are right. I have posted the exception occurring in Chrome, but as I mentioned earlier, similar kind of issue is even happening in FF, IE as well. If you want, I can even post the stack trace I'm getting with FF. Yes, I did a lot of refreshes in the browser with Ctrl+R, F5,

Re: -port keeps disappearing

2010-04-12 Thread Abdullah Shaikh
OK, but is it not required to specify the port no. of my external server ? I am using port 8080. - Abdullah On Mon, Apr 12, 2010 at 9:19 PM, Jason Parekh jasonpar...@gmail.com wrote: Hi, The -port argument is for specifying the port of the embedded server. In your case, you're running an

Re: How to scroll page to element

2010-04-12 Thread redlaber
So i must plaсe my VerticalPanel onto ScrollPanel? On 12 апр, 19:12, t.dave da...@lorgeousdays.com wrote: use ScrollPanel.setScrollPosition().  that sets the vertical scroll position of the scrollpanel, which you will need to calculate.  try something like this: new ClickHandler() {  

Re: [gwt-contrib] TabLayoutPanel: Distinguish between user- and code-initiated SelectionEvents

2010-04-12 Thread Joel Webber
[I just commented directly on the linked issue] On Thu, Apr 8, 2010 at 11:17 PM, jarrod jarrod.carl...@gmail.com wrote: I would really like to see a way to distinguish between SelectionEvents (and BeforeSelectionEvents) in TabLayoutPanel based on whether the event occurred in response to a

Re: [gwt-contrib] Re: RFC: Web worker proposal and proof of concept

2010-04-12 Thread Joel Webber
Brendan, At a quick glance, this looks pretty much like I would have expected a good workers library to look like. Is there any way I *could* convince you to make a wave of it? It's a pretty big description, and would probably diverge badly on a mailing list (@everyone: If anyone who frequents

[gwt-contrib] Re: When JsStaticEval converts a number to a string, use the JS (issue335801)

2010-04-12 Thread Lex Spoon
Interesting subthreads aside, does the change in this patch LGT everyone? On Fri, Apr 9, 2010 at 6:58 PM, John Tamplin j...@google.com wrote: On Fri, Apr 9, 2010 at 6:29 PM, Lex Spoon sp...@google.com wrote: Changing it is fine. However, the ideal change would be to whichever way takes the

[gwt-contrib] Re: Fix a possible null pointer dereference (issue330802)

2010-04-12 Thread rchandia
LGTM Thanks! http://gwt-code-reviews.appspot.com/330802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject.

[gwt-contrib] Re: When JsStaticEval converts a number to a string, use the JS (issue335801)

2010-04-12 Thread John Tamplin
On Mon, Apr 12, 2010 at 10:59 AM, Lex Spoon sp...@google.com wrote: Interesting subthreads aside, does the change in this patch LGT everyone? I don't know enough to comment, so FHMP. Well, not if we are using it in contexts where it is expected to be all digits, as in the original bug.

[gwt-contrib] Re: Comment on EnumOptimizations in google-web-toolkit

2010-04-12 Thread codesite-noreply
Comment by piotr.swigon: Joel, I would like to ask if anything has changed regarding enums implementation in GWT 2.0.X ? We're having a discussion in gwt-google-apis if we should start using enums instead of string-enum pattern, and some information about current state would be highly

Re: [gwt-contrib] Re: Comment on EnumOptimizations in google-web-toolkit

2010-04-12 Thread Joel Webber
[+cromwell: What's the current state of the enum optimizations? I seem to recall they were partially done, but forgot where the doc is] On Mon, Apr 12, 2010 at 11:28 AM, codesite-nore...@google.com wrote: Comment by piotr.swigon: Joel, I would like to ask if anything has changed regarding

[gwt-contrib] module source-merging algorithm

2010-04-12 Thread Freeland Abbott
I wanted to ask the list a question, since we've looped back to an old discussion at http://code.google.com/p/google-web-toolkit/wiki/ResourceOracle about how to treat overlapping source modules. The question is what to do if a GWT App inherits two (or more) modules that have selective source

Re: [gwt-contrib] module source-merging algorithm

2010-04-12 Thread John Tamplin
On Mon, Apr 12, 2010 at 12:05 PM, Freeland Abbott fabb...@google.comwrote: I wanted to ask the list a question, since we've looped back to an old discussion at http://code.google.com/p/google-web-toolkit/wiki/ResourceOracle about how to treat overlapping source modules. The question is what

[gwt-contrib] Re: Fix a potential bug in initialization found by findbugs (issue325802)

2010-04-12 Thread rjrjr
LGTM http://gwt-code-reviews.appspot.com/325802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject.

[gwt-contrib] Re: When JsStaticEval converts a number to a string, use the JS (issue335801)

2010-04-12 Thread Ray Cromwell
I think String.valueOf(x) is ok, because if this happens at runtime, it will pick up the JS VM toString behavior. If it is handled at compile time, than it is evaluated with JsStaticEval. + 1.004E5 - 100400. I think the real problem might be differences that might crop up in hosted mode.

Re: [gwt-contrib] $entry and wrapping result as Object in hosted mode

2010-04-12 Thread John Tamplin
On Sun, Apr 11, 2010 at 9:36 PM, Ray Cromwell cromwell...@gmail.com wrote: Doh, you've right, boy do I love Javascript. If you specify any object, including a Boolean object whose value is false, as the initial value of a Boolean object, the new Boolean object has a value of true. That is

Re: [gwt-contrib] module source-merging algorithm

2010-04-12 Thread Freeland Abbott
On Mon, Apr 12, 2010 at 12:10 PM, John Tamplin j...@google.com wrote: How would you handle the following: A: include foo*.java, exclude b*.java B: include bar*.java, exclude foobaz.java I am assuming your union would be the following: - all foo*.java - all bar*.java Is that

[gwt-contrib] [google-web-toolkit] r7909 committed - Fix a potential bug in initialization found by findbugs...

2010-04-12 Thread codesite-noreply
Revision: 7909 Author: r...@google.com Date: Mon Apr 12 07:37:49 2010 Log: Fix a potential bug in initialization found by findbugs Review at http://gwt-code-reviews.appspot.com/325802 Review by: rj...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=7909 Modified:

[gwt-contrib] Re: Added method to change the size of a MutableArray. Added factory method to construct a nonempty ... (issue319801)

2010-04-12 Thread fabbott
LGTM, too http://gwt-code-reviews.appspot.com/319801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe, reply using remove me as the subject.

Re: [gwt-contrib] module source-merging algorithm

2010-04-12 Thread Freeland Abbott
Further clarifying after face-to-face with John: I'm proposing, for all modules touching a given java package, *union over modules of (includes/ - excludes/)* it'd be nice to find an optimized expression that reduced the list away, but the obvious *union(includes/) - intersection(excludes/)*

  1   2   >