Re: Is there any way I can add a Chart widget into cells in a celltable?
Good the hear that! Ya the image charts are static by nature,, >> But you will lose the interactivity though :( -sowdri- -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JE8A1NyDXLAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT in Google Products
Google Apps Script (for UI) and Google Apps Script Editor. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jmJfqVJ4rgcJ. 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 post data from one page to another
Hello, i am new to gwt and i want to use this framework to develop my new project,i studied basic tutorial on gwt and developed a sample application. i used history Mechanism for navigation,it is working fine, now my issue is that how should i post data from one page to another.i used formpanel but not sure what path should i set in setAction() .and How to receive that posted data as i stay on the same page with diffrent token.Or is there any another way to post data while using History mechanism for page navigation.Please help me to get out of issue asap. Regards, Harnek -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT MVP & Multiple Areas Doubt
If your 3 parts are tightly linked (you have different actions and different filters for each different "main content"), given that they're displayed next to each other, then you only need one activity. I'd however try to code them as three distinct "components" (widgets) linked only through events (true events with event-handlers using addHandler, or simply using callbacks). That should make it easier maintain the whole thing (otherwise your "main content with actions and filters" could grow and become unmaintainable) but more importantly, if you think you could visually separate them later, that would make it easier (in that event, route the events through the event bus and "you're done"). It would make it possible/easier to reuse one part in different views (e.g. if most/all lists have the same set of actions). I'm afraid there's no "one size fits all" approach; it (in part) depends how you imagine your app will evolve. The whole idea of activities are to decouple things, it doesn't make sense for things that are tightly coupled (unless they're separated visually into non-adjacent areas). The idea is that, for instance, a "main menu", a "list of things" and "details about one thing" could all appear on the screen at the same time on a desktop, but appear as "sequential screens" on a smart phone (and using MVP within an activity, you can in addition decouple the view –wide on a desktop, narrower on a smartphone– from the behavior) To me, however, your current design is clearly not the best (or i misunderstood it): why use MainDisplayFilters and MainDisplayActions as singletons that you clear/populate each time instead of simply using distinct instances in each view? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/bqGmcv_OB8EJ. 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.
YouTube technologies
I know this is not the right forum but I'll shoot regardless :) Does anyone know what technologies youtube uses? I think closure for the new site, not sure though. I can't find traces from GWT. What languages are used on the server? -- You received 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: Is there any way I can add a Chart widget into cells in a celltable?
the image charts fit our needs well, and provides a rich set of parameters to tweek the charts, and it is very simple to integrate. LOVE IT. It seems by nature the chart is static (unless I missed something) and is not interactive as the charts in Chart Tools, but we can live with that for now. Thanks a lot for pointing me to the Image Charts. -Jian On Fri, Dec 2, 2011 at 1:07 AM, Jian Lu wrote: > Thanks a bunch for pointing to the image charts, which seems quite > promising for solving my problem. > > The reason I was trying to add a widget to the cell is I want to embed a > chart created by Google Chart Tools into my cell table, and the chart > created by Google Chart Tools is in the form of a widget, which will > eventually be rendered as an iframe with embeded js. > > I will take a look at the image charts and report back. Thanks! > > -Jian > > > On Thu, Dec 1, 2011 at 11:19 PM, -sowdri- wrote: > >> Cells and widgets are 2 different ways to render info on the screen. >> While the former uses innerHtml, the later uses DOM level manipulations for >> rendering the data. >> >> There is a proposal to come up with cell backed widgets, I'm not sure >> about the implementation roadmap. >> refer: http://code.google.com/p/google-web-toolkit/wiki/CellBackedWIdgets for >> details. >> >> I'm not sure why you are trying to embed widget in cell table. But if you >> really have to do it, try image charts ( >> http://code.google.com/apis/chart/image/ ). You can create custom cells >> for each of the chart type you use and you can embed this into the >> celltable. >> >> But you will lose the interactivity though :( >> >> Hope this helps, >> -sowdri- >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Web Toolkit" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-web-toolkit/-/4vFFCJpHv74J. >> To post to this group, send email to google-web-toolkit@googlegroups.com. >> To unsubscribe from this group, send email to >> google-web-toolkit+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: MVP framework(s) doubt
I think you have no problem. > Sorry about the delay :) > > The main issue that I am having is in Eclipse, something when I make a > change (little change) and I reload my app in Firefox I get this on > the console: > > java.lang.OutOfMemoryError: PermGen space > [ERROR] Out of memory; to increase the amount of memory, use the - > Xmx flag at startup (java -Xmx128M ...) > > So that's why I believed that cutting the number of classes could > solve my problem. Completely unnecessary. Just right click your project in eclipse and select -->run as --> run configurations. Under Web Applications find the html page for your project, select it and do what the message above says to do in the vmargs tab. If Eclipse itself need more memory you have to find the icon in finder and right click it, select Show Package contents --> MacOS --> and modify with something like the following under -vmargs: -vmargs -XX:MaxPermSize=1G -Xms40m -Xmx2G -- You received 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: MVP framework(s) doubt
Sorry about the delay :) The main issue that I am having is in Eclipse, something when I make a change (little change) and I reload my app in Firefox I get this on the console: java.lang.OutOfMemoryError: PermGen space [ERROR] Out of memory; to increase the amount of memory, use the - Xmx flag at startup (java -Xmx128M ...) So that's why I believed that cutting the number of classes could solve my problem. BTW i am on MacBookPro i5 with 4MB, using Eclipse Helios 64 bit. On Nov 26, 2:31 pm, Thomas Broyer wrote: > What are your perf issues? Are they in DevMode or production mode? If you > don't have perf issues in prod mode, then you don't have a perf issue: > DevMode *is* slower; and moreover code splitting won't help. > It's also important to define *which* are your perf issues: if it's > download time, then code splitting can help, if it's about "runtime" > performance, then it won't, and you'll have to find the bottleneck. > Having a lot of classes can be the problem, but I highly doubt it is. > We do have thousands of classes, and we use RequestFactory and the Editor > framework, which generate a whole lot more, and we haven't had any negative > feedback (yet) about performance. > > If you want to reduce the number of files you have, then you can cut the > number of places by using, say an EditPlace with a field telling which kind > of "entity" is being edited, of a FooPlace with a field telling which > "action" is being done on the Foo entity (edit, list, etc.) But I doubt > it'll change much things about performance (and unless you measure it and > determine it's your bottleneck, it's not worth trying to "fix" it). > > So, first, if you have a perf issue, measure and determine where it comes > from (you can use SpeedTracer in Chrome, or any browser's profiling tool; > possibly after compiling in -style PRETTY so the code is readable, even if > less optimized; you can also use the Duration class and some logging, using > GWT.log() in DevMode or java.util.logging), then fix it. But without > *knowing* (not only guessing, knowing!) what your perf issue is, it's > likely you won't fix it just by trying a few things (and you could even > make it worth, if you guessed wrong). > > Also, keep in mind that any framework that "cuts boilerplate down" uses > code generation, so you might have fewer classes in your code, it doesn't > mean there'll be less in the end (only the compileReport will tell you). > > Generally, bottlenecks are: DOM manipulations (misuse or overuse of > widgets; switch to HTMLPanel and CSS for layout if possible, use Cell > widgets for lists/tables/trees), and RPC (GWT-RPC or RequestFactory, or > whatever; serialization is generally the culprit); and of course > server-side code (database, 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-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.
GWT MVP & Multiple Areas Doubt
In my app I have layout like gmail. A header, a left panel (with a menu), a main content area (with a header and a content area). Example: --- |username logout| -- | aside | add, delete, other action| | menu | | || filter by a, b, c | || | || maincontent (ie: celltable) | || | || | || | || | || | --- Aside Menu will be created after the user logins and remains during the entire session. The same for the header. Now, my doubt is about the main content area (actions panel, filters panel and main content panel). What I did to get this layout working is: 1. I created two widgets, MainDisplayFilters and MainDisplayActions. 2. I created an AppLayout and injected those widgets. 3. In every one of my views, for example UsersListView, I inject MainDisplayFilters and MainDisplayActions, clear the widgets, and add to the widgets the buttons for the actions and the filters that I need in the current activity. I really DONT like this approach :) but I can't figure how can I do it in a better way. Should I create an ActionsActivityMapper and a FiltersActivityMapper, and diferent activities / views for this panels for every place that the user goes? For example, if the user goes to UserListPlace, load the UserListActionsActvity (with it owns view) and the UserListFiltersActivity? It doesn't make many sense, I think. I was reading about Thomas Broyer post http://tbroyer.posterous.com/gwt-21-activities-nesting-yagni but actions panels and filters panels are in someway connected to the maincontent activity, that's why I believe that I don't need more than one ActivityMapper. I neither don't like the idea to have the actions panel + the filters panel + content panel all in one view, beacause if in the future I want to change something in the layout (for example add a pagination control on the right of my actions panel), I would have to do it in every view. Wich one would be the best way to handle a layout like this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT in Google Products
Google api console : https://code.google.com/apis/console 2011/12/3 Dimitrijević Ivan > Google Flights: http://google.com/flights/ > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/CYJQ1hk7tNkJ. > > 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. > -- Christian Goudreau www.arcbees.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: GWT in Google Products
Google Flights: http://google.com/flights/ -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/CYJQ1hk7tNkJ. 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.
Backend call in Window Closing handler?
How can I make a call to the backend in a Window Closing handler ? What I want: automatic logout of the member when he closes his browser window. I tried both a FormPanel.submit() and RPC call, but neither do the arrive at the backend (in dev mode) :( They only arrive at the backend when I show a browser alert popup by setting the message in the event that is received in the handler. Example: private final class CloseHandlerIntern implements ClosingHandler { public void onWindowClosing(ClosingEvent event) { event.setMessage("automatic logout"); createFormBuilder("123").submit(); // FormPanel.submit() // getServiceFacade().logoutLoggedInMember(); // RPC call } --- Any idea how this can be done? I am running GWT 2.3 in noserver dev mode. I also tried the CloseHandler, but it gave the same result. I notices some old open issues about this subject like 6088. - Ed -- You received 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: Loading JSON Test Data
JSONP, despite its name, is not JSON, it's JavaScript; it needs support on the server-side. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wcBjt5ZxWYcJ. 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: Loading JSON Test Data
I was misunderstood on SOP and what that involved, but I think I understand that now. I don't understand why when I make a call to a remote server it works just fine, but when I make a call to a remote php file that returns json, it doesn't work. I've tried using jsonprequestbuilder without success. I'm would think there would be an easier way to retrieve this data: http://coryschulz.com/data.json I'll keep playing with jsonprequestbuilder and see if I can get it to work. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NhQMD1uutswJ. 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: Loading JSON Test Data
If you read my previous post, I stated that you are crossing domains (SOP). That is your issue, hence your return of 0. To get around that, I listed two options at the bottom of my previous reply. That would allow you to reach your server. How you load JSON afterwards is up to you. I also stated two ways to load JSON. If you are familiar with JS Overlay Types then use that. Regards, Alfredo On Sat, Dec 3, 2011 at 9:34 AM, CSchulz wrote: > I already understand GWT JS Overlay Types. That's not the issue. > > I'm running the php script on a web server online, and I'm running the GWT > project from my current machine, so they're not running on the same machine > or same network. So I don't think that's the issue either. > > Is there a way to just call the json file directly and then parse it? That > would be ideal. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/HkWcuwxSwVMJ. > > 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. > -- Alfredo Quiroga-Villamil AOL/Yahoo/Gmail/MSN IM: lawwton -- You received 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: Loading JSON Test Data
I already understand GWT JS Overlay Types. That's not the issue. I'm running the php script on a web server online, and I'm running the GWT project from my current machine, so they're not running on the same machine or same network. So I don't think that's the issue either. Is there a way to just call the json file directly and then parse it? That would be ideal. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/HkWcuwxSwVMJ. 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: Loading JSON Test Data
To handle the response you have a few options: 1. GWT JS Overlay Types ( http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html ) You can read the JSON response and pretty easily map it to the JS Overlay Type you've defined describing the JSON structure. 2. GWT AutoBean (http://code.google.com/p/google-web-toolkit/wiki/AutoBean) Similar as 1) above, just even cooler. At least for me :) Your comment: "in GWT it returns a status code 0" ... You are running into the SOP (Same Origin Policy) here. There are a couple of alternatives: a) http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/jsonp/client/JsonpRequestBuilder.html b) You can send the call to your server (running on the same domain, making sure you don't violate none of the SOP rules, different port,etc..) and from there send a call to your remote server. c) You can load the test data from your domain backend server and then test from there so you don't run into the SOP issue using either 1) or 2) mentioned above. There are might be other options, those come to mind right now. Regards, Alfredo On Sat, Dec 3, 2011 at 8:54 AM, CSchulz wrote: > I'm wondering if there's a way to have a json file, hosted locally or > online, where I can create a bunch of test data and then load it into my > GWT app and parse it like a RequestBuilder call. I've been looking online > for a way to do this and nothing seems to work. I then tried putting > together a php script to return some json, and even though it works in the > browser and returns a 200 status code in my Charles web proxy, in GWT it > returns a status code 0 and doesn't give me any data. The php file was not > hosted locally and I have the php content type set to application/json. > If there's another way to load this json that would be nice. I don't want > to have to create these json objects from scratch in GWT. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/TMv9iuNq82MJ. > 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. > -- Alfredo Quiroga-Villamil AOL/Yahoo/Gmail/MSN IM: lawwton -- You received 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.
Loading JSON Test Data
I'm wondering if there's a way to have a json file, hosted locally or online, where I can create a bunch of test data and then load it into my GWT app and parse it like a RequestBuilder call. I've been looking online for a way to do this and nothing seems to work. I then tried putting together a php script to return some json, and even though it works in the browser and returns a 200 status code in my Charles web proxy, in GWT it returns a status code 0 and doesn't give me any data. The php file was not hosted locally and I have the php content type set to application/json. If there's another way to load this json that would be nice. I don't want to have to create these json objects from scratch in GWT. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TMv9iuNq82MJ. 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: CellTable column and cell style
Have you tried using add/removeColumnStyleName with a CSS class that sets display:none? As a last resort, have you tried removing/adding the columns from the CellTable? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-_ZR1gGjYr0J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT in Google Products
We at Infosys use GWT for many of our customer project. In some cases we had jquery and GWT. And later on we moved the jquery part to GWT as jquery performance was turning out bad. GWT rocks. But we need to contribute a lot and bring good widget and make user experience of GWT application really good. If Google can release the source code of Wave Interface (google not the one contributed to Apache) then it would be really good. Regards, Allahbaksh -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NYXzyS6ncGUJ. 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.