My CellTable is too narrow at first, what could I be doing wrong?

2012-10-01 Thread Pete Yorke
I have a Composite widget that contains a ListBox, and then a CellTable inside a ScrollPanel. When I first load up the CellTable with data (and set the row count), the columns get scrunched because the CellTable does not use the available horizontal space. But then when I click the down arrow

Re: Problems sorting Column in CellTable

2012-09-13 Thread Pete
Was anyone able to get CellTable column sorting working in version 2.5 RC1? On Thursday, 9 August 2012 19:50:18 UTC+3, Pete wrote: Hi all, I am using GWT 2.5 to create a CellTable with a sortable Date column. All goes well until I click on the sortable column's header, but its

Re: Getting the default DateBox() picker to advance year at a time

2012-08-21 Thread Pete
Thank you very much, Danny!! You have saved me countless hours! It would be great to have this code inside GWT. Steering Committee, what do you say? On Wednesday, 2 June 2010 19:24:24 UTC+3, Rob Tanner wrote: Hi, I'm using a DateBox() widget for users to enter their date of birth.

Re: Getting the default DateBox() picker to advance year at a time

2012-08-21 Thread Pete
Thank you very much, Danny!! You have saved me countless hours! It would be great to have this code inside GWT. Steering Committee, what do you say? On Wednesday, 2 June 2010 22:46:03 UTC+3, Danny Goovaerts wrote: It's not necessary to write a custom DatePicker. It suffices to create a

Problems sorting Column in CellTable

2012-08-09 Thread Pete
appreciated. Thanks! Pete -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JXeEL1p4d4QJ. To post to this group, send email to google-web-toolkit

SimplePager is not being displayed

2012-07-10 Thread Pete
Hi Everybody, I am trying to use SimplePager in my app, but its not visible on the screen. Everything else seems to be in working order. Details here: http://stackoverflow.com/questions/11365705/gwt-simplepager-is-not-being-displayed Please help! Thanks. -Pete -- You received

Undeployed GWT

2011-09-03 Thread pete
Hello, since I sometimes just play around with client side GWT, creating some pure javascript to display sth. in the browser, I wondered, if it is possible to comile/arrange the project in a way that I don't need a server? Obviously normally just clicking the html file doesn't work, instead I get

Re: How to use Mockito for testing Async calls?

2011-08-14 Thread pete
as @Inject public MyWidget(MyServiceAsync service){ this.service = service; } or push the async service into the constructor by hand/factory, so you can use a mock service with Mockito in your tests... Greetz, Peter On Aug 13, 6:12 pm, pete superp...@geekcity.de wrote: I always though

Re: How to use Mockito for testing Async calls?

2011-08-13 Thread pete
I always though this produced nicely readable tests for async calls: http://blog.reflectedcircle.co.uk/2009/12/08/gwt-rpc-asynccallback-testing-using-mockito/ Greetz On Aug 12, 11:24 am, Magno Machado magn...@gmail.com wrote: Code from a @Test method: ListPesquisaProxy pesquisas = new

Re: MVP + Handlers + Carelessness = Memory Leak ?

2011-03-31 Thread pete
:58:43 PM UTC+2, pete wrote: Hallo, I'm not sure how GWT handles this, so I want to evaluate a short example scenario for memory leaks. Suppose I write my own handler public Interface BlubbHandler {     void onBlubb(BlubbEvent event); } have my presenter public class MyPresenter

MVP + Handlers + Carelessness = Memory Leak ?

2011-03-30 Thread pete
Hallo, I'm not sure how GWT handles this, so I want to evaluate a short example scenario for memory leaks. Suppose I write my own handler public Interface BlubbHandler { void onBlubb(BlubbEvent event); } have my presenter public class MyPresenter { private final MyView view;

Elegant scrolling control

2011-03-27 Thread pete
Hallo, I have a problem, I needed a somewhat more customizable way to choose different labels out of two lists (select various ones, etc.), so I implemented my own kind of dual listbox, by using Flowpanel in a Scrollpanel, which have special types of labels, that can be set to marked. It also has

Re: Elegant scrolling control

2011-03-27 Thread pete
it works like a charm... On Mar 27, 9:58 pm, pete superp...@geekcity.de wrote: Hallo, I have a problem, I needed a somewhat more customizable way to choose different labels out of two lists (select various ones, etc.), so I implemented my own kind of dual listbox, by using Flowpanel

Default Behavior

2011-03-22 Thread pete
Hallo, I'm always a little confused with how default behavior of browsers in case of events is handled. I can always call event.preventDefault() but somehow it seldomly seems to have any effect. For example I have a FocusPanel, with some subpanel with some children which can have a grey selection

Re: Default Behavior

2011-03-22 Thread pete
Found a specific solution to my concrete problem, a css attrubute: :focus { outline: 0; } I still wonder if it would also be possible to use prevent default, or similar... And the firefox problem is still there *g* On Mar 22, 4:33 pm, pete superp...@geekcity.de wrote: Hallo, I'm always

Re: UiBinder problem with IsWidget

2011-02-20 Thread pete
a mistake in my syntax or has an idea, what could be the cause? On Feb 19, 3:48 pm, Colin Alworth niloc...@gmail.com wrote: Assuming  MapWidget extends IsWidget, yes, that should work. On Sat, Feb 19, 2011 at 8:26 AM, pete superp...@geekcity.de wrote: But I should be able to use an Interface in my

Re: UiBinder + HTMLPanel + css = Loss of hair???

2011-02-20 Thread pete
Yipeeeh, that solved my problem :-) Many thanks!!! One day I'll maybe finally understand CSS *g* On Feb 19, 9:49 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 19 February 2011 03:43, pete superp...@geekcity.de wrote: Hallo, I have a weird problem, in my UiBinder template

Re: UiBinder problem with IsWidget

2011-02-19 Thread pete
But I should be able to use an Interface in my template, if I use (provided = true)? On Feb 18, 5:22 pm, Y2i yur...@gmail.com wrote: Oops, sorry I didn't notice MapWidget was an interface.  I think you are correct. -- You received this message because you are subscribed to the Google Groups

Re: UiBinder + HTMLPanel + css = Loss of hair???

2011-02-19 Thread pete
the attributes of this div to width=100% height=100% manually with firebug, it renders correctly, but I don't know how to reach this div from inside of my template / code... Thanks for the margin tip though, I'll try this next time!! On Feb 19, 6:24 am, JosephLi joseph.l...@gmail.com wrote: hi Pete, I am

Re: UiBinder problem with IsWidget

2011-02-18 Thread pete
Oh, yeah, it should be MapWidgetString, String in the UiField- declaration, sorry... On Feb 18, 6:12 am, Y2i yur...@gmail.com wrote: Should it be MapWidgetString, String instead of MapWidgetK,V?  Where do K and V come from if Blubb is not a template? UiBinder works fine even without

Re: UI Binder Alignment problems

2011-02-18 Thread pete
I had the same problem just a while ago, even though I had it with g:VerticalPanel horizontalAlignment=ALIGN_CENTER The reason in my case at least was, that UiBinder first adds the children, then sets the attribute horizontalAlignment, but horizontalAlignment is only taken into account for

Re: UiBinder problem with IsWidget

2011-02-18 Thread pete
But I don't think UiBinder would work with an interface (which MapWidgetK,V is) if not (provided = true) or am I wrong? On Feb 18, 2:55 pm, pete superp...@geekcity.de wrote: Oh, yeah, it should be MapWidgetString, String in the UiField- declaration, sorry... On Feb 18, 6:12 am, Y2i yur

UiBinder + HTMLPanel + css = Loss of hair???

2011-02-18 Thread pete
can't identify through my swollen little pig eyes anymore, but I couldn't find rest, if I hadn't at least posted it here ;-) About any help I'd be really glad... Greetz, Pete -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post

Re: CssResource compilation problem

2011-02-17 Thread pete
16, 2011 at 10:54 PM, pete superp...@geekcity.de wrote: Hallo, I have a problem with some ClientBundle / CssResource I try to declare. In my ClientBundle I have @Source(images/SelectedTabCenter.png) ImageResource selectedTabCenter(); in my Css-file I have @def headerHeight

UiBinder problem with IsWidget

2011-02-17 Thread pete
) But shouldn't this work, as long as I have (provided = true) and acually pass in a concrete Implementation that extends Composite??? I hope someone can clarify this for me :-) Greetings, Pete -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

CssResource compilation problem

2011-02-16 Thread pete
have a syntax error in here? I copied the code from another of my widgets that works without a problem and just adjusted the names, so by the pretty unclear exception I can't make out, what is wrong... Any help is highly appreciated :-) Greetings, Pete -- You received this message because you

UiBinder doesn't autocomplete anymore in Eclipse

2011-02-15 Thread pete
in. This is really annoying, since I have to type everything, like long package combinations in type declarations or long class names in the templates. Has anyone else experienced this problem? And maybe even solved it? Many thanks in advance and greetings, Pete -- You received this message

Re: UiBinder doesn't autocomplete anymore in Eclipse

2011-02-15 Thread pete
Thank you very much :-) Hope it will be fixed soon... On Feb 15, 11:26 pm, Jeff Chimene jchim...@gmail.com wrote: On 02/15/2011 03:16 PM, pete wrote: Hallo, since I updated my Google-Plugin with the last GWT 2.2 release, for some reason the autocomplete in UiBinder templates doesn't

Re: Firefox Plugin for GWT not downloading

2011-01-28 Thread pete
Same problem when the auto update tries to install a new version of the developer plugin in firefox On Jan 28, 12:37 pm, Xuanah xua...@gmail.com wrote: +1... On Jan 28, 8:53 am, saket kumar newga...@gmail.com wrote: +1 On Fri, Jan 28, 2011 at 1:17 PM, hons hon...@gmail.com wrote: I'm

Re: JSON vs GWT-RPC - Unit testing and manual testing for a newbie

2011-01-18 Thread pete
I just used Guice + Gin + Mockito and found this very productive for writing well tested code. Especially if you apply MVP on the client- side, you can unit test your client logic rapidly / test-drive with normal JUnit / TestNG. I used RPC and just mocked out the AsyncCalls using Mockito,

Re: Server Log

2011-01-14 Thread pete
Krishnan sripathi.krish...@gmail.com wrote: The correct way is to override doUnexpectedFailure(Throwable e)http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...)in your custom RPC Servlet. That way you won't have to change GWT's code. --Sri On 14 January 2011 04:31, pete

Re: Server Log

2011-01-13 Thread pete
at all (even though it says check server log) Is there any way to configure log4j to log those exceptions? On Jan 12, 11:23 pm, SVR svr...@gmail.com wrote: You could catch and throw the same way you would do in any java appln. On Wed, Jan 12, 2011 at 5:16 PM, pete superp...@geekcity.de wrote

Re: Server Log

2011-01-13 Thread pete
... Thanks anyway for the replies :-) On Jan 13, 10:22 am, SVR svr...@gmail.com wrote: true, I don't see the ability to configure server side log anywhere. I would try this: Enable gwt.logging.firebugHandler and see atleast the umbrella exception... On Thu, Jan 13, 2011 at 6:32 AM, pete

Server Log

2011-01-12 Thread pete
Hallo, is there a way to show stacktraces of UnexpectedExceptions after the webapp is deployed? I have logging enabled in general, if I manually use my logger, like LOG.debug(blah), I can see my logs... If RPC fails, I just get an unexpected exception saying the call failed on the server, see

Re: webappcreator with -maven and Eclipse: output directories don't match

2010-11-22 Thread pete
of problems with the source might be wrong. How would one go about getting this investigated and fixed if necessary? Thanks, Pete -- 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

Re: Images in buttons

2010-11-03 Thread pete
As far as I remembered, I instinctively tried to resize the image that is assigned to the button and that worked... I.e. Image image = new Image(source); image.setWidth(100px); image.setHeight(50px); PushButton button = new PushButton(image); I think if your image is really huge and only used

Re: Basic Auth with GWT

2010-10-16 Thread pete
: pete superp...@geekcity.de schrieb: What I want is the browser standard basic-auth dialog popping up, entering credentials (maybe saving them if wished), then sending the data to the server, processing the login, and if successful to load the module, otherwise ask again... I found how to send

Basic Auth with GWT

2010-10-15 Thread pete
Hello! I have a running GWT-App, with a DialogBox as login box, sending login data via RPC to the server and performing the login process. Now it is requested, that the standard basic-auth of http is used. I found one tutorial how to upgrade the web.xml, but that didn't work with GWT 2.0

Re: Reverse proxy problem once again

2010-09-25 Thread pete
, Sebastian Rothbucher sebastian.rothbuc...@clarities.de wrote: Hi pete, I got along quite well with mapping localhost:80/bla/ to localhost: 8080/bla in the httpd.conf - i.e. keeping the context path as it is. No more action is necessary then. (you could set up a redirect rewrite rule for path

Reverse proxy problem once again

2010-09-17 Thread pete
Hallo, I've looked around several hours to solve this problem, but I just can't figure it out (even though I find many similar posts and tips about it). The set up is quite simple, I have my GWT-Module running at http://localhost:8080/bla and if I address it like this, everything runs fine. I

Re: Variable UI

2010-09-10 Thread pete
an image with the background therefore not allowing for client side resizing. Firebug is your friend with GWT development, so if you aren't sure what the Java code is producing inspect it with firebug and make sure it's what you want. On Sep 9, 5:46 pm, pete bobobo...@hotmail.com wrote

Re: Variable UI

2010-09-09 Thread pete
So you're suggesting, I should have every image ready for every possible resolution? It is just that I have a lot of images, it would be really nice to keep all the values in percentage inside of my app and scale whatever I need accordingly. At least I would consider that more elegant, it's a

Re: Variable UI

2010-09-09 Thread pete
Hmm, I guess I was stupid, I should just use a service to dynamically create images of the right size on the server-side and flush them to the client, then I have variable resizing and can use 100% size in the browser, right? (sorry, I'm not too experienced in programming web- apps) -- You

Re: Variable UI

2010-09-09 Thread pete
This one app is a card game, with approx. some hundred cards when fully designed. So each card has a small image shown in the UI (dragable, if possible 2 rows a 5 small cards independent of the resolution) and on click shows a popup with the full image including card description. Furthermore 5

Variable UI

2010-09-08 Thread pete
Hello, I'm a little confused, I tried to create a variable UI, meaning titlebar with shall be adjusted to the browser window size, and various graphics to be scaled, fitting any resolution. (I use stuff like Window.getClientWidth() and image.setWidth(int)) But now, when I first open the page, it

Re: GWT RichTextArea and double line spacing (paragraphs)

2009-07-08 Thread Pete
I am having the same problem, but only in Internet Explorer, Opera and Windows hosted mode. It works correctly in FireFox, Windows Safari and Google Chrome. On Jun 30, 5:48 pm, John Lonergan john.loner...@gmail.com wrote: When hitting the Return key in arichtextareawe getdoubleline spacing

KEY_TAB causes audible beep on FF/Mac....

2009-06-02 Thread Pete
(TableCell.this, modifier == MODIFIER_SHIFT); break; Has anyone else experienced this? Regards, Pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Validation Framework

2009-03-04 Thread Pete
Has anyone found a simple and still supported validation framework for gwt yet? Cheers Pete --~--~-~--~~~---~--~~ 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

iGoogle-like effect with GWT

2009-03-01 Thread Pete Kay
on top? Any suggestion will be greatly appreciated. Thanks, Pete --~--~-~--~~~---~--~~ 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

Image Bundles + PushButton: Problems

2009-01-20 Thread pete
Hello all, I have been bundling all of the images in our application (900+ images) into Image Bundles. So far so good, loading is faster and the images look just the same. Now, the only issue I am facing are my push buttons. I am not doing anything differently (although I've tried), but when

Problem with Smartgwt and Activemq's Ajax code

2008-12-17 Thread Pete Kay
), but the events can't be received anymore. Does anyone have any idea how this problem maybe resolved? Thanks, Pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group

Problem with writing JSNI wrapper for ActiveMQ ajax code

2008-11-25 Thread Pete Kay
. Pete --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

Socket connection

2008-11-21 Thread Pete Kay
Hi Does anyone know of any GWT lib that can do socket connection? Thanks alot in advance for your help. Pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Using GWT to draw line

2008-11-18 Thread Pete Kay
Hi, I wouls like to use GWT to make a very simple drag and drop flow chart object. Is it possible? The part that I can't figure out is how to use GWT to create a LINE that I can use to connect two rectangular images. Any suggestion will be greatly appreciated. Thanks, Pete

Need help with using GWT on Linux

2008-10-10 Thread Pete Kay
to try to get gwt to use the /usr/lib64/mozilla lib, the onese that are pre-built by the Centos. All these do not work. I am now running out of idea, could someon please help me out? Any help will be greatly appreciated. Regards, Pete --~--~-~--~~~---~--~~ You

Desperately need help with getting gwt/eclipse to work on Centos5.2 64

2008-10-09 Thread Pete Kay
to try to get gwt to use the /usr/lib64/mozilla lib, the onese that are pre-built by the Centos. All these do not work. I am now running out of idea, could someon please help me out? Any help will be greatly appreciated. Regards, Pete --~--~-~--~~~---~--~~ You

Desperately need help with getting gwt/eclipse to work on Centos5.2 64

2008-10-09 Thread Pete Kay
to try to get gwt to use the /usr/lib64/mozilla lib, the onese that are pre-built by the Centos. All these do not work. I am now running out of idea, could someon please help me out? Any help will be greatly appreciated. Regards, Pete --~--~-~--~~~---~--~~ You

Hmmm - new analytics (ga.js) integration?

2008-09-25 Thread Pete
? Thanks -pete import com.google.gwt.core.client.JavaScriptObject; public class GoogleAnalytics { JavaScriptObject tracker; public GoogleAnalytics(String key) { tracker = createTracker(key); } private static native JavaScriptObject

Yet another GWT based app launched!

2008-09-25 Thread Pete
Greetings GWTlings, We've recently launched an application totally enabled by GWT loading into a WordPress managed page and using Quantrix as a calculation engine on the back end. Check it out: http://www.electiontaxes.com GWT *rocks* for this kind of thing! Cheers, pete peter m. murray

Strange GWT / Prototype interaction on Safari???

2008-09-19 Thread Pete
-coded html - so it seems like some interaction with GWT? Can anyone enlighten me on this? Thanks! -pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Voice recording support and Stream media support

2008-09-12 Thread Pete Kay
is a cleaner solution. Can GWT do that? Also, does GWT has any capability of streaming media out to browser the way that Flash/Flex is capable of?Any hint on where to start looking will be greatly appreciated. Best Regards, Pete --~--~-~--~~~---~--~~ You received

Re: need to change relative path to absolute path

2008-09-11 Thread Pete Kay
of the application class to create What is wrong with my eclipse? Could someone please help me out? Thank you in advance for all your help. Pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit