Re: Trying to build workaround for errorL The import com.google.appengine cannot be resolved
You cann't use appengine API in gwt client code. You must use jdo annotation on your pojo with simple attributes. On 2 déc, 19:49, etsauer etsa...@gmail.com wrote: Hi, I am new to GWT. I was getting an error in my code when trying to use JDO to store data. The import com.google.appengine cannot be resolved The object I am trying to store uses the appengine User object. I searched around and found this article http://fredsa.allen-sauer.com/2009/04/1st-look-at-app-engine-using-jd... with a workaround for using the datastore Key object and tried to follow that to fix my problem. But now when I try to launch hosted mode, it just crashes and in the debug tab in Eclipse i get the following message: terminated, exit value: 2C:\Program Files (x86)\Java\jre6\bin \javaw.exe (Dec 2, 2009 12:25:20 PM) Can anyone tell me what I can do to find out why hosted mode is terminating? Thanks, Eric -- 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.
com.google.gwt.user.theme.standard.Standard messes up my page
com.google.gwt.user.theme.standard.Standard is messing up my page because I am including the html page into another page (not through an iframe). Is there a way to apply this to the DIV only? -- 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 it possible to seamlessly display an ajax spinner for every GWT RPC call?
Hi, interesting question and answer, could please Mohamed make a GWT example of what you mean? Thanks! On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com wrote: When I mean decorator, I meant to follow the decorator pattern:http://en.wikipedia.org/wiki/Decorator_pattern On Dec 2, 11:53 pm, Mohamed Mansour m0.interact...@gmail.com wrote: Why wont you implement a decorator interface that will decorate your RPC calls? That way you can always hide/show your spinner icon for each call without affecting your RPC code. On Dec 2, 9:39 pm, tin tin.pavli...@gmail.com wrote: Hi everyone, I have a GWT application that uses RPC calls heavily. I would like to display a spinner icon whenever a call is in progress. It is easy enough to display the icon, but I want to do it seamlessly in one place so I don't have to explicitly hide and show the icon for each call. I guess I am looking for something similar to jQuery's ajaxStart and ajaxStop events. Has anyone done something like this before? Cheers, Tin -- 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 Label widget chose to use div instead of label?
Maybe Label widget generate div to a better compatibility with ie6 ?? Maybe.. On 3 déc, 04:56, Yozons Support on Gmail yoz...@gmail.com wrote: I forgot the methods for setting the for attribute id! I used the setHtmlFor() method name to match the dom LabelElement class (my own pref would have been setFor(id)). /** * Sets the attribute for on the label tag to be the specified id. * @param id the String id to use. */ public void setHtmlFor( String id ) { ((LabelElement)getElement().cast()).setHtmlFor(id); } /** * Sets the attribute for on the label tag to be the id of the specified widget. * @param forWidget the Widget that should have an id. Note that if forWidget does not have * an id, both it and the label for will be set to a unique id. */ public void setHtmlFor( Widget forWidget ) { assert forWidget != null; String wid = forWidget.getElement().getId(); if ( wid == null || .equals(wid) ) { wid = DOM.createUniqueId(); forWidget.getElement().setId(wid); } setHtmlFor(wid); } -- 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 it possible to seamlessly display an ajax spinner for every GWT RPC call?
I guess I could have a decorator class for every async service interface I use but that seems incredibly tedious and repetitive. I have quite a few RPC services already and will have many more as the project grows. I guess the other option is to try to generate decorator classes via deferred binding. This seems like a pretty big deal though. Are there existing libraries which would allow me to do this? On Dec 3, 9:34 pm, Cristiano cristiano.costant...@gmail.com wrote: Hi, interesting question and answer, could please Mohamed make a GWT example of what you mean? Thanks! On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com wrote: When I mean decorator, I meant to follow the decorator pattern:http://en.wikipedia.org/wiki/Decorator_pattern On Dec 2, 11:53 pm, Mohamed Mansour m0.interact...@gmail.com wrote: Why wont you implement a decorator interface that will decorate your RPC calls? That way you can always hide/show your spinner icon for each call without affecting your RPC code. On Dec 2, 9:39 pm, tin tin.pavli...@gmail.com wrote: Hi everyone, I have a GWT application that uses RPC calls heavily. I would like to display a spinner icon whenever a call is in progress. It is easy enough to display the icon, but I want to do it seamlessly in one place so I don't have to explicitly hide and show the icon for each call. I guess I am looking for something similar to jQuery's ajaxStart and ajaxStop events. Has anyone done something like this before? Cheers, Tin -- 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 1.7 public folder location
On Dec 3, 7:01 am, jax jackma...@gmail.com wrote: I am running 1.7 and after some reading online people keep referencing the public folder. I don't have a public folder in my project...am I meant to? Has GWT changed the public folder? I only have com.example.myapp com.example.myapp.client com.example.myapp.server Have a look at http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html Note that since 1.6, despite the new project structure, you can still have a public folder, and it still has its utility (have a look at the themes modules, such as com.google.gwt.user.theme.standard.Standard). Be careful of the online resources, always have a look at the date they've been written/updated. -- 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.
New Widget: Window Panel (minimize, maximize/restore, close, resize)
Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. Thank's 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
New Widget: Window Panel (minimize, maximize/restore, close, resize)
Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Full GWT Website with MS SQL Server 2008
Hello Everyone, Please visit this thread if you're interested in a new widget i have built called WindowPanel. http://groups.google.com/group/google-web-toolkit/browse_thread/thread/1053a03dee716aa1# This new widget extends DialogBox and contains no JSNI code. it has 4 functionalities: mionimize, maximize/restore, close, and resize. On Nov 27, 11:37 pm, Joe joechahh...@gmail.com wrote: Hi Christian, thank's for your post, I just want to make a point that i didn't find history management useful or usable here as i don't have pages and the website consists of searching for a property either by type or by location and you get a popup result with all the data available. But sure history management is a great and important section in GWT. Second, as for the animation, sure it is not yet optimized as you know it's a timer and the more resources (RAM and CPU) this slideshow takes, the more smoothness you get. Sure the timing, the delay, the speed, the number of the images and the amount of pixels each image slides, all of this can be optimized. Hopefully we will work on this in the future, but the client had to get this website online soon, they had an exposition. Thank's again for your comment and I'm glad you like it. Regards, Joe On Nov 26, 5:45 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: Nice work. Two things I have to say from my fast visit, but that's two thing you probaly already know. 1- History Management 2- Your animation. I have done something more smooth than that, so I assume that it's an incomplete work ? We see the desapearance and it's not smooth at all. Really nice work again ! Christian On Thu, Nov 26, 2009 at 10:13 AM, Joe joechahh...@gmail.com wrote: Thank you Siegfried, I always appreciate good feedback! On Nov 26, 11:25 am, gwtfanb0y siegfried.b...@googlemail.com wrote: Very nice work! On 24 Nov., 14:19, Joe joechahh...@gmail.com wrote: Hello Everyone, Please check this website and any comments or reviews are welcomed! http://www.property.com.lb A Website fully developed in GWT and connected to MS SQL Server 2008 -- 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%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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Why Label widget chose to use div instead of label?
On Dec 3, 4:45 am, Open eSignForms yoz...@gmail.com wrote: Does anybody know the history as to why GWT's Label widget uses a div instead of a label tag? Probably because the Label widget is only for showing some text, not necessarily label an input widget (such as a TextBox). I also think GWT has not a really good history regarding accessibility (feel free to disagree with me) The label tag allows the label to be tied to another element, such as the input tag, for accessibility, yet that seems lost with the Label widget. GWT is hiding HTML, the DOM, etc. from developers (when using widgets' high level APIs), so that developers don't depend on widgets internals. For instance, there's no method for setting a widget's ID, you have to getElement().setId(myId); but there's a method for setting IDs for debugging purposes (ensureDebugId). This means that if GWT had such a widget, it'd probably have a setLabeledControl(...) method (to have a friendly API); which means that: - the NewLabel widget would have to create the ID of the labeled control, which means it'd break as soon as ensureDebugId is called on the labeled control - the link between NewLabel and its labeled control would break as soon as the labeled control's ID is changed, which breaks the assumption that the link is between the widgets (you passed a Widget to setLabeledControl, not an ID) - because per the HTML spec [1,2], the for= attribute references a control [3,4], setLabeledControl would have to check the widget argument for being labelable. It'd better be done at compile time than runtime, which would mean constraining the use of NewLabel to labeling known widgets: TextBox (PasswordTextBox extends TextBox), ListBox, TextArea, Button, FileUpload, SimpleCheckBox (SimpleRadioButton extends SimpleCheckBox); which rules out user- defined widgets, even if they use a labelable DOM element (well, eventually, there could be a Labelable interface, but implementing it wouldn't be enough for the NewLabel to work) [1] http://www.w3.org/TR/html4/interact/forms.html#adef-for [2] http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#attr-label-for [3] http://www.w3.org/TR/html4/interact/forms.html#h-17.2 [4] http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#category-label If you were to have a setLabeledControlID(String) instead of setLabeledControl(Widget), it'd mean you expect people to use the lower-level getElement().setId(...) method of the labeled widget, which also means they are aware that it can play quite badly with ensureDebugId. Providing a high-level API (NewLabel widget and its setLabeledControlID method) that requires users to use low-level APIs in other widgets in order to use it, looks weird. I think GWT doesn't include such a widget for all these reasons. If you want such a widget, you have to know the implications, i.e. know GWT's internals, which means you are capable of writing the widget yourself. If GWT provided such a widget, expect a high number of bug reports, just because people do not understand the implications, which means incidentally much (too much) time spent on fixing the widget to make it reliably work in almost all situations. Seems like Label was a misnomer and should have been called Text to parallel HTML. Many widgets in other toolkits are called label without the associated meaning of being associated with a control; for instance java.awt.Label: http://java.sun.com/javase/6/docs/api/java/awt/Label.html As for myself, I essentially copied the GWT Label widget source to make my own Label that creates a label instead. As for myself, I'm now using UiBinder, so the label is in the *.ui.xml and if the labeled control has to be a widget, then in my Java code I assign the labeled widget's ID and the label for= to the same createUniqueID() value. You can search the GWT-C archives for a proposal to better handle this in UiBinder; I also have a proposal (as a private Wave), but I'm waiting for 2.0 to be released to make it public and actually discuss 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Good Jod Joe ;)...but the resize is not working properly...Anyways this is a good start. after you finish it try to build a window manager :D On Thu, Dec 3, 2009 at 12:02 PM, Joe joechahh...@gmail.com wrote: Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's 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.
how about compressing css?
when using GWT together with 3rd party libs, you sometimes get really huge css files. would it be possible to use some mechanism like the i18n constants for css classes and styles, so that the css-classnames could be shortened/ obfuscated? Not only would it decrease filesize (like zipping the response), we could use interfaces to refer to the css-style names and thus gain compile time checks. any thoughts? -- 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.
Pure GWT Website
Hello there, Can you please check the following website http://beta.mtv.com.lb/ This is done using GWT+third party libraries like gwt2swf, gwt_Facebook_Connect... I wanna check how fast it is to load and stream live comments on your side. I have hosted the website over a cloud server to test it in case i wanna revert the live comments to live chat. I am building a web protal for a tv station and might need some suggestion/feedback from you guys. regards, ruds -- 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: Full GWT Website with MS SQL Server 2008
Hi, great, keep going. There is one thing i need to know, how did you customize this tab panel. I was trying to do the same tab bars but no success with decorated panel. You may show sample code :) Regards. -- 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: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Good work ! but resizing is not working properly, resizing stops when I click again after releasing first click. Good luck. -- 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: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Hi Rudolph, yes the resize is not working properly yet. I just looked at the gwt window manager: http://www.gwtwindowmanager.org/ it's nice, a really good job, but it seemd to me that the resize problem they have is quite the same as mine, in dragging the corner. Anyway, i'll be working on it. As for the window manager thing, I will see what to do. By the way, have you checked the website I told you about? it's online already and I'm having good feedback, but you know, I'd like to hear yours :D you can find it on: http://www.property.com.lb On Dec 3, 12:12 pm, rudolf michael roud...@gmail.com wrote: Good Jod Joe ;)...but the resize is not working properly...Anyways this is a good start. after you finish it try to build a window manager :D On Thu, Dec 3, 2009 at 12:02 PM, Joe joechahh...@gmail.com wrote: Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's 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%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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Hi Prashant, thank's for your comment, yes this is true, it's not working correctly the widget is still in its early stage of development. Later enhacements will follow up and as Rudolph said, why not, building a window manager? On Dec 3, 12:24 pm, Joe joechahh...@gmail.com wrote: Hi Rudolph, yes the resize is not working properly yet. I just looked at the gwt window manager:http://www.gwtwindowmanager.org/ it's nice, a really good job, but it seemd to me that the resize problem they have is quite the same as mine, in dragging the corner. Anyway, i'll be working on it. As for the window manager thing, I will see what to do. By the way, have you checked the website I told you about? it's online already and I'm having good feedback, but you know, I'd like to hear yours :D you can find it on: http://www.property.com.lb On Dec 3, 12:12 pm, rudolf michael roud...@gmail.com wrote: Good Jod Joe ;)...but the resize is not working properly...Anyways this is a good start. after you finish it try to build a window manager :D On Thu, Dec 3, 2009 at 12:02 PM, Joe joechahh...@gmail.com wrote: Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's 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%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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Pure GWT Website
Hi, What video player are you using? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to 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: Pure GWT Website
JWPlayer On Thu, Dec 3, 2009 at 12:35 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: Hi, What video player are you using? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to 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: Full GWT Website with MS SQL Server 2008
Hi Mariyan, Thank's for your post, well, first, this is not a tab panel, unfortunately. The home page was designed in dreamweaver(HTML page) than the whole objects, I mean textboxes, images, listboxes, etc are removed, and replaced byt gwt widgets. So you go like: HTMLPanel homepage = new HTMLPanel(here you put your html code without the html widgets, but with IDs); then your create your widgets with styles width, etc ... then you call: homepage.add(widget, corresponding id in the html code); Hope this was helpful :) On Dec 3, 12:23 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, great, keep going. There is one thing i need to know, how did you customize this tab panel. I was trying to do the same tab bars but no success with decorated panel. You may show sample code :) Regards. -- 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: Pure GWT Website
Really nice job ! On Dec 3, 12:37 pm, rudolf michael roud...@gmail.com wrote: JWPlayer On Thu, Dec 3, 2009 at 12:35 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: Hi, What video player are you using? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Why Label widget chose to use div instead of label?
I also think GWT has not a really good history regarding accessibility. http://code.google.com/intl/fr-FR/webtoolkit/doc/1.6/DevGuideI18nAndA11y.html#DevGuideAccessibility On 3 déc, 11:04, Thomas Broyer t.bro...@gmail.com wrote: On Dec 3, 4:45 am, Open eSignForms yoz...@gmail.com wrote: Does anybody know the history as to why GWT's Label widget uses a div instead of a label tag? Probably because the Label widget is only for showing some text, not necessarily label an input widget (such as a TextBox). I also think GWT has not a really good history regarding accessibility (feel free to disagree with me) The label tag allows the label to be tied to another element, such as the input tag, for accessibility, yet that seems lost with the Label widget. GWT is hiding HTML, the DOM, etc. from developers (when using widgets' high level APIs), so that developers don't depend on widgets internals. For instance, there's no method for setting a widget's ID, you have to getElement().setId(myId); but there's a method for setting IDs for debugging purposes (ensureDebugId). This means that if GWT had such a widget, it'd probably have a setLabeledControl(...) method (to have a friendly API); which means that: - the NewLabel widget would have to create the ID of the labeled control, which means it'd break as soon as ensureDebugId is called on the labeled control - the link between NewLabel and its labeled control would break as soon as the labeled control's ID is changed, which breaks the assumption that the link is between the widgets (you passed a Widget to setLabeledControl, not an ID) - because per the HTML spec [1,2], the for= attribute references a control [3,4], setLabeledControl would have to check the widget argument for being labelable. It'd better be done at compile time than runtime, which would mean constraining the use of NewLabel to labeling known widgets: TextBox (PasswordTextBox extends TextBox), ListBox, TextArea, Button, FileUpload, SimpleCheckBox (SimpleRadioButton extends SimpleCheckBox); which rules out user- defined widgets, even if they use a labelable DOM element (well, eventually, there could be a Labelable interface, but implementing it wouldn't be enough for the NewLabel to work) [1]http://www.w3.org/TR/html4/interact/forms.html#adef-for [2]http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.htm... [3]http://www.w3.org/TR/html4/interact/forms.html#h-17.2 [4]http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.htm... If you were to have a setLabeledControlID(String) instead of setLabeledControl(Widget), it'd mean you expect people to use the lower-level getElement().setId(...) method of the labeled widget, which also means they are aware that it can play quite badly with ensureDebugId. Providing a high-level API (NewLabel widget and its setLabeledControlID method) that requires users to use low-level APIs in other widgets in order to use it, looks weird. I think GWT doesn't include such a widget for all these reasons. If you want such a widget, you have to know the implications, i.e. know GWT's internals, which means you are capable of writing the widget yourself. If GWT provided such a widget, expect a high number of bug reports, just because people do not understand the implications, which means incidentally much (too much) time spent on fixing the widget to make it reliably work in almost all situations. Seems like Label was a misnomer and should have been called Text to parallel HTML. Many widgets in other toolkits are called label without the associated meaning of being associated with a control; for instance java.awt.Label: http://java.sun.com/javase/6/docs/api/java/awt/Label.html As for myself, I essentially copied the GWT Label widget source to make my own Label that creates a label instead. As for myself, I'm now using UiBinder, so the label is in the *.ui.xml and if the labeled control has to be a widget, then in my Java code I assign the labeled widget's ID and the label for= to the same createUniqueID() value. You can search the GWT-C archives for a proposal to better handle this in UiBinder; I also have a proposal (as a private Wave), but I'm waiting for 2.0 to be released to make it public and actually discuss 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RC2 and Eclipse Plugin
Hi, Can someone please post a definitive procedure to get RC2 working? I have tried many different pieces of advice from many different threads and none have worked for me on my mac with Eclipse. 1 - Is it possible to use the Google Plugin's Web Application launch? 2 - Is it really necessary to install both RC1 and RC2 plugins Above each other? Thanks, John -- 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: RC2 and Eclipse Plugin
Also, 3 - If I must create a normal launch what parameters are required? 4 - What should my workspace be set to to run both GWT and App Engine? -- 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: RC2 and Eclipse Plugin
On Dec 3, 12:27 pm, jd jdpatter...@gmail.com wrote: Hi, Can someone please post a definitive procedure to get RC2 working? I have tried many different pieces of advice from many different threads and none have worked for me on my mac with Eclipse. 1 - Is it possible to use the Google Plugin's Web Application launch? Yes 2 - Is it really necessary to install both RC1 and RC2 plugins Above each other? No (I thought it was, from reading others' experience, so did I; but it didn't work for a coworker, so he installed only the RC2 plugin; he had to start from a blank workspace though) 3 - If I must create a normal launch what parameters are required? N/A (if you want to do it though, try passing nothing and it'll tell you what's missing ;-) ) 4 - What should my workspace be set to to run both GWT and App Engine? I don't use App Engine, so I can't answer that one. -- 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: RC2 and Eclipse Plugin
Thanks for the confirmation. I now have it working - _possibly_ my problem was due to not having a fresh workspace. Just for others reference this is what I did: Installed fresh Eclipse 3.5 and chosen a new workspace I have installed WST and then only Google Plugin RC2. I configured the Google preferences with both GWT 1.2RC2 and GAE1.6 and then imported my single existing project. I have created a Google Web Application launch and it kicks off Jetty. The Development Mode window inside Eclipse shows no URL's to launch but I use http://localhost:/?gwt.codesvr=localhost:9997 And it works!! Thanks again John -- 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: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Please visit these two websites, they were built with 100% pure GWT. - http://www.property.com.lb - http://www.beta.mtv.com.lb Feedback and comments are welcome, thank's in advance! On Dec 3, 12:28 pm, Joe joechahh...@gmail.com wrote: Hi Prashant, thank's for your comment, yes this is true, it's not working correctly the widget is still in its early stage of development. Later enhacements will follow up and as Rudolph said, why not, building a window manager? On Dec 3, 12:24 pm, Joe joechahh...@gmail.com wrote: Hi Rudolph, yes the resize is not working properly yet. I just looked at the gwt window manager:http://www.gwtwindowmanager.org/ it's nice, a really good job, but it seemd to me that the resize problem they have is quite the same as mine, in dragging the corner. Anyway, i'll be working on it. As for the window manager thing, I will see what to do. By the way, have you checked the website I told you about? it's online already and I'm having good feedback, but you know, I'd like to hear yours :D you can find it on: http://www.property.com.lb On Dec 3, 12:12 pm, rudolf michael roud...@gmail.com wrote: Good Jod Joe ;)...but the resize is not working properly...Anyways this is a good start. after you finish it try to build a window manager :D On Thu, Dec 3, 2009 at 12:02 PM, Joe joechahh...@gmail.com wrote: Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's 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%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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New Widget: Window Panel (minimize, maximize/restore, close, resize)
Please visit these two websites, they were built with 100% pure GWT. - http://www.property.com.lb - http://beta.mtv.com.lb Feedback and comments are welcome, thank's in advance! On Dec 3, 12:28 pm, Joe joechahh...@gmail.com wrote: Hi Prashant, thank's for your comment, yes this is true, it's not working correctly the widget is still in its early stage of development. Later enhacements will follow up and as Rudolph said, why not, building a window manager? On Dec 3, 12:24 pm, Joe joechahh...@gmail.com wrote: Hi Rudolph, yes the resize is not working properly yet. I just looked at the gwt window manager:http://www.gwtwindowmanager.org/ it's nice, a really good job, but it seemd to me that the resize problem they have is quite the same as mine, in dragging the corner. Anyway, i'll be working on it. As for the window manager thing, I will see what to do. By the way, have you checked the website I told you about? it's online already and I'm having good feedback, but you know, I'd like to hear yours :D you can find it on: http://www.property.com.lb On Dec 3, 12:12 pm, rudolf michael roud...@gmail.com wrote: Good Jod Joe ;)...but the resize is not working properly...Anyways this is a good start. after you finish it try to build a window manager :D On Thu, Dec 3, 2009 at 12:02 PM, Joe joechahh...@gmail.com wrote: Hello everyone, please check out this new widget I have built called: WindowPanel. It extends DialogBox widget and it contains no JSNI code. It has 4 functionalities: minimize, maximize/restore, close, and resize. Please note that the resize functionality is only from the bottom right corner of the window. Feedback, discussions, notes, and comments are always welcome. The WindowPanel widget exists on: http://property-leb.appspot.com/ Thank's 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%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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to run GWT 2.0 RC2's hosted mode with another server?
The idea was, to prevent the existences of 'war/*' in my GWT project. With the current stable version of the plugin and GWT 1.7.1 everything works well. So the problem is, that my GWT project does not have any server code and no host page or anything else. The current version works the following way: - GWT (Web App launch configuration) app is launched in hosted mode without the build in server. - Instead of a host page in the same project, the host page comes from an independent server. - The hosted browser loads the host page (from the specified URL), detects the existence of a GWT module (included as JavaScript) and replaces the JavaScript with the Java Code from the classpath. The interesting point is, that the text field to specify the URL is removed from the GWT tab in the web app launch configuration (plugin version for GWT 2.0 RC2). So the question is, how can I point the OOPHM to my host page's URL (on any server)? At least some words on what I'm currently doing in Eclipse 3.5 with the released version of the plugin and GWT 1.7.1: I've got a plain Java project and make a GWT project out of it by right click on the project - Google - WebToolkit Settings. In these GWT settings I check 'Use Google Web Toolkit' and then OK. This makes my Java project a GWT project. I create a new Web App launch configuration for this project, disable 'Run build in server' and on the GWT tab I insert my host pages URL (http://localhost:8080/my-app-which-runs-totaly-independent-on-a-tomcat). That's it. It works. Interestingly it's not required to specify any GWT module in any configuration so far. The presence of the module's XML configuration on the classpath and the presence of a previously compiled version of the module in the loaded HTML page is enough to tell hosted browser, what to do. The GWT Eclipse plugin doesn't even recognize the XML file since the included module isn't shown in any settings or configuration interface. But it works. Regards Jan Ehrhardt On Tue, Dec 1, 2009 at 5:03 PM, Chris Ramsdale cramsd...@google.com wrote: Based on the fact that the plugin is attempting to launch GWTShell, it may not recognize your app as a web app. This is typically the case when it doesn't find a war/WEB-INF/web.xml file in the project root. Can you confirm that this directory structure is in place? Also, what version of GWT and GPE were you using to previously build your application? On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt jan.ehrha...@googlemail.comwrote: I'm using the Web App launch configuration and the plugin version, which is linked on the GWT 2.0 RC2 wiki page http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC Regards Jan Ehrhardt On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.comwrote: As a follow-up, are you using Web App Launch configurations or regular Java launch configurations? Also would you mind checking which version of the Google Eclipse Plugin you have installed? You can do this via Help-Install New Software and clicking on the already installed link in the lower right hand corner. On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale cramsd...@google.comwrote: Jan, The -style argument has been removed when running in development mode (formerly hosted mode). It is now configurable via the UI or an Ant property when you compile your code. The UI settings are available by right clicking on the project name, selecting Google-GWT Compile. From the resulting view you will see options for Log level and Output style. In order to set the output style via Ant, add the following to your build.xml file under the gwtc target: arg value=-style/ arg value=PRETTY/ What other error are you seeing when specifying the codeServerPort? On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt jan.ehrha...@googlemail.com wrote: Hi, I'm currently looking how our existing project can be updated to GWT 2.0 when it's released, but I'm running into some trouble. We use Eclipse with the Google plugin and currently we've got one web project, which will be started as a web project running on an Eclipse server runtime. This runtime can be a Tomcat or a WebSphere. We've got another project, which contains the GWT stuff. Our GWT launch configuration is done with the following properties: - Run internal server is deselected - The GWT URL is pointed to 'http://localhost:8080/our-app' This worked well. We've to compile the GWT project once to JavaScript contained in the web project. We launch the Eclipse server runtime on ' http://localhost:8080/' and then we start our hosted browser. The hosted browser detects to module contained in the page ' http://localhost:8080/our-app' and replaces it with the stuff contained in our GWT project. Now I've installed GWT 2.0 RC2 and the required version of the plugin. I've changed the GWT SDK in the project properties. The first point was, that the text field for inserting my
Re: Is it possible to seamlessly display an ajax spinner for every GWT RPC call?
By using the MVP Pattern this scenario is prepared. Every Dispatch Call invokes a startProcessing-Method in the Display (View). After the Call a stopProcessing-Method is called. It's worth to take a look at it. On Dec 3, 10:19 am, tin tin.pavli...@gmail.com wrote: I guess I could have a decorator class for every async service interface I use but that seems incredibly tedious and repetitive. I have quite a few RPC services already and will have many more as the project grows. I guess the other option is to try to generate decorator classes via deferred binding. This seems like a pretty big deal though. Are there existing libraries which would allow me to do this? On Dec 3, 9:34 pm, Cristiano cristiano.costant...@gmail.com wrote: Hi, interesting question and answer, could please Mohamed make a GWT example of what you mean? Thanks! On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com wrote: When I mean decorator, I meant to follow the decorator pattern:http://en.wikipedia.org/wiki/Decorator_pattern On Dec 2, 11:53 pm, Mohamed Mansour m0.interact...@gmail.com wrote: Why wont you implement a decorator interface that will decorate your RPC calls? That way you can always hide/show your spinner icon for each call without affecting your RPC code. On Dec 2, 9:39 pm, tin tin.pavli...@gmail.com wrote: Hi everyone, I have a GWT application that uses RPC calls heavily. I would like to display a spinner icon whenever a call is in progress. It is easy enough to display the icon, but I want to do it seamlessly in one place so I don't have to explicitly hide and show the icon for each call. I guess I am looking for something similar to jQuery's ajaxStart and ajaxStop events. Has anyone done something like this before? Cheers, Tin -- 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 it possible to seamlessly display an ajax spinner for every GWT RPC call?
By using the MVP Pattern this scenario is prepared. Every Dispatch Call invokes a startProcessing-Method in the Display (View). After the Call a stopProcessing-Method is called. It's worth to take a look at it. On Dec 3, 10:19 am, tin tin.pavli...@gmail.com wrote: I guess I could have a decorator class for every async service interface I use but that seems incredibly tedious and repetitive. I have quite a few RPC services already and will have many more as the project grows. I guess the other option is to try to generate decorator classes via deferred binding. This seems like a pretty big deal though. Are there existing libraries which would allow me to do this? On Dec 3, 9:34 pm, Cristiano cristiano.costant...@gmail.com wrote: Hi, interesting question and answer, could please Mohamed make a GWT example of what you mean? Thanks! On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com wrote: When I mean decorator, I meant to follow the decorator pattern:http://en.wikipedia.org/wiki/Decorator_pattern On Dec 2, 11:53 pm, Mohamed Mansour m0.interact...@gmail.com wrote: Why wont you implement a decorator interface that will decorate your RPC calls? That way you can always hide/show your spinner icon for each call without affecting your RPC code. On Dec 2, 9:39 pm, tin tin.pavli...@gmail.com wrote: Hi everyone, I have a GWT application that uses RPC calls heavily. I would like to display a spinner icon whenever a call is in progress. It is easy enough to display the icon, but I want to do it seamlessly in one place so I don't have to explicitly hide and show the icon for each call. I guess I am looking for something similar to jQuery's ajaxStart and ajaxStop events. Has anyone done something like this before? Cheers, Tin -- 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: Google Gadget: works in hosted mode, but not in web mode (iGoogle)
Now if I want to make the rpc call the onFailureMethod is invoked and the error message: unable to initiate the asynchronous service invocation -- check the network connection What could be wrong here? On 1 Dez., 17:14, Eric Ayers zun...@google.com wrote: This may be a conflict between different versions of xerces, because this part of the code is creating a new XML document. You should be using the -noredist.jar file, and expecting to resolve xerces in your GWT build. Are you explicitly including xerces in your build classpath? It may help to checkout the gwt-gadgets project from code and build a fresh .jar along with the version of GWT and xerces you are using. On Tue, Dec 1, 2009 at 10:37 AM, flokay f.kar...@cadenas.de wrote: OK thanks! So I have made it with RPC now and in hosted mode, it works well again! But if I want to change it in a gadget the compiler writes the following error message: Compiling module com.google.gwt.sample.cnsnews_rpc_gadget.CADENASNews_RPC_Gadget Computing all possible rebind results for 'com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget' Rebinding com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget Invoking generate-with class='com.google.gwt.gadgets.rebind.GadgetGenerator'/ [ERROR] Generator 'com.google.gwt.gadgets.rebind.GadgetGenerator' threw threw an exception while rebinding 'com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget' java.lang.NullPointerException at com.google.gwt.gadgets.rebind.GadgetGenerator.generateGadgetManifest (GadgetGenerator.java:274) at com.google.gwt.gadgets.rebind.GadgetGenerator.generate (GadgetGenerator.java:142) at com.google.gwt.dev.cfg.RuleGenerateWith.realize (RuleGenerateWith.java:49) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind (StandardRebindOracle.java:113) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind (StandardRebindOracle.java:62) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:172) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:161) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers (Precompile.java:204) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile (JavaToJavaScriptCompiler.java:250) at com.google.gwt.dev.Precompile.precompile(Precompile.java:300) at com.google.gwt.dev.Compiler.run(Compiler.java:170) at com.google.gwt.dev.Compiler$1.run(Compiler.java:124) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:131) I'm already using the gwt-gadgets-noredist.jar file! Any suggestions? On 30 Nov., 17:52, Eric Ayers zun...@google.com wrote: See the Gadget RPC example in the gwt-google-apis project for how to set the proxy in request builder. http://code.google.com/p/gwt-google-apis On Mon, Nov 30, 2009 at 10:17 AM, flokay f.kar...@cadenas.de wrote: Hi, I've got an issue with my Google Gadget: - I'm trying to read an XML file via RequestBuilder and show it in the gadget (only for testing purpose) - If I try it in hosted mode with onModuleLoad() method and so on, it works well - But if i add it to iGoogle the string variable of response.getText() is empty in Firefox and in IE there appears the following message: ...url.. is invalid or violates the same-origin security restriction - My XML file from which should be read is exactly in the same directory as my gadget XML file, so there actually couldn't be a same- origin security restriction. - I'm using GWT 1.7.1! I've tried to fix this since over a week now and I don't know what else to do! Could anbody help me? Best regards, flokay -- 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. -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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
Re: Is it possible to seamlessly display an ajax spinner for every GWT RPC call?
tin, you might consider using an RPC wrapper... check this library out: http://code.google.com/p/gwt-dispatch/ It takes one approach to this. Another library http://code.google.com/p/gwt-command-pattern/ which I wrote, takes a different approach. Note that I have since abandoned my project due to time constraints. However, I think it might still be useful to you as an example. On Dec 3, 2:19 am, tin tin.pavli...@gmail.com wrote: I guess I could have a decorator class for every async service interface I use but that seems incredibly tedious and repetitive. I have quite a few RPC services already and will have many more as the project grows. I guess the other option is to try to generate decorator classes via deferred binding. This seems like a pretty big deal though. Are there existing libraries which would allow me to do this? On Dec 3, 9:34 pm, Cristiano cristiano.costant...@gmail.com wrote: Hi, interesting question and answer, could please Mohamed make a GWT example of what you mean? Thanks! On 3 Dic, 05:54, Mohamed Mansour m0.interact...@gmail.com wrote: When I mean decorator, I meant to follow the decorator pattern:http://en.wikipedia.org/wiki/Decorator_pattern On Dec 2, 11:53 pm, Mohamed Mansour m0.interact...@gmail.com wrote: Why wont you implement a decorator interface that will decorate your RPC calls? That way you can always hide/show your spinner icon for each call without affecting your RPC code. On Dec 2, 9:39 pm, tin tin.pavli...@gmail.com wrote: Hi everyone, I have a GWT application that uses RPC calls heavily. I would like to display a spinner icon whenever a call is in progress. It is easy enough to display the icon, but I want to do it seamlessly in one place so I don't have to explicitly hide and show the icon for each call. I guess I am looking for something similar to jQuery's ajaxStart and ajaxStop events. Has anyone done something like this before? Cheers, Tin -- 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: What does Unknown argument: -style mean?
Your unknown argument: -style issue seems similar to http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6e1d54bc856ec233/4948babf7e8de3b8?lnk=gstq=style+gwt+2.0#4948babf7e8de3b8 . On Dec 2, 6:45 pm, Rob Tanner caspersg...@gmail.com wrote: I think I already checked more than once, but checking again never hurts. Everything points to 2.0RC2. On Dec 2, 3:36 pm, Yozons Support on Gmail yoz...@gmail.com wrote: It really sounds like your project is not using the 2.0RC2 compiler. Double check the eclipse project properties for the Google-Web Toolkit. Then check the Java Build Path shows under the Libraries tab your GWT SDK that's also 2.0RC2. Not sure otherwise... -- 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: What does Unknown argument: -style mean?
Would you please post the version number of the Google plugin? You're definitely running the RC2 compiler. On Wed, Dec 2, 2009 at 4:28 PM, Rob Tanner caspersg...@gmail.com wrote: In order to solve another problem, it was recommended that I switch to GWT 2.0RC2 (I was running 1.7.1). I downloaded both the toolkit and the Eclipse plugin and followed the instruction, including a fresh Eclipse install. I tried running my application and got the Unknown argument: -style error. So just to be safe a created a new application using 2.0RC2 and copy all my java files over. I try running that and same error. Here's a bit more detail: Unknown argument: -style Google Web Toolkit 2.0.0-rc2 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [- workDir dir] module[s] -style is not something that I added to the app's run configuration so I'm at a loss here. Any ideas? -- Rob -- 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: css file location
Yay, that helped, thanks! I missed the part of the default 'public' folder as its not mentioned here: http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html#DevGuideDirectoriesPackageConventions and the public directory is also not created when using the eclipse plug-in. It really should be mentioned in the directory convention since it *is* a convention. Anyway, thanks again for your help! Cheers, Mark On Dec 2, 6:33 pm, Yozons Support on Gmail yoz...@gmail.com wrote: So, let's say your project base is com.company.gwt. Your project GWT file should be located in: src/com/company/gwt/mymodule.gwt.xml and your CSS is located src/com/company/gwt/public/Project.css and your GWT file contains: stylesheet src=Project.css/ and your HTML base page has no attempt to include the stylesheet itself. And you should have no public tag in your gwt.xml, otherwise you can put it the folder it specifies instead of the default 'public'. You should see that when you save the Project.css, a copy should be automatically put into your war area like: war/com.company.gwt/Project.css Of course, if your gwt.xml has a module rename-to='mymodule'/, then this would be: war/mymodule/Project.css That should work unless I'm missing something and presume your code is otherwise compiling correctly and reporting no errors, etc. -- 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: Controlling desktop windows size and position.
It's very helpful thanks, can you put me on the right track as regards to how I would interact with the server side through GWT. Would I simply post requests to the server side script or could I interact with in using Ajax? I suppose I just need to understand the high-level aspects around how I would communicate and pass parameters to a server side application written in Java. For example, if I wrote an server side application that listens to a port can I feed information to it through GWT or would I need to go about it in a different way? Patrick. On Dec 2, 6:05 pm, Isaac Truett itru...@gmail.com wrote: Patrick, GWT can do anything that HTML, JavaScript, and CSS together can do in a browser. The server in your setup is the entity that will be interacting with the OS to manipulate other processes. Once you get to the server, you're really outside the realm of GWT and you're free to do whatever you want with Java or whatever server-side language you choose. So to answer your first question: no, GWT does not have functions equivalent to VB's FindWindow, ShowWindow and MoveWindow. You'll want to look for a Java library for that. Hope that helps. - Isaac On Wed, Dec 2, 2009 at 12:41 PM, PatrickJ patrickjsim...@gmail.com wrote: I suppose I'm somewhat confused. What I would like to do is base the interface on GWT but call some server side process that would interact with the host OS which would allow me to manipulate other applications which are running on the host. For example, I've two networked laptops labelled 1 and 2. Laptop 2 is running 4 remote desktop sessions into four virtual, servers which are hosted on laptop 2. I would like to have a console on laptop 1 running a web based app (preferably written in GTW) which would allow me to interact through some server side components running on Laptop 2, which would allow me to control the size and position of the Remote desktops e.g. position them in quadrants, maximise 1 an minimise the rest etc. The console running on laptop 1 would display a graphical thumbnail of the applications running on laptop two where I could arrange them using a mouse. Maybe I'm expecting too much from GWT however I was of the opinion that I could use GWT to develop a wide range of web based application. Thanks in advance. On Nov 29, 1:26 am, bch...@gmail.com bch...@gmail.com wrote: Java is not Javascript. On Nov 28, 8:01 pm, Patrick Simons patrickjsim...@gmail.com wrote: I'm sure there is a way, I've seen Java applications do this before On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer martin.trum...@24act.atwrote: you can't do that with html/javascript, so GWT can't help you On 19 Nov., 18:35, PatrickJ patrickjsim...@gmail.com wrote: Is there and equivalent functional in GWT to VB's FindWindow, ShowWindow and MoveWindow? I would like to write a simple GWT application that would list all applications running on a Windows PC and have the ability to control the window's position attributes. Patrick -- 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=.-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.com. For more options, visit this group athttp://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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RC2 and Eclipse Plugin
On Thu, Dec 3, 2009 at 5:04 AM, John Patterson jdpatter...@gmail.comwrote: Thanks for the confirmation. I now have it working - _possibly_ my problem was due to not having a fresh workspace. Just for others reference this is what I did: Installed fresh Eclipse 3.5 and chosen a new workspace I have installed WST and then only Google Plugin RC2. I configured the Google preferences with both GWT 1.2RC2 and GAE1.6 and then imported my single existing project. I have created a Google Web Application launch and it kicks off Jetty. The Development Mode window inside Eclipse shows no URL's to launch but I use http://localhost:/?gwt.codesvr=localhost:9997 Eh? The Dev. Mode window should have a url that's the same as the one you posted. Right-click, copy and paste into your browser. AFAIK, Dev. Mode is now identical on all supported platforms. Do you see a Dev. Mode View after launching development mode? -- 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.
Compiling GWT RC2.0 application on a linux server
When downloading the gwt RC2.0 I saw it is written there all-platforms. Is there no longer dependency in the platform for development? [cid:image001.gif@01CA7440.19354190] Nir Feldman Release Control RD Team Leader Hewlett-Packard Company +972-3-5399896 Phone +972-54-7213833 Cell +972-3-5331617 Fax nir.feld...@hp.commailto:nir.feld...@hp.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. inline: image001.gif
CssResource does not support sprites that are repeated in IE6?
In the wiki for CssResource (http://code.google.com/p/google-web- toolkit-incubator/wiki/CssResource) the image sprites section says: Support for IE6 isn't feasible in this format, because structural changes to the DOM are necessary to implement a windowing effect. Once it's possible to distinguish ie6 and ie7 in user.agent, we could revisit support for ie6. In the current implementation, the ie6 code won't render correctly, although is a purely cosmetic issue. When I use sprites they work in ie6 unless I define a RepeatStyle on the ImageResource at which point they stop displaying, is this note in the wiki the reason? I'd really like to use this feature but must support ie6, how can I contribute if this is the problem? -- 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: RC2 and Eclipse Plugin
Hi, this GEP, is very easy to setup, but the hard part is to keep it working after integrating with maven. I just setup my project with maven. And now the cycle edit/save/refresh is not working :(. I have to recompile the project in order to see the changes, no exceptions nothing and i can't understand why is this happening Unfortunately google frameworks are painful to integrate with other frameworks (servers, tools) at least for me. -- 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: RC2 and Eclipse Plugin
On 3 Dec 2009, at 22:41, Jeff Chimene wrote: Eh? The Dev. Mode window should have a url that's the same as the one you posted. Right-click, copy and paste into your browser. AFAIK, Dev. Mode is now identical on all supported platforms. Do you see a Dev. Mode View after launching development mode? Eh? Yes I see the dev mode view but there is no link. ie it says For you convenience and there is an empty list. -- 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: RC2 and Eclipse Plugin
On Thu, Dec 3, 2009 at 8:58 AM, John Patterson jdpatter...@gmail.comwrote: On 3 Dec 2009, at 22:41, Jeff Chimene wrote: Eh? The Dev. Mode window should have a url that's the same as the one you posted. Right-click, copy and paste into your browser. AFAIK, Dev. Mode is now identical on all supported platforms. Do you see a Dev. Mode View after launching development mode? Eh? Yes I see the dev mode view but there is no link. ie it says For you convenience and there is an empty list. That's not good. You might try searching the buglist for similar issues. There should be a URL in the lower panel. -- 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: Compiling GWT RC2.0 application on a linux server
On Thu, Dec 3, 2009 at 8:43 AM, Feldman, Nir nir.feld...@hp.com wrote: When downloading the gwt RC2.0 I saw it is written there all-platforms. Is there no longer dependency in the platform for development? Correct. -- 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: RC2 and Eclipse Plugin
On Thu, Dec 3, 2009 at 10:58 AM, John Patterson jdpatter...@gmail.comwrote: On 3 Dec 2009, at 22:41, Jeff Chimene wrote: Eh? The Dev. Mode window should have a url that's the same as the one you posted. Right-click, copy and paste into your browser. AFAIK, Dev. Mode is now identical on all supported platforms. Do you see a Dev. Mode View after launching development mode? Eh? Yes I see the dev mode view but there is no link. ie it says For you convenience and there is an empty list. Do you have a war folder as part of your project? -- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Controlling desktop windows size and position.
I'd start with this section of the Developer's Guide: http://code.google.com/webtoolkit/doc/1.6/DevGuideServerCommunication.html GWT RPC is what I use and would recommend if you're running a Java server on the backend. On Thu, Dec 3, 2009 at 10:01 AM, PatrickJ patrickjsim...@gmail.com wrote: It's very helpful thanks, can you put me on the right track as regards to how I would interact with the server side through GWT. Would I simply post requests to the server side script or could I interact with in using Ajax? I suppose I just need to understand the high-level aspects around how I would communicate and pass parameters to a server side application written in Java. For example, if I wrote an server side application that listens to a port can I feed information to it through GWT or would I need to go about it in a different way? Patrick. On Dec 2, 6:05 pm, Isaac Truett itru...@gmail.com wrote: Patrick, GWT can do anything that HTML, JavaScript, and CSS together can do in a browser. The server in your setup is the entity that will be interacting with the OS to manipulate other processes. Once you get to the server, you're really outside the realm of GWT and you're free to do whatever you want with Java or whatever server-side language you choose. So to answer your first question: no, GWT does not have functions equivalent to VB's FindWindow, ShowWindow and MoveWindow. You'll want to look for a Java library for that. Hope that helps. - Isaac On Wed, Dec 2, 2009 at 12:41 PM, PatrickJ patrickjsim...@gmail.com wrote: I suppose I'm somewhat confused. What I would like to do is base the interface on GWT but call some server side process that would interact with the host OS which would allow me to manipulate other applications which are running on the host. For example, I've two networked laptops labelled 1 and 2. Laptop 2 is running 4 remote desktop sessions into four virtual, servers which are hosted on laptop 2. I would like to have a console on laptop 1 running a web based app (preferably written in GTW) which would allow me to interact through some server side components running on Laptop 2, which would allow me to control the size and position of the Remote desktops e.g. position them in quadrants, maximise 1 an minimise the rest etc. The console running on laptop 1 would display a graphical thumbnail of the applications running on laptop two where I could arrange them using a mouse. Maybe I'm expecting too much from GWT however I was of the opinion that I could use GWT to develop a wide range of web based application. Thanks in advance. On Nov 29, 1:26 am, bch...@gmail.com bch...@gmail.com wrote: Java is not Javascript. On Nov 28, 8:01 pm, Patrick Simons patrickjsim...@gmail.com wrote: I'm sure there is a way, I've seen Java applications do this before On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer martin.trum...@24act.atwrote: you can't do that with html/javascript, so GWT can't help you On 19 Nov., 18:35, PatrickJ patrickjsim...@gmail.com wrote: Is there and equivalent functional in GWT to VB's FindWindow, ShowWindow and MoveWindow? I would like to write a simple GWT application that would list all applications running on a Windows PC and have the ability to control the window's position attributes. Patrick -- 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=.-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.com. For more options, visit this group athttp://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.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
Passing a javascript function to a GWT function
I am needing to pass a function from javascript to the java code to fire an event so that when a button is created using Java I can pass to it the function to call when that button is clicked, any help would be greatly appreciated. the javascript function onclick() { alert('I was clicked'); } myObject.addOnclick(onclick()); or it could be myObject.onclickevent = onclick(); the java public void addOnClick(NOT SURE WHAT TO PASS HERE) { SelectionListenerButtonEvent l = new SelectionListenerButtonEvent() { @Override public void componentSelected(ButtonEvent ce) { THEN CALL THE JAVASCRIPT FUNCTION 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: Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 MS2)
I'm seeing a similar memory leak in 1.7. Does anyone know if this bug predated 2.0, or was it introduced therein? On Nov 14, 11:28 am, Rob rob.a.st...@gmail.com wrote: Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4133 andhttp://code.google.com/p/google-web-toolkit/issues/detail?id=4229 Issue 4133 was raised almost a month ago but doesn't seem to have been acknowledged yet - would anyone from the GWT team care to comment ? Cheers Rob On Nov 13, 2:18 pm, Rob rob.a.st...@gmail.com wrote: I've been trying out one of my existing apps with GWT 2.0 to see what advantages it has and have noticed a majormemoryleakwhen using RPC with Internet Explorer 8.0. Basically my application reads some values from a database and displays these in the browser every 1 second. I am seeing amemory leakof 16k per second -i.e.every time I make an RPC request the browser leaks 16k ofmemory. This eventually leads to an out of virtualmemorysystem error. If I switch back to using GWT 1.7 then the problem goes away, there are no leaks at all. I have managed to reproduce the problem with a very simple RPC example which I can supply if required. Has anyone else noticed anything similar ? Cheers Rob -- 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: Very slow DevMode on Mac Leopard with GWT 2.0 RC2
Where are you seeing the slowness? Is it confined to initial module load (of a specific app maybe) or are you experiencing speed degradation across the board? On Thu, Dec 3, 2009 at 7:02 AM, jvictor jeffvic...@gmail.com wrote: Is anyone else experiencing *extremely* slow DevMode on a mac? I'm using Leopard 10.5.8 with all of the updates and running DevMode with 64 bit Java 6. I experience the same slowness when using 32 bit Java 5 as well. I'm using 2.0 RC 2 and experience the problem using firefox 3.5.5 and safari. -- 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: Major memory leak with RPC, Internet Explorer and GWT 2.0 (MS1 MS2)
A diff on com.google.gwt.xhr.client.XMLHttpRequest should give you an idea of what code has changed and when it changed. That said, Rob points out earlier in this thread that he is not seeing the issue in 1.7. Are you in a position where you could build your app with RC2 to see if the leak goes away? On Thu, Dec 3, 2009 at 11:35 AM, mrpantsuit kevin.peter.w...@gmail.comwrote: I'm seeing a similar memory leak in 1.7. Does anyone know if this bug predated 2.0, or was it introduced therein? On Nov 14, 11:28 am, Rob rob.a.st...@gmail.com wrote: Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=4133 andhttp://code.google.com/p/google-web-toolkit/issues/detail?id=4229 Issue 4133 was raised almost a month ago but doesn't seem to have been acknowledged yet - would anyone from the GWT team care to comment ? Cheers Rob On Nov 13, 2:18 pm, Rob rob.a.st...@gmail.com wrote: I've been trying out one of my existing apps with GWT 2.0 to see what advantages it has and have noticed a majormemoryleakwhen using RPC with Internet Explorer 8.0. Basically my application reads some values from a database and displays these in the browser every 1 second. I am seeing amemory leakof 16k per second -i.e.every time I make an RPC request the browser leaks 16k ofmemory. This eventually leads to an out of virtualmemorysystem error. If I switch back to using GWT 1.7 then the problem goes away, there are no leaks at all. I have managed to reproduce the problem with a very simple RPC example which I can supply if required. Has anyone else noticed anything similar ? Cheers Rob -- 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: RC2 and Eclipse Plugin
On 3 Dec 2009, at 23:23, Miguel Méndez wrote: Yes I see the dev mode view but there is no link. ie it says For you convenience and there is an empty list. Do you have a war folder as part of your project? Yes I do. Although its not a problem... the url just works. But, I have not defined a startUrl anywhere. Previously I put one in the launch dialogue but that is not there anymore -- 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.
Form + servlet + Firefox does not work
I'm writing a gwt site with a form using components from both gwt and gwt-ext. Since I need to send a file I can't use gwt's RPC services (GWTServletService), so I use a java servlet. I tried it in hosted mode and with IE6 and I recieve data properly. However, using firefox the servlet does not recieve anything. This is the gwt code corresponding to the form: final FormPanel uploadForm = new FormPanel(); uploadForm.setAction(GWT.getModuleBaseURL() + UploadFileServlet1); uploadForm.setEncoding(FormPanel.ENCODING_MULTIPART); uploadForm.setMethod(FormPanel.METHOD_POST); uploadForm.addFormHandler(new FormHandler(){ public void onSubmit(FormSubmitEvent event){ } public void onSubmitComplete(FormSubmitCompleteEvent event){ //getExistBD(); //wait.hide(); //MessageBox.alert(event.getResults()); } }); // Create a FormPanel and point it at a service. final com.gwtext.client.widgets.form.FormPanel inUploadForm = new com.gwtext.client.widgets.form.FormPanel(); inUploadForm.setPaddings(10); inUploadForm.setLabelWidth(150); FileUpload file = new FileUpload(); file.setName(file); file.addStyleName(margin); FieldSet fsBD = new FieldSet(Guardar en); fsBD.addStyleName(fieldSet); final Store statesStore = new SimpleStore(new String[]{en, es}, getStates()); statesStore.load(); ComboBox cbSaveMode = new ComboBox(Tipo de base de datos, saveMode, 200); cbSaveMode.setEmptyText(Seleccionar...); cbSaveMode.setStore(statesStore); cbSaveMode.setDisplayField(es); cbSaveMode.setValueField(en); cbSaveMode.setReadOnly(true); cbSaveMode.setForceSelection(true); cbSaveMode.setMode(ComboBox.LOCAL); cbSaveMode.setTriggerAction(ComboBox.ALL); cbSaveMode.setBlankText(Este campo es obligatorio); cbSaveMode.addListener(new ComboBoxListenerAdapter(){ public void onSelect(ComboBox comboBox, Record record, int index) { cbBD.setValue(); existBDStore.filter(en, comboBox.getValue()); //if(comboBox.getValue().equals(public)){ // cbBD.setStore(existPublicBDStore); //}else if(comboBox.getValue().equals(private)){ // cbBD.setStore(existPrivateBDStore); //} } }); cbBD = new ComboBox(, nameExistBD, 200); cbBD.setEmptyText(Seleccionar...); cbBD.setDisplayField(name); cbBD.setValueField(id); cbBD.setLinked(true); cbBD.setMode(ComboBox.LOCAL); cbBD.setTriggerAction(ComboBox.ALL); cbBD.setReadOnly(true); cbBD.setForceSelection(true); final TextField nameField = new TextField(, nameNewBD, 200); nameField.disable(); final Radio rExist = new Radio(Base de datos existente, bd); rExist.setChecked(true); rExist.setHideLabel(true); final Radio rNew = new Radio(Nueva base de datos, bd); rNew.setChecked(false); rNew.setHideLabel(true); rExist.addListener(new CheckboxListenerAdapter(){ public void onCheck(Checkbox field, boolean checked){ if(checked == true){ cbBD.enable(); nameField.disable(); } } }); rNew.addListener(new CheckboxListenerAdapter(){ public void onCheck(Checkbox field, boolean checked){ if(checked == true){ cbBD.disable(); nameField.enable(); } } }); fsBD.add(cbSaveMode); fsBD.add(rExist); fsBD.add(cbBD); fsBD.add(rNew); fsBD.add(nameField); Button uploadSubmitButton = new Button(Submit, new ButtonListenerAdapter(){ public void onClick(Button button, EventObject e) { uploadForm.submit(); } }); inUploadForm.add(file); inUploadForm.add(fsBD); inUploadForm.add(uploadSubmitButton); uploadForm.add(inUploadForm); return uploadForm; And here's the java servlet code: protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { FileItemFactory factory = new
Re: Passing a javascript function to a GWT function
On 3 déc, 17:34, Davidj2k david...@gmail.com wrote: I am needing to pass a function from javascript to the java code to fire an event so that when a button is created using Java I can pass to it the function to call when that button is clicked, any help would be greatly appreciated. the javascript function onclick() { alert('I was clicked'); } myObject.addOnclick(onclick()); or it could be myObject.onclickevent = onclick(); the java public void addOnClick(NOT SURE WHAT TO PASS HERE) public void addOnClick(final JavaScriptObject func) { SelectionListenerButtonEvent l = new SelectionListenerButtonEvent() { @Override public void componentSelected(ButtonEvent ce) { THEN CALL THE JAVASCRIPT FUNCTION HERE callFunc(func); } }; } private native void callFunc(JavaScriptObject func) /*-{ func(); }-*/; -- 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.
Grid (Sluggish Load)
Hello, I have a regular Grid implementation with 5 columns that loads in 300 records within a DialogBox. Everything is fine until the actual return off of a Callback that handles the feedback from a data extraction routine intended to populate the Grid. Problem : The Grid seems to take an awfully long time to load the data (simple Strings) to a full 300 rows. Possible Solutions : 1. One solution I am considering is pagination of the data. 100 records seems to register a descent enough load time and do paging for the next set of hundred records. Anything over that seems to take the process down. 2. Another is the caching of the actual dialog box for succeeding use. The problem I see here is a refresh process (but this is another story). QUESTIONS : 1. Can anybody please share their point of view onto why the slow down is happening. I didn't quite expect this given the data to be just a set of String values. 2. I'm using a loop and going through each cell to set content in... Am I missing something in terms of how a proper way of loading a Grid is concerned? Thanks, Vince -- 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: Grid (Sluggish Load)
On Thu, Dec 3, 2009 at 21:05, Vince vicenci...@aol.com wrote: Hello, I have a regular Grid implementation with 5 columns that loads in 300 records within a DialogBox. Everything is fine until the actual return off of a Callback that handles the feedback from a data extraction routine intended to populate the Grid. Problem : The Grid seems to take an awfully long time to load the data (simple Strings) to a full 300 rows. Dom operations are slow, you need to minimise these, there are some widgets in the incubator (which might need modifications to get them to work on recent gwt version) that should be faster See http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=BulkTableRenderers -- 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.
Can anyone over here help me out in sending the email from gwt application
Can anyone over here help me out in sending the email from gwt application?? The small snippet will be helpful. -- 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.
Native HTML5 Features
Two quick questions: 1) Is anyone out there using GWT to work with native HTML5 VIDEO and AUDIO tags, and if so is that code publicly available? 2) Is there interested in a GWT library with HTML5 extensions? This would not attempt to support non-HTML5 fallbacks (though I would welcome others to contribute patches to do so). This would be used for for new applications targetting HTML5 browsers. Intial thoughts are, I want to do something like this: Video v = new Video(); v.setSrc(/videos/video_example.mov); v.setAutoplay(false); v.setControls(true); RootPanel.get().add(v); But there are much more opportunities provided in the API for building a rich custom viewer, handing buffering, progmatic pause, resume, rewind, fastforward, etc. Same goes for Audio... -- 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: Very slow DevMode on Mac Leopard with GWT 2.0 RC2
DevMode starts up quickly as you would expect inside the new eclipse console window and I receive the url to copy and paste into the browser. The issue occurs as soon as I connect to DevMode from any browser. Specifically, the browser seems to hang for about 20 seconds and will then come back to life and my app performs normally from that point on. If I do a reload of the browser I experience the same hanging for the same duration. I have looked at the system activity monitor during this time and a java process is consuming all cpu. Once the hanging is over, the java process returns to normal usage. I experience this issue with several different modules / projects including the default skeleton application created by GWT. At work I use a vanilla Ubuntu 9.04 installation and my experience with RC2 on that machine has shown that DevMode is very fast. Therefore, I suspect this has something to do with macs and java. On Dec 4, 5:36 am, Chris Ramsdale cramsd...@google.com wrote: Where are you seeing the slowness? Is it confined to initial module load (of a specific app maybe) or are you experiencing speed degradation across the board? On Thu, Dec 3, 2009 at 7:02 AM, jvictor jeffvic...@gmail.com wrote: Is anyone else experiencing *extremely* slow DevMode on a mac? I'm using Leopard 10.5.8 with all of the updates and running DevMode with 64 bit Java 6. I experience the same slowness when using 32 bit Java 5 as well. I'm using 2.0 RC 2 and experience the problem using firefox 3.5.5 and safari. -- 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, Wave extensions API tutorials/resources
When you deploy on appengine change the version of the application When you upgrade the robot in a wave just change the version I can only suggest: that you forgot to change the version and flew crash Unfortunaly I do not have the opportunity to check this practice. On Dec 2, 11:10 am, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here:http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.htmlThis is my evidence:http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached(was attached, bounced, to large...). I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 10:06 PM, Angel Marquez angel.marq...@gmail.comwrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.htmlThis is my evidence: http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached. I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 2:07 PM, Angel Marquez angel.marq...@gmail.comwrote: Awesome. I think your english is better than any language, computer or human, I attempt to learn will ever be. I think I knew I had to pull everything from different places and wanted it all at one place as the thought came to me. Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Done this on 1.7 and 2.0. I get it, I think. Hope this helps. Even if it doesn't I appreciate your time. So, yes, it always helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ This, at first glance, looks extremely helpful. 1. WaveRobot (under the hood AppEngine) - set up a simple and little http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This document redirects to all the necessary information to configure the robot for AppEngine Yes, I have read this section and am hesitant to progress. I just went through the GWT App Engine getting started areas and have convinced myself I understand how things relate to one another; but, I am unclear on how get my thoughts off the ground. I know what I want to do and am pretty sure I can fit myself into the structure...but, again I am cautious. 2. not need to install GWT, install the plugin http://code.google.com/eclipse/docs/download.htmland you already get the GWT and Appengine When creating a project just check what you need GWT, GAE or both. Gotcha. I have experimented with the plugins on a mac and pc and the one thing that I don't like is the need to have your App Engine name available. I for see this being a pain. I stop when something doesn't seem right. 3. Your Wave project is Java project. You choose where it's hosted locally or in public (you can at code.google.com). For Java project, you still need java bild tool (ant or ivy) I thought the eclipse plugin handled the build auto pilot style. I'm sure it is just running ant, rake, whatever behind the scenes; but, once you run in dev mode I think the build.xml is just read in command line format. 4. Oo, sorry I did not understand (and recently began to study English =)) I'm sure it was my poor english not yours. Maybe I could clarify, not sure what didn't make sense. 5. Create an installer - # 3 java bild tool can be? if you mean Wave-robot-installer, then it is sort of resolved at link robot with the Wave. # 1 Deploy -http://code.google.com/appengine/docs/java/tools/eclipse.html Yep, I have gone
Re: What does Unknown argument: -style mean?
The full version number 1.1.2.v200910131704. The odd thing is if I switch back to the 1.7.1 toolkit (but continue to use currently installed plugin), I have no problem in hosted mode. On Dec 3, 6:45 am, Jeff Chimene jchim...@gmail.com wrote: Would you please post the version number of the Google plugin? You're definitely running the RC2 compiler. On Wed, Dec 2, 2009 at 4:28 PM, Rob Tanner caspersg...@gmail.com wrote: In order to solve another problem, it was recommended that I switch to GWT 2.0RC2 (I was running 1.7.1). I downloaded both the toolkit and the Eclipse plugin and followed the instruction, including a fresh Eclipse install. I tried running my application and got the Unknown argument: -style error. So just to be safe a created a new application using 2.0RC2 and copy all my java files over. I try running that and same error. Here's a bit more detail: Unknown argument: -style Google Web Toolkit 2.0.0-rc2 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [- workDir dir] module[s] -style is not something that I added to the app's run configuration so I'm at a loss here. Any ideas? -- Rob -- 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: What does Unknown argument: -style mean?
Yep. It sure looks like the same thing. On Dec 3, 6:20 am, Ezra esk...@gmail.com wrote: Your unknown argument: -style issue seems similar tohttp://groups.google.com/group/google-web-toolkit/browse_thread/threa... . On Dec 2, 6:45 pm, Rob Tanner caspersg...@gmail.com wrote: I think I already checked more than once, but checking again never hurts. Everything points to 2.0RC2. On Dec 2, 3:36 pm, Yozons Support on Gmail yoz...@gmail.com wrote: It really sounds like your project is not using the 2.0RC2 compiler. Double check the eclipse project properties for the Google-Web Toolkit. Then check the Java Build Path shows under the Libraries tab your GWT SDK that's also 2.0RC2. Not sure otherwise... -- 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, Wave extensions API tutorials/resources
When you deploy on appengine change the version of the application When you upgrade the robot in a wave just change the version I can only suggest: that you forgot to change the version and flew crash Unfortunaly I do not have the opportunity to check this practice. Sounds good. I sent my last wave invite; so, you can check by adding the bot to your contacts, and then the wave or waving with and I'll add it. OR both. We can take this offline. Thanks again. I'll more in depth soon. Google tweeted this yesterday: http://googlesocialweb.blogspot.com/2009/12/friend-connect-birds-of-feather-tweet.html Haven't had a chance to look to deep; but, I think it was part of one of the magic pieces I requested. adios On Dec 2, 11:10 am, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This is my evidence:http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached(was attached, bounced, to large...). I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 10:06 PM, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.htmlThis is my evidence: http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached. I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 2:07 PM, Angel Marquez angel.marq...@gmail.com wrote: Awesome. I think your english is better than any language, computer or human, I attempt to learn will ever be. I think I knew I had to pull everything from different places and wanted it all at one place as the thought came to me. Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Done this on 1.7 and 2.0. I get it, I think. Hope this helps. Even if it doesn't I appreciate your time. So, yes, it always helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ This, at first glance, looks extremely helpful. 1. WaveRobot (under the hood AppEngine) - set up a simple and little http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This document redirects to all the necessary information to configure the robot for AppEngine Yes, I have read this section and am hesitant to progress. I just went through the GWT App Engine getting started areas and have convinced myself I understand how things relate to one another; but, I am unclear on how get my thoughts off the ground. I know what I want to do and am pretty sure I can fit myself into the structure...but, again I am cautious. 2. not need to install GWT, install the plugin http://code.google.com/eclipse/docs/download.htmland you already get the GWT and Appengine When creating a project just check what you need GWT, GAE or both. Gotcha. I have experimented with the plugins on a mac and pc and the one thing that I don't like is the need to have your App Engine name available. I for see this being a pain. I stop when something doesn't seem right. 3. Your Wave project is Java project. You choose where it's hosted locally or in public (you can at code.google.com). For Java project, you still need java bild tool (ant or ivy) I thought the eclipse plugin handled the build auto pilot style. I'm sure it is just
GWT Expert in the Los Angeles / North Hollywood Area
We are looking to possibly hire a GWT expert very soon. The position would be located in North Hollywood. Please reach out to me if you are interested. Thank you! -Kyle Hayes -- 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, Wave extensions API tutorials/resources
Generally there are have two main technologies gwt gae, exploring the technologies you will be able to make application to the similarity of Google. But if your goal is to expand Wave then you can use plug-in for Eclipse and offline design for a wave. Google will make the magic box for Wave developer, not immediately but will do. We have had such magical things as gwit appengine) On Dec 4, 2:54 am, Angel Marquez angel.marq...@gmail.com wrote: When you deploy on appengine change the version of the application When you upgrade the robot in a wave just change the version I can only suggest: that you forgot to change the version and flew crash Unfortunaly I do not have the opportunity to check this practice. Sounds good. I sent my last wave invite; so, you can check by adding the bot to your contacts, and then the wave or waving with and I'll add it. OR both. We can take this offline. Thanks again. I'll more in depth soon. Google tweeted this yesterday:http://googlesocialweb.blogspot.com/2009/12/friend-connect-birds-of-f... Haven't had a chance to look to deep; but, I think it was part of one of the magic pieces I requested. adios On Dec 2, 11:10 am, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This is my evidence:http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached(was attached, bounced, to large...). I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 10:06 PM, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.htmlThis is my evidence: http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached. I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 2:07 PM, Angel Marquez angel.marq...@gmail.com wrote: Awesome. I think your english is better than any language, computer or human, I attempt to learn will ever be. I think I knew I had to pull everything from different places and wanted it all at one place as the thought came to me. Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Done this on 1.7 and 2.0. I get it, I think. Hope this helps. Even if it doesn't I appreciate your time. So, yes, it always helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ This, at first glance, looks extremely helpful. 1. WaveRobot (under the hood AppEngine) - set up a simple and little http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This document redirects to all the necessary information to configure the robot for AppEngine Yes, I have read this section and am hesitant to progress. I just went through the GWT App Engine getting started areas and have convinced myself I understand how things relate to one another; but, I am unclear on how get my thoughts off the ground. I know what I want to do and am pretty sure I can fit myself into the structure...but, again I am cautious. 2. not need to install GWT, install the plugin http://code.google.com/eclipse/docs/download.htmlandyou already get the GWT and Appengine When creating a project just check what you need GWT, GAE or both. Gotcha. I have
Re: GWT, Wave extensions API tutorials/resources
Well, I have multiple goals. I don't need another google, one is enough. Expanding on a solid core it definitely what I seek. Yes, I've been using the plugin enough to have a working knowledge. I think I could even create a high fi UI and map all the functionality to the core and list anything custom that needed to be addressed and push off in the right direction what needed to happen in a logical order. I'm sure already google already has a magic box internalized waiting to be opened by everyone. Again, thanks for your assistance. On Thu, Dec 3, 2009 at 2:38 PM, mass0ne ctg.m...@gmail.com wrote: Generally there are have two main technologies gwt gae, exploring the technologies you will be able to make application to the similarity of Google. But if your goal is to expand Wave then you can use plug-in for Eclipse and offline design for a wave. Google will make the magic box for Wave developer, not immediately but will do. We have had such magical things as gwit appengine) On Dec 4, 2:54 am, Angel Marquez angel.marq...@gmail.com wrote: When you deploy on appengine change the version of the application When you upgrade the robot in a wave just change the version I can only suggest: that you forgot to change the version and flew crash Unfortunaly I do not have the opportunity to check this practice. Sounds good. I sent my last wave invite; so, you can check by adding the bot to your contacts, and then the wave or waving with and I'll add it. OR both. We can take this offline. Thanks again. I'll more in depth soon. Google tweeted this yesterday: http://googlesocialweb.blogspot.com/2009/12/friend-connect-birds-of-f... Haven't had a chance to look to deep; but, I think it was part of one of the magic pieces I requested. adios On Dec 2, 11:10 am, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This is my evidence:http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached(was attached, bounced, to large...). I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 10:06 PM, Angel Marquez angel.marq...@gmail.com wrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This is my evidence: http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached. I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 2:07 PM, Angel Marquez angel.marq...@gmail.com wrote: Awesome. I think your english is better than any language, computer or human, I attempt to learn will ever be. I think I knew I had to pull everything from different places and wanted it all at one place as the thought came to me. Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Done this on 1.7 and 2.0. I get it, I think. Hope this helps. Even if it doesn't I appreciate your time. So, yes, it always helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ This, at first glance, looks extremely helpful. 1. WaveRobot (under the hood AppEngine) - set up a simple and little
Re: How to halt the process
On Wed, Dec 2, 2009 at 11:56 PM, naga vinod kumar vinodkumark...@gmail.com wrote: Hi i am using smartGWT i have one function which returns satus of saved operation and i am using callback in that.. ,my question is how to wait till the call back is complete public int saveTabOperation(AbstractShrisTab shrisTab) { PatientInsuranceDS patientInsuranceDS=new PatientInsuranceDS(); patientInsuranceDS.fetchData(criteria, new DSCallback() { return save(); } return 0 } -- 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.
Problem with IsSerializable in tomcat
Hello folks, I've been trying to solve this problem by looking at related discussions, but I'm not able to do it. I developed an application with gwt which runs in hosted and web mode but fails to run when compiled and set up for tomcat. I'm obtaining a Invocation Exception from a RPC call from my client to a servlet when trying to send my serializable type Test: --- public void onSaveTest(Test test) { service.saveTest(test,new SaveTestCallback()); } The following is the content of the class Test.java: - package prova2.client; import com.google.gwt.user.client.rpc.IsSerializable; public class Test implements IsSerializable { public int error; public String testName; public TestQuery[] queries; public String message; public Boolean exception; } - Eeverythin works fine if I try to send a type that is serializable by default, such as int, so it looks like the servlet is not anymore sure of what types are serializable. I think it also has to do with the *.gwt.rpc file but I'm not sure about how this works. Can anybody help me with this? I'm quite newbie:( -- 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.
DecoratorPanel wrapping a HorizontalSplitPanel
I found this post [1], and have a similar question, but it didn't really get answered. I e-mailed the OP and he said he never got it to work, so I'm asking again to see if other people have seen this problem more recently, and how they go about avoiding it if it really isn't able to be worked around. My confusion is around how many things are working with #setHeight (100%) - I haven't seen any hiccups with it anywhere else. To people who know not to use #setHeight(100%): what pattern are you following instead? Is it the ResizeHandler trick that's in the mail app sample? (if it helps, I'm using that to manage my outermost panel) Is there another pattern I have not seen yet? [1] http://groups.google.com/group/google-web-toolkit/browse_thread/thread/d1da2aac3ddb2fe3/45bd08b018ab?lnk=gstq=DecoratorPanel+split+panel#45bd08b018ab -- 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.
How to halt the process
Hi i am using smartGWT i have one function which returns satus of saved operation and i am using callback in that.. ,my question is how to wait till the call back is complete public int saveTabOperation(AbstractShrisTab shrisTab) { PatientInsuranceDS patientInsuranceDS=new PatientInsuranceDS(); patientInsuranceDS.fetchData(criteria, new DSCallback() { return save(); } return 0 } -- 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 about compressing css?
isn't that exactly what all these compressors out there (take http://developer.yahoo.com/yui/compressor/ for example) do? Content zipping is something most application servers support, without any need to change your application. But there are other, better, way to archive this. Take a look what for example http://grails.org/plugin/ui-performance does at compile time. On Dec 3, 11:16 am, Martin Trummer martin.trum...@24act.at wrote: when using GWT together with 3rd party libs, you sometimes get really huge css files. would it be possible to use some mechanism like the i18n constants for css classes and styles, so that the css-classnames could be shortened/ obfuscated? Not only would it decrease filesize (like zipping the response), we could use interfaces to refer to the css-style names and thus gain compile time checks. any thoughts? -- 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.
DecoratedPopupPanel
how can i make a DecoratedPopupPanel move like a DialogBox? -- 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.
Someone please help me. I met a problem when I made a RPC class
Hi dear developers, I downloaded the mysql connect gwt example from http://code.google.com/p/gwt-examples/wiki/project_MySQLConn. And I re- configured it on my Eclipse Galileo (using gwt eclipse plugin) + XP. When it makes rpc call and retrieves the data from mysql database, it give me this error: The server is running at http://localhost:8080/ Dec 3, 2009 3:13:32 PM com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1259853212481000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.mysql.connect.client.BibleData[] com.mysql.connect.client.MySQLConnService.getBibleInfo()' threw an unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission ALL FILES execute) at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure (RPC.java:360) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse (RPC.java:546) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall (RemoteServiceServlet.java:166) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost (RemoteServiceServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1093) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter (StaticFileFilter.java:124) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle (DevAppEngineWebAppContext.java:54) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:313) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.content (HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:442) Caused by: java.security.AccessControlException: access denied (java.io.FilePermission ALL FILES execute) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at com.google.appengine.tools.development.DevAppServerFactory $CustomSecurityManager.checkPermission(DevAppServerFactory.java:128) at java.lang.SecurityManager.checkExec(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at com.mysql.connect.server.DB_Conn.getServerMysqlOn(DB_Conn.java:42) at com.mysql.connect.server.DB_Conn.init(DB_Conn.java:26) at com.mysql.connect.server.DB_Bible.init(DB_Bible.java:20) at com.mysql.connect.server.MySQLConnImpl.getBibleInfo (MySQLConnImpl.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse (RPC.java:527) ... 27 more And the asynchronous class returns The call failed on the server; see server log for details
Re: Is it possible to seamlessly display an ajax spinner for every GWT RPC call?
Here's what I do: public void someMethod(){ BusyHandler.show(); AsyncCallback callback = new AsyncCallback() { public void onSuccess(Object result) { //do some stuff here BusyHandler.hide(); } public void onFailure(Throwable ex) { BusyHandler.hide(); } }; MyRemoteService.Util.getInstance().remoteMethod(callback); } The BusyHandler is a custom class wrapping a setVisible() on a modal dialog that contains only a spinner animated gif image above a transparent background. I guess the next best thing besides that would be to create your own AsyncCallback extention that would call the BusyHandler...but not sure if this is possible. - Erick On Wed, Dec 2, 2009 at 9:39 PM, tin tin.pavli...@gmail.com wrote: Hi everyone, I have a GWT application that uses RPC calls heavily. I would like to display a spinner icon whenever a call is in progress. It is easy enough to display the icon, but I want to do it seamlessly in one place so I don't have to explicitly hide and show the icon for each call. I guess I am looking for something similar to jQuery's ajaxStart and ajaxStop events. Has anyone done something like this before? Cheers, Tin -- 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. -- Erick Audet B.Sc. M.Sc. site: www.jarics.com email: eau...@jarics.com Skype:erick.audet LinkedIn: http://www.linkedin.com/in/erickaudet tel.: 418.682.9712 Erick Audet B.Sc. M.Sc. Architecte organique PANORAMA Institut national de santé publique du Québec 1000, route de l'Église, suite 600 Québec (Québec) G1V 3V9 Tél: 418 654-3010 # 5439 Courriel : erick.au...@inspq.qc.ca -- 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.
RPC calls in iGoogle container
Hi, I've created an application using GWT and in host mode it works fine.Then I've turned my application to gadget (opensocial gadget) using Gadgets Library for GWT and uploaded it to app engine. When I add this gadget to iGoogle container (using http://birthdayplus.appspot.com/birthdayplus/com.tau.birthdayplus.client.Birthdayplus.gadget.xml)and the following exception is being thrown : com.google.gwt.user.client.rpc.InvocationException: Unable to initiate the asynchronous service invocation -- check the network connection Can you tell me whether RPC is possible inside an opensocial container or not? What I'm doing wrong? Thank you, Olga -- 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.
Facing problem while updating Google Web Toolkit
Hi, I want to add Google Web Toolkit plugin in Eclipse Classic 3.5.1 from http://dl.google.com/eclipse/plugin/3.5 I follow the following steps: To install the plugin, using Eclipse 3.5 (Galileo): 1. Select the Help menu Install New Software 2. In the Work with text box, enter: http://dl.google.com/eclipse/plugin/3.5 It gives error:: No Repository Found http://dl.google.com/eclipse/plugin/3.5 I have also try with uncheck contact all update sites during install to find required software. Please help me in that my mail id is suhastri...@gmail.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: GWT 2.0.0rc2 ::: Unknown argument: -portHosted
Hey, what did you do at this point to get it working? Your steps up to now has been very valuable. My run config is now a normal java config instead of the GWT plugin's config. I'm getting the following in my Dev Mode when I hit the Default Browser button : Unable to find type 'com.curasoftware.assessor.client.Assessor' Check that the type name 'com.curasoftware.assessor.client.Assessor' is really what you meant Hint: Check that your classpath includes all required source roots Now the string the error quotes is my Entry point class. Im at a loss. I could simply go to m2 and work from it but there are some fixes in RC2 that I urgently need to investigate. Peace Gerhard On Nov 28, 2:11 pm, Paul Grenyer paul.gren...@gmail.com wrote: Hi Thomas 5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files (x86)\eclipse\plugins 1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the - portHosted vs. -codeServerPort naming change. There you go. I was obviously suffering brain fade and really not paying attention. Thank you for pointing that out. 2) Why not just unzip it in C:\Program Files (x86)\eclipse\dropins as you're told to do? Go easy! :-) ...because the first time i tried it, it didn't work. Seems to work perfectly now. It may well have been due to me having the wrong plugin. 6.Then copied the contents of gwt-2.0.0-rc2.zip to gpe-e35-1.2rc1.zip\eclipse\plugins Why are you putting it within your eclipse install? Was fighting int he dark. I'm no eclipse expert and that's where it seemed to be in the previous plugin. I've now moved it. See above: you have to use the RC2 version of the plugin with the RC2 version of GWT. Thanks! :-) All workign now. Thanks! -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.blogspot.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.
Trouble with fresh install of Eclipse Plugin 1.2rc2
Can't get Google Plugin 1.2rc2 work correctly in Eclipse 3.5. Followed instructions from http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC Used Eclipse Galileo 3.5 for Java Developers (eclipse-java-galileo-SR1- win32.zip). Created fresh workspace. Downloaded Google plugin from http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-1.2rc2.zip Unpacked .zip as described at http://code.google.com/eclipse/docs/install-from-zip.html Restarted Eclipse. Issues: * No New Web Application Project button in toolbar as described in http://code.google.com/webtoolkit/gettingstarted.html#NewEclipse Though Deploy App Engine Project button is present. * Google or Web Toolkit is nowhere to be found under Windows - Preferences * Show View dialog contains Google root with single Development Mode leaf. * No references to Google or GWT in File - New menu or submenus. Error Log: !SESSION 2009-12-03 18:25:36.066 --- eclipse.buildId=M20090917-0800 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.ui 4 4 2009-12-03 18:28:06.076 !MESSAGE Invalid preference page path: App Engine *** Current Install Configuration: Install configuration: Last changed on Dec 3, 2009 Location: C:\~env\IDE\eclipse-gwt Profile timestamp: 1259857539013 Installable Units in the profile: Id: a.jre.javase, Version: 1.6.0 Id: com.google.appengine.eclipse.core, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.core, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.platform, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.platform.shared, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.suite.e35.feature.feature.jar, Version: 1.1.101.v200911250703 Id: com.google.gwt.eclipse.oophm, Version: 1.1.101.v200911250703 Id: com.ibm.icu, Version: 4.0.1.v20090822 Bundles in the system: Id: com.google.appengine.eclipse.core, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.appengine.eclipse.core_1.1.101.v200911250703.jar Id: com.google.gdt.eclipse.core, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.gdt.eclipse.core_1.1.101.v200911250703.jar Id: com.google.gdt.eclipse.platform, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.gdt.eclipse.platform_1.1.101.v200911250703.jar Id: com.google.gdt.eclipse.platform.shared, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/ plugins/ com.google.gdt.eclipse.platform.shared_1.1.101.v200911250703.jar Id: com.google.gwt.eclipse.oophm, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.gwt.eclipse.oophm_1.1.101.v200911250703.jar Id: com.ibm.icu, Version: 4.0.1.v20090822, Location: reference:file:plugins/com.ibm.icu_4.0.1.v20090822.jar -- 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: Trouble with fresh install of Eclipse Plugin 1.2rc2
Enaure that your version of Eclipse has Eclipse's Web Standard Tools (WST) installed before installing the plugin. WST can be installed by navigating to the Software Installation section, and selecting the the appropriate WST feature from the update site for your version of Eclipse. The update sites and feature names are provided below. 3.5 (Galileo): Galileo - Web, XML, and Java EE Development - Eclipse Web Developer Tools 3.4 (Ganymede): Ganymede Update Site - Web and Java EE Development - Web Developer Tools 3.3 (Europa): Europa Discovery Site - Web and JEE Development - Web Standard Tools Project On Thursday, December 3, 2009, anatoly techtonik techto...@gmail.com wrote: Can't get Google Plugin 1.2rc2 work correctly in Eclipse 3.5. Followed instructions from http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC Used Eclipse Galileo 3.5 for Java Developers (eclipse-java-galileo-SR1- win32.zip). Created fresh workspace. Downloaded Google plugin from http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-1.2rc2.zip Unpacked .zip as described at http://code.google.com/eclipse/docs/install-from-zip.html Restarted Eclipse. Issues: * No New Web Application Project button in toolbar as described in http://code.google.com/webtoolkit/gettingstarted.html#NewEclipse Though Deploy App Engine Project button is present. * Google or Web Toolkit is nowhere to be found under Windows - Preferences * Show View dialog contains Google root with single Development Mode leaf. * No references to Google or GWT in File - New menu or submenus. Error Log: !SESSION 2009-12-03 18:25:36.066 --- eclipse.buildId=M20090917-0800 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product !ENTRY org.eclipse.ui 4 4 2009-12-03 18:28:06.076 !MESSAGE Invalid preference page path: App Engine *** Current Install Configuration: Install configuration: Last changed on Dec 3, 2009 Location: C:\~env\IDE\eclipse-gwt Profile timestamp: 1259857539013 Installable Units in the profile: Id: a.jre.javase, Version: 1.6.0 Id: com.google.appengine.eclipse.core, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.core, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.platform, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.platform.shared, Version: 1.1.101.v200911250703 Id: com.google.gdt.eclipse.suite.e35.feature.feature.jar, Version: 1.1.101.v200911250703 Id: com.google.gwt.eclipse.oophm, Version: 1.1.101.v200911250703 Id: com.ibm.icu, Version: 4.0.1.v20090822 Bundles in the system: Id: com.google.appengine.eclipse.core, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.appengine.eclipse.core_1.1.101.v200911250703.jar Id: com.google.gdt.eclipse.core, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.gdt.eclipse.core_1.1.101.v200911250703.jar Id: com.google.gdt.eclipse.platform, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.gdt.eclipse.platform_1.1.101.v200911250703.jar Id: com.google.gdt.eclipse.platform.shared, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/ plugins/ com.google.gdt.eclipse.platform.shared_1.1.101.v200911250703.jar Id: com.google.gwt.eclipse.oophm, Version: 1.1.101.v200911250703, Location: reference:file:dropins/eclipse/plugins/ com.google.gwt.eclipse.oophm_1.1.101.v200911250703.jar Id: com.ibm.icu, Version: 4.0.1.v20090822, Location: reference:file:plugins/com.ibm.icu_4.0.1.v20090822.jar -- 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. -- 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: What does Unknown argument: -style mean?
On 3 déc, 22:50, Rob Tanner caspersg...@gmail.com wrote: The full version number 1.1.2.v200910131704. The 1.2rc2 Eclipse plugin is version 1.1.101.v200911250703. Have you uninstalled the previous plugin version? (the one from the update site, the official, the one you were using with GWT 1.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-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: Pure GWT Website
Looks very good... On Dec 3, 4:12 pm, Joe joechahh...@gmail.com wrote: Really nice job ! On Dec 3, 12:37 pm, rudolf michael roud...@gmail.com wrote: JWPlayer On Thu, Dec 3, 2009 at 12:35 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: Hi, What video player are you using? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@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.- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Full GWT Website with MS SQL Server 2008
Good one.But it is taking time to loak all images and text boxes.I feel you can make it still fast as user doesnt feel to wait to load everything On Dec 3, 3:55 pm, Joe joechahh...@gmail.com wrote: Hi Mariyan, Thank's for your post, well, first, this is not a tab panel, unfortunately. The home page was designed in dreamweaver(HTML page) than the whole objects, I mean textboxes, images, listboxes, etc are removed, and replaced byt gwt widgets. So you go like: HTMLPanel homepage = new HTMLPanel(here you put your html code without the html widgets, but with IDs); then your create your widgets with styles width, etc ... then you call: homepage.add(widget, corresponding id in the html code); Hope this was helpful :) On Dec 3, 12:23 pm, mariyan nenchev nenchev.mari...@gmail.com wrote: Hi, great, keep going. There is one thing i need to know, how did you customize this tab panel. I was trying to do the same tab bars but no success with decorated panel. You may show sample code :) Regards.- 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.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to configure GWT for HTTPS and client certificates
I am trying to set up a GWT application to use client certificate- based authentication and lightweight directory-based authorization. I am trying to use Spring security, and I have stepped through the Spring part in a debugger; the appropriate authentication objects are placed in a server ThreadLocal. However, things stop there. I'm not sure my entry point is ever invoked. All I get is a blank page. Have any of you tried client certificates? That is a mandatory requirement. Respectfully, Eric Jablow -- 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.
placing a widget in a dropdown
hi, i would like to create something that looks like a dropdown/listbox that contains no just text but also images, and each image perfoms a different action, so basically i would like to create something that opens up like a drop down but each item is a widget. the dropdown list is now sutible for that since the addItem is only for text. at some point i thought on doing it with menu items but it is also not really right... any one has any idea? Jaim -- 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.
datebox popup position
Hi, How do you position the datepicker popup for a DateBox ? Right now I am just doing a DateBox myDB = new DateBox(); and the datepicker appears below the textbox when you click on it. I see that on the gwt showcase example their's is popping up ABOVE the text box as seen here: http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker I would like it to pop out to the right, how is this accomplished. I have googled every query I can think of and can't find anything on this dare I Bing ? - Stephen -- 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: datebox popup position
If you play with it some more, you'll find that the date picker appears relative to the edit box, which means below the edit box if there's room, otherwise above it. If you'd like to impose different positioning rules, the logical thing to do would be to override showDatePicker(), but it's complicated by the fact that the PopupPanel variable is private. http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/datepicker/client/DateBox.html#showDatePicker() http://google-web-toolkit.googlecode.com/svn/trunk/user/src/com/google/gwt/user/datepicker/client/DateBox.java /** * Parses the current date box's value and shows that date. */ public void showDatePicker() { Date current = parseDate(false); if (current == null) { current = new Date(); } picker.setCurrentMonth(current); popup.showRelativeTo(this); } On Dec 3, 9:26 pm, Stephen manod...@gmail.com wrote: Hi, How do you position the datepicker popup for a DateBox ? Right now I am just doing a DateBox myDB = new DateBox(); and the datepicker appears below the textbox when you click on it. I see that on the gwt showcase example their's is popping up ABOVE the text box as seen here:http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker I would like it to pop out to the right, how is this accomplished. I have googled every query I can think of and can't find anything on this dare I Bing ? - Stephen -- 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.
applying CSS on the widget special features
hi, i have few listbox widgets, and i need to change the color of the arrow that opens the drop down list, and its surrounding box (the little gray square) how can i do it with the CSS? is there an attribute list for all styles that can be applied on a widget? Me -- 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.
[gwt-contrib] Re: Comment on UsingOOPHM in google-web-toolkit
Comment by jeffvictor: Is anyone else experiencing *extremely* slow DevMode on a mac? I'm using Leopard 10.5.8 with all of the updates and running DevMode with 64 bit Java 6. I experience the same slowness when using 32 bit Java 5 as well. I'm using 2.0 RC 2 and experience the problem using firefox 3.5.5 and safari. For more information: http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] NumberFormat JavaDoc fix
Reviewers: jat, Description: Simple fix in NumberFormat JavaDoc. Please review this at http://gwt-code-reviews.appspot.com/118805 Affected files: user/src/com/google/gwt/i18n/client/NumberFormat.java Index: user/src/com/google/gwt/i18n/client/NumberFormat.java === --- user/src/com/google/gwt/i18n/client/NumberFormat.java (revision 7242) +++ user/src/com/google/gwt/i18n/client/NumberFormat.java (working copy) @@ -117,7 +117,7 @@ * /tr * * tr - * tdcode;/code/td + * tdcodeE/code/td * tdNumber/td * tdYes/td * tdSeparates mantissa and exponent in scientific notation; need not be @@ -125,7 +125,7 @@ * /tr * * tr - * tdcodeE/code/td + * tdcode;/code/td * tdSubpattern boundary/td * tdYes/td * tdSeparates positive and negative subpatterns/td -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: NumberFormat JavaDoc fix
LGTM -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Mail sample doesn't resize mail list to the number of emails
Reviewers: jgw, Description: The Mail sample doesn't resize the table containing the mail list to the number of emails on the last page. This results in a vertical scroll bar that doesn't go away when it isn't needed. Fix: We now resize the table dynamically. Testing: Verified manually. Please review this at http://gwt-code-reviews.appspot.com/117804 Affected files: samples/mail/src/com/google/gwt/sample/mail/client/MailList.java Index: samples/mail/src/com/google/gwt/sample/mail/client/MailList.java === --- samples/mail/src/com/google/gwt/sample/mail/client/MailList.java (revision 7242) +++ samples/mail/src/com/google/gwt/sample/mail/client/MailList.java (working copy) @@ -131,15 +131,6 @@ // Initialize the table. table.getColumnFormatter().setWidth(0, 128px); table.getColumnFormatter().setWidth(1, 192px); - -for (int i = 0; i VISIBLE_EMAIL_COUNT; ++i) { - table.setText(i, 0, ); - table.setText(i, 1, ); - table.setText(i, 2, ); - table.getCellFormatter().setWordWrap(i, 0, false); - table.getCellFormatter().setWordWrap(i, 1, false); - table.getCellFormatter().setWordWrap(i, 2, false); -} } /** @@ -208,9 +199,7 @@ // Clear any remaining slots. for (; i VISIBLE_EMAIL_COUNT; ++i) { - table.setHTML(i, 0, nbsp;); - table.setHTML(i, 1, nbsp;); - table.setHTML(i, 2, nbsp;); + table.removeRow(table.getRowCount() - 1); } } } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Provide better exceptions for bad values in an RPC stream (not for 2.0)
No, what do I need to do for that? Dan On Thu, Dec 3, 2009 at 11:09 AM, robertvaw...@google.com wrote: Did you test this case with the deRPC code base? http://gwt-code-reviews.appspot.com/118802 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Minor Showcase tweaks
Reviewers: jgw, Description: This patch tweaks a couple of minor issues in showcase. 1. In the StackPanel example, the tree in the first stack should be open by default. 2. In the DatePicker sample, the DateBox should only include the date component. The time component of the date has very little significance in a DatePicker and always appears as noon. Testing: === Verified manually. Please review this at http://gwt-code-reviews.appspot.com/118806 Affected files: samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java samples/showcase/src/com/google/gwt/sample/showcase/client/content/widgets/CwDatePicker.java Index: samples/showcase/src/com/google/gwt/sample/showcase/client/content/widgets/CwDatePicker.java === --- samples/showcase/src/com/google/gwt/sample/showcase/client/content/widgets/CwDatePicker.java (revision 7242) +++ samples/showcase/src/com/google/gwt/sample/showcase/client/content/widgets/CwDatePicker.java (working copy) @@ -107,7 +107,9 @@ datePicker.setValue(new Date(), true); // Create a DateBox +DateTimeFormat dateFormat = DateTimeFormat.getLongDateFormat(); DateBox dateBox = new DateBox(); +dateBox.setFormat(new DateBox.DefaultFormat(dateFormat)); // Combine the widgets into a panel and return them VerticalPanel vPanel = new VerticalPanel(); Index: samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java === --- samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java (revision 7242) +++ samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java (working copy) @@ -269,6 +269,7 @@ addItem(mailPanelRoot, images.templates(), mailFolders[2]); addItem(mailPanelRoot, images.sent(), mailFolders[3]); addItem(mailPanelRoot, images.trash(), mailFolders[4]); +mailPanelRoot.setState(true); return mailPanel; } -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Test targets in project.ant.xmlsrc do not include project src directory
Please make the test do something more real than assertTrue(true), something actually involving the app. http://gwt-code-reviews.appspot.com/118807 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GWT RC2: TabPanelLayout -- no supporting CSS?
Great, I'm glad that worked out ok. Just for the record, we very much want to do better than having to mix @external and obfuscated CSS like this. We fully intend to revisit how styles and themes are applied, both to make it easier and more efficient, as soon as we get 2.0 out the door. On Thu, Dec 3, 2009 at 3:53 PM, Stuart Moffatt stuartmoff...@gmail.comwrote: Yep. @external worked. Thanks everyone. For the record: = TabLayoutPanelTest = ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:style src='TabLayoutPanel.css'/ g:TabLayoutPanel ui:field=tabLayoutPanel barHeight=28 g:tabg:headerThis/g:headerg:HTMLthis/g:HTML/g:tab g:tabg:headerThat/g:headerg:HTMLthat/g:HTML/g:tab g:tabg:headerThe Other/g:headerg:HTMLthe other/g:HTML/g:tab /g:TabLayoutPanel /ui:UiBinder === TabLayoutPanel.css @external gwt-TabLayoutPanelTabs; @external gwt-TabLayoutPanelTabInner; @external gwt-TabLayoutPanelTab; @external gwt-TabLayoutPanelTab-selected; .gwt-TabLayoutPanelTab, .gwt-TabLayoutPanelTab-selected { position: relative; height: 26px; width: 9em; margin-left: -16px; } .gwt-TabLayoutPanelTab .gwt-TabLayoutPanelTabInner, .gwt-TabLayoutPanelTab-selected .gwt-TabLayoutPanelTabInner { height: 26px; padding-left: 15px; } .gwt-TabLayoutPanelTab { background: url(tab-inactive-left.png) no-repeat bottom left; cursor: default; } .gwt-TabLayoutPanelTab .gwt-TabLayoutPanelTabInner { background: url(tab-inactive-right.png) no-repeat bottom right; } .gwt-TabLayoutPanelTab-selected { background: url(tab-active-left.png) no-repeat bottom left; z-index: 1; } .gwt-TabLayoutPanelTab-selected .gwt-TabLayoutPanelTabInner { background: url(tab-active-right.png) no-repeat bottom right; } .gwt-TabLayoutPanelTabs { background: url(tabs-bg.png) repeat-x bottom; padding-left: 2em; margin-left: 2px; margin-right: 4px; } .gwt-TabLayoutPanelTabInner div { color: #444; padding-top: 6px; font-weight: bold; height: 26px; text-align: center; margin-right: 15px; } .gwt-TabLayoutPanelTab .gwt-TabLayoutPanelTabInner div { background: url(tab-inactive-center.png) repeat-x top; } .gwt-TabLayoutPanelTab-selected .gwt-TabLayoutPanelTabInner div { background: url(tab-active-center.png) repeat-x top; } = Note that all of the CSS class names in the CSS file need to be annotated @external at the top of the CSS file. This could have all been on one line, but it also works one per line. Where to put things: - Since the CSS path is picked up from the ui.xml file, the parser expects the CSS file to be in the same path as the ui.xml file. - Since the image URLs are inline in the CSS, but the CSS is annotated external, then the images are expected to be in the war root directory, right beside the main .html file for the project. (Images were in an attachment in a previous email in this thread.) And here is what it should look like: http://tablayoutpanel.latest.emcode-dev.appspot.com Stuart On Wed, Dec 2, 2009 at 10:22 AM, Ray Ryan rj...@google.com wrote: I don't think we should thaw 2.0 for the externalized CSS file (though it's tempting), but it would be a good add for the downloads page. Or a tool that externalizes CSS files, similar to the one that generates java interfaces from them. On Dec 2, 2009 5:59 AM, BobV b...@google.com wrote: [...@rjrjr, bobv: Is there some easy way to put plain, unobfuscated CSS rules in a .ui.xml file?] Yes. Declare those class selectors to be @external in the CSS block. @external gwt-TabLayoutPanelTabs gwt-TabLayoutPanelTabInner; Now that ui:style allows users to specify a src attribute as well as inline styles, we should provide a CSS file that has @external declarations for all of the gwt- styles. Alternatively, the @external syntax could be extended with something like @external gwt-*; -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Minor Showcase tweaks
On 2009/12/03 16:36:33, jlabanca wrote: LGTM. http://gwt-code-reviews.appspot.com/118806 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GWT RC2 - Events are being hid by Layout layers in UIBinder
@jgw, Now that my TabLayoutPanel is working (thanks, btw), I want to go back to using LayoutPanel and g:layer. The problem is, my UI requires a few layers that nest nicely together like the old VerticalPanel (one above the other as you go down the page). Using a LayoutPanel with layers, my UI components now sit one above the other as in right on top of each other. Now that VerticalPanel and HorizontalPanel are on the way out, do I now I have to worry coding my own CSS to replicate the functionality that VerticalPanel had built in? It is not apparent how I should make layers gang up either vertically or horizontally without sitting right on top of each other. Stuart On Tue, Dec 1, 2009 at 7:51 AM, Stuart Moffatt stuartmoff...@gmail.com wrote: Thanks Joel. My current workaround is to use the old Horizontal/VerticalPanel widgets, so no harm, no foul. Looking forward to more examples! Stuart On Mon, Nov 30, 2009 at 12:20 PM, Joel Webber j...@google.com wrote: Stuart, Hiding/showing layers is slightly tricky (or at least non-obvious). I'm still working on examples in the documentation that should make it a lot clearer. In a nutshell, you need to actually show/hide the layer elements themselves. You can get the layer's element (referred to as a widget's container element) using *LayoutPanel.getWidgetContainerElement(Widget). Showing/hiding this element rather than the widget itself should get rid of any event problems. I'll make a point to add an example of this to the documentation. I didn't want to require the existence of the elements, but it proved impossible to support arbitrary CSS any other way (the existence of these elements makes it possible to efficiently account for margins, borders, and padding on the child widgets' elements). Cheers, joel. On Thu, Nov 26, 2009 at 2:33 AM, Stuart Moffatt stuartmoff...@gmail.com wrote: Env: GWTRC2 Safari Mac OS X. UI binding: {{{ g:LayoutPanel ui:field=layoutPanel g:layer myclient:MyEditor ui:field='myEditor'/ /g:layer g:layer myclient:MyLister ui:field='myLister'/ /g:layer /g:LayoutPanel }}} These two custom widgets sit right on top of each other visually. The reason is I want them to replace each other. Since MyLister is added last, I can trigger events from it. When I fire a certain event from MyLister, MyLister hides via setVisible(false) and MyEditor displays via setVisible(true) However, because MyEditor is a layer below MyLister, all events are hidden. E.g. onClick in widget in MyEditor does not fire. Is there any way (declaratively or programmatically) to swap the positions of the layers so that the visible layer is on top and can respond to events? sfm -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Test targets in project.ant.xmlsrc do not include project src directory
On 2009/12/03 21:11:22, Ray Ryan wrote: Please make the test do something more real than assertTrue(true), something actually involving the app. LGTM. http://gwt-code-reviews.appspot.com/118807 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Test targets in project.ant.xmlsrc do not include project src directory
On 2009/12/03 22:20:58, jgw wrote: On 2009/12/03 21:11:22, Ray Ryan wrote: Please make the test do something more real than assertTrue(true), something actually involving the app. LGTM. (Assuming you do something like Ray suggestd) http://gwt-code-reviews.appspot.com/118807 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GWT RC2 - Events are being hid by Layout layers in UIBinder
VerticalPanel and HorizontalPanel are not dead yet, for exactly this reason. But they're still table based. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GWT RC2 - Events are being hid by Layout layers in UIBinder
What Ray said. Mostly. The table-based HorizontalPanel is practically impossible to reproduce in CSS. You can use all kinds of inline-block hackery (since its cross-browser support is poor), but even that breaks down under various circumstances. VerticalPanel, on the other hand, is less useful (I find, anyway). You can almost always just stack up block-level elements in a div (in other words, just shove most any widget in a FlowPanel) and get the effect of a VerticalPanel without all the table stuff. On Thu, Dec 3, 2009 at 5:23 PM, Ray Ryan rj...@google.com wrote: VerticalPanel and HorizontalPanel are not dead yet, for exactly this reason. But they're still table based. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors