Re: Google Gadget: works in hosted mode, but not in web mode (iGoogle)

2009-12-14 Thread flokay
I have still difficulties with RPC call in a gadget. In hosted mode it works again, but not in iGoogle. Here is my Code: package com.google.gwt.sample.cnsnews_rpc_gadget.client; import java.io.Serializable; import com.google.gwt.sample.cnsnews_rpc_gadget.client.FakeResponse; import

Re: GWT 2.0 - Problem with Eclipse plugin and UiBinder Field xxx has no corresponding field in template file yyy.ui.xml

2009-12-14 Thread hoxbro
Hi, Thanks for feedback and sorry for my late reply. First, could you try forcing a clean build of your project? (Project Clean) This will force a re-indexing of the UiBinder indices. A clean build removes Eclipse warnings. Stopping/Starting Development Mode does the same. Also, could you

FlexTable problem in IE

2009-12-14 Thread muhannad nasser
Dear All; i have extended the FlexTable and i want to make it works as a grid. so when i click on a row i want it to be selected take a look at the next good it works fine on FireFox... but it does not work on IE7 addClickHandler(new ClickHandler() { @Override public void

Use multi CSS in one GWT project

2009-12-14 Thread Šobis
Hello, I have a question about using multi CSS in on GWT project. I have different clients (different resolution) and I would like to set one CSS file to one resolution and another to different one. Is there any way to do that. For example, for resolution 1280x800 I would like client to use

Re: Use multi CSS in one GWT project

2009-12-14 Thread Nicanor Cristian
You could determine what css file to use by checking window's width and height. For example: You have a css file for every resolution you want to manage. In those files you declare the same css rules, with the same base names + some unique identifier (eg: .topMenu800x600 or topMenu1024x768).

Re: Use multi CSS in one GWT project

2009-12-14 Thread Thomas Broyer
On Dec 14, 10:19 am, Šobis matej.poklu...@gmail.com wrote: Hello, I have a question about using multi CSS in on GWT project. I have different clients (different resolution) and I would like to set one CSS file to one resolution and another to different one. Is there any way to do that.

Re: How to disable word wrap in TextArea

2009-12-14 Thread Vikas
Thanks for your help, its working fine. On Dec 8, 2:23 pm, Jim Douglas jdoug...@basis.com wrote: Try this: getElement().setAttribute(wrap,off); On Dec 7, 11:58 pm, Vikas vikas.m.ya...@gmail.com wrote: Hi All, I want to disablewordwrapfor TextArea, so if text info in a row exceeds, it

Re: One class, several UiBinder templates

2009-12-14 Thread Jonas Huckestein
Hi FKereki, I am assuming that you need this behaviour bcause you have two different HTMLPanels, which use the a very similar logic? In that case I recommend that you put your logic into another class, for instance PanelLogic, and split your existing class into two, using a dedicated template

Year navigation in DateBox

2009-12-14 Thread Abdullah Shaikh
Hi All, I am using DateBox control, its ok for date navigation, but for year navigation, let's say I want to select the day of year 2015, I need to go through all the months to change the year. Am I missing something here or have anyone extended the DateBox to support year navigation in GWT. I

Re: Obsufcated class names when using UIBinder

2009-12-14 Thread Itzik Yatom
Thanks Thomas I have it. Although the UIBinder adds a very long prefix, I can see the original class name. Itzik On Dec 13, 5:49 pm, Thomas Broyer t.bro...@gmail.com wrote: On 13 déc, 12:22, Itzik Yatom itzik...@hotmail.com wrote: I have just started to use the the UIbinder in the GWT 2.0

Re: GWT 2.0: IE7 and PopupPanel still using IFrame hack.

2009-12-14 Thread Thomas Broyer
On Dec 14, 8:57 am, David david.no...@gmail.com wrote: Hi, I was assuming that the IFrame behind the popup panel trick was going to be removed in this release, just as were some other IE6 tricks for ImageBundles. I looked in the code and I realized that this is not the case. Why is this

Re: GWT 2.0 - Problem with Eclipse plugin and UiBinder Field xxx has no corresponding field in template file yyy.ui.xml

2009-12-14 Thread Julien Ortega
Hi, I had the same problem and it was only a matter of buildpath. Your source folder in your buildpath can not have an Included : **/ *.java but Included : (All) because of the ui.xml files. Maybe you have the same problem ? On Dec 14, 9:47 am, hoxbro shox...@gmail.com wrote: Hi, Thanks for

Re: FlexTable problem in IE

2009-12-14 Thread Thomas Broyer
On Dec 14, 10:09 am, muhannad nasser muhannadna...@gmail.com wrote: Dear All; i have extended the FlexTable and i want to make it works as a grid. so when i click on a row i want it to be selected take a look at the next good it works fine on FireFox... but it does not work on IE7

MouseOverHandler on a FlowPanel

2009-12-14 Thread Olivier
Hi, I would like to add a mouse over on a flow panel. MyFLowPanel.addMouseOverHandler(...) doesn't seems to be possible. How can I do that ? Thanks --- Olivier Digiworks Política de Protección de Datos de Carácter Personal En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,

Re: Why Label widget chose to use div instead of label?

2009-12-14 Thread philippe
WAI-ARIA doesn't forget the HTML structure. The two are complementary. On 13 déc, 22:36, Jan Ehrhardt jan.ehrha...@googlemail.com wrote: Well, GWT supports WAI-ARIA. I don't know what GWT does in the case of a Label to support it, but you can create a custom class, that extends Label and

How to embed Google Friend Connect Gadget inside GWT app?

2009-12-14 Thread shiang
Hi, Anyone knows of any ways to embed Google Friend Connect (GFC) Gadgets inside GWT app? 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 google-web-tool...@googlegroups.com. To unsubscribe

Re: How to embed Google Friend Connect Gadget inside GWT app?

2009-12-14 Thread Prashant
never tried that using GWT only... try setting GFC's code as html for a HTML Widget. -- 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,

Preserve HTTP Sessions when restarting Jetty

2009-12-14 Thread cromoteca
Hi, I was wondering if sessions could be serialized when doing a server restart in development mode. I always did that with Tomcat and now I miss that. Thank you, Luciano -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

RichTextArea formatting

2009-12-14 Thread AlexandreZ
Hello all, Is there a way to get/set the cursor position in a RichTextArea? Also, I need to be able to format (bold, set color etc...) certain parts of the text in the RichTextArea programmatically. (bold and color code certain keywords, etc...) I have spent my time searching the docs, but all I

Seam Remoting Example compilied with GWT 1.7.1

2009-12-14 Thread Flori
Hi all, I try to get Seam (2.2.0.GA), jboss (5.1.0.GA) and GWT working. If i compile the seam remoting sample with GWT 1.5.2 everything works fine. Compiled files with 1.7.1 throws this stack (after the button click): 15:47:54,844 ERROR [[/seam-gwt]] Exception while dispatching incoming RPC call

How make TabLayoutPanel work with UiBinder?

2009-12-14 Thread demosten
Hi, I cannot make TabLayoutPanel work with UiBinder. I've tested it with both Chrome and IE8 and it doesn't show. I made a simple sample using the following UiBinder XML: (taken from TabLayoutPanel javadocs help) !DOCTYPE ui:UiBinder SYSTEM

New GWT2.0 Layout Panels, no style ?

2009-12-14 Thread christoph widulle
Hi, i'm trying out the new GWT2.0 Layout Panels (DockLayoutPanel,SplitLayoutPanel,...). But there is no default style as you can see in the demo screenshots? Do I miss something ? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

GWT 2 hosted mode gives response status == 0 ?

2009-12-14 Thread Martones
Hey guys and thanks for GWT2, it rocks! :D I've just downloaded it and trying to make it work with my current project. All seems perfect except my ajax requests :( I'm using local apache to generate request answers, the request seems to work but it returns 0 status and no response text. This

Properly reload GWT app when new version released.

2009-12-14 Thread Ignat Alexeyenko
Sirs and Madams, The Great GWT Masters! I want to ask - if there is any way to reload GWT application in browser if new version was deployed? Please, consider the following scenario: 1. User Logins in GWT application. 2. During user work new version of the application was deployed on server.

Re: Mac, GWT Hosted Mode does not work after switching to gwt 2.0 and back to 1.7.1

2009-12-14 Thread Zoltán Törteli
Thank you Sorinel! Unfortunately deleting the content of the browser did not solve it (I have deleted everything except cookies, and passwords). I have deleted the Safari plugin earlier, adn when trying to run this project, it tries to download the plugin and issues the F4MUpdateCheck. While all

Re: Google Maps API - catching key pressed inside MarkerClickHandler

2009-12-14 Thread Marco Visonà
Thanks eric, I figured out my problem creating a new custom marker, implementing the Overlay interface. My marker substantially draw an Image on the map pane. The Image class handles the click event and passes to the event handler a ClickEvent object that is capable to catch the alt key down in

Re: Properly reload GWT app when new version released.

2009-12-14 Thread Nicanor Cristian
I did the following: My DTO's have a field that contains the version of the client-side app. Server-side I also have the client-side version number. If on serverside arrives a DTO having other version than the one in the config file, than I send to the client an error code that the client-side

Timezone offset in GWT

2009-12-14 Thread Vikas
How to get timezone offset in GWT? In Java we're getting timezone offset by following way, but this is not possible in GWT because Java's 'Calendar' object is not accessible in GWT. public static int getOffsetDiff() { final Calendar cal = Calendar.getInstance(TimeZone.getDefault

Re: Why Label widget chose to use div instead of label?

2009-12-14 Thread Jan Ehrhardt
WAI-ARIA allows you to declare a DIV tag as an 'aria-label', so you can decide, if a GWT label should be an 'aria-label' or not. GWT widgets are more like Swing or SWT widgets than plain HTML tags. This might be one reason for naming a simple text containing widget 'label'. The name clash between

Re: Properly reload GWT app when new version released.

2009-12-14 Thread Ignat Alexeyenko
Thank you for your response! But I think it is a bad idea to keep a version in every DTO object. How we will address issues if one of the service URLs was changed (DTOs are not changed, but service moved from /service to /new-service)? I've heard about the solution based on cookies. We can set

New layouts not playing nicely with Maps

2009-12-14 Thread Jeff Schnitzer
Does anyone have the GWT Google maps working inside the new Layout panels? My page is basically a DockLayoutPanel whose main element is a SplitLayoutPanel whose main element is a MapWidget. The MapWidget is set to 100% size. On startup, the map tiles are sized to a very small part of the area,

GWT and portlet

2009-12-14 Thread Rascio88
Hi! i'm new using GWT. Where can i find some documentation on how i can make a portlet using the GWT? And there's some Maven archetype that can i use to make this? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: GWT Developer Plugin (GWT 2.0 RC1) crashes FF 3.5.5

2009-12-14 Thread PaulG
What OS are people using? I'm running OS X 10.4 and I can't get the Firefox gwt-dev plugin to work at all. It crashes Firefox on startup. Does anyone know if it requires Java 6 rather than Java 5? (There is no Java 6 runtime for 10.4, btw). On Nov 19, 5:55 pm, Filipe Sousa nat...@gmail.com

Can GWT do this?

2009-12-14 Thread sportscode
I would like to create an application that has, 1. Edit Mode - Acts as an editor where i can design buttons and labels 2. Application Mode - Where it acts as an application on the newly designed buttons Thanks and Regards -- You received this message because you are subscribed to the Google

Image appearing partially

2009-12-14 Thread Dorinel
Hallo, I'm developing a game and I need to show an image partially step by step as game progress, I know how to do it with javascript (by placing floating divs other image and changing their opacity), is there a correct way of doing it with GWT? Thank you in advance. -- You received this

Multiple Images Bundle

2009-12-14 Thread Dorinel
I would like to have a tool similar to ClientBundle but which I would point to a directory with images and then I'll have a bundle with images. I need those images as animations for sprites so don't need their names, what is the best way for me to do it? -- You received this message because you

Label with HTML

2009-12-14 Thread Dennis Madsen
I have this small code, where I add a Label (div) to another div in my HTML: Label labelEntry = new Label(strong+entry.getName()+:/strong +entry.getMessage()); labelEntry.addStyleName(entry); RootPanel.get(entries).add(labelEntry); The HTML-code

Re: Unable to compile code

2009-12-14 Thread Ignat Alexeyenko
Don't you forget that there no platform-specific jar in GWT2.0: gwt-dev-linux.jar was replaced with gwt-dev.jar On Sat, Dec 12, 2009 at 8:44 AM, Rick rick4...@gmail.com wrote: Hi all I have just shifted my application to GWT 2.0 from GWT 1.7 as discussed in

Creating JS objects in GWT

2009-12-14 Thread Usman
1- My GWT client communicates with the Server side using RPC. Sometimes the serialized (Bean) object contains a little amount of data for example, say a String[] of 5 positions or a hasmap of 5 values etc. I am thinking to create a json string of these values and transmit it to the server side,

Re: Deprecated SerializableException

2009-12-14 Thread vova
Your methods should throw SerializationException agains Exception. On Dec 10, 4:13 am, rjcarr rjc...@gmail.com wrote: I'm attempting to upgrade to GWT 2.0 and everything is working well enough except I am getting this warning in the compile step: Referencing deprecated class

Create Vertical Menu Bar using MenuBar Widget

2009-12-14 Thread alf
Hi, I'm trying to deploy a Vertical Menu Bar using Menu Bar Widget provided by GWT using code as follows: MenuBar fooMenu = new MenuBar(true); fooMenu.addItem(the, cmd); MenuBar barMenu = new MenuBar(true);

Timer in GWT?

2009-12-14 Thread Dennis Madsen
I'm trying to have a Java Timer in my EntryPoint: Timer timer = new Timer(); timer.schedule( new TimerTask() { public void run() { //some code } }

EntryPoint: Timer?

2009-12-14 Thread Dennis Madsen
I've a timer in my EntryPoint doing some code every 5 second: Timer timer = new Timer(); timer.schedule( new TimerTask() { public void run() { //do something } }

For loop with UI Binder

2009-12-14 Thread Vandre
Hi, I'm new in this group, I do tried to look for this answer on the web but with no success and as its a pretty basic question I'm afraid I might be missing something obvious here. Well, how do UI Binder handle for loop? what should I do if I want to list all the results of a search or

Clear HTML div?

2009-12-14 Thread Dennis Madsen
I've this HTML code: div id=entries div class=loadingLoading guestbook entries../div /div When calling a RootPanel.get(entries).clear(); I expected that all childs inside this div will be removed. But it doesn't. How can I really clear the div? -- You received

Re: Parsing Complicated XML

2009-12-14 Thread aliman
Hi there, Note that getChildNodes returns a NodeList, which is a list of Nodes [1]. A Node could be an element, an attribute, a comment, a ... You could try testing each Node in the NodeList to see if it is an instanceof Element [2], then counting those. Hth, Alistair [1]

Modules Architecture Newbie Doubt

2009-12-14 Thread Ricardo do Valle Flores de Oliveira
Dear all, I began to study GWT a two day ago, just reading and making some tutorials, and have a stupid doubt, how to construct the structure of site? I want to construct a simple site with a login screen and while someone hits the correct username and password, the site goes to another pages

NullPointerException when compile class extends from Exception

2009-12-14 Thread L.J.W
Hi all,Exception occur when compiling: java.lang.NullPointerException at com.google.gwt.dev.javac.CompiledClass.init(CompiledClass.java: 83) at com.google.gwt.dev.javac.JdtCompiler$FindTypesInCud.visit (JdtCompiler.java:185) at

One single JavaScript file

2009-12-14 Thread Eirik Brandtzæg
Hello I'm trying to get GWT 2.0 to generate one single JavaScript file. I know it's not the correct way to do things, but the system I'm working with is very locked and difficult. For instance it will rename all files I upload. So what I have tried is using SingleScriptLinker by adding this to

Re: Timer in GWT?

2009-12-14 Thread Ian Bambury
Use the GWT timer Ian http://examples.roughian.com 2009/12/14 Dennis Madsen den...@demaweb.dk I'm trying to have a Java Timer in my EntryPoint: Timer timer = new Timer(); timer.schedule( new TimerTask() { public

Re: Clear HTML div?

2009-12-14 Thread Jan Ehrhardt
RootPanel's clear method only removes GWT widgets. I would recommend to prevent the mixing of HTML in your host page and GWT widgets. Use a label widget instead. If this isn't an option, you can do: Element element = RootPanel.get(entries).getElement(); DOM.removeChild(element, 0); This will

Re: GWT 2.0 - com.google.gwt.user.client.rpc.IsSerializable is mandatory again?

2009-12-14 Thread Addy
I cleanup after every build but since converting to 2.0, I started encountering intermittent Serialization exceptions even in production. I had to switch back 1.7. For production use, cleaning up browser cache is not an option as I cant tell all my users to do so. I guess I will have to wait a bit

Re: Clear HTML div?

2009-12-14 Thread Joe
Well Dennis, First, I need to know the following tag div id=entries is the main tag in your Hosted HTML file??? if so, you should be able to remove everything inside it with the RootPanel.get().clear() method. However, if the tag div id=entries was generated by the GWT compiler from a FlowPanel,

Re: Can GWT do this?

2009-12-14 Thread rakesh wagh
ofcourse you can do that... It would help if you can elaborate. A simple implementation would be to make use of deckpanel where you switch the deck card based on editMode flag. put a label and textbox in the deck. If editMode == true, display textbox. if false, display label. This is one simple

Re: For loop with UI Binder

2009-12-14 Thread fmk11
Hi, As far as I understand there is no loop construct. UiBinder It's meant to be a way just to layout your user interface. You can always run your logic on the java side of the UI. On Dec 14, 9:51 am, Vandre vandr...@gmail.com wrote: Hi, I'm new in this group, I  do tried to look for this

auto-complete login solution with UiBinder?

2009-12-14 Thread andreas_b
Hi all. I've seen different (not so pretty) solutions to enabling browser auto complete for login forms with GWT. I have not had time to investigate UiBinder much yet, but I was wondering if it is possible to make a cleaner solution for this using UiBinder? Has anyone done this and can provide

Re: MouseOverHandler on a FlowPanel

2009-12-14 Thread Olivier
Anyone about this ? Maybe I should use another type of panel. Thanks Olivier On 14 Dec 2009, at 11:51, Olivier wrote: Hi, I would like to add a mouse over on a flow panel. MyFLowPanel.addMouseOverHandler(...) doesn't seems to be possible. How can I do that ? Thanks --- Olivier

Re: GWT and portlet

2009-12-14 Thread rakesh wagh
portlet by itself is a broad term. You have to be more specific on what you need to achieve. If all you are looking for is portlet like boxes where some information can be displayed, look into demo 4 and 5 of gwt-dnd library. If you need more like jsr 168 compliance etc, you will have to put some

Unit testing with GWTTestCase. HtmlUnit, Manual and ExternalBrowser run styles.

2009-12-14 Thread Alex
Unfortunately HtmlUnit won't correctly execute all our integration tests. The issue is with the handling of asynchronous calls as noted in the GWT doc. I'm using OS X so I also needed to set - Djava.awt.headless=true for some tests. I couldn't use Selenium because I ran into this issue -

Re: Year navigation in DateBox

2009-12-14 Thread Ashar Lohmar
Hi I've choosed to create a new gadget from the original datepicker copying those classes refactoring and rewrite some because i needed an datepicker that showed 3 months instead of one. but for your case ... you should make an object looking at the code from DefaultMonthSelector, and an another

Re: EntryPoint: Timer?

2009-12-14 Thread mariyan nenchev
Yes, use com.google.gwt.user.client.Timer :) -- 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: Can GWT do this?

2009-12-14 Thread mariyan nenchev
I think he doesn't mean exactly this. So as i understand he wants to dynamically create custom applications using widgets(like UI editor not for developers, but for end users, that has no idea of developing). I hope i am right. So back to the question (if i think i know what you are asking). Yes,

Re: External Javascript method call

2009-12-14 Thread JavaDoc
Hi, Tom, Thanks for ur reply! Having done var bar = new $wnd Foo(); Is this correct: bar.fooMethod(); ? On Dec 13, 10:19 pm, Thomas Broyer t.bro...@gmail.com wrote: On 11 déc, 07:31, JavaDoc amey.m...@gmail.com wrote: Hello, Ive associated a certain FooBar.js to my module. The

Re: RC2 and Eclipse Plugin

2009-12-14 Thread David Fuelling
I had this problem too (though in my case it was because I took a 1.x GWT project and opened it in GWT 2.0). In my case, I had the wrong working directory during debug. To fix it, I had to go into the debug configuration for my GWT app, and set my Working Directory to be my WAR directory (it was

Re: GWT 2.0 - Problem with Eclipse plugin and UiBinder Field xxx has no corresponding field in template file yyy.ui.xml

2009-12-14 Thread Jason Parekh
Hi Julien, Thanks for pointing this scenario out, I've opened http://code.google.com/p/google-web-toolkit/issues/detail?id=4353 to present a better error message for this. Hoxbro, as Julien mentioned, could you please let us know if the issue you're seeing is caused by this? Thanks, jason On

Re: Timer in GWT?

2009-12-14 Thread Hasan Turksoy
you should use import com.google.gwt.user.client.Timer;... see StockWatcher tutorial for a sample : http://code.google.com/webtoolkit/doc/latest/tutorial/codeclient.html Hasan On Dec 14, 1:21 pm, Dennis Madsen den...@demaweb.dk wrote: I'm trying to have a Java Timer in my EntryPoint:        

Re: Eclipse, GWT 2.0 and Opening a browser

2009-12-14 Thread Miguel Méndez
You are right that we no longer launch the browser for you although we've talked about adding this feature back in. However, you should not need to re-open the browser each time if you are debugging the same application. If the launch configuration is not setup to Automatically select an unused

Re: UI Binder, really a good approach?

2009-12-14 Thread David Durham
On Sat, Dec 12, 2009 at 2:06 PM, philippe vonck...@yahoo.fr wrote: Using annotations to define the presentation is a bad practice, as being able to define the size of components in Java. The best way to separate the presentation logic is to give a class name to an element and define its

Re: RC2 and Eclipse Plugin

2009-12-14 Thread Rajeev Dayal
Hi David, You should not have had to tweak the working directory. When GEP launches a GWT app, the -war option is specified, an an absolute path to the war folder is given as an argument. The startup URLs are actually derived from the war folder. Can you verify that if you change the working

Re: How make TabLayoutPanel work with UiBinder?

2009-12-14 Thread Jason Parekh
Hi demosten, Could you verify that your host HTML page has the doctype for standards mode at the top? (This requirement is mentioned in the javadoc for TabLayoutPanel, but is easy to miss :) ) I believe !DOCTYPE html is sufficient. jason On Sun, Dec 13, 2009 at 6:16 PM, demosten

Re: GWT 2.0 Upgrade Problem

2009-12-14 Thread Rajeev Dayal
Have you tried deleting the war/MyApp directory, and performing an unconditional reload of MyApp.html (hold down SHIFT and hit reload) in your browser? Do you mind posting the contents of your MyApp.html page? On Fri, Dec 11, 2009 at 5:50 PM, Chris uk.org.micros...@googlemail.comwrote: What

How to prepend?

2009-12-14 Thread Dennis Madsen
I'm adding a label into a div on my HTML: RootPanel.get(entries).add(myLabel); But what if I would like to prepend the label instead of adding it? How can I do so? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: plugin does not show up

2009-12-14 Thread Rajeev Dayal
How did you install the plugin? Did you use the update site mechanism, or did you install it via zip files? On Fri, Dec 11, 2009 at 10:23 AM, r a f t hakan.erya...@gmail.com wrote: hi, i've just installed gwt plugin to eclipse-jee-galileo-SR1 64 bit on ubuntu 9.1. installation went smooth

[ANN] SmartGWT 2.0 Released

2009-12-14 Thread Sanjiv Jivan
Hi, Smart GWT 2.0 has just been released. Here's the release announcement : http://www.jroller.com/sjivan/entry/smart_gwt_2_0_released Updated Showcase Demo : http://www.smartclient.com/smartgwt/showcase/ Key features of this release : * GWT 2.0 support * New Enterprise Blue theme and improved

Re: GWT.log on GWT 2.0

2009-12-14 Thread Rajeev Dayal
Did you try looking at the log messages in the browser entry in the Development Mode View (within Eclipse)? Also, what level are you logging at? By default, launch configurations are set to log messages that are at a level of WARN and above. On Sat, Dec 12, 2009 at 5:36 PM, Pion

Re: How to prepend?

2009-12-14 Thread Arthur Kalmenson
You could just add another div before the entries and add to that div. -- Arthur Kalmenson On Mon, Dec 14, 2009 at 11:38 AM, Dennis Madsen den...@demaweb.dk wrote: I'm adding a label into a div on my HTML: RootPanel.get(entries).add(myLabel); But what if I would like to prepend the label

Re: Unable to mirror Eclipse 3.5 update site

2009-12-14 Thread Rajeev Dayal
Hi Robert, On Fri, Dec 11, 2009 at 2:47 PM, Robert Munteanu robert.munte...@gmail.comwrote: Hi, I'm not able to update using the Eclipse update manager ( No repository found containing: ... ) , and I've tried to mirror the update site, using Is there any more information for that error

Re: How to prepend?

2009-12-14 Thread Dennis Madsen
I'm doing some kind of guestbook which automatic async receive new guestbook entries. As the newest entry has to be on the top, is why I would like to prepend instead of adding/append. Since I'm receiving a lot of entries, it is not a solution to manually create a div in the markup for each of

Re: Label with HTML

2009-12-14 Thread Dennis Madsen
Have I completely misunderstood something? There must be a way of doing so. On 13 Dec., 23:04, Dennis Madsen den...@demaweb.dk wrote: I have this small code, where I add a Label (div) to another div in my HTML:                 Label labelEntry = new Label(strong+entry.getName()+:/strong

Re: How to prepend?

2009-12-14 Thread Arthur Kalmenson
Oh, why not just create a custom widget to display entries by date? -- Arthur Kalmenson On Mon, Dec 14, 2009 at 12:04 PM, Dennis Madsen den...@demaweb.dk wrote: I'm doing some kind of guestbook which automatic async receive new guestbook entries. As the newest entry has to be on the top, is

Re: How to prepend?

2009-12-14 Thread Dennis Madsen
I new to GWT - that's why! :) Could you like me to a tutorial/sample about these custom widgets? On 14 Dec., 18:06, Arthur Kalmenson arthur.k...@gmail.com wrote: Oh, why not just create a custom widget to display entries by date? -- Arthur Kalmenson On Mon, Dec 14, 2009 at 12:04 PM,

Re: Using our own server with GWT 2.0

2009-12-14 Thread Christian Goudreau
Thanks a lot ! Didn't know the arguments I needed, except for -noserver, but I knew it was the way ! I'll try this tonight Regards Christian On Mon, Dec 14, 2009 at 1:31 AM, Jan Ehrhardt jan.ehrha...@googlemail.comwrote: If you're using the Google Plugin, create a Web Application launch

Re: How to prepend?

2009-12-14 Thread Nicanor Cristian
That's not necessary. Suppose you want to insert an newWidget before the element widget1. All you have to do is: widget1.getParent().getElement().insertBefore(newWidget, widget1.getElement()); On 12/14/2009 06:14 PM, Dennis Madsen wrote: I new to GWT - that's why! :) Could you like me to a

Limiting serializable types in RPC

2009-12-14 Thread Luis Fernando Planella Gonzalez
Is there a way (it would be nice if there were one) to exclude types from RPC? Here's the concrete use case: In our project, the RemoteService interfaces are defined in a separate project as the web layer. And all methods / parameters use the Java best practices: always reference collections by

Re: Label with HTML

2009-12-14 Thread Jason Essington
Have you tried the HTML widget? Label is for text (setInnerText) and HTML is for HTML (setInnerHTML) -jason On Dec 14, 2009, at 10:05 AM, Dennis Madsen wrote: Have I completely misunderstood something? There must be a way of doing so. On 13 Dec., 23:04, Dennis Madsen den...@demaweb.dk

Re: Installing GWT Eclipse plugin, version 1.1.0

2009-12-14 Thread Geoffrey Wiseman
On Dec 12, 1:08 am, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: On Dec 11, 2:14 pm, Rajeev Dayal rda...@google.com wrote: We did not opt for this approach for simplicity's sake. Since we were planning on maintaining backwards compatibility with previous SDK versions, there was no

Re: Limiting serializable types in RPC

2009-12-14 Thread Paul Robinson
Unfortunately, java best practice differs from GWT best practice in this area. Standard advice for GWT is to make your RPC APIs as type-specific as possible. Luis Fernando Planella Gonzalez wrote: Is there a way (it would be nice if there were one) to exclude types from RPC? Here's the

Re: Installing GWT Eclipse plugin, version 1.1.0

2009-12-14 Thread Rajeev Dayal
Yes, I'd say it's worth filing as an enhancement. That's a legitimate point. On Mon, Dec 14, 2009 at 1:04 PM, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: On Dec 12, 1:08 am, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: On Dec 11, 2:14 pm, Rajeev Dayal rda...@google.com wrote:

Re: Installing GWT Eclipse plugin, version 1.1.0

2009-12-14 Thread Rajeev Dayal
On Fri, Dec 11, 2009 at 8:27 PM, Javier jasand...@gmail.com wrote: Rajeev, thanks for your reply. You can use the Google Plugin for Eclipse 1.2 with GWT 1.7 - they are compatible. If this is the case, I don't care at all about which GPE version is exposed via the update site, so long as

Re: Mac, GWT Hosted Mode does not work after switching to gwt 2.0 and back to 1.7.1

2009-12-14 Thread Zoltán Törteli
HI! Unfortunately deleting the Launch Config did not help... However, you have given me a good idea! I have changed the name of the html page, and the module. And it started to work eventually. (I have tried to delete the files under the module/*.* - like *.nocache.js, etc, and class files, but

Animation on images

2009-12-14 Thread Ista Pouss
Hi, I have two questions about animations : - How do I perform an infinite animation ? If I do in my Animation class : @Override protected void onComplete() { super.onComplete(); run(1); } ...

Re: GWT 2.0 books

2009-12-14 Thread cmcg
Great - how much of an emphasis are you going to place on UiBinder? On Dec 2, 5:30 pm, FKereki fker...@gmail.com wrote: Personally, I'm authoring a book on GWT 2.0 for Addison Wesley; I expect the Rough Cut to be available on Safari Books Online early next year. -- You received this message

uibinder with MVP and interfaces

2009-12-14 Thread Arthur Kalmenson
Hello everyone, We'd like to start using uibinder, but we've run into an issue using it with interfaces and MVP. In the documentation about uibinder: http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#Apply_different_xmlthe example shows using HasText with a Label or some other

Re: Animation on images

2009-12-14 Thread darkflame
You want to use a Timer, to set the animation to update every certain amount of miliseconds. eg. Timer blah = new Timer() { @Override public void run() { // update frame code goes here. } blah.scheduleRepeating(500); That would update a new frame

Re: [ANN] SmartGWT 2.0 Released

2009-12-14 Thread Yozons Support on Gmail
Excellent. I'm going to give this a try right away. For server integration, would a HashMap based interface using GWT-RPC work well with the DataSource concept to allow for generic integration of SmartGWT with a Java backend? -- You received this message because you are subscribed to the

Re: GWT Developer Plugin (GWT 2.0 RC1) crashes FF 3.5.5

2009-12-14 Thread Yozons Support on Gmail
I have no idea, unfortunately, since I'm not on OSX, and I'm using Java 6. Of course, you should not be using any RC versions anymore since 2.0 is officially out and they did fix the FF plugin fairly recently so it no longer crashes it. -- You received this message because you are subscribed to

Re: Announcing GWT 2.0 and much, much more...

2009-12-14 Thread Chris Ramsdale
Mark, With 2.0 behind us we'll be focusing some time and effort to address outstanding bugs as well as doing a little house cleaning within the issue tracker itself. In regards to the process used when determining when and what to fix, it honestly depends on the release. With 2.0, our focus was

Re: OOPHM is slow

2009-12-14 Thread Sorinel C
Yes, the Chrome dev-mode plugin is slow for now, but for sure they will fix it with the next update. Here's my discovery related the subject: http://ui-programming.blogspot.com/ Cheers, Sorinel CRISTESCU -- You received this message because you are subscribed to the Google Groups Google Web

Compiler Performance

2009-12-14 Thread Artyom.Vorobyev
Hi! I migrated my project from GWT 1.7.1 + GXT 2.0.1 on GWT 2.0.0 + GXT 2.0.4 and compilation time increased three times. What can be the reason of such compiler behavior? Thank you in advance. Best regards, Artyom -- You received this message because you are subscribed to the Google Groups

Re: Unable to mirror Eclipse 3.5 update site

2009-12-14 Thread Robert Munteanu
On Dec 14, 6:57 pm, Rajeev Dayal rda...@google.com wrote: Hi Robert, On Fri, Dec 11, 2009 at 2:47 PM, Robert Munteanu robert.munte...@gmail.comwrote: Hi, I'm not able to update using the Eclipse update manager ( No repository found containing: ... ) , and I've tried to mirror the

  1   2   >