New Layout Panels and Centering

2010-01-29 Thread Chris
I am trying to "center" a panel of text in the North DockLayoutPanel. I get the following to work on firefox but not IE6. On IE, it looks like the widths are being ignored (or resized) and the position: absolute causes problems. Any suggestions on how I can "center" a panel? public class Applica

Re: DOM

2010-01-29 Thread Jaswanth
thanks a lot -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: DialogBox broken in Firefox 3.6

2010-01-29 Thread Lee Chuen Yang, Jeremy
Mayor, specifying a background color for the iframe solves your problem. Anyone managed to solve the non-draggable problem for dialogbox in GWT 1.4.60? (Yes, I will need to upgrade in future. Right now, I'm running a large application and migration takes time because of alignment & syntax differe

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Simon
That maybe true but not all programmer are great visual designers not to mention the time it takes to get it all looking great. All I am saying is the default look should be much more visually appealing. After all Google has spent a lot of time optimizing the javascript ouput so why not put some m

Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-01-29 Thread ckendrick
With SmartGWT you can also extend widgets and override methods in pure Java. Just a tour through the SmartGWT and SmartGWT Pro/EE showcases should be enough to identify a number of feature advantages which may matter for your application. http://www.smartclient.com/smartgwt/showcase/ http

Re: How to embed an external page in GWT application?

2010-01-29 Thread Stevko
Sorry Kelvin, I'm not yet up to speed on the UI binder approach to gui development. Perhaps you can wrap your custom javascript into a widget (composite or otherwise) and use that in the binder. --Stevko On Jan 28, 9:57 am, bond wrote: > HiStevko, > maybe you can help me! > How I can load a menu

Re: java.lang.VerifyError in generated code when using GWTTestCase

2010-01-29 Thread Tim Pesce
An update... We think this is something caused by the presence of Restlet: http://restlet.tigris.org/issues/show_bug.cgi?id=1017 -- 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...@goog

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Chris Lercher
Yes, either an official competition, or simply a themes site that's linked directly from the GWT home page. Anyone could submit themes, and people could rate them. If some of them are exceptionally good they could be integrated into the toolkit... On Jan 29, 10:12 pm, Joe Cole wrote: > Agree enti

Re: DialogBox broken in Firefox 3.6

2010-01-29 Thread El Mentecato Mayor
I actually fixed my problem by just specifying a background color for the iframe that is behind the dialog. JY: You might want to try upgrading gwt, 1.4.60 is rather old. On Jan 28, 11:37 am, El Mentecato Mayor wrote: > I noticed a slightly different problem a couple of days ago when I > upgrad

version of Jetty in GWT 2.0

2010-01-29 Thread Calin M
Hi, What is the exact version of Jetty that is bundled with GWT 2.0? I have a bunch of problems with the parsing of web.xml, especially the login-config section and I want to be able to debug it. Thanks, Calin -- You received this message because you are subscribed to the Google Groups "Googl

Re: probably silly FormPanel vs FireBug question

2010-01-29 Thread seven.reeds
Doh! of course. thanks guys -- 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 google-web-toolkit+unsubscr...@googlegrou

Re: GWT equivalent for JDK's VetoableChangeListener

2010-01-29 Thread Alexander
I do validate property change same way as you described. Form fields have validators or so, right? On 30 January 2010 01:16, Eric wrote: > > > On Jan 29, 1:45 pm, Alexander wrote: > > You mean you want to abandon event? Stop handlers to receive it? > > > > A Java bean (in the JDK world) can hav

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Joe Cole
Agree entirely. Unfortunately it seems most gwt sites don't have ui designers. Perhaps the gwt team should run a competition to create an awesome default theme that has to work with the sample apps. I know a few designers who would give it a go. On Jan 30, 9:46 am, Jeff Schnitzer wrote: > Actuall

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Jeff Schnitzer
Actually, I think there is a lot of merit in this feature request. Anyone *can* make a GWT-based UI beautiful with the right application of CSS. As with any attractive UI, it takes a fair bit of work and know-how. GWT comes with a set of themes already, but it's fairly clear that creating a refi

Re: MVP + UiBinder, thoughts?

2010-01-29 Thread bryce cottam
Yes, I am using this pattern and liking it quite a bit right now. I feel it cleans up a lot of boiler-plate code. Here is a sample application that demonstrates some of the design patterns I'm using (including the Command Pattern for RPC calls): http://www.resmarksystems.com/code/GwtSample.zip I

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Parvez Shah
Yes you are right, we got css to make the app look amazing, but I am sure some of us have got hooked to GWT as we are not good in web technology, not that we should use this reason to sulk and wait for GWT team to really make amazing looking skin out of the box From: mariyan nenchev Sent:

Re: GWT & Tomcat in Eclipse: Tomcat loads its classes from gwt-dev.jar instead of its own.

2010-01-29 Thread Rajeev Dayal
Glad you got it working. On Fri, Jan 29, 2010 at 1:00 PM, Bob Luo wrote: > Hello, > > Just to let any reader know, I managed to solve my problem by > separating the backend stuff from the frontend stuff, with the > creation of 2 eclipse projects. I also created a source directory > named "share

Re: Struggling to get stockwatcher example running in Eclipse

2010-01-29 Thread Rajeev Dayal
Sorry, forget about the mention of http://code.google.com/webtoolkit/doc/latest/tutorial/create.html#test - I meant that you should follow the Eclipse-specific instructions on http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html. On Fri, Jan 29, 2010 at 2:54 PM, Rajeev Dayal wro

Re: Struggling to get stockwatcher example running in Eclipse

2010-01-29 Thread Rajeev Dayal
Hi Tim, Thanks for pointing this issue out. There is an issue with the packaged launch configuration files; we're going to update them and push new ones out. Regarding this error: "C:\path\to\gwt.sdk not found." See the documentation at the top of http://code.google.com/webtoolkit/doc/latest/tu

Resymbolization

2010-01-29 Thread Andy
I'm trying to use the HttpThrowableReporter to send exception information to the server, but it isn't working for me. The HttpThrowableReporter is building the JSON payload correctly, and calling my Servlet, but when I debug the HttpServletRequest, there's no JSON string in it! Does anyone have a

Re: Feature Request - Improve Visual Look

2010-01-29 Thread mariyan nenchev
There is no need gwt widgets to be "beautiful". They are easy customizable with css. On Fri, Jan 29, 2010 at 9:30 PM, Paul Grenyer wrote: > Why not just use GXT then? > > -Original Message- > From: Marcos Alcantara > Date: Fri, 29 Jan 2010 11:19:28 > To: Google Web Toolkit > Subject: Re:

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Paul Grenyer
Why not just use GXT then? -Original Message- From: Marcos Alcantara Date: Fri, 29 Jan 2010 11:19:28 To: Google Web Toolkit Subject: Re: Feature Request - Improve Visual Look Couldn´t agree more. GWT is great as whole and so flexible, it hurts. Although, the core widgets could have a

Re: probably silly FormPanel vs FireBug question

2010-01-29 Thread dk
If you are doing a GET request then the data is in the "body" of the request and does not show up in firebug. If you do a POST request then the query string data is shown through FB in its own POST tab in the requst display. -- You received this message because you are subscribed to the Google G

Re: Feature Request - Improve Visual Look

2010-01-29 Thread Marcos Alcantara
Couldn´t agree more. GWT is great as whole and so flexible, it hurts. Although, the core widgets could have a better visual appearance to make them as good as Vaadin's or ext's but without the "desktop application" appeal. =) Marcos Alcantara On 28 jan, 16:27, Simon wrote: > Hi > > I think s

Re: Eclipse plugin Development Mode issue (uses GWTShell)

2010-01-29 Thread Silverado
Thank you - these will be welcome features! On Jan 29, 10:23 am, Miguel Méndez wrote: > That functionality will be part of the 1.3 release due out this quarter. > > > > On Thu, Jan 28, 2010 at 2:07 PM, Silverado wrote: > > Thanks, Miguel. > > > Any idea when that might become available? > > > On

Re: GWT equivalent for JDK's VetoableChangeListener

2010-01-29 Thread Eric
On Jan 29, 1:45 pm, Alexander wrote: > You mean you want to abandon event? Stop handlers to receive it? > A Java bean (in the JDK world) can have a constrained property; the bean would have a set of VetoableChangeListeners and a set of PropertyChangeListeners.When something wants to change the

Re: probably silly FormPanel vs FireBug question

2010-01-29 Thread Thomas Broyer
On 29 jan, 17:43, "seven.reeds" wrote: > I must be missing something.  I am trying to use a FormPanel to do a > GET request on an existing CGI script.  I need to pass query string > values to the script.  My understanding of FormPanel suggests that any > of the recognized form elements (textBox,

Re: Can't remove 0 index in ArrayList

2010-01-29 Thread Christian Goudreau
protected void removeFacultySucceeded() { display.removeItemFromFacultyList(display.getFacultyListSelectedIndex()); faculties.remove(faculty); if (!faculties.isEmpty()) { faculty = faculties.get(display.getFacultyListSelectedIndex()); refreshDisplay(); } modification = true; } I was using the s

Re: HanlderManager

2010-01-29 Thread Alexander
It is normal behaviour On 29 January 2010 19:46, Bolletta Mathieu wrote: > Hi there, > > Can someone tell me *Why* when an event is fired, the source is > changed? > public void fireEvent(GwtEvent event) { >// If it not live we should revive it. >if (!event.isLive()) { > event.reviv

Re: GWT equivalent for JDK's VetoableChangeListener

2010-01-29 Thread Alexander
You mean you want to abandon event? Stop handlers to receive it? On 29 January 2010 22:29, Eric wrote: > What is the GWT equivalent to the java.beans.VetoableEventListener > interface? How does one write GWT events and event handlers where one > of the event handlers might ask for a change to be

Re: File download doesm't work on tomcat webserver

2010-01-29 Thread hbral
i think this hyperlink fails on tomcat: new HTML("< \a href=\"/file-server-sample/FileServer\">Get a text file") why is the behavior from my local mashine different with the tomcat server anyway? is security tighter ? On 29 Jan., 01:36, hbral wrote: > hi > > i've tried to create a sample applic

Re: GWT & Tomcat in Eclipse: Tomcat loads its classes from gwt-dev.jar instead of its own.

2010-01-29 Thread Bob Luo
Hello, Just to let any reader know, I managed to solve my problem by separating the backend stuff from the frontend stuff, with the creation of 2 eclipse projects. I also created a source directory named "shared" which is imported in both projects. This way, I fixed every problem I had and would

checkbox has wrong behavior on click if attached to a DisclosurePanel header

2010-01-29 Thread nicanor.babula
Hi all, I don't know if the following problem is a bug nor if it has been reported. The fact is that if a checkbox is attached to a DisclosurePanel's header, it cannot be checked by click. The problem has been encountered on OpenSuse linux 11.2 (KDE 4.3) in Firefox 3.5.6. UserAgent string: Mozil

probably silly FormPanel vs FireBug question

2010-01-29 Thread seven.reeds
I must be missing something. I am trying to use a FormPanel to do a GET request on an existing CGI script. I need to pass query string values to the script. My understanding of FormPanel suggests that any of the recognized form elements (textBox, listBox, Hidden, etc) that exist within the FormP

Re: HanlderManager

2010-01-29 Thread Thomas Broyer
On Jan 29, 2:46 pm, Bolletta Mathieu wrote: > Hi there, > > Can someone tell me *Why* when an event is fired, the source is > changed? If I register an event handler on one widget, I expect the source to be that widget, even if it's re-firing an event originally fired by an inner widget (this wo

Re: GWT firefox plugin doesn't work in FF 3.6?

2010-01-29 Thread Thomas Broyer
On Jan 29, 3:54 am, mani wrote: > I updated to FF 3.6 yesterday and fired up a GWT app on it. The plugin > failed to load (FF complains that it is not compatible with 3.6 > > Any suggestions? Revert to 3.5.7 or install a 3.5.7 side-by-side with your 3.6. Or use another browser for DevMode. Or wa

GWT equivalent for JDK's VetoableChangeListener

2010-01-29 Thread Eric
What is the GWT equivalent to the java.beans.VetoableEventListener interface? How does one write GWT events and event handlers where one of the event handlers might ask for a change to be undone? I have noticed that HandlerManager.findEvent does not throw any exceptions. Respectfully, Eric Jablow

Re: Since OOPHM recompile after RPC/DTO change mandatory,why?

2010-01-29 Thread Isaac Truett
It seems to me that this might be related to the problem discussed in the thread below. You could at least try workaround and see if that helps. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/a27e48251e3bb722/685796009a4b403d On Thu, Jan 28, 2010 at 6:00 AM, grandfatha w

Re: Event propagation issue/question

2010-01-29 Thread Pion
Thanks for your help. I'll try the Caption Panel. On Jan 29, 1:43 am, Thomas Broyer wrote: > On Jan 29, 2:20 am, Pion wrote: > > > I have the following code snippets: > > >                 VerticalPanel verticalPanel = new VerticalPanel(); > > >                 Element fieldset = DOM.createFiel

Re: SuggestBox: how to change suggestions sort order?

2010-01-29 Thread Miroslav Genov
You have to extend SuggestOracle and to implement your own Oracle that is sorting your results as you like. Regards, Miroslav forewar wrote: Still cant find a solution. Is it possible at all? -- You received this message because you are subscribed to the Google Groups "Google Web Too

Re: Eclipse plugin Development Mode issue (uses GWTShell)

2010-01-29 Thread Miguel Méndez
That functionality will be part of the 1.3 release due out this quarter. On Thu, Jan 28, 2010 at 2:07 PM, Silverado wrote: > Thanks, Miguel. > > Any idea when that might become available? > > On Dec 21 2009, 11:07 am, Miguel Méndez wrote: > > Placing it higher in the classpath should do the tri

Re: SuggestBox: how to change suggestions sort order?

2010-01-29 Thread forewar
Still cant find a solution. Is it possible at all? -- 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 google-web-toolkit+

Re: file download with GWT

2010-01-29 Thread jhulford
Regarding #2, If you set the "Content-Disposition" response header to 'attachment; filename="file.txt"' then IE will show the download box instead of trying to open the file in the browser. On Jan 28, 5:33 pm, Thad wrote: > Downloading a file is just a matter of shipping the bytes to a > servlet'

Re: Listbox items with UiBinder

2010-01-29 Thread Featheast Lee
Trying to figure out the same problem however unlucky so far. Have to use those verbose add loop instead in the java file as a workaround. On Jan 28, 8:51 am, gatapia wrote: > Did you have any luck with this? > > Thanks > > Guido > > On Jan 19, 1:29 pm, rmmcgr wrote: > > > > > Hi, > > > What's

Re: MVP + UiBinder, thoughts?

2010-01-29 Thread Matt Read
Hi, could you possible re-cap on what problem this approach solves? I'm using UIBinder with mvp-presenter without inverting the dependencies in this way without any problems so I'm wondering what I'm missing. Thanks, Matt. 2010/1/29 István Szoboszlai > Hello Bryce, > > Are you using the approac

Feature Request - Improve Visual Look

2010-01-29 Thread Simon
Hi I think some of the most aesthetically pleasing UI components can be found in extJS so I would like to suggest that GWT further improve the visual appearance of their widgets. Simon -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To p

Struggling to get stockwatcher example running in Eclipse

2010-01-29 Thread timwhunt
I'm switching to Eclipse (from Netbeans) for the first time to try using GWT and Google App Engine (Java) for a new project. I'm following the instructions at http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html by downloading the complete StockWatcher code and then following the

GWT firefox plugin doesn't work in FF 3.6?

2010-01-29 Thread mani
I updated to FF 3.6 yesterday and fired up a GWT app on it. The plugin failed to load (FF complains that it is not compatible with 3.6 Any suggestions? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to g

Re: external.gwtOnLoad is not a function : external.gwtOnLoad(window, null, "1.6"); line 32

2010-01-29 Thread bcsumner
I had a similar problem in my application. After upgrading to 2.0 from 1.7 I got a blank page in dev mode and an error in the Firefox Javascript console saying "external.gwtOnLoad is not a function". After trying a bunch of stuff without much luck, I changed the name of my module, the reference to

Integrate another project on GWT

2010-01-29 Thread Sabbia
Hi there! I'm starting with GWT, and although it's not been too much difficult to do my first things, i've reached to something i can't solve. What i'm trying to do is something as simple as calling another programm by clicking a button. Deeply, in Eclipse, I have another project, based on Lucene

Converting GWT to iGoogle gadget

2010-01-29 Thread Bandi
Hi All, Is there a way to converting GWT code into iGoogle gadget and upload it into the iGoogle server? Primarily what i want to see is executing my GWT code inside iGoogle as a gadget.. Thanks in advance Bandi -- You received this message because you are subscribed to the Google Groups "Goo

Issues with 'GWT Incubator - Preloaded Table' after upgrading to GWT 2.0 and gwt-incubator-20091216-r1739

2010-01-29 Thread kiran
Hi, I am using GWT Incubator Preloaded table to gain performance for huge sets of data I need to show. I set the data using the method setPendingHTML(int row, int col, String HTML) . It used to take the string and render it as HTML in the table cells until I upgraded to latest GWT and GWT incuba

HanlderManager

2010-01-29 Thread Bolletta Mathieu
Hi there, Can someone tell me *Why* when an event is fired, the source is changed? public void fireEvent(GwtEvent event) { // If it not live we should revive it. if (!event.isLive()) { event.revive(); } Object oldSource = event.getSource(); // why? event.setSourc

GWT-EXT and GWT 2.0

2010-01-29 Thread Roger Studner
Anyone have experience with mixing these two beasts? I have a GWT 1.5.3 based project that is using GWT-EXT (the old, free/opensource-ish versus that wrapped ExtJS). I'm not talking about GXT or EXT-GWT (yes, I know, confusing names) Roger -- You received this message because you are subscrib

Re: Ext/GXT/ExtGWT v2.1.0 vs. SmartGWT v2.0

2010-01-29 Thread Siegfried Bolz
I am currently using GXT 2.1.0 on a big customer project and my experience is, that it is a great framework to produce fast results. There are some bugs in each release but you have the possibility to override the methods to fix the bug by yourself. If you want to extend a widget, it is possible. O

Identify Entity over Key-Class

2010-01-29 Thread dadom...@googlemail.com
Hi together, i have a little problem with the key-class. I have two Entities which are linked (OneToOne): @Entity public class Coding{ @OneToOne(cascade=CascadeType.ALL) protected Category category; ... @Entity public class Category { @Id @GeneratedValue(strate

Re: mousemove listener for document?

2010-01-29 Thread DaveC
"My experience from pure javascript is that one single handler at document level is much better that having several handlers on various buttons and anchors." Yep - agreed - but we aren't dealing with "pure javascript" this is a toolkit... >From the GWT class: "Adds a Event.NativePreviewHandler t

Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread Abdullah Shaikh
Hi Thomas, I understand EventBus is for decoupling things .. but I guess there are sometimes where you would want to use multiple (local) event bus. I don't know may be I am missing something .. let me explain you my case I have a DockPanel where I have added Widgets (panels) on West, Center & E

Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread Mirco Dotta
Hi Thomas, Olivier, Thanks to both of you for the help. So, the reason why I don't want to go through the EventBus is that we are building a big application, several screens, and there are quite a few events going on. The EventBus should be used for application-wide event, imho, and not for child

Re: DOM

2010-01-29 Thread Thomas Broyer
On Jan 28, 7:12 pm, Jaswanth wrote: > Thanks a lot. it worked in both ways.. one more doubt.. which 1 do you > prefer using JSNI or dom and y?. If you can do it in Java, do it. The advantage is that GWT takes care of browser divergences and bugs. Have a look however at what you use (do not hesi

DockLayoutPanel: change height of the south panel

2010-01-29 Thread hriess
Is there a way to change the height of the south panel of a DockLayoutPanel at runtime to 0? There is a sample for changing the layout of a LayoutPanel in DevGuideUiPanels.html#recipes with layout animation. But I have no access to the childs of a DockLayoutPanel at runtime. -- You received this

Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread Mirco Dotta
Hi Thomas, Olivier, Thanks for your help. So, the reason why I don't want to go through the EventBus is that we are building a big application, several screens, and there are quite a few events going on. The EventBus should be used for application-wide event, imho, and not for children-parent com

Re: Event propagation issue/question

2010-01-29 Thread Thomas Broyer
On Jan 29, 2:20 am, Pion wrote: > I have the following code snippets: > >                 VerticalPanel verticalPanel = new VerticalPanel(); > >                 Element fieldset = DOM.createFieldSet(); > >                 DOM.appendChild(verticalPanel.getElement(), fieldset); A VerticalPanel's

Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread Thomas Broyer
On Jan 29, 8:46 am, Mirco Dotta wrote: > Hi, > > This is a question I've been asking myself several times, here is the use > case: > > I've got an action happening in a ChildPresenter, such as a > DeleteElementEvent. > The ParentPresenter would like to register to this type of events so that a >

Re: MVP + UiBinder, thoughts?

2010-01-29 Thread István Szoboszlai
Hello Bryce, Are you using the approach you were describing in any project now with success? If so it would be very appreciated if you could write some sentences about your experiences. I thing I like what you proposed, and I also think it is not a big drawback that you have to inject the presente

Re: Can't remove 0 index in ArrayList

2010-01-29 Thread Martin Trummer
show some code or a small test case On 28 Jan., 18:16, Christian Goudreau wrote: > Does anyone had that same problem ? Everything works fine when it comes to > other indexes, but when I do ArrayList.remove(0), the object is still in > here ! But When I try : ArrayList.remove(object), it work agai

Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread olivier nouguier
Hi, IMHO the EventBus should be used as it. Nevertheless (just suggestion), you could try to use another EventBus (named and signeton) or perhaps I don't know it it a viable sulution with GIN define a new Scope (ui hiearchical scope) to put this bus into. HIH On Fri, Jan 29, 2010 at 8:46 AM, M

Re: UiBinder using Custom Widget

2010-01-29 Thread erha
Thanks Thomas. Now as I know somebody have the same problem, I might try to do the workaround suggested, even though I have no idea what the workaround suggested mean. On Jan 29, 1:24 am, Thomas Broyer wrote: > On Jan 28, 4:20 pm, erha wrote: > > > > > I am trying out the UiBinder on GWT 2.0.0.