Does the JS code from GWT run fine on Explorer 8 ? Or stick with Explorer 7?
Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Composite question
How about this: Create a new class that contains Composite and extends nothing. Implement the methods using those from Composite needed to make the new class work with GWT...and implement your own. In other words: class MyRestrictedWidget { private Composite composite = new Composite() { private FlowPanel flowPanel = new FlowPanel(); initWidget( flowPanel ); }; public MyRestrictedWidget() {} public doMyControlFreakThing() { } public void removeFromParent() { // example of a method possibly required by GWT framework. composite.removeFromParent(); } } On May 22, 4:27 am, alan m alan.jame...@gmail.com wrote: Developers can never be trusted to do what they're told ;-) I'll pass on your kind description of them! But seriously, I have everything I need for css layout built in to my widgets already (so no style is set in code; and no layout or style is all-but-impossible in css). I was just wondering if it could be further locked down - to spare the developers as much as constrict them: add widgets to views, connect them up to events and data, and don't waste your time with styles layout. And I don't want to spend hours pulling my hair out because css won't re-set a style, only to discover that some renegade terrorist has buried a setWidth() or DOM manipulation landmine somewhere in code where it doesn't belong IMHO... But it seems like what I want isn't easily possible. Thanks for your help. Alan On Thu, May 21, 2009 at 7:41 PM, Ian Bambury ianbamb...@gmail.com wrote: Sorry - I was going from memory and got the widget thing wrong. :-( You'd have to go back to real basics to get around that. Or tell your client to get developers they can trust to do as they are told ;-) Is your client absolutely sure that their untrustworthy, pig-headed, anarchic, f***-you-mentality programmers will *never* need to set a width to, say, 100%? Setting absolutely everything in css will really complicate the css under some circumstances. There are some settings which really should be set in code (like setting the cell width to 100% in a HorizontalPanel) because they are necessary in building other widgets and all-but-impossible in css and/or will break if Google change that widget's structure Ian http://examples.roughian.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: database backend best practice
Is the application Trackvia? ;-) On May 2, 7:43 am, Chris chris.b...@gmail.com wrote: I'm about to start a new application using GWT 1.6. I have a lot of programming experience, but very little with java. In my application I want to load a dozen or so different record types from a mysql database, send them to the client where the user can display/modify them in various ways, then send the data back to the database. I've looked over the basic DynaTable example and some jdbc examples and I've also read some about Hibernate. I'm trying to determine if Hibernate is worth the extra setup and configuration, vs a direct jdbc approach. Or is there a better solution I'm missing? If you were starting a new database GWT app with 1.6 what would be the best approach? Where best means both easiest to configure and easiest to deal with the code. Thanks for any suggestions, especially pointers to 1.6 tutorials. -- Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: A native GWT chart library?
Pierre, Maybe use Walter's vector library here: http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm#download Granted it is lower level - you'd probably have to build on it to make graph classes - there may be some already made for it. On Apr 22, 2:35 am, Rvanlaak rvanl...@gmail.com wrote: The Google Chart API delivers an image instead of Flash. It's a server- side, hosted, URL-based charting API. All input data is provided as URL query parameters and the Google server responds with a chart image. The charts are clean and the API is easy to use This does mean it isn't going to be interactive, as Flash is. http://code.google.com/intl/nl/apis/chart/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: json date
The answer depends on whether you want the server to format the date or the client to. Send it as a JSONstring for the 1st case and as a JSONNumber for the latter. Send it as JSONNumber if you want the client (GWT) to be able to render the date as its local time. On Feb 25, 3:56 am, Lothar Kimmeringer j...@kimmeringer.de wrote: Dimitrijević Ivan schrieb: You can use sql99 standard (-MM-DD hh:mm:ss) to format date as string in php and write your parser which will convert sql99 date String into Date object in GWT. If the web-application is accessed internationally I think the format used with iCalendar (AFAIR) or XML is better: -MM-ddTHH:mm:ssZ Otherwise there might be confusions what 03:00:00 means, the timezone of the server or the timezone of the client. Or you define that all times have to be in UTC and you convert them accordingly on server- and client-side. Regards, Lothar --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to get the Widget when only the Element is known?
I can't find how to do this and am hoping that it is easy to do and that I am just not seeing the way. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How is the width of a HTMLtable column or cell gotten without referring to an object contained therein?
Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to get the width of a cell in a HTML table/Grid
The width of a widget contained it a cell can be gotten, but how is the width of a cell or column gotten? Let's say all cells of a Grid contain text. How is the width of a column or cell gotten? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: What gwt method and/or event indicates that the object has been rendered?
Thank you. Makes sense. On Dec 11 2008, 8:41 am, Jason Essington jason.essing...@gmail.com wrote: Thomas is correct here. onAttach() performs some very important functions related to widget behavior, so if you are not careful (to call super.onAttach()) then you would end up with broken widgets if you override that method. It is useful to override onAttach() if you need to perform some task just to rendering then call super.onAttach() at the end of your overridden method. However, onLoad() is the correct method to place your own code in if you need to perform tasks AFTER the widget is attached to DOM. -jason On Dec 11, 2008, at 4:32 AM, Thomas Broyer wrote: On 11 déc, 07:10, Adam T adam.t...@gmail.com wrote: Try overloading the onAttach() method of the widget/panel in question which are called as the widget is attached to the DOM, it might be wise to wrap your code that calls the getOffsetWidth() method up in a DeferredCommand. Widget.onLoad is called at the end of Widget.onAttach, i.e. when child widgets have been attached. I'd therefore rather use onLoad than onAttach in this case (though they would work the same, given that OnLoad is called *from* onAttach). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
How to get GWT shell/tomcat to access perl cgi
I imagine the cgi should be put into the www area/directory but I don't know how to set this up. Please give me a link that will help me or try and describe how to do this. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
What gwt method and/or event indicates that the object has been rendered?
...and upon that for example getOffsetWidth() will return the rendered amount? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: setting Label widgets in each cell of 1000row x 17col grid is too slow..
I'm going to try the BulkTableRenderer today. I want to be able to catch button right click events on the row and don't see text being able to catch those and therefore made labels for each cell. I did exchange Label for setText to verify speed change but building the grid was still slow . Thanks for all the suggestions, any more? =) Jim On Nov 28, 3:55 am, Thomas Broyer [EMAIL PROTECTED] wrote: On 26 nov, 19:41, JimColton [EMAIL PROTECTED] wrote: ..taking about 25 seconds on a 1.7ghz laptop with firefox. It that length of time expected or may there be something wrong with two nested loops for row, col and setWidget on the grid? I would first try a BulkTableRenderer; if you can't (I can't see any reason why, but...) then use an IncrementalCommand. Can't you also use setText instead of setLabel? If you can avoid instanciate 17000 Label objects, it'll probably run faster too ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---