Re: Editor and enumeration or object cast

2010-11-26 Thread Jerome C.
Thanks, This solution works well ! On 17 nov, 23:20, mbmacri mbma...@gmail.com wrote: Hi. Here is my EnumEditor implementation based on a ListBox. It should give you an idea of how to implement it using option buttons: package com.leasingsaas.client.ui.widgets; import java.util.HashMap;

Comet and GWT problem

2010-11-26 Thread Noor
Hi, I am getting some difficulties with comet on the server First, I am working with the default configuration of the gwt hosted mode(i.e. using jetty), do i need to make any change to enable comet Now, on the server what I want is a client will send a request and then he will be enrolled in a

GWT Examples

2010-11-26 Thread csaffi
Hi everybody, I'm new to GWT, so I'm wondering if you could provide me some useful examples and tutorials for building a client-side GUI and a server- side backend, for developing a stupid simple Window with a Table inside it, populated by data read from a db. I hope you can help me. Thank you

Re: GWT port of CodeMirror

2010-11-26 Thread Didier Durand
Hi Gaurav, Will start using it for some project of mine: I'll come back to you with feedback. regards didier On Nov 25, 6:25 am, Gaurav Vaish gaurav.va...@gmail.com wrote: Hi Guys, I've put up quick starter documentation athttp://code.google.com/p/gcodemirror/wiki/GettingStarted and

Re: StackLayoutPanel and IE8 issue

2010-11-26 Thread massimo malvestio
Hi! As you suggested, I did not specify the unit of measure, so, firefox applied automatically %, ie intended as px. 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

Re: Comet and GWT problem

2010-11-26 Thread Noor
if somebody knows how to solve this problem, please help?? 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 from this group, send email to

Re: Comet and GWT problem

2010-11-26 Thread Noor
When initiating a comet connection on the client, I am getting this error Error 405 HTTP method GET is not supported by this URL -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Double click on a specific position

2010-11-26 Thread daniela iervolino
Hi, I have a question. I want to create an object by double clicking in the background. Creating an object isn't a problem, but I don't know how to do this in the specific position where the mouse make the double click... Can anyone help me? -- You received this message because you are

History with different classes

2010-11-26 Thread daniela iervolino
Hi, I have a problem with History functionality. My application has different pages and each of them is built from a java class. How can I use the History functionality to navigate between pages (without using Hyperlinks)? Thanks -- You received this message because you are subscribed to the

Re: RequestFactory Security/Authentication

2010-11-26 Thread Ramon Buckland
Yes this does happen. So the answer is: jsp:output omit-xml-declaration=yes / jsp:directive.page pageEncoding=ISO-8859-1 contentType=text/html; ISO-8859-1 / This intructs the jspx file ( an XML file ) to tell your browser it has to be rendered as text/html. Sets the

Re: Double click on a specific position

2010-11-26 Thread Giuseppe La Scaleia
Hi Daniela If i have understand the only solution is to creare a MouseClickListener on the Main Component that you have and than create your object. Regards Giuseppe 2010/11/26 daniela iervolino daniela.ie...@gmail.com Hi, I have a question. I want to create an object by double clicking in

Re: GWT Examples

2010-11-26 Thread daniela iervolino
Well, there's something at this link http://www.gwtapps.com On the right side there's some applications from the book that you can download. It was very useful for me.. I don't know if there's the application you required, but it's really a very good starting point. Bye! On 26 Nov, 10:28, csaffi

Re: best practice for handling CSS themes

2010-11-26 Thread Marcin Misiewicz
I really like your solution. Thank you for sharing your solutions. But I wonder how do you deal with the new gwt widgets which support CssResource's. I'm not sure if your solutions will be working for example with CellBrowser or SimplePager. They come with bundled default Resources and they inject

Activities versus presenters - best practise

2010-11-26 Thread Raphael André Bauer
Hi, just a simple best-practise question. We are using GWT 2.1, mappers, activities and views. Everything works nicely. But sometimes we want to use activities (aka presenters) and views without a mapper. We could switch from an activity back to good old presenter and a custom view interface

Re: using hyperlink to process commands?

2010-11-26 Thread Magnus
The commands should open some panels, so they are on the client. I want to present a list of items, and one click on one item should open the details. Can you please describe your method with the History tokens? Thanks Magnus -- You received this message because you are subscribed to the

Re: different Google Update Sites???

2010-11-26 Thread Magnus
So can I mix these two update sites? Aren't there any dependencies? Magnus -- 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

Re: Activities versus presenters - best practise

2010-11-26 Thread Thomas Broyer
On 26 nov, 14:40, Raphael André Bauer raphael.andre.ba...@gmail.com wrote: Hi, just a simple best-practise question. We are using GWT 2.1, mappers, activities and views. Everything works nicely. But sometimes we want to use activities (aka presenters) and views without a mapper. We could

Re: (Spring?) JMS and GWT, or any other genuine message queue solution

2010-11-26 Thread Baloe
Hi, Yes, but we don't use JBoss but the Google App Engine, so I guess we can't use JMS here. Independent from which framework you use, it is not possible to create threads at all, so I guess we can't just use any existing library which embraces JMS. The Tasks seems to be allright, but this

RequestFactory find and remove

2010-11-26 Thread poe
Hi @ all, i've got a little problem using requestfactory. public void start(AcceptsOneWidget panel, EventBus eventBus) { ... ObjectRequest request = ((RequestFactory)requestFactory).objectRequest(); RequestObjectProxy findRequest = request.findObject(place.getObjectId());

Re: different Google Update Sites???

2010-11-26 Thread Didier Durand
Hi, Yes, you can use them jointly. One point though: you have to be in synch in the dependencies: GWT Designer version may have requirements on a given version of GWT. So, be careful. It will probably get simpler over time as Google harmonizes the various products but some patience is needed, I

Re: GWT Examples

2010-11-26 Thread PhilBeaudoin
A couple of simple sample at: http://gwtplatform.com They are base on GWT platform, but might give you a good idea. Philippe On Nov 26, 4:11 am, daniela iervolino daniela.ie...@gmail.com wrote: Well, there's something at this linkhttp://www.gwtapps.com On the right side there's some

DialogBox

2010-11-26 Thread sadiel
Hi I'm new with GWT. I'm developing an aplication that first open a dialogBox, in this first dialogBox there is an OK button when you click this button open other DialogBox whit another OK Button. When you click this Ok button I want to close both dialogBox. Any idea how to do that? Best regards

EJB+ RequestFactory?

2010-11-26 Thread frog
Maybe it's a silly question but I'm new to gwt and I've been wondering if I could use my ejb package, with it's entities and stateless beans, together with RequestFactrory (as PoxyFor and Service). Is this doable at all? I've been experimenting and managed to deploy an ear file with ejb

Re: Gilead AND GWT

2010-11-26 Thread Nick Chalko
On Wed, Nov 24, 2010 at 10:24 AM, Noor baken...@gmail.com wrote: Hi, I am getting lots of difficulty in integrating gilead in gwt. Can someone please send the jars they have successfully used that works because the one I have downloaded does not work Hi, What is gilead? What version is

newbie question about external classes

2010-11-26 Thread xalien
hi all, I'm new of GWT and I apologize for my newbie question but I never found a response... I built a simple GWT application that show some data, the data actually is hardcoded on my class. Is it possibile, from my gwt class(EntryPoint), to use external business classes(stored in jar) to extract

UTF-8 Encoding problem

2010-11-26 Thread Ronaldo Rigoni
Hello all, I'm running my GWT application with Glassfish V2 application server. There's a big problem with encoding, Glassfish is configured all with UTF-8, the RPC call is UTF-8 too, but, when the GWT recieve the response, the encoding is broken, specialy text with HTML format. The main Gwt HTML

Frustrated with GWT Binder

2010-11-26 Thread Jeff Zhang
Hi all, I'd like to create a UI like the sample application Mail. But I meet some weird problems. When I run the application, I can only see an empty page with nothing, What's wrong with my code ? The following is my sample code: // widget binder xml !DOCTYPE ui:UiBinder SYSTEM

new component in palette from another package

2010-11-26 Thread drami
Hi, I use the Smart GWT Window Builder. I have created a new component for my app but I can't add it because it is in other package. Are there any way to add my component to the palette if itsn't in my module? thanks! David. -- You received this message because you are subscribed

How to add column titles for widget CellBrowser?

2010-11-26 Thread Łukasz Bachman
Hi guys, we are struggling with adding some header to CellBrowser. There is nothing in API which would support that, also we did try extending base CellBrowser to get our hands on some protected content but no luck there either. Did anyone manage to find the solution? Regards, Łukasz -- You

addClickHandler

2010-11-26 Thread pieceOvCake
when i use this code everything works fine. SUCCESS public class PickupLocation extends Composite{ private static PickupLocationUiBinder uiBinder = GWT .create(PickupLocationUiBinder.class); interface

onKeyPress Even Firefox 3.6.12

2010-11-26 Thread Gangaram
GWT 2.1.0/ APP ENGINE 1.3.8/Google plugin eclipse 3.5 This is partial code from from tutorial StockWatcher. // Listen for keyboard events in the input box. newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() { public void onKeyPress(KeyPressEvent

disclosure panel within a g:customCell in a Grid

2010-11-26 Thread phlukman
hi, Am trying to add a disclosure panel within a custom cell in a grid but I keep getting this error: May have only one body element Element g:DisclosurePanel animationEnabled='true' debugId='personalInfoPanel' open='true' visible='true' I checked already that a custom cell accepts any child

gwt

2010-11-26 Thread Shiv shankar
hi everyone, i have to create a panel with one label, inside that one more panel with 5 toggle buttons, please suggest some good coding techniques, as i am new to this gwt, thanks in advance -shiv -- You received this message because you are subscribed to the Google Groups Google Web

Re: addClickHandler

2010-11-26 Thread Hilco Wijbenga
On 25 November 2010 09:59, pieceOvCake bira...@gmail.com wrote:       �...@uifield        TextBox streetNumber;        TextBox streetName;        Button locateButton; Add @UiField to locateButton. -- You received this message because you are subscribed to the Google Groups Google Web

Re: GWT 2.1.0 maven asks for com.google.gwt:gwt-dev:jar:windows:2.1.0??

2010-11-26 Thread ialpert
Same (or similar) problem here...(except going from gwt 1.7.1 to 2.1.0). Using the 2.1.0 version of the plugin. I include the gwt-dev jar - and get warnings about doing that (things seem to work except for gwt tests). If i attempt to exclude gwt-dev and make it's scope test-compile (and make a

What is the best way to render complex cell?

2010-11-26 Thread ailinykh
Hello, everybody! I have CellList which contains custom cells. It's pretty close to Cell List example from show case, but my custom cell is more complicated. It has several images, several links and I want to handle clicks on images and links. Generating html code by overriding render method seems

Re: Frustrated with GWT Binder

2010-11-26 Thread Paul Stockley
You need to add it to the RootLayoutPanel not the RootPanel. On Nov 26, 2:46 am, Jeff Zhang zjf...@gmail.com wrote: Hi all, I'd like to create a UI like the sample application Mail. But I meet some weird problems. When I run the application, I can only see an empty page with nothing,

Re: newbie question about external classes

2010-11-26 Thread Didier Durand
Hi, You have to have the source code of your classes and let GWT translate them from Java to Javacript so that they can run in the browser. Caution: the jre emulation in GWT is limited - see the list to check what your business classes can and cannot use. See

Re: GWT 2.1.0 maven asks for com.google.gwt:gwt-dev:jar:windows:2.1.0??

2010-11-26 Thread ialpert
I'm having similar problems. UPdating from gwt 1.7.1 to 2.1.0, also going from the old maven-gwt-plugin to the gwt-maven-plugin 2.1.0 (ugh -- naming conventions here are awful and i've got to fully qualify the new plugin because i can't find a way to remove the old plugin). I can include the

Testing view using Gwt-Platform's MockingBinder tool

2010-11-26 Thread Christian Goudreau
Well, that's our latest blog post and I'm sure there's a lot of people feeling that views need to be tested sometimes when too much logic stays inside. With mocking binder, testing view become as easy as testing presenter and without having to rely on GWTTestCase ! Have fun reading :

How to fit a widget exactly to the width of its parent?

2010-11-26 Thread Magnus
Hi, want to set the width of a button so that it fits exactly into its parent, a FlowPanel in this case. I have tried to retrieve the parent's client width and subtracted a lot of numbers, including margin, padding, border, but the button is always too wide, causing horiziontal scrollbars to

Re: onKeyPress Even Firefox 3.6.12

2010-11-26 Thread Thomas Broyer
On 25 nov, 23:16, Gangaram ajitengin...@gmail.com wrote:  GWT 2.1.0/ APP ENGINE 1.3.8/Google plugin eclipse 3.5 This is partial code from from tutorial StockWatcher. // Listen for keyboard events in the input box.                     newSymbolTextBox.addKeyPressHandler(new

How to handle redirection to original URL after login redirection

2010-11-26 Thread Starman
My use case: Send the user an email with a link to get him back into the app to a specific item and operation. Eg, http://appid.appspot.com/host#!edit-item;id=someid (host is a servlet mapping that calls my dynamic jsp gwt module host page.) The user clicks on the link, gets redirected to the

Re: Comet and GWT problem

2010-11-26 Thread mP
@Noor Take a look at your posts, you have given hardly any clues about what has gone wrong - not even a stacktrace. Sit back and ask yourself what else can i say that would be helpful. At a glance it seems that your doing a GET to the wrong URL maybe it should be a PUT, dunno. -- You received

Re: Comet and GWT problem

2010-11-26 Thread Noor
Hi MP, have use tried the gwt comet, does it works?? -- 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: using hyperlink to process commands?

2010-11-26 Thread Jeff Schwartz
History, History tokens, links and ValueChangeHandler work hand in hand to provide psuedo navigation within the client code. The Google GWT docs cover all these in detail and offer numerous code samples too. In short, add a history token can procedurally be added to History causing the url in the

Re: Comet and GWT problem

2010-11-26 Thread Noor
I am getting this error when using the gwt-comet [WARN] 405 - GET /trycomet/greet?t=2UGMNJc=45 (127.0.0.1) 1470 bytes Request headers Host: 127.0.0.1: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: 1.9.2.12) Gecko/20101026 Firefox/3.6.12 Accept:

Re: Activities versus presenters - best practise

2010-11-26 Thread matttai
I think everyone is misinterpreting the statement in the documentation Activities are analogous to presenters the exact definition of analogous is : similar or equivalent in some respects though otherwise dissimilar the key part of what people are missing being 'otherwise dissimilar' it seems

Re: Comet and GWT problem

2010-11-26 Thread Richard
This is a cross post. The original is here http://groups.google.com/group/gwt-comet/browse_thread/thread/c154c425911222c5 From Richard. On Nov 27, 8:17 am, Noor baken...@gmail.com wrote: I am getting this error when using the gwt-comet [WARN] 405 - GET /trycomet/greet?t=2UGMNJc=45 (127.0.0.1)

Some instruction on how to use Gilead and GWT

2010-11-26 Thread Noor
Hi, Finally I've my gilead working with gwt. Initially when u will try setting this up, u will get my problems. That's a way of how I proceed, in case someone is getting any problem, u can just send me a mail 1. First ensure that you have all the appopriate jars. I am using one of the specific

Re: Some instruction on how to use Gilead and GWT

2010-11-26 Thread Noor
One more thing, in the list of libraries above, u may not use some just as hsqldb.jar or postgresql-9.0-801.jdbc4.jar if u are using another database -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

[gwt-contrib] Re: Added error handling for exceptions that can occur when logging messages are sent over the wire ... (issue1149801)

2010-11-26 Thread rdayal
Thanks for the review; updated as per your comments. http://gwt-code-reviews.appspot.com/1149801/diff/1/3 File dev/core/src/com/google/gwt/dev/shell/remoteui/RemoteUI.java (right): http://gwt-code-reviews.appspot.com/1149801/diff/1/3#newcode139

[gwt-contrib] Re: Added error handling for exceptions that can occur when logging messages are sent over the wire ... (issue1149801)

2010-11-26 Thread rdayal
http://gwt-code-reviews.appspot.com/1149801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors