Re: Abridged summary of google-web-toolkit@googlegroups.com - 56 Messages in 24 Topics
Can't someone ban this git? 2012/1/4 xavier.iva...@borealinformatique.com NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs compétences et leur professionnalisme sous le nom de JPA CONSULTANTS SA . Par ce partenariat, nous nous améliorerons sur les points suivants : • Logiciel : SAGE, CEGID, CIEL, EBP... • Matériels : Serveurs, connexions, Internet • Proximité, écoute et disponibilité Merci d'adresser vos messages à l'adresse suivante : xiva...@jpaconsultants.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt
Can you be a bit more specific - what exactly are you trying to do? setFocus will move the focus to whatever you choose. Ian On 31 December 2011 05:50, Amrutha Thomas amrutha.tho...@gmail.com wrote: but how can I change focus from one text box to another using this On Fri, Dec 30, 2011 at 4:09 AM, Ian Bambury ianbamb...@gmail.com wrote: textbox.setFocus(true); On 30 December 2011 09:49, Ed Bras post2edb...@gmail.com wrote: For any widget element: /** * Sets the focus state of the element. * @param focused the new focus state */ public native void setFocus(Element elem, boolean focused) /*-{ try { if (focused) elem.focus(); else elem.blur(); } catch(err) { } }-*/; On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas amrutha.tho...@gmail.com wrote: Hiii, Can anyone tell me how to change focus from one textbox to another textbox using gwt? -- with best regards, Amrutha -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- with best regards, Amrutha -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Cannot install Eclipse GWT (and other Google)-plug-ins
What version of Eclipse are you using? As I said, the only one that would work for me was the Java EE. On 31 December 2011 14:27, Thad thad.humphr...@gmail.com wrote: I have Oracle's JDK 1.6.0_29 installed on Windows 7. I've installed Eclipse 3.7. The ONLY portion from the link below that installs is GWT Designer for GPE. For ALL other components I'm told they can't be found. For example: Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 2.5.0.v201112160242-rel-r37) (In a related note, it's stuff like this that dissuades me from using Maven. I've never ran a Maven build of any size for which all the required components could be found.) On Dec 30, 9:00 pm, Alan alan.q.y...@gmail.com wrote: install oracle jdk, no open jdk ... http://dl.google.com/eclipse/plugin/3.7 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Something other than a Java object was returned from JSNI method
Hi Thomas, thanks for the welcome back! It appears that there are two issues for me, not one - the one you kindly gave me the link to (I had actually looked at it, but didn't get any further than the first entry because the version was so old) - and the other is the random history onValueChange with a blank token followed immediately by it firing with the current token (or what was current before the blank one was fired). I really can't see where that one is coming from. I only have one History.newItem call and that has issueEvent set to false, and I have no timers anywhere (apart from a couple of scheduleDeferred in order to redraw the screen or allow the UncaughtExceptionHandler to become active. So what is firing it? I think I'm going to have to switch to Firefox for development and for general browsing as the lesser of a number of evils. I've used Chrome as my main browser since it came out because it was simple and uncluttered and refreshingly clean, but recent (and not so recent) changes mean it's not as good as it used to be for me. Just one example, I used to have a list of recently closed tabs right there on the new tab page, but now I have to use the 'Recently Closed' menu to get to them. Whose bright idea was that, and how did it get through any kind of sanity check? 'Look lads, I've got this great idea, we'll improve the user experience by hiding the closed tabs and making the user click more times than they used to have to.' 'Great idea, we'll put it in the next release!' Sigh. Anyway, Happy New Year to all who read this far :-) Ian On 30 December 2011 22:59, Thomas Broyer t.bro...@gmail.com wrote: Hi Ian, welcome back! See http://code.google.com/p/google-web-toolkit/issues/detail?id=5778#c65 -- 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/-/cU1-KVNDsfIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt
textbox.setFocus(true); On 30 December 2011 09:49, Ed Bras post2edb...@gmail.com wrote: For any widget element: /** * Sets the focus state of the element. * @param focused the new focus state */ public native void setFocus(Element elem, boolean focused) /*-{ try { if (focused) elem.focus(); else elem.blur(); } catch(err) { } }-*/; On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas amrutha.tho...@gmail.com wrote: Hiii, Can anyone tell me how to change focus from one textbox to another textbox using gwt? -- with best regards, Amrutha -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Cannot install Eclipse GWT (and other Google)-plug-ins
Eventually I got it working by installing the 'Indigo Eclipse IDE for Java EE Developers' version. All of the other versions I tried gave me the problem you have, and none of the 'solutions' I found on the web worked (e.g. install something before something else, uninstall something and reinstall) Let us know if it works for you. Ian On 30 December 2011 13:19, Clundahl claes.lund...@gmail.com wrote: Hi I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu 10.11 (32-bit). The first thing i did when installation completed i ran sudo apt-get install openjdk-6-jdk And installed this (I have also tried with openjdk-7-jdk). Then i installed eclipse (turned out to be the Indigo release) and installed also the eclipse-jdts (nothing happened since this module was already present and up to date). Then i tried installing GWT-plugin from http://dl.google.com/eclipse/plugin/3.7 (and also from .../3.6). I tried installing with a multitude of combinations of Google-plug-ins included at the same time. For instance Google plugin for eclipse 3.7 and Google web toolkit SDK 2.4.0 together. This gave the following repsonse: Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 2.5.0.v201112160242-rel-r37) Missing requirement: Google App Engine Plugin 2.5.0.v201112160242- rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel- r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37 (com.google.gdt.eclipse.suite.e37.feature.feature.group 2.5.0.v201112160242-rel-r37) To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel- r37] I then tried to install everything from disc - downloading evertything from a manualy downloaded zip-file. This gave the same error. Do you kind and cunning people have any suggestions? //Chlundahl -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Something other than a Java object was returned from JSNI method
I keep getting errors like this (assert errors), seemingly at random. I haven't done a lot of testing, but it seems to be only in Chrome (latest version) when running in OOPHM. There are different versions (e.g. go an int when expecting void etc). I don't *think* it's me because I can leave the app overnight and get 20-ish of them turn up when all it is doing is sitting there. The line that throws the assertion error is always the same (or sometimes the assertion above - here's the trace java.lang.IllegalArgumentException: invoke arguments: JS value of type boolean, expected java.lang.String at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337) at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213) at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363) at java.lang.Thread.run(Unknown Source) There's a comment there ( com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178)) // Just don't know what do to with this. What appears to kick it off is an onValueChange event which just turns up for no reason with a blank token (when there is one there in the address bar) I've done a bit of searching but can't find anything helpful or even anyone else reporting the same problem (apart from back when Chrome was back in the days of version 10 (I'm on v16.something). Doesn't seem to happen live or in IE (haven't tried anything else). Is this a known problem that I've failed to find references to, or does GWT/Chrome just hate me? There's nothing very special about my app, it's about three days old and just logs people in or out and has history support and can page. Any ideas? Thanks Ian (Back again after a bit of a gap :-) ) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Attn::Unix Administrator Requirement in Framingham, MA::Please respond back at di...@abacuscs.com::
@ di...@abacuscs.com Get stuffed @ google-web-toolkit@googlegroups.com Admin Is this really appropriate for this list? On 20 January 2011 20:15, Dipin Sukumaran dipin.j...@gmail.com wrote: Hi, Hope you are doing well. This is Dipin (di...@abacuscs.com ) from Abacus Management consultancy services. Please review my Urgent Client requirement below. ::Please respond back at di...@abacuscs.com:: Position: Unix Administrator . Location: Framingham, MA. Duration: 6-8 Months Hourly Rate: Open Face to Face Required: NO *Key Skills:-* · Heavy Linux Experience.** · AIX Experience.** · Scripting, Disaster Recovery, Plastering, High Availability, Scripting, VMWare** *Required Skills:-* · Install UNIX/Linux operating systems, apply patches, manage file systems, monitor performance and troubleshoot alerts from commercial, and locally developed monitoring tools. · System failure analysis and recovery; insuring the consistency and integrity of file systems. Business continuity planning. · Hardware/software configuration and management. Liaison with client offices, operations personnel, and field service personnel; interact directly with internal customers or external service provider to negotiate solutions and implementation specifics. · Technical support and general troubleshooting. 24x7 on call support rotation. · Manage and lead hardware and software migration and upgrade efforts of varying size and complexity. If interested then do send me your updated resume to di...@abacuscs.com immediately with following details to discuss further. · Full Name · Current Location: · Email: · Contact Number: · Work Status: · Current Salary/Hourly Rate: · Notice Period/Availability: · Expected Rate on c2c/1099 Basis: · Employer Details in Case of c2c Contract(Complete Details): · F2f Interview after telephonic round @ own Cost (Yes/No): · Best time to call: · Need 100% matching resume as per the requirement: It has been a pleasure writing to you. I am looking forward to work with you as you grow in your career. -- Thanks Regards, Dipin Sukumaran Executive – Business Development Technical Recruiter Abacus Management Consultancy Services* *Tel (Direct) :* *1-703-372-7941* *Fax : 1-540-301-8166* *Email:-* *di...@abacuscs.com * *www.abacs.com* -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Link ClickHandler doesn't fire
Something like this? import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; public class App implements ClickHandler { public void onModuleLoad() { ListLink link = new ListLink(Click Here); link.addClickHandler(this); RootPanel.get().add(link); } class ListLink extends HTML { public ListLink(String text) { setHTML(li + text + /li); } } @Override public void onClick(ClickEvent event) { Window.alert(Clicked); } } On 17 January 2011 17:31, julio antongiuli...@gmail.com wrote: Hi Thomas, yes you are right, in that case my widget is out of sync with the DOM. do you mean to replace this: getElement().appendChild(a.getElement()); with something else? If it's so how? I can't find any API for that case (not even this.addWidget(...)) Thanks, Julio On Jan 17, 3:55 pm, Thomas Broyer t.bro...@gmail.com wrote: On Monday, January 17, 2011 4:02:08 PM UTC+1, julio wrote: getElement().appendChild(a.getElement()); event handlers are bound when the *widget* is *attached* (i.e. somehow its onAttach method is called). In short, never use getElement() unless you know what you're doing (particularly when dealing with DOM tree manupulations), always use widget methods addWidget() et al. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: KeyPressEvent.getCharCode() problem
Any chance you could use international dates rather that US-specific dates? This is an international forum. Thanks (from the rest of the world), it makes referencing stuff easier for the rest of us. Ian Of course, it might just be me having a really bad 12/01/2011 On 12 January 2011 14:57, othman othmanelmou...@gmail.com wrote: KeyPressEvent.getCharCode() method has a bug problem in GWT 2.1.0 : http://code.google.com/p/google-web-toolkit/issues/detail?id=3753 we tried using event.getNativeEvent().getKeyCode() because of the declared GWT bug at http://code.google.com/p/google-web-toolkit/issues/detail?id=3753 so we access the native event to get the unprocessed code. Now the problem: this code works for FF3 but it doesn't work for Chrome! . in Chrome event.getNativeEvent().getKeyCode()=10 KeyCodes.KEY_ENTER=13 . in FF3 the two values are equal (13). It appears that a fix for KeyPressHandler was completed and reviewed for this issue on 3/10/2010 (http://code.google.com/p/google-web- toolkit/source/detail?r=7692), so I was wondering when we could expect it to be released. The fix appears fairly complex, with different browser-specific implementations, so implementing a reliable workaround would appear to be difficult. Does anyone tried a woraround for this problem? or maybe a GWT developer could help up get around this issue. 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 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Wave
Polite is good, obviously. Asking for help is also, of course, OK. That's what the forum is about. The problem (I think) Andreas has is people making wildly general requests (how do I make something like Wave, tell me the answer) rather than trying to do it for themselves, hitting a block of some kind, and then asking for specific help with regard to how to approach a particular coding or design problem within GWT. Anyone who has been here for a while recognises thinly veiled 'tell me the answer to my homework' posts - not that I'm saying the OP was doing that, but it *was* a _very_ general question rather than 'I get this error when I do something, what do I do to fix it?' You don't get much more generalised that 'Tell me how to recreate Wave'. Asked by someone who doesn't seem to realise that the 'i' in GUI actually stands for 'interface'. Ian On 9 January 2011 21:06, Harpal Grover harpal.gro...@gmail.com wrote: On Sun, Jan 9, 2011 at 3:17 PM, nino ekambi jazzmatad...@googlemail.com wrote: Well i can not help you guys , but wanted to give my two cent to Horst. I disagree with you saying that people should not asking about things they can not figure out themselves. This is a community and i believe the main goal is to share knowledge. There are a lot people here in the group that spend their time studying GWT(Thomas Broyer and so on... ) and give those informations for free. What would it be if they just say Sorry i cant help, go and study the source code, the solution is there. If you hav the infos and dont want to give them away that s your choice and i m ok with that. But it s alright to ask questions dough Regards, Alain I agree with you Alain. I believe we should try to be a bit more polite when answering people's questions or trying to encourage beginners to trace code a little bit before asking questions. Not everyone is at the same level. -- Harpal Grover President Harpal Grover Consulting Inc -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where do KeyPress Events go?
Greg, is there a reason you can't just set the focus to the button? On 5 January 2011 14:08, jaybose onyeje.b...@gmail.com wrote: OK, what does the button do, at the moment? Do you have your EnterButton's handler call submit() on the form? If so, are you seeing any errors? On Jan 4, 8:53 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: Yes, but it doesn't do the upload when I hit Enter. Which is what I'm trying to figure out how to get it to do. Greg On Jan 4, 8:20 am, jaybose onyeje.b...@gmail.com wrote: http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload Look at the source of the ShowCase example above. The uploadButton it uses is not a SubmitButton either. Just make sure the handler of your EnterButton submits the form. On Jan 3, 8:57 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: So, now that I have an EnterButton class, I'd like to use it. :-) I have a form panel with a FileUpload. I'd like to let the user select a file, then hit enter to fire the form submit button (which is an EnterButton, not a SubmitButton). Unfortunately, FileUpload does not have an addKeyPressHandler routine. So, who gets any key events I generate while in the text field part of a FileUpload? What is the call chain for events that aren't captured by the Widget where the event happens? Sorry if this is an FAQ, and in the docs. I took a (quick) look, and couldn't find anything. Please point me to the correct docs if it is in there. Thanks! Greg -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where do KeyPress Events go?
fu.addChangeHandler(new ChangeHandler() { @Override public void onChange(ChangeEvent event) { button.setFocus(true); } }); would put the focus on the button - any good? or there's always 'DOM.addEventPreview' - problem is, you probably want enter to move your user from input area to input area. firstname-lastname-fileuploadCV or something, rather than submit every time the user presses enter. Ian On 5 January 2011 14:50, Greg Dougherty dougherty.greg...@mayo.edu wrote: Currently, I'm using a SubmitButton, and forcing the user to click on the button to have anything happen. I'd like for the user to be able to hit Enter, and have the button fire (IOW, I want it to behave like a real application, rather than like a web application). Unfortunately, I can't find any way to catch key events in that form. I'm using Apache FileUpload, which essentially requires me to have the file as the last item in the form (file size is in the hundreds of MB, so I read it a line at a time and toss the line when I'm done with it. FileUpload only lets you keep a reader for one form element at a time, so I can't get data for anything after the file). This means the average user is going to fill in that field last. Which means that if I want to support the Enter key, I need to be able to do it after the user has selected a file using the FileUpload. But FileUpload doesn't generate Key events. So, WHO gets those KeyPress Events? Greg On Jan 5, 8:08 am, jaybose onyeje.b...@gmail.com wrote: OK, what does the button do, at the moment? Do you have your EnterButton's handler call submit() on the form? If so, are you seeing any errors? On Jan 4, 8:53 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: Yes, but it doesn't do the upload when I hit Enter. Which is what I'm trying to figure out how to get it to do. Greg On Jan 4, 8:20 am, jaybose onyeje.b...@gmail.com wrote: http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload Look at the source of the ShowCase example above. The uploadButton it uses is not a SubmitButton either. Just make sure the handler of your EnterButton submits the form. On Jan 3, 8:57 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: So, now that I have an EnterButton class, I'd like to use it. :-) I have a form panel with a FileUpload. I'd like to let the user select a file, then hit enter to fire the form submit button (which is an EnterButton, not a SubmitButton). Unfortunately, FileUpload does not have an addKeyPressHandler routine. So, who gets any key events I generate while in the text field part of a FileUpload? What is the call chain for events that aren't captured by the Widget where the event happens? Sorry if this is an FAQ, and in the docs. I took a (quick) look, and couldn't find anything. Please point me to the correct docs if it is in there. Thanks! Greg -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Where do KeyPress Events go?
Or, if you want to be fed keyup events when the FU has focus (or anyt other event you choose) fu.sinkEvents(Event.ONKEYUP); fu.addHandler(new KeyUpHandler() { @Override public void onKeyUp(KeyUpEvent event) { Window.alert(Hi!); } }, KeyUpEvent.getType()); On 5 January 2011 15:20, Ian Bambury ianbamb...@gmail.com wrote: fu.addChangeHandler(new ChangeHandler() { @Override public void onChange(ChangeEvent event) { button.setFocus(true); } }); would put the focus on the button - any good? or there's always 'DOM.addEventPreview' - problem is, you probably want enter to move your user from input area to input area. firstname-lastname-fileuploadCV or something, rather than submit every time the user presses enter. Ian On 5 January 2011 14:50, Greg Dougherty dougherty.greg...@mayo.eduwrote: Currently, I'm using a SubmitButton, and forcing the user to click on the button to have anything happen. I'd like for the user to be able to hit Enter, and have the button fire (IOW, I want it to behave like a real application, rather than like a web application). Unfortunately, I can't find any way to catch key events in that form. I'm using Apache FileUpload, which essentially requires me to have the file as the last item in the form (file size is in the hundreds of MB, so I read it a line at a time and toss the line when I'm done with it. FileUpload only lets you keep a reader for one form element at a time, so I can't get data for anything after the file). This means the average user is going to fill in that field last. Which means that if I want to support the Enter key, I need to be able to do it after the user has selected a file using the FileUpload. But FileUpload doesn't generate Key events. So, WHO gets those KeyPress Events? Greg On Jan 5, 8:08 am, jaybose onyeje.b...@gmail.com wrote: OK, what does the button do, at the moment? Do you have your EnterButton's handler call submit() on the form? If so, are you seeing any errors? On Jan 4, 8:53 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: Yes, but it doesn't do the upload when I hit Enter. Which is what I'm trying to figure out how to get it to do. Greg On Jan 4, 8:20 am, jaybose onyeje.b...@gmail.com wrote: http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload Look at the source of the ShowCase example above. The uploadButton it uses is not a SubmitButton either. Just make sure the handler of your EnterButton submits the form. On Jan 3, 8:57 am, Greg Dougherty dougherty.greg...@mayo.edu wrote: So, now that I have an EnterButton class, I'd like to use it. :-) I have a form panel with a FileUpload. I'd like to let the user select a file, then hit enter to fire the form submit button (which is an EnterButton, not a SubmitButton). Unfortunately, FileUpload does not have an addKeyPressHandler routine. So, who gets any key events I generate while in the text field part of a FileUpload? What is the call chain for events that aren't captured by the Widget where the event happens? Sorry if this is an FAQ, and in the docs. I took a (quick) look, and couldn't find anything. Please point me to the correct docs if it is in there. Thanks! Greg -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: JavaScript that I cant resolve!
Some code might help On 29 December 2010 17:44, Ross McKinnon r.mckinno...@googlemail.comwrote: Hi everyone, When i add a new Tab to my tab set I get the error.. ( at least i think thats whats causing it) Uncaught JavaScript exception [missing ) after argument list] I have no idea what is causing it. Has anyone seem something similar to this before? Thanks for your help! Ross -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT - Thin or Fat Client
Well, you can do the computational stuff on the server, but there is little point if all the data is available (or can be made available) on the client. I think I would go for the term 'obese client' :-) Ian On 29 December 2010 16:05, Ross McKinnon r.mckinno...@googlemail.comwrote: Hi all, Quick question... Does GWT incorporate a Fat or Thin Client-Server Architecture? Or does it depend on the application itself. My view is that it is a form of hybrid as it pushes all of the client stuff out to the client and does the heavy computational stuff on the server. Whats everyone else's thoughts? Thanks, Ross -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to remove Space between disclosure panels
I seem to remember that you get this if the disclosure panel is empty - disPanel1 is empty since you add simPanel to it but then add simPanel to disPanel2 Ian On 21 December 2010 10:27, Thomas Broyer t.bro...@gmail.com wrote: VerticalPanel are hardly necessary. Most of the time, a FlowPanel would work seamlessly. Give it a try (with no guarantee though, you'd have to first understand what this gap comes from, using browser developer tools such as Firebug or Web Inspector). -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Multi url GWT app
Just a quick correction: You can have as many entry points as you want. Ian On 16 December 2010 12:52, Jim Majure jim.maj...@gmail.com wrote: Each module can have at most 1 entry point. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: To GWT or Not to GWT
Hi bkardell, I think the simple answer is that in extreme cases such as the one you cite, GWT is not a good fit. The easiest response is to ask you to give it a bit of time and wait until you understand what GWT is before you ask these questions :-) But quickly: * GWT came into being in order to make JavaScript easier to write by allowing you to write in Java instead and therefore be able to use all the tools that are available to Java developers. * Obviously this means come sort of conversion from the Java-syntax plain text into a JavaScript script * In doing so, the Google chaps went a bit beresk in trying to optimise the code produced. And well done them, they have done a fantastic job at it. * One of the aims was to produce a monolith that could be uploaded (at a time-price) initially, but thereafter would be, like a desktop app, already on the client's machine and only gets re-uploaded if it changes (i.e. an update) * Due to the take-up of GWT and the scale of projects people tried to produce (e.g. a corporate web site in one .js file) code splitting was added so that not all the code (pages, whatever) was uploaded unless needed. Basically, though, GWT is aimed at creating a one-page (as in HTML) web site, not at producing little live-alone gadgets to stick into an existing page. I don't think there will, in the near future, be any way to allow tens of GWT gadgets to access core GWT functionality via a DLL-like common library. For one thing, my tiny 25kb (currently) gadget, on first use, if it were the first gadget to be used (and maybe the only one, too) would have to download a library with code for every single thing that GWT can do, including all deprecated, outdated and weird widgets. The overhead is pointless. On the other hand, ten 30k (before compression) widgets is nothing these days with internet speeds being what they are (and what they will be soon). So yep, if you have a hundred medium to large sized gadgets that get updated on a daily basis, GWT is probably not for you unless you write some kind of gadget-framework in GWT and use some kind of meta-code to control it. You are very good at coming up with corner cases of a theoretical nature. May I humbly suggest that you tell us what you are actually trying to do so that the people in this community can address a concrete problem you have rather than 'yes but what if...' scenarios. Specific is good :-) Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: To GWT or Not to GWT
I don't think I said you were stymying the group. Sorry if my reply gave that impression. I don't know how much you know about GWT. I don't even know how much of GWT I don't know. That's the trouble with the unknown. Presumably you don't understand this particular little bit or you wouldn't be asking. Apologies again, Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gradient background over multiple panels?
Don't make them something else. Transparent is the default. If you'd Googled *background transparent *and looked at the first result, you could have found that our for yourself. On 5 July 2010 20:22, Magnus alpineblas...@googlemail.com wrote: Hi, thanks! How can I make them transparent? 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 to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Button look and feel
You can just add your style sheets after the GWT one in the *.gwt.xml file stylesheet src=my.css/ relative to the /war/ directory These are added after the HTML is processed and therefore overwrite them On 26 June 2010 15:54, andreas horst.andrea...@googlemail.com wrote: On 26 Jun., 15:13, Thomas Broyer t.bro...@gmail.com wrote: On 26 juin, 13:14, andreas horst.andrea...@googlemail.com wrote: Are you sure it is possible to overwrite the default gwt-Button style? Yes. Well, actually it is, but not by only adding .gwt-Button style in my custom stylesheet and adding different values than in the standard.css file where the original css values are in. As you said those overwriting values will be overwritten by those in the standard.css since these are injected, right? So by only overwriting it is not. You have to do the resource trick and manually copy/add standard.css. In this setup you can literally overwrite standard.css settings. Did I get you right there? See Thomas Broyers answer. You can not overwrite default GWT styles, unless using important rules. Please follow the links from my message there, this is NOT what I said. http://groups.google.com/group/google-web-toolkit/msg/a741cc9a600109c7 You're right sorry about that. This important rule-thing was an advice from someone else. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
On 9 June 2010 11:42, Magnus alpineblas...@googlemail.com wrote: You mean I am using the panels in a way they were not made for? Yes. Currently they seem to be aimed at dividing the screen or viewport into different areas, the final (centre) area taking all the remaining space. So this (http://roughian.com/magnus/) looks wrong in Linux/FF? There is something missing, especially the chess board, which should be centered within the red box. Look at my screenshots. I didn't actually write your application for you, I just wanted to know if the red box was centred. Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
On 9 June 2010 11:48, Magnus alpineblas...@googlemail.com wrote: Hi Ian, as longer I think about your advice, the more I like it. You could do interesting things within the resize code, e. g. hide some widgets if there is not enough room... However, before I give it a new try, I need some additional information: - If I calculate everything on my own: Which LayoutPanel should I use for the parent area (e. g. AbsolutePanel?)? You don't need a parent panel as such, just position it absolutely after adding it to the RootPanel. - For doing the layout for child objects, I need to determine their sizes E. g. to center a TextBox, I need its width in pixels. How do I get this? getWidth() ? but you just need to use 'margin:0 auto' - What if I do not know the pixel sizes of child objects? E. g. my chess board is a Grid. I don't know its pixel size. How do I do this? How come you don't know its size? Didn't you set it? 16 x each square plus borders, or just get the width. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
So far, so good. The point is that I add another layout pane to the remaining space. Where is the contradiction? You are trying to float a fixed=width widget in the centre of the screen. It doesn't matter now many times you nest it, it will still work the same way. I didn't actually write your application for you, I just wanted to know if the red box was centred. It was centered, but what do you derive from this assertion? That my solution works in Linux/FF when you said it didn't -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
but you just need to use 'margin:0 auto' What does this style mean? It means that you need to look it up or ask in a forum dedicated to CSS. This forum is for GWT. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
But how do I get the Resize-Event if I don't subclass an existing layout panel? Window.addResizeHandler(handler); -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
I think your best bet is to use the onResize and just calculate it. CSS doesn't support centring vertically and I don't think GWT has any magic bullet either. Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
I'm sure someone will correct me if I'm wrong, but layout panels are more for using the whole of an area of the screen - header, footer, menu on the left, all the rest used for page display, that kind of thing rather than allowing you to float things at various places on the screen. For that, it seems to work OK in my limited experience. You can use 'margin:0 auto;' to centre the inner panel horizontally, listen for resize events, and just set 'top' to half of what is left of the height after you take away the height of the inner panel. If you don't want to do that (and don't care what happens if the window is smaller than the inner panel) then you can use 'top:50%;margin:top:-300px;' (changing '-300px' to half the height of inner panel + border). It's an old hack, but it still works. Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
Yep, a typo It sets the top to half way down the screen (top:50%) then moves it back up with the negative margin by half the height of the panel. The effect being that it is centred vertically. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
I think you might need to use 'position:absolute' and set left and margin-left the same way. It's a long time since I've used it. On 8 June 2010 18:52, Ian Bambury ianbamb...@gmail.com wrote: Yep, a typo It sets the top to half way down the screen (top:50%) then moves it back up with the negative margin by half the height of the panel. The effect being that it is centred vertically. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 1 layout - 3 browsers - 3 results?
But what about the differences in the browsers? I thought that GWT manages them? If you add your own CSS, it doesn't go around trying to correct it. It's just what you do in GWT (using the widgets as they are meant to be used - or rather, as Google use them and not just how you want to use them, not that you always get told what that is) and then it's pretty much OK. So this (http://roughian.com/magnus/) looks wrong in Linux/FF? Shame. It works in Windows IE/Chrome/FF/Safari/Opera - I don't have the ability right now to test anything else. BTW, didn't get the screenshot. Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Extending a Widget subclass or Composite?
No. Ask yourself if you want to expose all the top-level widget's methods. If you don't, then use a composite. For example, if you are making a labelled textbox by adding a label and a text box to a VerticalPanel, do you really want the user able to add more things to the VP, to be able to clear the widgets out of it etc? If you are making a NumbersOnlyTextBox out of a textbox, you probably *do* want to expose all the normal methods. Ian On 8 June 2010 21:46, David Grant davidgr...@gmail.com wrote: Is it generally bad practice to extend a widget rather than extending from Composite? Dave -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: inserting space between form elements
padding-bottom:15px; Ian http://examples.roughian.com On 1 June 2010 18:39, Magnus alpineblas...@googlemail.com wrote: Hi, I use VerticalPanel for my forms. I subsequently and alternating add Labels and TextBoxes: add (Label); add (TextBox); add (Label); add (TextBox); I would like some space between the last TextBox and the next Label. I tried: add (Label); add (TextBox); add (new Label ()); add (Label); add (TextBox); But nothing happens... How can I get some space between the items? 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 to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Menubar - retrieving the selected menu item within the Command object?
The way kozura suggested means that you create a new instance with all the code for every possibility every time (as well as adding extra code for the switch). What have you got against creating a command with just the code that that menu item needs? How does that 'blow up the code in an unnecessary way'? Kozura's way is like going into a restaurant and, whatever you order, they prepare and bring you everything that there is on the menu but you are only allowed to eat what you ordered. All the rest is thrown away (but takes up space all the time you are there). Ian http://examples.roughian.com On 30 May 2010 11:21, Magnus alpineblas...@googlemail.com wrote: Thanks a log! It seems that its the style of java programming to instantiate new classes all the time. In this case, the normal way seems to be to declare a new class for every menu item and to instantiate each of these classes a single time, just to connect a menu item to a piece of code. Ist this the normal way in java? Doesn't this blow up the code in an unnecessary way?? Magnus On May 29, 8:25 pm, kozura koz...@gmail.com wrote: No, but you can do something close: m.addItem(Login, new MenuCmd(1)); m.addItem(Logout, new MenuCmd(2)); class MenuCmd implements Cmd { private int whichCmd; public MenuCmd(int which) {whichCmd = which;} public execute() { switch(whichCmd)... } } On May 29, 8:08 am, Magnus alpineblas...@googlemail.com wrote: Hi, I would like to give all my menu items the same command object: m.addItem (Login, cmd); m.addItem (Logout, cmd); m.addItem (Register,cmd); ... Is it possible to retrieve the selected menu item within the command object's method execute? The reason is that I want to keep my code compact, i. e. using a single method that reacts on menu item selections and distinguishes the items with a select statement... Many thanks 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 to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
HTMLPanel getElementById() - Bug or docs error?
Hi, In the docs for HTMLPanel getElementById() it says: Finds an element within this panel by its id. whereas in practice, the following HTMLPanel panel = new HTMLPanel(div/div); Window.alert(panel.getElementById(id)==null ? Not found:Found); will alert 'Found' if there is an element with that ID somewhere else in the document. All getElementById() does is to temporarily attach the panel to the DOM (if it isn't already attached) and then do DOM.getElementById(id) Not what is says on the box. Ian http://examples.roughian.com -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Again: Flextable problems if used in own Composite-Class
table.getFlexCellFormatter().setColSpan(row,*colspan*, colspan); -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Dynamic layout using the DockLayoutPanel
You are trying to mix two incompatible concepts: A DockLayoutPanel added to the RootLayoutPanel will use all available screen space. No more. No less. Always. It isn't meant to scroll. It's meant to be the size of the screen. If you want stuff to scroll in the window, don't use LayoutPanels. If you want something to scroll within, say, a DockLayoutPanel. add a scrollpanel to one of the DockLayoutPanel's cells. Ian http://examples.roughian.com On 16 April 2010 09:20, googelybear googelyb...@gmail.com wrote: Hi, I am struggling with the same problem: I use the DockLayoutPanel as my main container (being a good coder following Google's recommendations: Use the new LayoutPanels they are much better/predictable/ compatible ..so I hoped on the train) but I want the browser to display a scrollbar as soon as the content gets too long. I tried to stuff the DLP in a scrollPanel but no success (as also described here: http://blog.discovr.net/post/51602/how-to-design-a-gwt-layout-that-scrolls ). What do you recommend to do? Are there people in Google working on this problem or is this just the way it is? Should I re-write my app to use a DockPanel as main container? With the consequences that I cannot use the new LayoutPanels anymore anywhere in my app (LayoutPanel inside traditional panel = no good, usually)? Thanks for any suggestions/advice. Dennis On Apr 7, 4:45 pm, kozura koz...@gmail.com wrote: Yes, you want the flowpanel. The DockLayoutPanel as a top levellayoutpanelis intended for when you want your app to take up 100% of the browser height, and use internalscrollingvs full browserscrollingto manage overflow. On Apr 7, 6:42 am, Ian Bambury ianbamb...@gmail.com wrote: You could use a flowpanel instead - no need to complicate things unnecessarily. Ian http://examples.roughian.com On 7 April 2010 11:06, larsbjo lars.bjorkh...@gmail.com wrote: There might be a very simple answer to this in the forum already. If so please have me apologized. I'm making a GWT app using DockLayoutPanel adding 3 panels; A header, a contentpaneland a footer. More or less like this: -- header -- content -- footer -- I'm using DockLayoutPanel and .addNorth for header .addSouth for footer and .add for content. Content is dynamically filled and the size is therefor unpredictable. My problem is simply: when the content fills more than the available space on the screen. The content is simply hidden by the footer. How can I have content push the footer down and add a scroll-bar on the page. I don't want a scroll-bar between header and footer. I want a normal scroll-bar on the page itself. In other words. How can a make my GWT app behave like any other sane web-app? Thank you! -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: No ability to scroll
Hint: Some indication of what you are doing would help. :-) Ian http://examples.roughian.com On 16 April 2010 06:18, Jonny jonny.bren...@gmail.com wrote: When my page goes vertically beyond the size of the window I don't have the ability to scroll. The info is being painted (i can select all and paste it in a word processor and see the offscreen elements) but for some reason whether in FF or safari there is no vertical scrollbar in the browser. To make matters worse, the main example app, mail from GWT purposefully disables scrolling. Please help? Am I missing something simple? Thx. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: example of styling vertical panel
Have you got anything in the VP? It would be useful to see the code that doesn't work rather than just guessing from all the things you might be doing wrong. Ian http://examples.roughian.com On 16 April 2010 16:36, Vik vik@gmail.com wrote: Hie I am not using uibinder so tried above method, But nothing happens. anything i m missing? I am sure i used the exact same code. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Fri, Apr 16, 2010 at 2:21 PM, helguita helgaalva...@gmail.com wrote: Hello! Here it is an example: in your java class... VerticalPanel verticalPanel = new VerticalPanel(); HTMLPanel w = new HTMLPanel(Greetings); w.setStyleName(vp-htmlPanel); verticalPanel.add(w); in your css: .vp-htmlPanel{ background-color:#FF0; } If you are using UiBinder: ui:style .vp-htmlPanel{ background-color:#CC2A98; } /ui:style gwt:VerticalPanel gwt:HTMLPanel styleName={style.vp-htmlPanel}Greetings/ gwt:HTMLPanel /gwt:VerticalPanel Hope it helps. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Project Stopped Working (wasn't me, I never touched it!)
Hi, Thanks for the response. It's nothing like that - like I say, I can rename the project and it works OK. Rename it back and it stops working. Something somewhere has a setting that stops it working is my guess. Ian http://examples.roughian.com On 12 April 2010 14:15, Katharina Probst kpro...@google.com wrote: Write permissions in the war directory? Files being read (do you have the app running from this directory?) so it can't override them...? kathrin On Mon, Apr 12, 2010 at 7:18 AM, Ian Bambury ianbamb...@gmail.com wrote: I have a bit of a weird problem. A project stopped working. When I run it, it fails to create the directory in the /war/ directory for the project (as in rename-to). I wasn't doing anything to the project structure, just coding when it happened. The odd thing is that if I just rename the project, it works fine, name it back again and it stops working. Any suggestions? Ian http://examples.roughian.com -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: -port keeps disappearing
So why doesn't the embedded server do it that way? Still seems like a bug to me. Ian http://examples.roughian.com On 13 April 2010 10:24, Thomas Broyer t.bro...@gmail.com wrote: On Apr 13, 7:19 am, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: OK, but is it not required to specify the port no. of my external server ? I am using port 8080. Not at all. You can specify a -startupUrl so the DevMode appends the ?gwt.codesrv= and you just have to copy/paste it to your browser; e.g. -startupUrl http://myserver:8080/myapp.php -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Project Stopped Working (wasn't me, I never touched it!)
No, I've found the problem. Me! Somehow the -war argument got an extra character in it - not deliberately, just a late night thing when I was putting the -port argument back, I suppose. Thanks to both of you for you help Ian http://examples.roughian.com On 13 April 2010 12:47, Sripathi Krishnan sripathikrish...@gmail.comwrote: Just a hunch .. do you have a HTML element (div/span/table etc) whose id is the same as your module name? GWT uses a hidden iframe whose id is the rename-to attribute in your module.xml.. and if you have another element with the same id.. well, things break unceremoniously. --Sri On 13 April 2010 16:03, Ian Bambury ianbamb...@gmail.com wrote: Hi, Thanks for the response. It's nothing like that - like I say, I can rename the project and it works OK. Rename it back and it stops working. Something somewhere has a setting that stops it working is my guess. Ian http://examples.roughian.com On 12 April 2010 14:15, Katharina Probst kpro...@google.com wrote: Write permissions in the war directory? Files being read (do you have the app running from this directory?) so it can't override them...? kathrin On Mon, Apr 12, 2010 at 7:18 AM, Ian Bambury ianbamb...@gmail.comwrote: I have a bit of a weird problem. A project stopped working. When I run it, it fails to create the directory in the /war/ directory for the project (as in rename-to). I wasn't doing anything to the project structure, just coding when it happened. The odd thing is that if I just rename the project, it works fine, name it back again and it stops working. Any suggestions? Ian http://examples.roughian.com -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Project Stopped Working (wasn't me, I never touched it!)
I have a bit of a weird problem. A project stopped working. When I run it, it fails to create the directory in the /war/ directory for the project (as in rename-to). I wasn't doing anything to the project structure, just coding when it happened. The odd thing is that if I just rename the project, it works fine, name it back again and it stops working. Any suggestions? Ian http://examples.roughian.com -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
-port keeps disappearing
In the Run Configs - Arguments I add -codeServerPort -noserver and -port. If I restart Eclipse, or go to the arguments, or after a while of just running via the run button, the -port switch and port number disappear. Anyone else get this? Any way to make it 'stick'? Is it a bug in the GEP? Ian http://examples.roughian.com -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Images being padded, would like to have one directly on top of the other
img { display : block; } or img { vertical-align : bottom; } Ian http://examples.roughian.com On 12 April 2010 00:36, Dan dan.a...@googlemail.com wrote: Hi all, I am trying to create a spinner putting an arrow pointing up on top of one pointing down to increment and decrement a value - same principle as the ones found here: http://collectionofdemos.appspot.com/demo/com.google.gwt.demos.spinner.SpinnerDemo/SpinnerDemo.html For some reasons, the images always have a few pixels between each other ( apart from IE7 ), and I can't understand why. To put them on top of each other I use a Vertical Panel. I also gave each image its own panel, first Horizontal then Vertical, and set the background to red and yellow to see what is happening - I cropped the images so I can be sure it's not a transparent section of the images between them. - I set the padding of each panel to padding = 0 and margin = 0 to make sure it wasn't that - I resized the images so they were rectangular at first then made them square - I set the height of the panels, first the main vertical panel, then the ones inside - I altered the width of the panels, and the horizontal padding and margin. The horizontal settings work as expected, it's just the vertical ones that just don't want to know - I changed the images, resized them, changed the format from png to jpg to gif - I created a stylesheet class with all the paddings and margins = 0, then applied it to the images, inner panels and outer one. I can always see the padding between the two images. And yes, it's annoying :) Any ideas maybe? Thanks in advance, Dan -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to bring up the hosted mode console for my web application
Right-click the URL, copy, and paste it into a browser (as it says just above the URL). Then you'll have to install a plug-in. Ian http://examples.roughian.com On 12 April 2010 00:58, DanG danielmger...@gmail.com wrote: When I create a GWT project in eclipse with gwt2.0.2 and google app engine 1.3.2 and the most updated eclipse plugin for galileo: I can create the project but when I run-web application, I get a google eclipse console (Development Mode) message telling me the URL I can access the app from (that's fine), but I get NO gwt hosted mode console popping up... what am I doing wrong? More info: Was using GWT 1.6 before this without the eclipse plugin and everything was working fine. I thought maybe I was doing something wrong, but after looking for info as to how it should work, I'm definitely doing the same as the following source: http://www.ibm.com/developerworks/java/library/j-gaej1/ Incidentally I thought it might be the fact that Google App engine stuff is now there, but if I create a project but I deselect the using Google app engine SDK, It still gives me the same problem. I have other projects created with GWT 1.6 available in eclipse and they work correctly with the new library. If I try and create a new -Run Configuration- as a -Java Application- instead of the new -Web application- and I copy all the settings from the previous projects, I can run that configuration, I get the hosted mode, but it gives me the error: Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager $SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: 223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: 303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: 543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ***Exciting Java Opportunity in Hampshire***
So has it been decided that people can advertise on this group, then? Ian http://examples.roughian.com On 7 April 2010 14:09, Benny Tech Recruiter ben.j.cul...@googlemail.comwrote: I am currently looking for a Java Developer for the Leader in Sports and Entertainment Integration. My client are looking to expand the development team with a new Java/ Web Developer. They are a quickly expanding company providing cutting edge applications and integrations to Live sporting events around the globe. The position will involve becoming and active member of the software development team and taking responsibility for the implementation of key software modules. The system is a large multithreaded, multi server web system written mainly in Java. Web clients are written using GWT (Google Web Toolkit) and data is provided to them through the Spring framework. Data storage is handled by MySQL. Successful candidates will have a proven history of developing Java software and working in a fast paced and cutting edge development environment. Necessary skills/experience: - Java development, J2SE and some J2EE. - Database development understanding. - Development of web applications including related technologies such as CSS, javascript and JSP. - Working knowledge of Windows as a development environment and Linux as a production environment Useful skills/experience: - Hibernate and database optimisation - Linux sysadmin - Google Web Toolkit If you have the relevant experience for this opportunity and are looking for new opportunities please email me with your Cv to either ben.j.cul...@googlemail.com or ben.cul...@esynergy-solutions.co.uk -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: ***Exciting Java Opportunity in Hampshire***
I didn't really think you were allowing advertising :-), and I appreciate the hard work that goes into moderating a group like this. Ian http://examples.roughian.com On 8 April 2010 15:44, Chris Ramsdale cramsd...@google.com wrote: No, it hasn't been decided. To that extent we're filtering any recruiter posts that have nothing to do with GWT. This post happened to slip past the moderation queue (Groups isn't perfect). That said, we block on average 3-4 recruiters per day, so let's not jump to conclusions when one makes it through. Job posts that are GWT related are decided on a case by case basis. For the most part though, we block these as well. -- Chris On Thu, Apr 8, 2010 at 10:03 AM, Ian Bambury ianbamb...@gmail.com wrote: So has it been decided that people can advertise on this group, then? Ian http://examples.roughian.com On 7 April 2010 14:09, Benny Tech Recruiter ben.j.cul...@googlemail.comwrote: I am currently looking for a Java Developer for the Leader in Sports and Entertainment Integration. My client are looking to expand the development team with a new Java/ Web Developer. They are a quickly expanding company providing cutting edge applications and integrations to Live sporting events around the globe. The position will involve becoming and active member of the software development team and taking responsibility for the implementation of key software modules. The system is a large multithreaded, multi server web system written mainly in Java. Web clients are written using GWT (Google Web Toolkit) and data is provided to them through the Spring framework. Data storage is handled by MySQL. Successful candidates will have a proven history of developing Java software and working in a fast paced and cutting edge development environment. Necessary skills/experience: - Java development, J2SE and some J2EE. - Database development understanding. - Development of web applications including related technologies such as CSS, javascript and JSP. - Working knowledge of Windows as a development environment and Linux as a production environment Useful skills/experience: - Hibernate and database optimisation - Linux sysadmin - Google Web Toolkit If you have the relevant experience for this opportunity and are looking for new opportunities please email me with your Cv to either ben.j.cul...@googlemail.com or ben.cul...@esynergy-solutions.co.uk -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Dynamic layout using the DockLayoutPanel
You could use a flowpanel instead - no need to complicate things unnecessarily. Ian http://examples.roughian.com On 7 April 2010 11:06, larsbjo lars.bjorkh...@gmail.com wrote: There might be a very simple answer to this in the forum already. If so please have me apologized. I'm making a GWT app using DockLayoutPanel adding 3 panels; A header, a content panel and a footer. More or less like this: -- header -- content -- footer -- I'm using DockLayoutPanel and .addNorth for header .addSouth for footer and .add for content. Content is dynamically filled and the size is therefor unpredictable. My problem is simply: when the content fills more than the available space on the screen. The content is simply hidden by the footer. How can I have content push the footer down and add a scroll-bar on the page. I don't want a scroll-bar between header and footer. I want a normal scroll-bar on the page itself. In other words. How can a make my GWT app behave like any other sane web-app? Thank you! -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: value change listener not firing
this does not get fired if i simply tab out from the text box. It fires in the case when i put some char and delete it and then tab out. is it a bug? No. If the value has changes then, when it loses focus, the ValueChange event will fire. If it hasn't changed, then it hasn't changed and so it won't. Try the Blur event which fires as the user leaves, whatever. Ian -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Generated CSSResource not injected when using UIBinder
I'm on 2.0.3 and I've been getting this. It works in production mode, but not in dev mode Adding styles in the ui.xml file using - ui:style - addStyleNames or in the java file using - elem.setClassName(classname); - elem.getStyle().setBackgroundColor(blue); doesn't work if you are using runAsync or LazyPanel but it does work with class=classname and style set in an app-wide css file Ian http://examples.roughian.com On 6 April 2010 06:22, Andrew Hughes ahhug...@gmail.com wrote: I think this was a bug, try 2.0.3 and please let others know if this fixes your problem :) On Tue, Apr 6, 2010 at 6:05 AM, lineman78 linema...@gmail.com wrote: I just compiled this and the problem seems to only exist in hosted mode. On Apr 5, 2:25 pm, lineman78 linema...@gmail.com wrote: I am using the UIBinder sample code that is generated by eclipse and I have run into one minor problem. The CSS is not being injected. Here is the code: !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder ui:style .important { font-weight: bold; } /ui:style div Hello, span class={style.important} ui:field=nameSpan / /div /ui:UiBinder public class SubModulePanel extends UIObject { private static SubModulePanelUiBinder uiBinder = GWT .create(SubModulePanelUiBinder.class); interface SubModulePanelUiBinder extends UiBinderElement, SubModulePanel { } @UiField SpanElement nameSpan; public SubModulePanel(String firstName) { setElement(uiBinder.createAndBindUi(this)); nameSpan.setInnerText(firstName); } } getFrontEndRootPanel().getElement().appendChild( new SubModulePanel(Plugin 1; Instance: + getArgs().get(Instance)).getElement()); I checked it with firebug and it does have an obfuscated class name, but the CSS is never injected. I don't know if it matters but all this is called through a runAsync. Is there a way to inspect the generated classes with eclipse? I tried to inject the CssResource into the SubModulePanel class so I could inject it manually, but also had problems with that. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
Private email sent - if anyone else should want the project, just let me know. Ian http://examples.roughian.com On 6 April 2010 07:27, Dymytry koktebelnig...@gmail.com wrote: Ian, probably sending the project is a very good idea. You can see my email, right? Or tell me a link, if you can put it on your site. Sorry for inconvenience. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
No, it's in the HTML as a link Ian http://examples.roughian.com On 6 April 2010 15:32, Dymytry koktebelnig...@gmail.com wrote: Ian, thank you. Your example really works! One thing unclear for me: as far as I see your gwt.xml file doesn't contain the line inherits name='com.google.gwt.user.theme.standard.Standard'/. Without that line I do not have a Standart subfolder with images in the compiled files folder. But you have that files in your project (corner.png, for example). So, that means that you have compiled it first WITH that line? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
You can do it that way (which I did because it was easiest) or you can get them out of the gwt-user.jar (which is where they are from originally. They turn up in the /war/ directory anyway as soon as you fire up dev mode. Ian http://examples.roughian.com On 6 April 2010 16:17, Dymytry koktebelnig...@gmail.com wrote: I see, but I mean the image files themself. From where have you got them? If I not specify inherits in the gwt.xml I dont have that files in the compiled folder. Compiler creates that files only if I use the inherit instruction in 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UiBinder - How to refer to /war/MyApplication.css ?
Why do you need to refer to it at all? Ian http://examples.roughian.com On 6 April 2010 18:15, TalkinJive gerald.duques...@gmail.com wrote: Hi Kathrin, Thanx 4 this clue. But I don't find the relative path smart (you may have a lot of ../../..). And what if you refactor the packages ? I think there is a clever solution. Don't you ? In the opposite case, UiBinder miss an easy solution. Gérald. On 5 avr, 15:53, Katharina Probst kpro...@google.com wrote: Hi Gerald, I think the path has to be relative to where your ui.xml file is located. kathrin On Mon, Apr 5, 2010 at 9:41 AM, TalkinJive gerald.duques...@gmail.com wrote: Hi, My GWT application : MyApplication. In /war directory, I have MyApplication.css. In UiBinder I wanna refer to /war/MyApplication.css. With something like : MyWidget.ui.xml- ui:UiBinder ... ui:style src=/path-to-war/MyApplication.css / -- I try different 'path-to-war' value (like ../../../../war/ MyApplication.css or MyApplication/war/MyApplication.css, etc). But no way to reach MyApplication.css. So which path-to-war value should I use ? Thanx 4 your help, Gérald. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deleting gwt-servlet.jar
Hi Miguel, So I take that there's no way to do what I need, then. Ian 2010/4/5 Miguel Méndez mmen...@google.com Sorry to hear that Paul. @All: In GPE 1.3 we added a way to configure the severity of the errors and warnings reported by GPE. If you navigate to Preferences Errors/Warnings Project structure and SDKs, you can change the severity level for SDK JAR missing from WEB-INF/lib to ignore. FWIW, it also gives you more control over the WAR directory, etc. On Sun, Apr 4, 2010 at 7:36 PM, Paul paul.f...@gmail.com wrote: I struggled with all of the warnings from the GWT eclipse plug in as I was using a different project structure, eventually I stopped using the plugin. The GWT tools (except for the plugin) are very flexible. So I recreated my project in eclipse as a java project rather than a GWT project and then created a java launch to run the application in dev mode (mainclass =com.google.gwt.dev.DevMode) and another launch to run the gwt compiler (mainclass=com.google.gwt.dev.Compiler). The GWT docs detail all of the required parameters, or run them with no params and they'll output some helptext. Since making these changes I've had no problems. cheers Paul -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
Just tried my way, and it works OK in production (that was the whole point, wasn't it?), css and all. I can't see why Thomas's wouldn't either. Ian http://examples.roughian.com On 5 April 2010 09:36, Dymytry koktebelnig...@gmail.com wrote: Ian, Thomas, your ideas seem to be very reasonable, but for me it doesn't work. First I want to check it not in Development mode, but after the compilation. So, I have made the following steps with the compiled files: 1) I placed all the files in one folder 2) linked two standart css in html and for sure added them via @include into StockWatcher css 3) removed /images path in standart css 4) opened the html Result is the following: javascript works, stockwatcher css works, standart css doesn't work. Can I do something with this? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
What I did is: - Once in the project: - Copy all the standard CSS to the /war/ directory - everything at one level - Access it via a link in the HTML file (i.e. don't do it in the module (*.gwt.xml) file - Change the CSS to get rid of the paths You now have everything for your project in the /war/ directory that will be uploaded (apart from the compiled files). This then is how you run it in development mode When you want to upload - take a copy of the /war/ file, then in the copy... - Move all the generated files to the top level (you can then delete the subfolder for the generated files in the /war/ directory) - Change the line in the HTML file from the format src=output_directory/output_directory.nocache.js to src=output_directory.nocache.js this is what you deploy to the production server. I can send you a working project if you can't get it going. Ian http://examples.roughian.com On 5 April 2010 15:42, Dymytry koktebelnig...@gmail.com wrote: Ian, the steps that I have made seem to be the same as yours, or I haven't done soomething? You have copied ALL the files of the project into war/subfolder and changed js filename to subfolder.no_cache.js after compilation, right? OR html file exists in another folder, such as: ..StockWatcher.html ..SUBFOLDER .subfolder.no_cache.js .standart.css .corner.png .etc ? And you have done all these steps after the compilation, right? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deleting gwt-servlet.jar
I want to be able to zip up a project without the 1.5 meg servlet jar, have it available for people to download it, for them to be able to unzip it to wherever their workspace is, import it, and not have Eclipse (via the GEP) complain that it can't find a file that it doesn't need in the first place. I can't see a way to do that and presumably Miguel can't either or he wouldn't have asked me to file a bug report. That's the problem. If it's me that's misread things and there is a way, then I apologise, but could you please spell it out for me :-) Ian http://examples.roughian.com On 5 April 2010 19:52, Jeff Chimene jchim...@gmail.com wrote: On 04/05/2010 05:36 AM, Ian Bambury wrote: Hi Miguel, So I take that there's no way to do what I need, then. Now I'm confused about what you want... Between the Preferences Errors/Warnings Project structure and SDKs setting and modifying the .settings file, you should a) eliminate the warning and b) eliminate the superfluous copy. What am I missing here? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deleting gwt-servlet.jar
It stops the message if you have something you don't want copied in (i.e. if it's in the classpath but you don't want it in the /lib/ unfortunately I can't seem to get it to work on the servlet jar when it is just a GWT 'requirement'. It's like a petulant child who wants something on his plate just because everyone else has it, even though he doesn't like it and won't eat it :-) Thanks for the idea, though, I'm willing to try anything... Ian http://examples.roughian.com On 4 April 2010 16:56, euzuro euz...@gmail.com wrote: Not sure if this helps or not, but in the latest version of the gwt eclipse plugin, if you right click on your project and select Properties, then Google- Web Application, there are some WAR-related configurations. (it helped us to get the plugin to stop trying to copy-in the gwt- servlet.jar file from the sdk directory) On Apr 3, 2:43 pm, Jeff Chimene jchim...@gmail.com wrote: On 04/03/2010 11:24 AM, Ian Bambury wrote: Thanks for thinking about it. I could resort to putting a dummy, empty jar of the same name in there, but it would confuse people (me, probably) it it were ever needed later on. While failing to prevent the warning message, the technique did constrain the superfluous copy; -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: entire website in GWT, yes/no ?
There's an old thread entitled SEO issues with GWT webapps - how have people address this issue? If you scroll down to an entry by me on 07/07/07 I explain what I did back then for the Roughian Examples site. That was a long time ago, and I think there are better ways to approach it, but the site is still quite well placed. It depends on what you are trying to do what I would recommend now. Ian http://examples.roughian.com On 3 April 2010 10:46, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Hi Ian, Are you talking about using Ajaxcrawling ( http://code.google.com/web/ajaxcrawling) or some other way ?. Can you give details on what are you doing for this or any link which will provide details ? - Abdullah On Fri, Apr 2, 2010 at 9:36 PM, Ian Bambury ianbamb...@gmail.com wrote: Have to disagree with you, Sri. It is simple to create SEO-friendly content-driven web sites with GWT used just for navigation and history. There is no need for a recompile if content changes. I'm working on one like that right now. If you design it properly, then you don't even need to recompile to add pages to your GWT-driven menu system and without too much trouble, you can even have an SE-friendly site with the information held in a database. Ian http://examples.roughian.com On 2 April 2010 16:19, Sripathi Krishnan sripathikrish...@gmail.comwrote: Entire website in GWT, yes/no ? I would say no. There are two types of websites - - *Content driven* - which share information. Think blogs, corporate websites, forums etc. SEO is usually important. And content is almost always delivered over http. - *Interaction driven* - in which the user and site interact closely, typically involving ajax. Think web apps like gmail, google docs, facebook. Here, the content is usually specific to a user, and is typically delivered after login. So, you'd want https, and wouldn't care much about SEO. You can build both kinds of websites with GWT, but it really is suited for the interactive web-apps. For content-driven websites, GWT is an overkill. You have to do a lot of extra work to make it SEO friendly. Modifying content will require a re-build, which gets bugging after a point. There are ways to get around these limitations, but its just not worth it. I would recommend you split your website into two parts along the above lines. For the website portion, use whatever technology you are familiar with, make it SEO friendly, and deliver it over http. For the interactive portion, use GWT. That way, you get best of both worlds. --Sri On 2 April 2010 19:29, Katharina Probst kpro...@google.com wrote: Hi Abdullah, to make your app searchable, you may also want to consider looking at http://code.google.com/web/ajaxcrawling. (Note that this only works for Google right now). kathrin On Fri, Apr 2, 2010 at 3:56 AM, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Hi All, I am planning to have my entire website in GWT, but there a few issues, for which I would like to have your suggestions on. 1) The site should be searchable (SEO) 2) I would need to switch between Http/Https depending on the input I will be taking from the user Any idea how to achieve this ? The other thing I have in mind is, I go with plain html approach, that is use jsp/ftl, put the content there, and have the gwt application in the same jsp/ftl file and fetch the data using DOM to display it in GWT UI, this way the content will be searchable. Is the above approach good or is there any issues with ? also I would need to have multiple gwt applications using this approach for each every page where I need got user interactivity UI. Thanks for any help. - Abdullah -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options
Deleting gwt-servlet.jar
If you delete the gwt-servlet.jar from the WEB-INF/lib directory because you don't use it, you'll get a warning. Is there any way (other than ignoring the warning) to stop this behaviour? The reason I'd like to do this is that I want to zip up a project and distribute it, but I could do without the 1.5 megs in an otherwise 4k zip file but I want the project to be clean of errors. Thanks Ian http://examples.roughian.com -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: 'Stop running this script' message in browsers
Well, don't show it while that is happening, then :-) - show a twirling pizza or a 'Hang On A Minute' message or a progress bar (which is perfectly possible in this situation) Ian http://examples.roughian.com On 3 April 2010 18:41, keyboard_samurai yog...@gmail.com wrote: hi has anyone done anything like this ? or anything similar ? Cheers! On Apr 3, 12:24 am, keyboard_samurai yog...@gmail.com wrote: Agree but since this is a tree i wudnt like the subnodes to be seen until its all done generating... similarly when a user selects collapse wudnt like to show the user each entry getting deleted from the screen. This is the behaviour i see as of now using incremental command. Any ideas ? On Apr 2, 11:46 pm, kozura koz...@gmail.com wrote: Can always throw up a modal dialog, maybe with a glass panel, so user can't interact until it's all done. 'course in general this isn't very nice to the user.. On Apr 2, 12:08 pm, keyboard_samurai yog...@gmail.com wrote: Hi .. Sorry for the late reply but is there a way i can hold the browser till the incremental command is done finishing its task ? Some kinda sleep technique ? Do let me know if this is possible ... 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 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deleting gwt-servlet.jar
Thanks for thinking about it. I could resort to putting a dummy, empty jar of the same name in there, but it would confuse people (me, probably) it it were ever needed later on. I don't understand why GWT does this. Miguel Méndez said in May last year We'll relax the WAR (war/WEB-INF/**) constraints in a future release. The objective for this cycle was to get people up and running quickly and not to focus on applications which don't have the WAR structure That was when 1.6 came out and nothing has happened yet... Ian http://examples.roughian.com On 3 April 2010 19:00, Jeff Chimene jchim...@gmail.com wrote: On 04/03/2010 10:58 AM, Jeff Chimene wrote: On 04/03/2010 10:33 AM, Ian Bambury wrote: If you delete the gwt-servlet.jar from the WEB-INF/lib directory because you don't use it, you'll get a warning. Nevermind. Didn't work. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: entire website in GWT, yes/no ?
Have to disagree with you, Sri. It is simple to create SEO-friendly content-driven web sites with GWT used just for navigation and history. There is no need for a recompile if content changes. I'm working on one like that right now. If you design it properly, then you don't even need to recompile to add pages to your GWT-driven menu system and without too much trouble, you can even have an SE-friendly site with the information held in a database. Ian http://examples.roughian.com On 2 April 2010 16:19, Sripathi Krishnan sripathikrish...@gmail.com wrote: Entire website in GWT, yes/no ? I would say no. There are two types of websites - - *Content driven* - which share information. Think blogs, corporate websites, forums etc. SEO is usually important. And content is almost always delivered over http. - *Interaction driven* - in which the user and site interact closely, typically involving ajax. Think web apps like gmail, google docs, facebook. Here, the content is usually specific to a user, and is typically delivered after login. So, you'd want https, and wouldn't care much about SEO. You can build both kinds of websites with GWT, but it really is suited for the interactive web-apps. For content-driven websites, GWT is an overkill. You have to do a lot of extra work to make it SEO friendly. Modifying content will require a re-build, which gets bugging after a point. There are ways to get around these limitations, but its just not worth it. I would recommend you split your website into two parts along the above lines. For the website portion, use whatever technology you are familiar with, make it SEO friendly, and deliver it over http. For the interactive portion, use GWT. That way, you get best of both worlds. --Sri On 2 April 2010 19:29, Katharina Probst kpro...@google.com wrote: Hi Abdullah, to make your app searchable, you may also want to consider looking at http://code.google.com/web/ajaxcrawling. (Note that this only works for Google right now). kathrin On Fri, Apr 2, 2010 at 3:56 AM, Abdullah Shaikh abdullah.shaik...@gmail.com wrote: Hi All, I am planning to have my entire website in GWT, but there a few issues, for which I would like to have your suggestions on. 1) The site should be searchable (SEO) 2) I would need to switch between Http/Https depending on the input I will be taking from the user Any idea how to achieve this ? The other thing I have in mind is, I go with plain html approach, that is use jsp/ftl, put the content there, and have the gwt application in the same jsp/ftl file and fetch the data using DOM to display it in GWT UI, this way the content will be searchable. Is the above approach good or is there any issues with ? also I would need to have multiple gwt applications using this approach for each every page where I need got user interactivity UI. Thanks for any help. - Abdullah -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Annoying Css Loading behavior
Move your CSS file from the /public/ directory to the /war/ directory. You need to reference it in the module file if you are also using a GWT style. It's a bug in that it appears that /public/ get copied to the output directory after they have been picked up by the app hence the 2 reloads before you see it. Ian http://examples.roughian.com On 2 April 2010 17:06, Jeff Larsen larse...@gmail.com wrote: When we're developing with GWT 2.0.0 we are running into a problem when we make a change to our stylesheet those changes aren't being picked up until we reload the page 2x instead of one. We are using a theme to load the stylesheet. Is this something anyone else is running into, and if so have you been able to fix it? -Jeff -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
I haven't tried this but... What I'd try is: - Copy all the standard CSS to the /war/ directory - everything at one level - Access it via a link in the HTML file. - Change the CSS to get rid of the paths When you want to upload - take a copy of the /war/ file - Move all the generated files to the top level - Change the line in the HTML file from the format src=output_directory/output_directory.nocache.js to src=output_directory.nocache.js Everything is in one directory now and I think that will work. Let me know if it doesn't. Ian http://examples.roughian.com On 2 April 2010 14:32, Dymytry koktebelnig...@gmail.com wrote: Hello everyone! Guys, can you give me advice about how can I change the output folder of the GWT. At the moment, I have: \war - where css and html stored \war\stockwatcher - with a number of png, js, html files \war\stockwatcher\gwt\standard - with standart images etc What I want is 1) to place all the resources in one folder 2) OR be able to set the path to gwt\standart, i.e. change the gwt \standart path 3) AND limit the number of files GWT creates, remove redundant files Can I do this? Regards, Dmitry ps Actually my task is that I want to place GWT project to Lotus Domino server. There I can add resources only one by one, I cannot add folders. So I want to place resources in one folder and import them OR link javascript created by GWT to a special server directory somehow (I dont know yet how). -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Change output folder.
Using the public folder means that, until it's fixed, you'll have to refresh twice to get some changes to show up in dev mode (as someone else discovered today). Ian http://examples.roughian.com On 2 April 2010 21:58, Thomas Broyer t.bro...@gmail.com wrote: On 2 avr, 20:30, Ian Bambury ianbamb...@gmail.com wrote: I haven't tried this but... What I'd try is: - Copy all the standard CSS to the /war/ directory - everything at one level - Access it via a link in the HTML file. - Change the CSS to get rid of the paths When you want to upload - take a copy of the /war/ file - Move all the generated files to the top level - Change the line in the HTML file from the format src=output_directory/output_directory.nocache.js to src=output_directory.nocache.js Everything is in one directory now and I think that will work. Let me know if it doesn't. How about: - create a public subfolder in the module's package and put the html and other resources there isntead of war/ (i.e. go back to pre-1.6 project layout) - to get rid of the gwt/standard, just copy it all into the public/ subfolder, reference the stylesheet using a stylesheet/ into the module gwt.xml or a link into the HTML page and remove the inherits name='com.google.gwt.user.theme.standard.Standard' / Eventually, to launch DevMode from Eclipse add -startUrl stockwatcher/ stockwatcher.html to the arguments in the launch config. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Is client side Javascript code always visible?
No Ian http://examples.roughian.com On 31 March 2010 18:58, NeuroPulse neuropu...@gmail.com wrote: What I mean is, is it compiled like C++ is compiled into a program? On Mar 31, 12:52 pm, Chris Lercher cl_for_mail...@gmx.net wrote: If the JavaScript should be executed in the browser (as usual), then it will have to be downloaded to the browser. This means, that it can also be copied. GWT offers an option to obfuscate the generated code, and one of the effects of this is, that it's harder for someone to read the code. But it could still be copied. So, if you have some proprietary algorithms, you might want to run them on the server. Chris On Mar 31, 2:46 pm, NeuroPulse neuropu...@gmail.com wrote: Greetings, Before I start writing Javascript, I am trying to find out if anyone can see and copy it like HTML? Every page with Javascript I have seen so far has a link to the code in the HTML. 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 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Menu Item and MVP
I've been looking into this for a chapter in the new edition of GWT In Action, here's where I'm at. The Google I/O approach to MVP has never sat well with me because, apart from the fact that the interface can get out of hand, it just seems wrong that the interface specifies that the view must, say, have something clickable and not leave the implementation to the view. So what I'm playing about with right now is (for the example you gave). There would be a couple of interfaces HasClose and HasSave which would be along the lines of public interface HasSave { void save(); } There would be a couple of corresponding CloseHandler and SaveHandler classes e.g. class SaveHandler implements ClickHandler { private HasSave presenter; public SaveHandler(HasSave presenter) { this.presenter = presenter; } @Override public void onClick(ClickEvent event) { presenter.save(); } } The presenter looks like this class Presenter implements HasSave, HasClose { View view; public Presenter(View view) { this.view = view; } @Override public void save() { view.setText(Save); } @Override public void close() { view.setText(Close); } } and the view like this class View extends FlowPanel implements HasText { Label label = new Label(); public View() { Presenter presenter = new Presenter(this); add(new Button(Open, new SaveHandler(presenter))); add(new Button(Close, new CloseHandler(presenter))); add(label); } @Override public String getText() { return label.getText(); } @Override public void setText(String text) { label.setText(text); } } in the AppController or onModuleLoad method, you'd just have the line RootPanel.get().add(new View()); Does that make sense? Feel free to ask but I'm still not too far forward with this approach yet. For a tiny project, it's a bit of work (unless you have already written the interfaces and handler classes for some other project) but it does keep everything well organised in larger projects. Ian http://examples.roughian.com On 1 April 2010 00:15, Nathan Wells nwwe...@gmail.com wrote: Thomas, I've heard of your approach before, but I'm not clear on the implementation... are you passing the presenter itself into the view? or are you passing instances of event handlers? The difference seems trivial, but in practice (as I imagine it, anyway) seems large: http://etherpad.com/sIAaiCfuiG Let me know what you think. I would assume the first way is what your referring to in your comment above, which implies that it is a View layer responsibility to deal with HandlerRegistrations and the like. Is that correct? On Mar 31, 8:14 am, Thomas Broyer t.bro...@gmail.com wrote: On Mar 31, 8:07 am, mic mina...@gmail.com wrote: Just sharing some thoughts Would the MenuItem class need to implement HasClickHandler so that when a MenuItem is clicked, the action can be handled in the presenter. At this time, the MenuItem needs an object that implements the Command interface, so the view seems to know about the presenter. I would like to know what others think about this. I've recently migrated from views with many HasXxxHandlers getters to views with a setListener method that the presenter injects into its view. The listener defines callback methods such as save(), close(), italicize(), bold(), delete(), etc. It makes unit tests waaay easier to write (you don't have to mock each HasXxxHandlers, capturing each added XxxHandler, eventually mocking the XxxEvent, etc.) and in your case would make things easier: the Command is an implementation detail of the view. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Menu Item and MVP
That first button should say Save - It's late here :-) -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Decorator panel outlook problem
It's because the deck part of the tabpanel expands its contents to full width. Always been annoying, that one. The decorated panel then stretches and the cells work out their own widths. This means that the edge cells (decorated bits) stretch to greater than they should be and you see all the image that you should only see a small part of. Two fixes spring to mind: 1) set the width of the decorated panel's content to 1000px minus the two edge widths - difficult if you use percentages or 2) put the decorated panel in another panel (simplepanel, flowpanel) and put that in the tabpanel deck Ian http://examples.roughian.com On 29 March 2010 14:10, Fendy Tjin fendyt...@gmail.com wrote: Decorator panel outlook went a mess when expanded its width. example source: DecoratedTabPanel tabPanel = new DecoratedTabPanel(); // expand the width of the tab panel tabPanel.setWidth(1000px); tabPanel.setAnimationEnabled(true); // a new tab String[] tabTitles = { Home, Content, More Info }; // set a new table FlexTable helloWorldTable = new FlexTable(); helloWorldTable.setCellSpacing(5); helloWorldTable.setTitle(Hello World Example); FlexCellFormatter cellFormat = helloWorldTable.getFlexCellFormatter(); helloWorldTable.setHTML(0, 0, Hello World Example); cellFormat.setColSpan(0, 0, 3); cellFormat.setHorizontalAlignment(0, 0, HasHorizontalAlignment.ALIGN_CENTER); helloWorldTable.setHTML(1, 0, Say hello, ); final TextBox nameField = new TextBox(); nameField.setFocus(true); nameField.selectAll(); helloWorldTable.setWidget(1, 1, nameField); final Button sayButton = new Button(Say); helloWorldTable.setWidget(1, 2, sayButton); // Wrap the content in a DecoratorPanel DecoratorPanel decPanel = new DecoratorPanel(); // decPanel.setWidth(500px); decPanel.add(helloWorldTable); // decPanel.setWidget(helloWorldTable); tabPanel.add(decPanel, tabTitles[0]); // Add a tab tabPanel.add(new HTML(), tabTitles[1]); // Add a tab HTML moreInfo = new HTML(etc); tabPanel.add(moreInfo, tabTitles[2]); tabPanel.selectTab(0); RootPanel.get().add(tabPanel); -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Stop a nuclear disaster
'Our' government? There are far worse things than nuclear accidents. Like off-topic posts, for example. Ian http://examples.roughian.com On 28 March 2010 03:58, deepakredd...@gmail.com wrote: Hi , Our government is churning out one hazardous bill after another. This time it is a bill called the Civil Liability for Nuclear Damage, and it's coming up for a vote in a couple of days. The bill lets U.S. corporations off the hook for any nuclear accidents they cause on Indian soil. They'd only have to pay a meagre amount, and Indian taxpayers would be stuck paying crores for the nuclear clean up and to compensate the victims. Without any public debate, the Prime Minister is appeasing American interests and ignoring our safety. Greenpeace is launching a petition asking the PM to hold a public consultation before introducing the bill. I have already signed this petition. Can you join me? http://www.greenpeace.org/india/stop-the-vote Thanks! deepakredd...@gmail.com You are receiving this email because someone you know sent it to you from the Greenpeace site. Greenpeace retains no information about individuals contacted through its site, and will not send you further messages without your consent -- although your friends could, of course, send you another message. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Safari Windows takes 100% on example page
It's OK on my machine What versions are you running? Ian http://examples.roughian.com On 29 March 2010 11:44, mably fm2...@mably.com wrote: Hi everybody, Does anyone know why Safari on Windows takes 100% CPU when displaying this simpe example page : http://gwt.google.com/samples/Showcase/Showcase.html I've the same problem on my GWT 2.0 application, it's quite annoying for my Safari users. Is Safari on Windows not fully compatible with GWT ? Thanx for your help. François Bordeaux, FRANCE -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Safari Windows takes 100% on example page
Yep, does the same for me on 4 - I was on 3.x before because I get fed up with Apple trying to take over my PC every time you load anything - iTunes, Apple Update and so on - Netscape used to do that and look what happened to them. Anyway, I installed 4.something and it does the same for me. [sigh Off to clean all the crap out of the system, then...] Ian http://examples.roughian.com On 29 March 2010 13:33, Francois MASUREL f.masu...@gmail.com wrote: Hi Ian, thanx for your answer. I'm running Safari for Windows v4.0.5 on Windows XP SP3 (I have the same pb at home on Vista). The page loads fine, but the wheel on the right of the address bar keeps running and CPU goes up to 100%. Some javascript seems to be looping indefinitely, I can pause it in the WebInspector. François On Mon, Mar 29, 2010 at 2:18 PM, Ian Bambury ianbamb...@gmail.com wrote: It's OK on my machine What versions are you running? Ian http://examples.roughian.com On 29 March 2010 11:44, mably fm2...@mably.com wrote: Hi everybody, Does anyone know why Safari on Windows takes 100% CPU when displaying this simpe example page : http://gwt.google.com/samples/Showcase/Showcase.html I've the same problem on my GWT 2.0 application, it's quite annoying for my Safari users. Is Safari on Windows not fully compatible with GWT ? Thanx for your help. François Bordeaux, FRANCE -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Determining Permutation on Server
How would you determine if the current code had been cached on the client or not? Ian http://examples.roughian.com On 23 March 2010 14:41, Nathan Wells nwwe...@gmail.com wrote: Is there a reason you wouldn't want to determine which permutation to send on the server rather than the client? What I'm thinking is that you could eliminate the need for the selector script entirely if you had a smart enough server. You could even auto generate the code using a linker, I would think. So, is there a reason why you wouldn't want to do it? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HorizontalSplitPanel children
You might be better off in a gwt-ext forum Ian http://examples.roughian.com On 22 March 2010 19:39, TM tsm@googlemail.com wrote: BorderLayout -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: HorizontalSplitPanel children
Sorry, I didn't read that properly. If you want to post some code, that would be good. This works OK, though... import com.google.gwt.core.client.EntryPoint; import com.google.gwt.dom.client.Style.BorderStyle; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.user.client.ui.DockPanel; import com.google.gwt.user.client.ui.HorizontalSplitPanel; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.RootPanel; public class BasicProject implements EntryPoint { public void onModuleLoad() { DockPanel d = new DockPanel(); RootPanel.get().add(d); d.setSize(400px, 400px); d.getElement().getStyle().setMargin(50, Unit.PX); d.getElement().getStyle().setBorderColor(red); d.getElement().getStyle().setBorderWidth(1, Unit.PX); d.getElement().getStyle().setBorderStyle(BorderStyle.DOTTED); HorizontalSplitPanel p = new HorizontalSplitPanel(); d.add(p, DockPanel.CENTER); p.setSize(100%, 100%); Label left = new Label(Left); left.getElement().getStyle().setBackgroundColor(cyan); p.setLeftWidget(left); Label right = new Label(Left); right.getElement().getStyle().setBackgroundColor(yellow); p.setRightWidget(right); } } Ian http://examples.roughian.com On 22 March 2010 21:39, TM tsm@googlemail.com wrote: I'm trying to keep it simple and avoid any extensions like gwt-ext unless I have to. I thought this seemed like a fairly straightforward use of HorizontalSplitPanel? BTW Ian, I have found your site very useful lately, thanks! On Mar 22, 8:45 pm, Ian Bambury ianbamb...@gmail.com wrote: You might be better off in a gwt-ext forum Ian http://examples.roughian.com On 22 March 2010 19:39, TM tsm@googlemail.com wrote: BorderLayout -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Remove element on host page
Get the body element and set the innerhtml to Ian http://examples.roughian.com On 4 February 2010 12:26, obesga obe...@gmail.com wrote: Hello I have a div element into the host page, just a 'please wait' advice while the gwt code loads. !DOCTYPE html html head !--...-- /head body div id=waitPlease Loading application, please wait.../div /body /html And I want to remove it from body when module loads, but I can't I can make it dissapear by making the div invisible; but that isn't what I want. This is what I've tried so far: public void onModuleLoad() { GWT.log(onLoad ,null); //TOLOG RootPanel.get().clear(); if (RootPanel.get(esperePorFavor)!= null) { RootPanel.get(esperePorFavor).setVisible(false); RootPanel.get(esperePorFavor).clear(); RootPanel.get(esperePorFavor).removeFromParent(); } // } Has anyone other solution ? Thanks in advance -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: My IE plugin doesn't work...
In a command window... regsvr32.exe C:\Users\your user name\AppData\Local\Google\Google Web Toolkit\Developer Plugin\IE\oophm.dll Ian http://examples.roughian.com 2010/1/13 Haydar haydarim...@gmail.com Hi, I have a gwt application and I want to see it on internet explorer. But every time I open it in IE, IE asks me to download gwt plugin (missing plugin warning or sth like that). I download and install the plugin and refresh my page or close and open IE again and it asks for the plugin again. What can I do about that? Please help me this is very urgent. 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 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: My IE plugin doesn't work...
Well, this was reported as an error and supposedly fixed. I'd search the whole computer to see where it's gone and try that path. Ian http://examples.roughian.com 2010/1/13 Haydar haydarim...@gmail.com Thanks a lot. oophm.dll was missing when I looked at the path you mentioned. On 13 Ocak, 15:40, Ian Bambury ianbamb...@gmail.com wrote: In a command window... regsvr32.exe C:\Users\your user name\AppData\Local\Google\Google Web Toolkit\Developer Plugin\IE\oophm.dll Ian http://examples.roughian.com 2010/1/13 Haydar haydarim...@gmail.com Hi, I have a gwt application and I want to see it on internet explorer. But every time I open it in IE, IE asks me to download gwt plugin (missing plugin warning or sth like that). I download and install the plugin and refresh my page or close and open IE again and it asks for the plugin again. What can I do about that? Please help me this is very urgent. 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 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: javascript error (invalid Argument)
Hi John, What version of GWT? Ian http://examples.roughian.com 2010/1/7 John V Denley johnvden...@googlemail.com I have just come across the following error when testing my application in IE7, It seems to work fine in Chrome 4.0 and FF 3.5.7 I have seen several other people having the same problem on this forum, but I cant work out from any of them how I can work out whats wrong with MY application! Can anyone give me any clues as to how and where to look to find out where to fix this problem? Thanks, John 22:04:09.376 [ERROR] [idebanet] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Invalid argument. number: -2147024809 description: Invalid argument. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript (BrowserChannelServer.java:195) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke (ModuleSpaceOOPHM.java:120) at com.google.gwt.dev.shell.ModuleSpace.invokeNative (ModuleSpace.java:507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject (ModuleSpace.java:264) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject (JavaScriptHost.java:91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.shell.MethodAdaptor.invoke (MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke (MethodDispatch.java:71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke (OophmSessionHandler.java:157) at com.google.gwt.dev.shell.BrowserChannel.reactToMessages (BrowserChannel.java:1668) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection (BrowserChannelServer.java:401) at com.google.gwt.dev.shell.BrowserChannelServer.run (BrowserChannelServer.java:222) at java.lang.Thread.run(Unknown Source) -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Why History.newItem() always calls the onModuleLoad?
a) I could be confusing this with something else (it was a long time ago) but AFAIK this is due to IE7 replacing mere bookmarks in the HTML with complete URLs as a security measure (can't remember what this was supposed to fix but it made sense at the time). Therefore there's very little anyone can do about it. b) You can just use a hyperlink (which is preferred way of navigating within your app and which fires off a history change for you). Anchors are really for going to another HTML page, not to another state internally (bookmark). Horses for courses. Ian http://examples.roughian.com 2009/12/29 compuroad wilson.ferreira...@gmail.com This is bug 1730 reported more than 2 years ago on version 1.4 (below). Version 1.7 still has it. I feel disappointed that something so basic hasn't been resolved. One can not use anchors and class History together, unless they don't care about IE users, which still the majority. http://code.google.com/p/google-web-toolkit/issues/detail?id=1730q=history Wilson On Dec 28, 4:46 pm, compuroad wilson.ferreira...@gmail.com wrote: Thanks for the advise. I did try some variations of the your suggestions. But I still get the App reload if the History.newitem() is called anywhere (with or without the boolean flag). One point I did not make clear: I am using the Anchor class to navigate (for example): //this triggers reload any I click on it. It does navigate momentarily to the login page and then reloads. private static Anchor ancLogin = new Anchor(Login,#Login#); //this triggers reload once upon the anchor's click event and then behaves as expected. Thus I need to click on the login anchor twice to get to the login page. private static Anchor ancLogin = new Anchor(Login,? page=Login#Login#); This behavior is found on the gwt hosted mode (port 8080) and also on IE. I did not try with FireFox yet. Below is the class responsible for building the anchors: import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.Anchor; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.RootPanel; public class TopLinks implements ClickHandler { private static CerradoConstants constants = null; //top links private static Anchor ancHome = new Anchor(Home,#index#); private static Anchor ancAbout = new Anchor(About Us,#aboutUs#); //private static Anchor ancBoom = new Anchor(The Brazilian Boom,?page=boom#boom#); private static Anchor ancBoom = new Anchor(The Brazilian Boom,#boom#); private static Anchor ancHowStarted = new Anchor(How It All Started,#howStarted#); //user stuff private static Anchor ancAccount = new Anchor(Create Account,#Account#); //this is the key to make history work private static Anchor ancLogin = new Anchor(Login,? page=Login#Login#); private static Anchor ancLogout = new Anchor (Logout,#Logout#); private Controller controller = null; public TopLinks(Controller controller, CerradoConstants constants){ this.constants = constants; this.controller = controller; ancHome.addClickHandler(this); ancAbout.addClickHandler(this); ancBoom.addClickHandler(this); ancHowStarted.addClickHandler(this); ancAccount.addClickHandler(this); ancLogin.addClickHandler(this); ancLogout.addClickHandler(this); ancHome.setStyleName(gwt-Top-Anchor); ancAbout.setStyleName(gwt-Top- Anchor); ancBoom.setStyleName(gwt-Top-Anchor); ancHowStarted.setStyleName(gwt-Top-Anchor); ancAccount.setStyleName(gwt-Top-Anchor); ancLogout.setStyleName(gwt-Top-Anchor); ancLogin.setStyleName(gwt-Top-Anchor); } public void show(){ RootPanel.get(links).clear(); RootPanel.get(links).add(ancHome); RootPanel.get(links).add(ancAbout); RootPanel.get(links).add(ancBoom); RootPanel.get(links).add(ancHowStarted); setLoginAnchor(false); } private void setLoginAnchor(boolean startUp){ if (controller.getData().getUser() == null){ RootPanel.get(links).add(ancAccount); RootPanel.get(links).add(ancLogin); }else{ Window.alert(controller.getData().getUser ().getLastName()); RootPanel.get(links).add(ancLogout);
Re: Can't load the same module twice???
Why would you want to run it twice? What effect are you trying to produce? Ian http://examples.roughian.com 2009/12/30 lineman78 linema...@gmail.com Can someone please tell me if it is possible to load the same module twice. If so, how? I have tried including the script tag twice, which used to work in older versions of gwt, but no longer works. I was thinking that once it is loaded you could call the onModuleLoad function manually, but cannot find how that would work. Another thing I noticed is that if you do include the script tag twice, it writes the code to the dom twice, but it is only executed once. If it is by design that you can only run a module once by including the script tag, maybe this ought to be prevented. I also tried using the cross site linker, which is what i believe i used before to get this to work. module define-linker name=xs class=com.google.gwt.core.linker.XSLinker/ add-linker name=xs/ inherits name=com.google.gwt.user.User / source path=client / define-property values=hello,goodbye,default name=alerter / property-provider name=alerter ![CDATA[ var alerter = $wnd.gwttester_alerter; if (alerter == null){ alerter = default; } return alerter; ]] /property-provider replace-with class=com.gwt.client.alert.impl.HelloAlerter when-type-is class=com.gwt.client.alert.Alerter / when-property-is name=alerter value=hello / /replace-with replace-with class=com.gwt.client.alert.impl.GoodbyeAlerter when-type-is class=com.gwt.client.alert.Alerter / when-property-is name=alerter value=goodbye / /replace-with replace-with class=com.gwt.client.alert.impl.DefaultAlerter when-type-is class=com.gwt.client.alert.Alerter / when-property-is name=alerter value=default / /replace-with entry-point class=com.gwt.client.GWTClient/entry-point /module html head meta http-equiv=content-type content=text/html; charset=UTF-8 titleindex/title /head body div script type=text/javascriptvar gwttester_alerter = 'hello';/ script script type=text/javascript language=javascript src=com.gwt.GWTTester.nocache.js/ /div div script type=text/javascriptvar gwttester_alerter = 'goodbye';/ script script type=text/javascript language=javascript src=com.gwt.GWTTester.nocache.js/ /div /body /html -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Possible bug or maybe I don't understand. Window.alert() and onResponseReceived
You have a method with the Window.alert(anything) in it. Where do you call that from? Is that called from the onSuccess method? Or from the sendRequest method? Need to see the relevant code, really, but I suspect you call it after the sendRequest and not via the onSuccess(). Ian http://examples.roughian.com -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Page back color
No, you just need to add your CSS file as an entry in the gwt.xml file but after the inherits name='com.google.gwt.user.theme.standard.Standard' / line. That way it gets added after, and it will override the 'standard' file. Ian http://examples.roughian.com 2009/12/27 ALEXEI BARBONI alexeitel...@gmail.com All right Ian I just comented the line inherits name='com.google.gwt.user.theme.standard.Standard' / in my gwt.xml and the properties of my body in my CSS file are working But I lost missed all the formats of the page, that, I guess, are in the inherits name='com.google.gwt.user.theme.standard.Standard' / I will have to set it all in my CSS file now... Am I right? Thanks a lot 2009/12/22 Ian Bambury ianbamb...@gmail.com Thing is, if you set the style name to MyStyleName then there is no corresponding .MyStyleName in the GWT styles to override it. There is a body{} in there though and if you are including your style sheet from the html file (say with a link) then it will get overridden by the GWT style sheet which is included (later) from the gwt.xml file. For example, the standard GWT css file has background: #ffc; for the body. Two things: 1) Are you including your css from the html file? 2) Does your gwt.xml file include a GWT style sheet e.g.inherits name='com.google.gwt.user.theme.standard.Standard'/ ? Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI alexeitel...@gmail.com Hi Ian My CSS file works fine. I mean, every widget that i put setStyleName takes all properties that are in my CSS file. I need to know where do I set the properties for the hole page. Uselly I put inside body { } in my CSS file. But in my GWT project it does not work... 2009/12/22 Ian Bambury ianbamb...@gmail.com Do you have some kind of GWT style overriding it? Have a look in your project gwt.xml file. If you are adding css in the html host page, the it will be overridden by that. Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI alexeitel...@gmail.com And now I see that nothing that is inside my body css (like margin, font, etc) works... Where do I set properties for my hole page thanks 2009/12/22 Alexei Telles alexeitel...@gmail.com Hi guys, I am trying to change the back color of my page, but I can't do that.. I tried by CSS body { background-color: #f1f2f3; } and setting the bgcolor property of the body tag in my HTML file: body bgcolor=#f1f2f3 /body It's not working. Any help? Thanks again -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options
Re: Can't figure out how to edit a Grid's border
You probably need to set border-collapse:collapse in a css file (or borderCollapse if doing it in the Java) Ian http://examples.roughian.com 2009/12/29 spierce7 spier...@gmail.com Alright, so I'm not sure how to properly figure out how to do this. I've been trying to figure out how to do it for a few hours now without much luck. I've tried playing with some CSS settings, and then using the grid.setBorderWidth() method, but nothing seems to work. The space in-between the cells that I'm working with (the best way I can describe it is the grid of the grid). I'm not 100% which I want, but I need a way to make that space go completely away, or make it another color. I can't figure out how to edit that space. I can make the space bigger with the setBorderWidth() method, but I can't make it go away. Any help is appreciated. 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 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Possible bug or maybe I don't understand. Window.alert() and onResponseReceived
You can't fire off an async request to the server and expect to be able to use the result immediately. Move the code you have after the RPC or RequestBuilder call into the onSuccess method of the callback. Ian http://examples.roughian.com 2009/12/25 MaEcTPo olegik...@gmail.com I have a problem. I have a variable on my class: public ArrayListHashMapString,String statuses = new ArrayListHashMapString,String(); and I have a method, which populates this variable from JSON. So, after populating I try to use it, but it is empty. But, If I use Window.alert(something) before, I'll receive in this variable what I want. For example, this part of code write to GWT.log: int statusesSize = statuses.size(); GWT.log(statusesSize: + statusesSize, null); Window.alert( + statusesSize); int statusesSize2 = statuses.size(); GWT.log(statusesSize2: + statusesSize2, null); 12:58:25.541 [INFO] [mythirdgwt2] statusesSize: 0 12:58:49.864 [INFO] [mythirdgwt2] statusesSize2: 4 Why it happens? How can I fix it? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 Panels
Actually, they do try to help, anything with a dash/hyphen in it they flag up (e.g. 'border-left'). float/cssFloat is it something that catches a lot of people out (myself included, which is why it sticks in my mind). It isn't really practicable to include a check for everything. Everything you do in Java code needs camelCase/DOM-style (e.g. 'borderLeft') Condiments of the season to you, too :-) Ian http://examples.roughian.com OK, thanks very much, that helps. I wish that the GWT pages would reference the correct css details (an example would do wonders if anyone from google listening). Merry Christmas, Mark On Dec 23, 11:27 am, Ian Bambury ianbamb...@gmail.com wrote: You can't use CSS file syntax you have to use DOM style (i.e. 'cssFloat' not 'float'). Try something like: FlowPanel searchPanel = new FlowPanel(); Label leftPanel = new Label(Left); // Or whatever Label rightPanel = new Label(Right); RootPanel.get().add(searchPanel); searchPanel.add(leftPanel); searchPanel.add(rightPanel); searchPanel.setWidth(100%); searchPanel.getElement().getStyle().setProperty(border, 1px solid black); leftPanel.getElement().getStyle().setProperty(cssFloat, left); rightPanel.getElement().getStyle().setProperty(cssFloat, right); Ian http://examples.roughian.com 2009/12/23 mwaschkowski mwaschkow...@gmail.com Hi, I've been having great difficulty with 2.0 panels. I've read over the docs at: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html and moved over to standards mode. I've found that a lot of widget that used to display scrollbars just don't anymore. I've tried using the new layoutpanels, but getting hung up now because of sizing issues - I now have to declare the sizes explicitly, and now there are layout issues (some of the page not being displayed depending on the browser). Well, first off, I decided to do something simple like replace my horizontal panel with a flow panel. This horizontal panel (hp) was 100% width, had a widget on the left and a widget on the right. Because the docs cautioned that HorizontalPanels might not work with standards mode, I did the following (using the float suggestion in the docs): FlowPanel searchPanel = new FlowPanel(); DOM.setElementProperty(searchPanel.getElement(), border, 1px solid black); searchPanel.setWidth(100%); searchPanel.add(leftPanel); DOM.setElementProperty(leftPanel.getElement(), float, left); searchPanel.add(rightPanel); DOM.setElementProperty(rightPanel.getElement(), float, right); As well, I tried to add a border so I could better see the layout. Neither the border is working, nor the floating of the widgets, help! Thanks, Mark -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Developer Plugin not working IE8
Have you tried running regsvr32.exe C:\Users\Ian\AppData\Local\Google\Google Web Toolkit\Developer Plugin\IE\oophm.dll replacing Ian with your user name? Ian http://examples.roughian.com 2009/12/23 googelybear googelyb...@gmail.com works for me in 64bit win 2003 server with 32bit IE8. But only when logged in as Administrator. When trying to install as as normal user with run as Adminsitrator it gets sucessfully installed but the page still thinks the plugin is not installed. Any ideas? On Dec 15, 3:20 pm, Chad chad...@gmail.com wrote: I run Vista 64 bit and I have the debugger plug-in for both FF and IE8. I'm not having any problems with it. ForIE, it only works in IE8 32 bit, not IE8 64 bit. But it is on a 64 bit OS. HTH, Chad On Dec 15, 3:26 pm, Sekhar Ravinutala sek...@allurefx.com wrote: But you didn't try Vista 64, which is where we're having trouble. If you have access to that OS, could you check? On Tue, Dec 15, 2009 at 1:21 PM, Sorinel C scristescu...@hotmail.com wrote: I've tried on all OS, vista-x86, windows7-x64, xp-x86 ... and it's working fine, better than chrome :) download it from here: http://ui-programming.blogspot.com/2009/12/update-your-application-to... and have fun! Cheers. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- AllureFX LLChttp://www.allurefx.com- Hide quoted text - - Show quoted text - -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Developer Plugin not working IE8
See issue 4358 http://code.google.com/p/google-web-toolkit/issues/detail?id=4358 http://code.google.com/p/google-web-toolkit/issues/detail?id=4358 Ian http://examples.roughian.com 2009/12/23 googelybear googelyb...@gmail.com It seems that when I select Run as Administrator the plugin gets installed into the administrator's app data directory. when I manually copy the oophm.dll file to my home directory and issue the suggested command (regsrv32.exe path to dll) I got it running. It this a bug or a feature? Is there a proper solution for this? thanks! On Dec 23, 5:40 am, Ian Bambury ianbamb...@gmail.com wrote: Have you tried running regsvr32.exe C:\Users\Ian\AppData\Local\Google\Google Web Toolkit\Developer Plugin\IE\oophm.dll replacing Ian with your user name? Ian http://examples.roughian.com 2009/12/23 googelybear googelyb...@gmail.com works for me in 64bit win 2003 server with 32bit IE8. But only when logged in as Administrator. When trying to install as as normal user with run as Adminsitrator it gets sucessfully installed but the page still thinks the plugin is not installed. Any ideas? On Dec 15, 3:20 pm, Chad chad...@gmail.com wrote: I run Vista 64 bit and I have the debugger plug-in for both FF and IE8. I'm not having any problems with it. ForIE, it only works in IE8 32 bit, not IE8 64 bit. But it is on a 64 bit OS. HTH, Chad On Dec 15, 3:26 pm, Sekhar Ravinutala sek...@allurefx.com wrote: But you didn't try Vista 64, which is where we're having trouble. If you have access to that OS, could you check? On Tue, Dec 15, 2009 at 1:21 PM, Sorinel C scristescu...@hotmail.com wrote: I've tried on all OS, vista-x86, windows7-x64, xp-x86 ... and it's working fine, better than chrome :) download it from here: http://ui-programming.blogspot.com/2009/12/update-your-application-to. .. and have fun! Cheers. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- AllureFX LLChttp://www.allurefx.com-Hide quoted text - - Show quoted text - -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 Panels
You can't use CSS file syntax you have to use DOM style (i.e. 'cssFloat' not 'float'). Try something like: FlowPanel searchPanel = new FlowPanel(); Label leftPanel = new Label(Left); // Or whatever Label rightPanel = new Label(Right); RootPanel.get().add(searchPanel); searchPanel.add(leftPanel); searchPanel.add(rightPanel); searchPanel.setWidth(100%); searchPanel.getElement().getStyle().setProperty(border, 1px solid black); leftPanel.getElement().getStyle().setProperty(cssFloat, left); rightPanel.getElement().getStyle().setProperty(cssFloat, right); Ian http://examples.roughian.com 2009/12/23 mwaschkowski mwaschkow...@gmail.com Hi, I've been having great difficulty with 2.0 panels. I've read over the docs at: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html and moved over to standards mode. I've found that a lot of widget that used to display scrollbars just don't anymore. I've tried using the new layoutpanels, but getting hung up now because of sizing issues - I now have to declare the sizes explicitly, and now there are layout issues (some of the page not being displayed depending on the browser). Well, first off, I decided to do something simple like replace my horizontal panel with a flow panel. This horizontal panel (hp) was 100% width, had a widget on the left and a widget on the right. Because the docs cautioned that HorizontalPanels might not work with standards mode, I did the following (using the float suggestion in the docs): FlowPanel searchPanel = new FlowPanel(); DOM.setElementProperty(searchPanel.getElement(), border, 1px solid black); searchPanel.setWidth(100%); searchPanel.add(leftPanel); DOM.setElementProperty(leftPanel.getElement(), float, left); searchPanel.add(rightPanel); DOM.setElementProperty(rightPanel.getElement(), float, right); As well, I tried to add a border so I could better see the layout. Neither the border is working, nor the floating of the widgets, help! Thanks, Mark -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Page back color
Do you have some kind of GWT style overriding it? Have a look in your project gwt.xml file. If you are adding css in the html host page, the it will be overridden by that. Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI alexeitel...@gmail.com And now I see that nothing that is inside my body css (like margin, font, etc) works... Where do I set properties for my hole page thanks 2009/12/22 Alexei Telles alexeitel...@gmail.com Hi guys, I am trying to change the back color of my page, but I can't do that.. I tried by CSS body { background-color: #f1f2f3; } and setting the bgcolor property of the body tag in my HTML file: body bgcolor=#f1f2f3 /body It's not working. Any help? Thanks again -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Page back color
Thing is, if you set the style name to MyStyleName then there is no corresponding .MyStyleName in the GWT styles to override it. There is a body{} in there though and if you are including your style sheet from the html file (say with a link) then it will get overridden by the GWT style sheet which is included (later) from the gwt.xml file. For example, the standard GWT css file has background: #ffc; for the body. Two things: 1) Are you including your css from the html file? 2) Does your gwt.xml file include a GWT style sheet e.g.inherits name='com.google.gwt.user.theme.standard.Standard'/ ? Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI alexeitel...@gmail.com Hi Ian My CSS file works fine. I mean, every widget that i put setStyleName takes all properties that are in my CSS file. I need to know where do I set the properties for the hole page. Uselly I put inside body { } in my CSS file. But in my GWT project it does not work... 2009/12/22 Ian Bambury ianbamb...@gmail.com Do you have some kind of GWT style overriding it? Have a look in your project gwt.xml file. If you are adding css in the html host page, the it will be overridden by that. Ian http://examples.roughian.com 2009/12/22 ALEXEI BARBONI alexeitel...@gmail.com And now I see that nothing that is inside my body css (like margin, font, etc) works... Where do I set properties for my hole page thanks 2009/12/22 Alexei Telles alexeitel...@gmail.com Hi guys, I am trying to change the back color of my page, but I can't do that.. I tried by CSS body { background-color: #f1f2f3; } and setting the bgcolor property of the body tag in my HTML file: body bgcolor=#f1f2f3 /body It's not working. Any help? Thanks again -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: import wildcards
If you are using Eclipse, you can import with a wildcard, then press CTRL+SHIFT+O (to [O]rganise the imports and give you only what you need) Ian http://examples.roughian.com 2009/12/21 Isaac Truett itru...@gmail.com No, it doesn't change the compiler output. Wildcard imports are considered to be a poor coding practice by many Java developers. On Mon, Dec 21, 2009 at 10:39 AM, S Frazier shon.fraz...@gmail.com wrote: The StockWatcher tutorial has me adding imports for each and every class that it needs to use without explaining whether there's a reason for not just using wildcards. Importing with import com.google.gwt.user.client.ui.*; would seem to be more expedient, but does the compiler naively add more [unused] junk to the final JavaScript? Thanks, --Shon -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: begin with GWT
A GWT application is a web application. So that's easy :-) Any time you open a new tab in a browser, or a tab in another browser, you get a new copy of the application. This new copy has no connection with any other copy that is running (unless you design it, say, to use cookies for some reason to hold state for the next time the user goes to your site). Nothing you do in one window will affect what happens in another tab or browser. The server just provides services ad hoc to anything that asks for them, you don't keep state on the server so you don't need sessions, for example. The server doesn't know or care where the requests for services come from, it just supplies the data. If you had a shopping cart, you can keep all the selected items on the client. If the user wants to delete an item, you do it on the client and don't bother the server. If the user wants to look at the details of another product, you get the information from the server. If they decide to buy, you don't go back to the server, you just add it to the list kept in the client. If the user has two copies of the site open, adding an item in one tab doesn't affect the contents of the cart in the other tab. If the user closes one tab, everything in that cart is lost. Everything in the other cart is still there. You can alter this behaviour but you would have to actively code for it. Hope that makes sense. Ian http://examples.roughian.com 2009/12/18 zizou84 arous.ri...@gmail.com hi i began with gwt and i had a difficulty to understand this expression: In GWT, all state is purely client-side. A GWT application could be opened multiple times in multiple browsers, and each window would essentially have its own instantiation of the application. Hence each window could be in any state the user wishes, and there is no state conflict. More, the server need not even be aware of the number of client windows that are open; each window communicates with largely stateless server services, and the server is not tasked with tracking more state due to more interactions with a single client. what does mean : A GWT application could be opened multiple times in multiple browsers, and each window would essentially have its own instantiation of the application and what is the difference in this point between a GWT application and a web application -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE Development plugin not working in 64-bit vista.
It doesn't work in 32-bit for me. First mentioned (AFAIK) 15th Oct http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5315a07a0d452943 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5315a07a0d452943Then again in this thread on the 24th Oct http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c5125471e0d956ba http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c5125471e0d956baAnd again in the same thread 21st Nov There may be others. Ian http://examples.roughian.com 2009/12/15 Chris Ramsdale cramsd...@google.com Trevis, Just to confirm what you are experiencing, the IE Developer Plugin will only install/work on 32 bit Windows systems. We'll let everyone know when we have a version that will run on 64 bit systems. Thanks... - Chris On Tue, Dec 15, 2009 at 9:22 AM, Trevis trevistho...@gmail.com wrote: I decided to create a new, more descriptive conversation. It seems as though the IE development plugin does not install properly in 64 bit vista. Is this issue being addressed? Does. Anyone have a better work around than remoting into a 32 bit system? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE Development plugin not working in 64-bit vista.
Have done. regsvr32.exe oophm.dll did nothing except produce a 'not found' message. However, searching for the dll and running regsvr32.exe C:\Users\Ian\AppData\Local\Google\Google Web Toolkit\Developer Plugin\IE\oophm.dll seems to have fixed it. With that setup, I'm not surprised it didn't work before :-) HTH Ian http://examples.roughian.com 2009/12/15 Chris Ramsdale cramsd...@google.com There are several threads going on in regards to this, which is exasperating the issue even more. I've created a central issue to track further information and resolution. http://code.google.com/p/google-web-toolkit/issues/detail?id=4358 @Ian, would you mind responding to my questions that I've added within the comments section? These same questions can be found in my follow-up on 12/10 herehttp://groups.google.com/group/google-web-toolkit/browse_thread/thread/dc78259de32b4e9c/df787a10ecb58bf1 : http://groups.google.com/group/google-web-toolkit/browse_thread/thread/dc78259de32b4e9c/df787a10ecb58bf1 - Chris On Tue, Dec 15, 2009 at 10:43 AM, Ian Bambury ianbamb...@gmail.comwrote: It doesn't work in 32-bit for me. First mentioned (AFAIK) 15th Oct http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5315a07a0d452943 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/5315a07a0d452943Then again in this thread on the 24th Oct http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c5125471e0d956ba http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c5125471e0d956baAnd again in the same thread 21st Nov There may be others. Ian http://examples.roughian.com 2009/12/15 Chris Ramsdale cramsd...@google.com Trevis, Just to confirm what you are experiencing, the IE Developer Plugin will only install/work on 32 bit Windows systems. We'll let everyone know when we have a version that will run on 64 bit systems. Thanks... - Chris On Tue, Dec 15, 2009 at 9:22 AM, Trevis trevistho...@gmail.com wrote: I decided to create a new, more descriptive conversation. It seems as though the IE development plugin does not install properly in 64 bit vista. Is this issue being addressed? Does. Anyone have a better work around than remoting into a 32 bit system? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Timer in GWT?
Use the GWT timer Ian http://examples.roughian.com 2009/12/14 Dennis Madsen den...@demaweb.dk I'm trying to have a Java Timer in my EntryPoint: Timer timer = new Timer(); timer.schedule( new TimerTask() { public void run() { //some code } } , 5000); But when trying to compile this I got: No source code is available for type java.util.Timer; did you forget to inherit a required module? No source code is available for type java.util.TimerTask; did you forget to inherit a required module? What to do? -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.