Re: Error using style with UiBinder

2010-12-02 Thread Luis Cabellos
I found the error, isn't related to UiBinder. The error was caused by a missing library, but the exception appearas when i modified the xml. -- 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: TabLayoutPanel does not listen to width

2010-12-02 Thread Baloe
Hi, Thanks for your suggestions. Setting the width on the flowpanel doesn't work. I cannot set the width of it's parent, because there is no parent (see uibinder file). Anything LayoutPanel wants to be in another layout panel. I don't understand your sentence, can you be more specific? I want

Re: GWT 2.1 Activities – nesting? YAGNI ? - an exa mple of where you NEED it !

2010-12-02 Thread massimo malvestio
and what if data from one workspace is used in another ? In my opionion for this point you could fire a specific event, because, if data inside a workspace is needed by another one, this means user did something or a generic condition about displayed data happened. Am I wrong? -- You received

Re: Asynchronous script inclusion - Like Google Analytics

2010-12-02 Thread eggsy84
Hi Jeff, Thank you for getting back to me. Yes that is exactly the problem it appears to try and fetch the code from the users site which obviously won't wrong. I shall see if I can leverage your solution somehow. I'm trying to keep the JS they have to add to their website small and

Showing and hiding a ButtonCell in a CellTable

2010-12-02 Thread Stephan T
In a CellTable I'm using a ButtonCell column. The button for each row should show only when a condition is true. How do I achieve that? This is my code now: ColumnPerson, String myColumn = new ColumnPerson, String(new ButtonCell()) { @Override public String getValue(Person

Re: Get all events

2010-12-02 Thread MAM
thank you for the reply, but that's not what I want, actually I want to do the same thing like in gwt designer :by clicking on the widget we have all the possible events to be added and those already present. i try to do the Same Thing by retrieving all events (to add added). Thanks On 24 nov,

instanceof check on element always return true?

2010-12-02 Thread Ed
I receive an element in a Clickhandler like this: final Element el = event.getNativeEvent().getEventTarget().cast() It concerns a DIV element which the tag name shows. However, the following result in true: el instanceof DivElement (as expected). el instanceof InputElement (not expected!!). el

Re: MVP *without* UiBinder

2010-12-02 Thread Konstantin Scheglov
Hi, I'm author of GWT Designer. ;-) ** no wyswug viewer GWT Designer I have tried the GWT Designer, and I was referring by calling it Window Builder in my previous post. I know I can get the wyswug viewer, but seems like it only work if the gui is created thru GWT Designer. And by do so

Re: GWT 2.1 DateTimeFormat locale changes?

2010-12-02 Thread Rick Porter
I think I have solved my date/time issues by forcing a locale, but I would welcome suggestions for a better solution. In my module XML, I added the following line to include some internationalization code: inherits name=com.google.gwt.i18n.I18N/ I added the following line to my module XML

Re: Help me to get rid of these d... scrollbars!!! :-/

2010-12-02 Thread Magnus
On 30 Nov., 12:59, Jeff Schwartz jefftschwa...@gmail.com wrote: When I need to center an element I apply the following css to its containing element:             margin-left:auto;             margin-right:auto; Well, I need to center both horizontally and vertically. I have tested auto,

GWT-RPC Portlets Liferay

2010-12-02 Thread Ani
Hello, I'm new on portlets and LifeRay world. I have a GWT-RPC ap and i'd like to use it in a portlet, and see it in LifeRay, but when i try to add the portlet, i get the following error: Error: The call failed on the server; see server log for details In localhost.date.log i see:

Re: Drag-and-drop solution with GwtQuery

2010-12-02 Thread Norberto
Good job... On Nov 29, 6:04 pm, Julien Dramaix julien.dram...@gmail.com wrote: Hello, I'm proud to announce you the first release of the drag-and-drop plugin for GwtQuery. This plugin allows you to make any DOM element draggable and/or droppable. In addition, it offers an API to add

Re: TabLayoutPanel does not listen to width

2010-12-02 Thread Jeff Larsen
I don't understand your sentence, can you be more specific? I want to set the size of the flowpanel, that's allright. LayoutPanels want to be nested inside LayoutPanels. What if instead of using a FlowPanel you used a LayoutPanel for the main uibinder widget. The way I've ended up debugging

Safe Html check?

2010-12-02 Thread Ed
I like the new SafeHtml functionality. However, how can I best check if a string that I inject in a div (example: HTML.setHTML(html)) contains script? I now have made simple checks, like checking for the script (SCRIPT) tag, but that's very fragil and little as you also have the click events that

Re: Asynchronous script inclusion - Like Google Analytics

2010-12-02 Thread Jeff Chimene
On Thu, Dec 2, 2010 at 2:23 AM, eggsy84 jimbob...@hotmail.com wrote: Hi Jeff, Thank you for getting back to me. Yes that is exactly the problem it appears to try and fetch the code from the users site which obviously won't wrong. I shall see if I can leverage your solution somehow. I'm

Re: GWT MVP Activities and Places

2010-12-02 Thread Ashton Thomas
I am not too sure of the final goal but I have two sample projects that do something similar using places with parent class (sub-class defines main content activity, and parent class defines a different area that does not update every time) Both activity mappers are wrapped in a

Dynamic inclusion of UI/script

2010-12-02 Thread Abdullah Shaikh
Hi All, We will be creating a huge ERP system, with lots of screens. I am looking if there is a way to dynamically include screens, I mean if a user sends a request, the system will look for a xml file, may be a ui binder file, compile the script and sends the generated script back to the user

never ending topic rich text editor

2010-12-02 Thread P.G.Taboada
Hi, as far as I read myself through some messages here (yes, I know how to use the search), and after looking into some wrappers and into the RichTextArea provided by GWt I am a little bit lost. Beside of the standard features I need to be able to extend the editor. While the user types, I want

How to use new GWT plugin for GWT 2.1.0

2010-12-02 Thread raj
I have placed new jar for this plugin(2.1.0) but it still asks for gwt- dev-windows.jar, how should this be used or checked if which plugin maven is using? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Fire Eventlisners in Cell-table

2010-12-02 Thread nnvd narendra
Hi all, I have one small problem i.e. one textbox is their when click on the text box the popup is shows below the text box.The popup contains celltable i write keypresslisner for textbox when i press Down And UP arrow the focus is set to be cellTable And also we still press down and up arrows

GWT client overlay generation from XSD

2010-12-02 Thread greenkiwi
Hello, I was wondering whether or not there was any facility to generate JavaScript Overlay objects from XSDs or GSON objects? We have an application that is talking to a JSON REST backend. We have defined all our communications via XSD and use GSON to generate Java objects that

Observe (Hyper) Links in Texts to call JAVA methods

2010-12-02 Thread wawuvu
Hello everyone, I've been searching quit a lot for a solution to this problem but all I found wasn't 100% satisfactorily: I use RPCs in my GWT project to get some texts like String text = ...bla bla a href='#ID123'open me/a blablalb ; Those strings will be loaded into the content of a

CellTable not updating

2010-12-02 Thread Eric
I have CellTable being fed data from a ListDataProvider. I set a list into the data provider and can then query the CellTable and see the updated HTML results. Popping up a window with the table also shows an updated table. The problem is, I originally put the table into a DeckPanel that's nested

SuggestBox not displayed on Tomcat Server

2010-12-02 Thread ben
Hello, I have encountered a problem using a SuggestBox when the application is deployed on a Tomcat server. My interface, which contains several SuggestBox widgets, displays the widgets correctly when I deploy using the Eclipse built-in server and when I deploy to the app engine server. But when

Re: How to create Gmail contextual gadget using GWT?

2010-12-02 Thread Simeon Ross
I've been having the same issue and I haven't got much further with it. What is the structure of your inject.xml file? I had a lot of problems trying that approach and only was able to get one required tag in there otherwise I got compile issues for malformed xml On Dec 2, 2:12 am, Alexander

Re: CellTable not updating

2010-12-02 Thread Jeff Schwartz
Are you calling the data provider's addDataDisplay method to associate the cell table with it? dataProvider.addDataDisplay(yourCellTable); Also, after making any changes to the data provider such as modifying, adding or deleting, are you calling the data provider's refresh method?

Customizing CSS Default GWT Widgets with CSSResource

2010-12-02 Thread Anderson Aroeira Araujo
Hi, How to customize the gwt default widgets using cssresource? Like: .gwt-DialogBox .gwt-DialogBox .dialogTop I can change the gwt-DialogBox visuals, but dialogTop I don't know how to do. Anybody? Thanks -- You received this message because you are subscribed to the Google Groups Google

onResize issue with IE 7

2010-12-02 Thread Magnus
Hi, I found a problem with onResize on IE 7: My panel receives an onResize, but at this point, getOffset[Width| Height] returns the old window size, not the new size. I am currently using a workaround like this: Within onResize I schedule a deferred command, which does the resize actions later,

Re: Customizing CSS Default GWT Widgets with CSSResource

2010-12-02 Thread Hilco Wijbenga
On 2 December 2010 08:10, Anderson Aroeira Araujo aaroei...@gmail.com wrote: How to customize the gwt default widgets using cssresource? Like: .gwt-DialogBox .gwt-DialogBox .dialogTop I can change the gwt-DialogBox visuals, but dialogTop I don't know how to do.

Re: Building GWT from source

2010-12-02 Thread Chris Conroy
To build gwt-user and gwt-dev, you'll want to run 'ant dist-dev'. If you're using GPE, you can simply configure your ant built jars as one of your SDK choices from GPE's preferences, and then be sure to set your project to use that SDK. The above should be the bare bones you need to get rolling.

Re: Changing ActionCell Title

2010-12-02 Thread Greg Dougherty
Hi John, Just wanted to say I implemented this last night, and it worked exactly the way I wanted it to. Thanks! Greg On Dec 1, 3:00 pm, John LaBanca jlaba...@google.com wrote: Everything you said sounds correct. Here is a code snippet that should work: ButtonCell cell = newButtonCell();

help with stack trace

2010-12-02 Thread rjcarr
I've been using GWT for years (since around release 1.4) but I'm having a problem with a stack trace I can't figure out. I develop on a mac and primarily test with Safari and Firefox. My application has worked in IE(8) in the past but in my most recent test it is failing and I can't figure out

Re: Customizing CSS Default GWT Widgets with CSSResource

2010-12-02 Thread Marcin Misiewicz
Right know I'm customizing default gwt widgets. As a starting point I took the standard theme, I copied the standard.css file from standard theme and then declared this in my ThemeBundle like this : @Source(standard.css) CssResource getLegacyCssResource(); Then I have added

CellTable and multiple editable columns

2010-12-02 Thread Mittal
I am using CellTable with simple pager to show ArrayListContact contacts. There are multiple columns that are editable mostly using EditTextCell. I have implemented FieldUpdater for editable columns. But I do not want to make server side save/update call each time there is change made to

Re: To smart GWT or not

2010-12-02 Thread nino ekambi
No one willing to step up and starting something ? Then people stop complaining about Sencha or any other company that creates GWT widgets and ask money for it. It s their right. 2010/12/1 aarnott andrew.wj.arn...@gmail.com I've found Smart GWT to have rather poor performance and it comes at

Re: GWT 2.1 Activities – nesting? YAGNI ? - an exa mple of where you NEED it !

2010-12-02 Thread PhilBeaudoin
For anybody considering GWTP (http://gwtplatform.com) as an alternative to GWT MVP, I want to stress out the fact that, despite the differences, there are a lot of similarity in the spirit of these two libraries. For example, gwtplatform's proxies are very similar to GWT's Activities. The place

Re: help with stack trace

2010-12-02 Thread Didier Durand
Hi, You should use Output style = detailed when translating to JS: your files will get much bigger but the source in js will be very easy to match with its java equivalent. Then by using firebug, you should spot where your issue is. regards didier On Dec 2, 5:34 pm, rjcarr rjc...@gmail.com

Re: Safe Html check?

2010-12-02 Thread Philip Rogers
Glad to hear you like SafeHtml! In order to prevent various attacks, you have to check for much more than just script tags. For example, the following can cause javascript to be interpreted and would get by a script filter: input type=image src=javascript:alert('send help. stuck in a dom');

Re: help with stack trace

2010-12-02 Thread Robert J. Carr
Thanks Didier, I already did exactly that and it appears my problem is with the gwt-canvas library I recently added. IE is saying my problem is here: function gwt_canvas_client_CanvasImpl_$init__Lgwt_canvas_client_CanvasImpl_2Lgwt_canvas_client_Canvas_2V(this$static, canvas){

Re: Customizing CSS Default GWT Widgets with CSSResource

2010-12-02 Thread Anderson Aroeira Araujo
Thanks Marcin! It works! On Dec 2, 2:35 pm, Marcin Misiewicz misq...@gmail.com wrote: Right know I'm customizing default gwt widgets. As a starting point I took the standard theme, I copied the standard.css file from standard theme and then declared this in my ThemeBundle like this :        

Plugin Upgrade Woes

2010-12-02 Thread Evan Ruff
Hey guys, I'm having a really tough time today. I upgraded my GWT Plugin to 1.4v201010280047 at the update site and it has completely broken all of my projects. When I have the Use GWT item selected in my project properties, it will not generate any class files. the WEB-INF/classes folder

Re: CellTable and multiple editable columns

2010-12-02 Thread John LaBanca
You can store pending changes in a HashMap using the unique ID of the object as the key. When the use changes something in a row object, get it out of the map (creating it if necessary) and update the fields that changes. When the user presses Save, send all of the pending changes to the server.

Re: CellTable and multiple editable columns

2010-12-02 Thread Sean
Another thing that I do often is a Map between an Integer and a List of Contacts, where Integer will be Column Number. Then you can keep your current logic, but you just also insert column number. On Dec 2, 11:38 am, Mittal mitt...@gmail.com wrote: I am using CellTable with simple pager to show

Re: TabLayoutPanel does not listen to width

2010-12-02 Thread Nirmal
When you nest a LayoutPanel within something NON-LayoutPanel (like Flowpanel); you need to explicitly set both - the height width of the LayoutPanel. Read Using a LayoutPanel without RootLayoutPanel of http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html Regards, Nirmal On Dec 2,

Re: CellTable not updating

2010-12-02 Thread Eric
Yes, I added the table to the provider as a data display. I was not invoking dataProvider.refresh() as I thought invoking dataProvider.setList(myList) would update all displays. In fact, my table is indeed updated. After I call setList on the provider, I can query the table and see the updates

Re: Safe Html check?

2010-12-02 Thread Ed
Apearantly I was reading too fast :(... I seem to need the class SimpleHtmlSanitizer . Thanks for the tip. I am using it now, but noticed that snaitizeHtml always returns an SafeHtml object. public static SafeHtml sanitizeHtml(String html); That's often not what I want, especially not when

Re: never ending topic rich text editor

2010-12-02 Thread David Chandler
Hi P.G., Have you considered using an event handler with RichTextArea? Seems like you could add a KeyPressHandler and call getText(), do your String replacement as needed, then setText(result). /dmc On Thu, Dec 2, 2010 at 10:07 AM, P.G.Taboada pgtabo...@googlemail.com wrote: Hi, as far as I

Re: CellTable not updating

2010-12-02 Thread John LaBanca
LayoutPanels need an unbroken chain of parents that implement ProvidesResize up to the RootLayoutPanel. If you add a LayoutPanel to a PopupPanel, it will not layout correctly, and content will be hidden. You can get around this by giving the outermost panel an explicit height and width. Thanks,

Re: Observe (Hyper) Links in Texts to call JAVA methods

2010-12-02 Thread Jack
To intercept clicks on your anchor inside your html you can listen for click events for the contentHtmlPanel and check if an anchor has been clicked. Here is a short example using HTMLPanel: public void onModuleLoad() { HTMLPanel contentHtmlPanel = new HTMLPanel(Hello a

Re: Building GWT from source

2010-12-02 Thread aarnott
It ended up I was stupid and didn't add my SVN install to my path. I thought the build had succeeded, but it failed part way through. Thanks for the tips though! The 'ant dist-dev' seems to run a lot faster than just 'ant', so that will save me a lot of time when I'm testing my changes. --Andrew

CSS3 Selector nth-child

2010-12-02 Thread dusty
Hello, Using UiBinder I have an embedded CSS style and want to use nth- child(even). The Uibinder crashes saying it can't interpret the CSS. If I replace even with a number it says it is expecting IDENT. Is this possible with GWT? Here is my CSS segment: ui:style .productlist {

gwt-maven-plugin / google plugin for eclipse / working for anyone?!?!

2010-12-02 Thread cri
We are trying to use gwt-maven-plugin to generate our mavenized gwt project. Our versions are: eclipse helios gwt 2.1 gwt-maven-plugin 2.1.1-SNAPSHOT We generate our initial project with the command line: mvn archetype:generate \ -DarchetypeRepository=https://nexus.codehaus.org/content/groups/

Re: GWT-RPC Portlets Liferay

2010-12-02 Thread Olivier TURPIN
Hello, There is some resources about GWT-APP management on liferay's forum : http://www.liferay.com/web/guest/community/forums/-/message_boards/message/461945 http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/How+to+build+a+GWT+Portlet+in+Liferay I think that there is a gwt sample

Re: gwt-maven-plugin / google plugin for eclipse / working for anyone?!?!

2010-12-02 Thread David Chandler
Do you see errors in any of the Eclipse consoles (including Maven console) while doing the import? On Thu, Dec 2, 2010 at 3:28 PM, cri chuck.irvine...@gmail.com wrote: We are trying to use gwt-maven-plugin to generate our mavenized gwt project. Our versions are: eclipse helios gwt 2.1

Re: Debug problem since GWT 2.1.0, gwt-maven-plugin 2.1.0, Maven 3.0

2010-12-02 Thread Geoffrey Wiseman
I'm guessing this is caused by this filed issue? http://code.google.com/p/google-web-toolkit/issues/detail?id=4853 -- 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

Re: GWT MVP Activities and Places

2010-12-02 Thread Thomas Broyer
On 1 déc, 21:36, Brian Reilly br...@ireilly.com wrote: I haven't done this in a real project yet, but I was experimenting with something similar. I think I was able to get this kind of behavior by wrapping the ActivityMapper implementation in a CachingActivityMapper and wrapping that in a

Re: instanceof check on element always return true?

2010-12-02 Thread Thomas Broyer
On 2 déc, 12:10, Ed post2edb...@gmail.com wrote: I receive an element in a Clickhandler like this: final Element el = event.getNativeEvent().getEventTarget().cast() It concerns a DIV element which the tag name shows. However, the following result in true: el instanceof DivElement (as

Re: Expenses example - cache warning

2010-12-02 Thread Dan Billings
Thank you so much for posting this solution! On Nov 26, 2:30 pm, David Sowerby david.sowe...@virgin.net wrote: I compile the expenses example from trunk, but got the following warning appearing every second or so: 26-Nov-2010 20:28:01 com.google.gwt.sample.expenses.server.domain.Report

Re: To smart GWT or not

2010-12-02 Thread Alejandro D. Garin
I would use pure GWT, and heavy use of UiBinder, plus taking advantage of the latest 2.1 additions for mvp. Do you have problems with layout? What is your issue? Have a look to the DynaTableRf sample source code, it's a good example how to use nested layout panels for doing layouts. On Wed, Dec

Can't get to default place

2010-12-02 Thread ailinykh
Hello, everybody! I slightly modified hellomvp example, I just added one more place/ activity/view. It's called OneMorePlace, OneMoreActivity, OneMoreView. So right now I have scenario like this- HelloActivty starts OneMoreActivity, OneMoreActivity starts GoodByeActivity. But when I tried to

Re: Expenses example - cache warning

2010-12-02 Thread David Chandler
Thanks, David. FYI, I filed an issue and we should be able to get this in for 2.1.1 http://code.google.com/p/google-web-toolkit/issues/detail?id=5705 /dmc On Fri, Nov 26, 2010 at 3:30 PM, David Sowerby david.sowe...@virgin.netwrote: I compile the expenses example from trunk, but got the

Re: Can't get to default place

2010-12-02 Thread David Chandler
Hi Andrey, what do you mean by OneMoreActivity starts GoodByeActivity? Can you please post the code for OneMoreActivity? /dmc On Thu, Dec 2, 2010 at 4:52 PM, ailinykh ailin...@gmail.com wrote: Hello, everybody! I slightly modified hellomvp example, I just added one more place/ activity/view.

Re: instanceof check on element always return true?

2010-12-02 Thread Ed
How come you always know exactly to point out the correct piece of doc snippet ;).. That keeps suprising me... like you memorized them... thanks... Anyway, what is the best way to discover the element type in this case? For example an InputElement?... I can't use the tag name in the InputElement

Re: CellTable not updating

2010-12-02 Thread Eric
I'm not adding a LayoutPanel to a PopupPanel. The only reason a popup is involved is so I can prove my table is being updated - it's debug code only. My table is in a scroll panel, that's in a split layout panel, that's in a dock layout panel. On Dec 2, 2:20 pm, John LaBanca jlaba...@google.com

Re: To smart GWT or not

2010-12-02 Thread ckendrick
Sorry that's quite absurd: SmartGWT is often introduced to solve performance problems, and it solves them. SmartGWT is intentionally designed to have a one-time-ever download of a feature rich runtime in exchange for reducing subsequent server requests. For example, Adaptive Filtering greatly

Announcing free online GWT/GAE mini-book

2010-12-02 Thread marius.andreiana
Hi everyone, I'm glad to announce a free, online GWT 2.1 GAE mini-book. It's available at http://code.google.com/p/gwt-gae-book The book aims to introduce engineers on how to professionally develop applications using Google Web Toolkit and App Engine by developing a full real application step

Re: newbie: GAE + Oauth + Open Id example

2010-12-02 Thread marius.andreiana
On Oct 31, 8:55 am, Fendy Tjin fendyt...@gmail.com wrote: Hi, I've searched all over the places, what I found is that, I need to redirect or forward to authenticate to Google account or other accounts. However I am still puzzled as to how to implement oauth and open id authentication. Can

Re: Announcing free online GWT/GAE mini-book

2010-12-02 Thread nino ekambi
Woah this is just getting better and better Thank you so much ! Regards, Alain 2010/12/3 marius.andreiana marius.andrei...@gmail.com Hi everyone, I'm glad to announce a free, online GWT 2.1 GAE mini-book. It's available at http://code.google.com/p/gwt-gae-book The book aims to

Re: Announcing free online GWT/GAE mini-book

2010-12-02 Thread PhilBeaudoin
I've had the pleasure of reviewing an early version of this book, and can confirm it is very well down! I'm sure it will prove useful both to newcomers to GWT and to power users who want to learn more about tools like Guice, Gin, GWT- Platform, etc. Congratulations Marius! Philippe On Dec

Re: Can't get to default place

2010-12-02 Thread ailinykh
This is what I'm doing. public class OneMoreActivity extends AbstractActivity implements OneMoreView.Presenter { OneMorePlace place; OneMoreView oneMoreView; PlaceController placeController; public OneMoreActivity(OneMorePlace place, ClientFactory clientFactory){

@def

2010-12-02 Thread Hilco Wijbenga
Hi all, I've been playing with @def and it's really nice. But it gets even better because you can access the corresponding value in your Java code. my.css: @def BORDER_WIDTH 1px; MyCss.java: interface MyCss extends CssResource { int BORDER_WIDTH(); // Returns 1. } The only issue I have with

Re: gwt-maven-plugin / google plugin for eclipse / working for anyone?!?!

2010-12-02 Thread cri
No. No errors other than the ones mentioned in the original post. After resolving those errors, we could run the default project using run as / web application. The problem only comes after we add dependencies to our pom file. On Dec 2, 2:43 pm, David Chandler drfibona...@google.com wrote: Do

HelloMVP sample with JUnit TestCase example?

2010-12-02 Thread Rod
I am new to GWT development and have written a simple app based upon the HelloMVP sample. I was drawn to this model for A) MVP design with code/UI separation, B) simpler unit testing not requiring GWTTestCase. My Activity class is somewhat more involved than the sample program, but not hugely.

Re: HelloMVP sample with JUnit TestCase example?

2010-12-02 Thread metalhammer29a
It would be a good idea to use GIN, therefore relieving you from having to pass clientFactory around. as your application grows, GWT MVP development is very cumbersome without GIN. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: Announcing free online GWT/GAE mini-book

2010-12-02 Thread metalhammer29a
Thank you, what a valuable resource. already bookmarked it, going to read it soon. -- 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,

Re: @def

2010-12-02 Thread Hilco Wijbenga
On 2 December 2010 16:11, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: my.css: @def BORDER-WIDTH 1px; MyCss.java: interface MyCss extends CssResource { �...@defname(BORDER-WIDTH)  int getBorderWidth(); // Returns 1. } Is there a way to achieve something like this? I thought I had a

Custom widget is blocking all events.

2010-12-02 Thread dparish
I've got a simple custom widget designed to display two column data. Any widgets I put in this custom widget can't fire events. I've tried even the simplest Button and it fails. Is there something about the nature of my widget that is keeping events from widgets it contains from firing? public

Re: How to load data BEFORE showing view/presenter?

2010-12-02 Thread Thomas Broyer
On 1 déc, 02:27, Matt H matt2...@gmail.com wrote: Hi. If you poke around some of Google's GWT apps, you'll find that when you click on anything which requires more data to be loaded, that a 'loading' sign is displayed at the top of the screen, and while loading, it stays on the current

Re: How to load data BEFORE showing view/presenter?

2010-12-02 Thread Matthew Hill
Thank you Thomas, that sounds very promising. I'll try that out. On 3 December 2010 01:53, Thomas Broyer t.bro...@gmail.com wrote: On 1 déc, 02:27, Matt H matt2...@gmail.com wrote: Hi. If you poke around some of Google's GWT apps, you'll find that when you click on anything which

Re: GWT MVP Activities and Places

2010-12-02 Thread metalhammer29a
That's the exact use case for FilteredActivityMapper and CachingActivityMapper (and how they're used AFAICT in scaffold applications generated by String Roo for the master activities). what about situations where a display region is master in some cases (requiring to be cached), and detail in

Multi Reference Object Graph - How to Persist.

2010-12-02 Thread Ramon Buckland
Hi, I have a case where I have an object class ObjectFoo { private ObjectFoo next; private ObjectFoo previous; } These Objects get stored in a parent object as a set class Parent { private SetObjectFoo foos; } when I work with a particular object I am

Re: How to use new GWT plugin for GWT 2.1.0

2010-12-02 Thread raj
On placing new gwt-maven-plugin, I could resolve the windows jar issue, but now the issue is I am getting error 404 on putting the application URL on the browser. Any help is appreciated. Thanks R D Vij On Dec 2, 12:42 pm, raj rajandeep...@gmail.com wrote: I have placed new jar for this

Re: MVP *without* UiBinder

2010-12-02 Thread JosephLi
Thank you Konstantin, The open with Windows Builder Editor did the trick. I can now edit the gui graphically and easily work with event handlers without jumping between two files. Thanks, Joseph On Dec 2, 8:22 am, Konstantin Scheglov konstantin.scheg...@gmail.com wrote:   Hi, I'm author of

Understanding of GWT Upload

2010-12-02 Thread snehil parekh
Hi All, I have a requirement where I have to support upload of around 500MB files (zip file), so wanted to understand how GWTUpload work: 1) Does it chunk the data, or it sends the data as a continuous stream and keep it in memory ? If yes then it would lead to out-of-memory. 2) Is it a

GWT MVP How to change Page title upon Navigation (Place Change)

2010-12-02 Thread zixzigma
traditionally apps have been composed of pages of HTML. title of each HTML page could be set through HTML tag title/title. in GWT apps, generally there is one main html file. as user navigates throughout the app, URL (history token) changes, however I can't seem to figure out how we can change

Re: Can't get to default place

2010-12-02 Thread zixzigma
Have you added your newly created place to AppPlaceHistoryMapper ? http://code.google.com/webtoolkit/doc/latest/DevGuideMvpActivitiesAndPlaces.html#PlaceHistoryMapper @WithTokenizers({HelloPlace.Tokenizer.class, GoodbyePlace.Tokenizer.class}) public interface AppPlaceHistoryMapper extends

Facing some problems after switching to GWT 2.1 from GWT 2.0.4

2010-12-02 Thread Aditya
Hi, I have updated my GWT version to 2.1 and faced some of the problems regarding textbox' key press handlers... the code which works completely fine in previous version is txtPassword.addKeyPressHandler(new KeyPressHandler() { @Override

[gwt-contrib] Re: Modify EmulateJsStack.gwt.xml and CoreWithUserAgent.gwt.xml to test whether the new 'compiler.st... (issue1174801)

2010-12-02 Thread bobv
LGTM. inherits name=some-module-that-inherits-EmulateJsStack/ set-property name=compiler.emulatedStack value=true/ inherits name=EmulateJsStack/ It seems like I will get inconsistent property values and a result I don't expect. This could also happen if my upstream modules add a new

Re: [gwt-contrib] Public: GWT version of the JSR 303 Bean Validation TCK (issue1085801)

2010-12-02 Thread Arthur Kalmenson
I'm wondering if the TestNG stuff (http://gwt-code-reviews.appspot.com/1085801/patch/60001/61019) is just for this validation piece or if this is the beginning of an update to support TestNG for client side GWTTestCases? All the best, -- Arthur Kalmenson On Sat, Nov 6, 2010 at 4:54 PM,

Re: [gwt-contrib] Public: GWT version of the JSR 303 Bean Validation TCK (issue1085801)

2010-12-02 Thread Ray Ryan
Just for validation. No broad TestNG support is in the works. On Thu, Dec 2, 2010 at 5:56 AM, Arthur Kalmenson arthur.k...@gmail.comwrote: I'm wondering if the TestNG stuff (http://gwt-code-reviews.appspot.com/1085801/patch/60001/61019) is just for this validation piece or if this is the

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

2010-12-02 Thread codesite-noreply
Comment by eplischke: why there is no API to access that properties at runtime? or are there plans to support runtime properties? use case: there is a queue which allows to configurate its QUEUE_SIZE 1) I want a default setting runtime-property name=QUEUE_SIZE value=20/ 2) HTML meta tag

[gwt-contrib] Re: Enhancement: DateTimeFormat: Add format/formatYear parameter to guess century on yyyy

2010-12-02 Thread jhulford
HerrB, if you're using a DateBox you can pretty easily get the behavior you're after by providing your own implementation of the DateBox.Format interface to the DateBox constructor. Your implementation can pretty much just be a simple wrapper around the Default one that adjusts the century to be

[gwt-contrib] Re: Public: Add a custom report format. (issue1169801)

2010-12-02 Thread rchandia
LGTM On 2010/12/02 05:31:09, Nick Chalko wrote: [JSR 303 TCK Result] 4 Pass 6 Fail 32 Error from a total of 259 tests for a success rate of 1.54%. http://gwt-code-reviews.appspot.com/1169801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Factors out TypeOracleMediator.computeBinaryClassName() into a separate class file. (issue1144801)

2010-12-02 Thread zundel
Thanks! On 2010/12/02 04:05:23, scottb wrote: Like, LGTM++ On Wed, Dec 1, 2010 at 7:12 PM, mailto:zun...@google.com wrote: On 2010/12/01 16:03:22, scottb wrote: Perfect! Is that perfect as in, Sounds great I'll look at it later! or LGTM?

[gwt-contrib] [google-web-toolkit] r9336 committed - Support up-casting subclasses of java.util.Date (e.g. java.sql.Date)....

2010-12-02 Thread codesite-noreply
Revision: 9336 Author: b...@google.com Date: Thu Dec 2 03:34:25 2010 Log: Support up-casting subclasses of java.util.Date (e.g. java.sql.Date). Issue 5675. Patch by: bobv Review by: rjrjr, rchandia Review at http://gwt-code-reviews.appspot.com/1177801

[gwt-contrib] [google-web-toolkit] r9337 committed - Factors out TypeOracleMediator.computeBinaryClassName() to be a method...

2010-12-02 Thread codesite-noreply
Revision: 9337 Author: gwt.mirror...@gmail.com Date: Thu Dec 2 04:45:53 2010 Log: Factors out TypeOracleMediator.computeBinaryClassName() to be a method on JType. This function doesn't really have anything to do with the type oracle mediator. Moving it gets rid of most code references to

[gwt-contrib] Remove a couple of JDK 1.6-isms (issue1178801)

2010-12-02 Thread rice
Reviewers: rchandia, Description: Remove a couple of JDK 1.6-isms Please review this at http://gwt-code-reviews.appspot.com/1178801/show Affected files: M dev/core/src/com/google/gwt/core/ext/typeinfo/TypeOracle.java M user/src/com/google/gwt/user/rebind/rpc/ProxyCreator.java Index:

[gwt-contrib] Re: Remove a couple of JDK 1.6-isms (issue1178801)

2010-12-02 Thread rchandia
LGTM On 2010/12/02 16:30:32, rice wrote: http://gwt-code-reviews.appspot.com/1178801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] [google-web-toolkit] r9339 committed - Support upcasting Date, BigInteger, and BigDecimal types.

2010-12-02 Thread codesite-noreply
Revision: 9339 Author: gwt.mirror...@gmail.com Date: Thu Dec 2 08:37:28 2010 Log: Support upcasting Date, BigInteger, and BigDecimal types. http://code.google.com/p/google-web-toolkit/source/detail?r=9339 Added: /releases/2.1/user/src/com/google/gwt/autobean/shared/ValueCodexHelper.java

[gwt-contrib] [google-web-toolkit] r9341 committed - Improve Canvas 2D documentation...

2010-12-02 Thread codesite-noreply
Revision: 9341 Author: gwt.mirror...@gmail.com Date: Thu Dec 2 09:52:19 2010 Log: Improve Canvas 2D documentation Review at http://gwt-code-reviews.appspot.com/1165801 Review by: p...@google.com http://code.google.com/p/google-web-toolkit/source/detail?r=9341 Added:

  1   2   >