nothing visible in IE8 while it all looks good in FF and Chrome

2011-02-04 Thread doles
Hello, I have a UiBinder based layout and it looks and works great in FF and chrome. However, in IE8, i cant see anything except the background. In IE8's developer tools, I can see all html and can also see borders when i hover over the HTML in those tools. however, it shows nothing except the bac

using the Layout class for own layout panels

2011-02-04 Thread Magnus
Hi, I would like to make my own layout class called GridLayoutPanel for laying out grids with special constraints. The paradigm I build on is DockLayoutPanel. I have adopted nearly everything: - create a local Layout object - attach the GridLayoutPanel to a div element - attach the child widgets

java file read localizedresource.properties file

2011-02-04 Thread Luke
in my uibinder.xml file i able to read in key from ocalizedresource.properties file . may i know if my java files have custom widget that i programatically created and wanted to use i18n. how do i get the key from localizedresource.properties file -- You received this message because you are sub

history management and multi level application?

2011-02-04 Thread dadada
Hi all, so we know history management can give us multi pages application. so how do i have multi level application? domain.com/level1/page1 domain.com/level2/page1 domain.com/level3/page1 Thank you! /bryan -- You received this message because you are subscribed to the Google Groups "Google

Re: Issue 5752: ListEditor.setValue fails once the underlying AutoBean has been frozen

2011-02-04 Thread Colin Alworth
I did, in order to verify the fix, and have just filed an issue. http://code.google.com/p/google-web-toolkit/issues/detail?id=5981 The patch is below - it can be applied to 2.1.1 or 2.2.0-m1 Index: user/src/com/google/gwt/editor/client/impl/AbstractEditorDelegate.java

Re: TabPanel and Lazy load

2011-02-04 Thread Greg Dougherty
I just looked at it and it seems like it's all still valid (you might want to see if you're willing to use TabLayoutPanels, rather than TabPanels, since the later are deprecated). What is it that you think doesn't work? Greg On Feb 4, 6:41 am, András Csányi wrote: > Hi All, > > I would like to

ensureDebugId or DOM.setElementAttribute

2011-02-04 Thread zixzigma
Hello Everyone, I have read that inorder to facilitate integration with automated testing tools such as selenium which rely on DOM element "id", it is a good practice to use ensureDebugId, as this can be compiled out for production release, and result in zero overhead. However I need to use el

Re: How to create DOM Element or Node from SafeHtml

2011-02-04 Thread Ryan Mehregan
Please have a look at GWT DOM class: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/DOM.html DOM class has various static createElement factory methods that help you create any DOM element you want. you can then use Element.setInnerHtml in conjunction with th

Re: History.replaceItem?

2011-02-04 Thread Jason
Good suggestions, the reason that I've been using the URL to rewrite the list page parameters (rather than having a stateful page) is that I'm using it for both paging and the query parameters. For example, if the user is searching for customers where the name starts with 'ABC' then the URL is rew

Re: Separate Widgets & CSS+JS

2011-02-04 Thread Hilco Wijbenga
On 4 February 2011 11:21, Thomas Broyer wrote: > GWT.getModuleBaseURL() + "my-image.png" ? Mmmh, yeah, something like that (GWT.getModuleName() + "/my-image.png") works. But that means I'm changing the image's url at runtime. I'd like to avoid that. I was hoping for something I could put in UiBi

Re: Does anyone know the due date for MEAD GWT in Action, Second Edition

2011-02-04 Thread Falcon
I'd like to know this as well. I've been waiting to pre-order it for quite a while and hoping to grab the MEAD since there really aren't that many great GWT 2+ books out currently. On Feb 4, 12:41 pm, Lisa D wrote: > Just hoping someone might have more insight into when the MEAD version > of this

Re: Handling focus on child Tabs in Firefox and IE8

2011-02-04 Thread traneHead
I'm just speculating here, but isn't the tab behaviour controlled by the user/browser settings? I for one would get very anoyed if these preferences ("Open new windows in tab" and "Load tabs in background") could be overridden by the page I'm currently on. Couldn't the content of the opened win

Re: RootPanel.get("tradeConfirmationPanel").getElement() exception in debug mode.

2011-02-04 Thread Thomas Broyer
See http://code.google.com/p/google-web-toolkit/issues/detail?id=3511&can=1&q=A%20widget%20that%20has%20an%20%20existing%20parent%20widget%20may%20not%20be%20added%20to%20the%20detach%20list#c16 -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

Re: Global Keylisteners - Best Practice (e.g. Google Groups Style)

2011-02-04 Thread Thomas Broyer
They're probably using event previewing: http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/Event.html#addNativePreviewHandler(com.google.gwt.user.client.Event.NativePreviewHandler) -- You received this message because you are subscribed to the Google Groups "G

Re: How to implement Expandable-Collapsible Rows in CellTable ?

2011-02-04 Thread Thomas Broyer
On Friday, February 4, 2011 4:33:41 AM UTC+1, zixzigma wrote: > > I know that I am not doing things the right way, > do you have any tips on how to implement this feature ? > Expandable/Collapsible Rows inside a CellTable ? > I would try doing it without widgets, with a CellList instead of a Cel

RootPanel.get("tradeConfirmationPanel").getElement() exception in debug mode.

2011-02-04 Thread skippy
This works fine in runtime/development mode. GWT 2.0.4. In debug mode, the following code throws this exception: Uncaught exception: java.lang.AssertionError: A widget that has an existing parent widget may not be added to the detach list at com.google.gwt.user.client.ui.RootPanel.detachOnWin

Re: Separate Widgets & CSS+JS

2011-02-04 Thread Thomas Broyer
GWT.getModuleBaseURL() + "my-image.png" ? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr.

Handling focus on child Tabs in Firefox and IE8

2011-02-04 Thread Dave
I have a GWT application with links that open other tabs in the browser using the GWT Window open method. I need the ability to set focus on these tabs when the User selects the links again from the main app. I currently have in place a jsni method which gets a handle to the child window and invoke

Re: ActivityManager and TabLayoutPanel

2011-02-04 Thread Ryan Mehregan
You have to ask yourself, what exactly is a TabLayoutPanel ? it has two parts, a header and a body. the header is a list of labels/links that when clicked change state (only one can be active at a time, you change its color, updates the history token) therefore to make TabLayoutPanel work corre

Re: Java Upgrade

2011-02-04 Thread traneHead
Once compiled, the code the browser is running has nothing to do with Java. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send emai

Re: History.replaceItem?

2011-02-04 Thread zixzigma
could you please clarify what do you mean by stateful view ? >>Pages through: stays on "#List?id=aaa" but *this view is stateful * >>(keeps information on the current page) >>Hits back: goes back to "#List?id=aaa" on the last page viewed >>(*because it's stateful*) and another question, why d

Does anyone know the due date for MEAD GWT in Action, Second Edition

2011-02-04 Thread Lisa D
Just hoping someone might have more insight into when the MEAD version of this book might be available lisa -- 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 unsub

Re: Automatically loading a complete object graph

2011-02-04 Thread Colin Alworth
Aaaand now I feel stupid - I had been wondering what the point of getPaths() was other than "ooh, what can this do?"... Thanks for pointing out what should have been been obvious... Thanks, Colin -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: String Date to SQL Date

2011-02-04 Thread Alan Chaney
Hi Ross I've always used (Simple)DateFormat.parse to convert the string to a Date object. You should then be able to create an instance of an SQLDate by going something like: String dateText = // the string you have to parse. Date parsedDate = SimpleDateFormat.parse(dateText, 0);

Re: Selecting and disabling elements in CellTable

2011-02-04 Thread Greg Dougherty
Hi Jeff, I ended up writing my own version of CheckboxCell (rather, taking the code for it, and making my own class with modifications). First change: I added a boolean field "disabled", and a setEnabled call. Second change: I redid render so it has 4 options (checked | unchecked x enabled | disa

Re: Multimodule projects

2011-02-04 Thread Raphael André Bauer
On Fri, Feb 4, 2011 at 6:02 PM, André Salvati wrote: > Hi Raphael, > > I think this is the way. > > I know that just one war is a deployment limitation from Java EE / > Jetty. > > But I want to split war code also, and if I leverage GWT modules > (several jars) I think I can do it. > > Or I can't

String Date to SQL Date

2011-02-04 Thread Ross McKinnon
Hi, Does anyone have a tried and tested method of converting a string date (-mm-dd) into an SQL date to insert into a database. Every method I find online doesnt seem to work. Thanks, Ross -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

Re: Multimodule projects

2011-02-04 Thread André Salvati
Hi Raphael, I think this is the way. I know that just one war is a deployment limitation from Java EE / Jetty. But I want to split war code also, and if I leverage GWT modules (several jars) I think I can do it. Or I can't do it? On Feb 4, 12:09 pm, Raphael André Bauer wrote: > On Thu, Feb 3

Re: Issue 5752: ListEditor.setValue fails once the underlying AutoBean has been frozen

2011-02-04 Thread Eric Andresen
We are seeing this issue as well. Colin, did you try changing the AbstractEditorDelegate, and if so did you have any luck? -- 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@googleg

Re: History.replaceItem?

2011-02-04 Thread PhilBeaudoin
I agree with Ben. Here is how I would do it: Starts on "#Home" Selects a list: goes on to "#List?id=aaa" Pages through: stays on "#List?id=aaa" but this view is stateful (keeps information on the current page) Selects a record: goes on to "#Record?id=bbb" Hits back: goes back to "#List?id=aaa" on

Re: Automatically loading a complete object graph

2011-02-04 Thread Jack
Are you using the editor framework? If so, you could use RequestFactoryEditorDriver.getPaths(). This method returns a String Array with all paths that have to be loaded by RequestFactory in order to allow the EditorDriver fill all editors in your UI. So when you are able to use Editors in your UI

Re: Automatically loading a complete object graph

2011-02-04 Thread Charl Fourie
I have had a look at the GWT source code. All of the magic happens in the class "com.google.gwt.requestfactory.server.Resolver", specifically in a method the method "static boolean matchesPropertyRef(Set propertyRefs, String newPrefix)". >From what I can see, in order to change this functionality

Automatically loading a complete object graph

2011-02-04 Thread Charl Fourie
Hi all I have been searching around. I have seen a couple of people ask the same question but have not seen any answers. Our application makes use of quite a large and complex object graph. As the product is still in active development, this graph changes regularly. Our application starts by sh

Error JavaScriptException ie8 SuggestOracle.Callback

2011-02-04 Thread irene
Hi, I've been testing the suggestOracle class in ie8, and it fails in the callback, exactly in callback.onSuggestionsReady(m_request, resp). It works perfectly in ie7, chrome and firefox. The error is: com.google.gwt.core.client.JavaScriptException: (Error): No implementado number: -2147467263

Java Upgrade

2011-02-04 Thread Avin
I recently upgraded to the latest JDK. While upgrading the JDK, do i need to recompile GWT? Is the compilation dependent on the JDK? Or can it do the translation on its own (without JDK)? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Re: GWT project layout question featuring git, maven and 100 developers

2011-02-04 Thread Raphael André Bauer
Just a quick update. I wrote two blogposts about the topic of "modularizing" your GWT project: http://ars-codia.raphaelbauer.com/2011/01/gwt-project-layout-part-1-simple.html http://ars-codia.raphaelbauer.com/2011/01/gwt-project-layout-part-2-large.html We are still continuing to improve and fine

Next GWT Designer release

2011-02-04 Thread cri
With GWT Designer integration being a focus of the upcoming GWT/Plugin release, I hope some time will be (or has been) spent on speeding up the time it takes to bring up the GWT design window on a GUI class. I just takes a little too long I think. Just my two cents. It's a really great tool! -- Y

Re: Multimodule projects

2011-02-04 Thread Raphael André Bauer
On Thu, Feb 3, 2011 at 8:18 AM, Alex Solovyev wrote: > Hi, André. > My project need`s same features, and i` ve searched for that. > There is a code splitting feature in  GWT, it can be helpful for you. > (http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html) > But i think, it a

Re: test with GwtTestCase JUnitShell ant : testBeginTimeout and junitvmwatcher errors

2011-02-04 Thread Francois Wauquier
Hi to close this after the correction of the gwt.args definition, the error was an invalid classpath, with a missing configuration file (application specific). It is now working. The junitvmwatcher error came back when i included all the production librairies. After that i added one by one th

Re: local script variables in nocache.js

2011-02-04 Thread Brett Conoly
Unfortunately that won't work, the portlets aren't in their own frames but they're loaded twice. And the problem with using module name to distinguish them is that they both have the same module name but different resourceUrls. The only solution that I think may work is having velocity replace a

TabPanel and Lazy load

2011-02-04 Thread András Csányi
Hi All, I would like to build an application and there is and tabPanel which has 2 tabs. I know there is a good thing to use at different tabs. I search on it the internet and I found this article: http://googlewebtoolkit.blogspot.com/2008/11/improving-performance-with-on-demand.html Which is goo

Re: ActivityManager and TabLayoutPanel

2011-02-04 Thread Jack
> Nevertheless, I still think that a common use case could be opening a > different tab in the main (center) panel every time the user clicks in a > link of the Main Menu, and I don´t know how to achieve this in MVP pattern > (using activities and places). When a user clicks through your main menu

Re: ActivityManager and TabLayoutPanel

2011-02-04 Thread Ernesto Reig
Thank you for your response Jack. I´ve finally decided for another approach. The thing is that I wanted to use the TabLayoutPanel as a main Menu (e.g. a different section per tab), but when I read your comment "This should be typical use case for a TabLayoutPanel", I changed my mind, I considered u

Global Keylisteners - Best Practice (e.g. Google Groups Style)

2011-02-04 Thread kellizer
Hi, I would like to replicate the Google Groups functionality around global keyboard listeners (e.g. when you press the "?" key a pop-up shows).. What is the best approach to achieve this across the full GWT application (i.e. all views)? I see a class called HandlesAllKeyEvents but don't know h

Re: CellList with ListDataProvider does not get redrawn on data change

2011-02-04 Thread Daniel Francisco
Ok, tell me if it works for you. On 4 feb, 09:02, Peter Ondruska wrote: > Seems like it is not possible to update ListDataProvider within callback > function. I am trying to refactor to using AsyncDataProvider.. -- You received this message because you are subscribed to the Google Groups "Goog

Re: how can i implement Focusable (and HasAllKeyHandlers) on a TabLayoutPanel?

2011-02-04 Thread chm124
Thanks to Jeff for the 1st answer. sure, i also started with: public class FocusTabLayoutPanel extends TabLayoutPanel implements Focusable, HasAllKeyHandlers { /* ... */ } The "challenge" i'm struggling with is to implement: public void setFocus(boolean theFocused) { /* ...*/ } com.google.gwt.u

Re: CellList with ListDataProvider does not get redrawn on data change

2011-02-04 Thread Peter Ondruska
Seems like it is not possible to update ListDataProvider within callback function. I am trying to refactor to using AsyncDataProvider.. -- 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-toolki