Gwt On Aug 10, 2012 7:47 PM, <[email protected]> wrote:
> Today's Topic Summary > > Group: http://groups.google.com/group/google-web-toolkit/topics > > - CellTable - how to reload data? <#13910e5d87c96924_group_thread_0>[1 > Update] > - Too many parameters in a generated Java file for uibinder - One > defect in uibinder generator <#13910e5d87c96924_group_thread_1> [2 > Updates] > - Drag and Drop UI using GWT with > Connectors<#13910e5d87c96924_group_thread_2>[1 Update] > - Adjusting height of GWT Panels based on content > dynamically<#13910e5d87c96924_group_thread_3>[1 Update] > - Keep getting:"out of memory" when > refreshing?<#13910e5d87c96924_group_thread_4>[1 Update] > - GWT 2.4 DevMode almost always hangs at "Checking for > updates"<#13910e5d87c96924_group_thread_5>[1 Update] > - facebook authentication <#13910e5d87c96924_group_thread_6> [1 Update] > - can i specify the filename when compiling > ?<#13910e5d87c96924_group_thread_7>[3 Updates] > - YUIGWT - YUI 3 in GWT <#13910e5d87c96924_group_thread_8> [1 Update] > - GWT and automated testing tools <#13910e5d87c96924_group_thread_9>[2 > Updates] > - Can't get touch handlers to fire? <#13910e5d87c96924_group_thread_10>[2 > Updates] > - DialogBox won't get CSS attribute > box-shadow<#13910e5d87c96924_group_thread_11>[1 Update] > - GWT > 2.0.0 DevMode: Strange warning when RPC with some object as > parameter <#13910e5d87c96924_group_thread_12> [1 Update] > - DevMode not working in Chrome after > update<#13910e5d87c96924_group_thread_13>[2 Updates] > - Tree View <#13910e5d87c96924_group_thread_14> [1 Update] > - Problems sorting Column in > CellTable<#13910e5d87c96924_group_thread_15>[1 Update] > - GWT Multi-Module Server Classpath > Problem<#13910e5d87c96924_group_thread_16>[1 Update] > - Examples and implementation of Dynamic String Internationalization > for UIBinder and its classes. <#13910e5d87c96924_group_thread_17> [1 > Update] > - GWT ui:style how big of a bad idea (or not) is it to use > it?<#13910e5d87c96924_group_thread_18>[1 Update] > > CellTable - how to reload > data?<http://groups.google.com/group/google-web-toolkit/t/fb79241c846da334> > > Magnus <[email protected]> Aug 10 07:05AM -0700 > > Hi, > > I have a CellTable with an AsyncDataProvider who fetches portions of > data > from a database, as requested by the CellTable. > > It's nice that CellTable keeps track of which portions are already > loaded > and that. However, there are events such as changing combobox which > require > reloading of the data. > > For example, imagine a list containing cars and a combobox which > allows to > select a car manufacturer. When a car manufacturer is selected, the > data > within the list becomes invalid. But how can I tell the CellTable to > reload > its data? > > Thanks > Magnus > > > > Too many parameters in a generated Java file for uibinder - One defect > in uibinder > generator<http://groups.google.com/group/google-web-toolkit/t/d8ba565301d90e00> > > James <[email protected]> Aug 10 05:57AM -0700 > > I have a big uibinder file to collect user inputs. This uibinder file > has a > lot of ui:fields. When I compiled it. I got the following error. There > are > many Templates are generated and one of them cause this error. My code > is > 100% right. There is one defect in UiBinder generator. > > [ERROR] Errors in > > > 'generated://AD04AD9F809E702F4D4A194C91C033A7/com/google/data/client/ui/DataTypesTestDetailViewImpl_DataTypesTestDetailViewBinderImpl.java' > [ERROR] Line 26: Too many parameters, parameter arg254 is exceeding > the > limit of 255 words eligible for method parameters > See snapshot: C:\Users\james\AppData\Local\Temp\com.google > > > .data.client.ui.DataTypesTestDetailViewImpl_DataTypesTestDetailViewBinderImpl7128410725109238784.java > [ERROR] Unable to find type 'com.google > > > .data.client.ui.DataTypesTestDetailViewImpl_DataTypesTestDetailViewBinderImpl.Template' > [ERROR] Hint: Check that the type name > > 'com.google.data.client.ui.DataTypesTestDetailViewImpl_DataTypesTestDetailViewBinderImpl.Template' > > is really what you meant > [ERROR] Hint: Check that your classpath includes all required source > roots > > > > Thanks, > > > James > > > > > Jens <[email protected]> Aug 10 06:22AM -0700 > > I think you simply can't have more than 255 method arguments in Java > and > the generator does not check this. Honestly I think it does not really > make > sense to have that many ui:fields in a single file. The input data is > probably categorizable so I would create one UiBinder per data > category. > > Splitting your UiBinder file in smaller parts to reduce the amount of > ui:fields per UiBinder is the only simple solution for you now. > Otherwise > you have to patch the generator to respect the 255 argument limit and > contribute the patch. > > -- J. > > > > Drag and Drop UI using GWT with > Connectors<http://groups.google.com/group/google-web-toolkit/t/acbaa63bc1618e10> > > Santosh <[email protected]> Aug 10 05:33AM -0700 > > We have a requirement to create a diagram which shows a sequence of > process in circular manner with Connectors. UI should be flexible > enough so that user can drag and drop any process between any of the > other two process in the diagram. Automatically connectors should get > re-arranged with new sequence. All examples what I saw using GWT-DND > are drag and drop components, but no examples with Connector arrows > concepts. We have also heard about SVG and YUI. But I am not sure how > far we can use that within GWT. Do we have any suggestion on what to > choose and how we can design this? > > > > Adjusting height of GWT Panels based on content > dynamically<http://groups.google.com/group/google-web-toolkit/t/cba9c9847ffe728> > > Santosh <[email protected]> Aug 10 05:30AM -0700 > > Thanks for your valuable inputs. As you have suggested, I will do some > reading on using css for fluid page design. Hope I will be more clear > afterwards. I will get back to you if any more clarifications needed. > > Header Panel will help me to create a header, content and footer > area. Anything more about that related to my issue? > > > > > Keep getting:"out of memory" when > refreshing?<http://groups.google.com/group/google-web-toolkit/t/7b1b135b10a9485c> > > Ashton Thomas <[email protected]> Aug 10 05:24AM -0700 > > Thanks, Jens. This worked for me after having memory issues post > 2.5rc1 > update > > On Tuesday, August 7, 2012 4:20:36 AM UTC-4, Jens wrote: > > > > GWT 2.4 DevMode almost always hangs at "Checking for > updates"<http://groups.google.com/group/google-web-toolkit/t/c9119663e6861148> > > "Dominique L." <[email protected]> Aug 10 03:05AM -0700 > > I have never had this problem. > Do you use Internet Explorer (see "CheckForUpdatesIE6") ? Can you try > with Firefox ? > > Dominique. > > > > > facebook > authentication<http://groups.google.com/group/google-web-toolkit/t/1ec2a4ff2e476f04> > > Tony Kayrouz <[email protected]> Aug 10 01:58AM -0700 > > I use GwtFB it's a wrapper for facebook graph javascript API > it should handle the user authentication for you . > > https://github.com/olams/GwtFB > > Tony Kayrouz. > > On Tuesday, August 7, 2012 5:37:44 PM UTC+3, aamonten wrote: > > > > can i specify the filename when compiling > ?<http://groups.google.com/group/google-web-toolkit/t/33b7561ca4ada076> > > wahaha <[email protected]> Aug 10 12:51AM -0700 > > there are 3 files after GWT's compiling: > hosted.html > moduleName.nocache.js > randomName.cache.html > > i want to ask that can we specify the name of "randomName.cache.html" > as we > like ? > > > > > Paul Robinson <[email protected]> Aug 10 09:15AM +0100 > > It's only safe for the browser to cache the file *because* it's got a > name that changes every time something changes. Setting the name to > something fixed would defeat this. > > Paul > > On 10/08/12 08:51, wahaha wrote: > > > > > Jens <[email protected]> Aug 10 01:18AM -0700 > > I don't think so. Maybe its possible with a custom linker. But I > wouldn't > recommend it. You need some random aspect in the file name because > when you > release a new version of your webapp the browser has to download the > new > randomName.cache.html. If "randomName" isn't random be some mean > between > app versions then the browser would use the outdated cached version. > > -- J. > > > > YUIGWT - YUI 3 in > GWT<http://groups.google.com/group/google-web-toolkit/t/49111f9f380a1dc2> > > "Sebastián Gurin" <[email protected]> Aug 09 06:51PM -0700 > > I just started a YUI 3 <http://yuilibrary.com>Java GWT API. It is a > GWT > library for using YUI 3. > > Project home page: http://code.google.com/p/yuigwt/ < > http://code.google.com/p/yuigwt/> > > Example Gallery with online Java sources : > http://cancerbero.vacau.com/yuigwt/ > > It is 99% overlay types, and the syntax try to emulate YUI JavaScript > syntax statements as much as possible. (see > JavaScript YUI code compared to its YUIGWT Java code equivalent: > http://code.google.com/p/yuigwt/wiki/equivalentCodeCompared ) > > The project is very very new, but a general pattern for migrating all > the > YUI JavaScript API to Java was found, using 100% GWT Overlay types for > a > zero overhead Java API. A lot of components are already ready to be > used, > check the example gallery that will reflect current progress. > > I must say, I must to give thanks to eclipse java templates for > writing GWT > overlay methods; it is speeding my code a lot. > > Any suggestions or ideas are most welcome. > > Regards, > > > > GWT and automated testing > tools<http://groups.google.com/group/google-web-toolkit/t/357478665d6e01bb> > > Ocean_Living <[email protected]> Aug 09 06:48AM -0700 > > I'm having some performance issues using Rational Functional Tester as > an automated testing tool when testing a web app built on GWT. > > Can anyone recommend an automated tool that works and plays well with > GWT? > > Thanks! > > > > > gong min <[email protected]> Aug 10 09:03AM +0800 > > Selenium is suggested in a book "Essential GWT Building for web with > Google > Web Toolkit 2". > I never touched. Can anyone give some samples if it is a good solution > for > GWT auto test? Thanks. > > 2012/8/9 Ocean_Living <[email protected]> > > > -- > Gong Min > [email protected] > > > > Can't get touch handlers to > fire?<http://groups.google.com/group/google-web-toolkit/t/9ba710bad7084743> > > mark <[email protected]> Aug 08 06:42PM -0700 > > Hi, > > I can't get touch handlers to fire: > > RootPanel rp = RootPanel.get("dummy"); > rp.sinkEvents(Event.TOUCHEVENTS); > rp.addHandler(new TouchStartHandler() { > @Override > public void onTouchStart(TouchStartEvent event) { > // touch down! > } > }, TouchStartEvent.getType()); > > What am I missing? > > Thanks > > > > > Shawn Brown <[email protected]> Aug 10 06:37AM +0900 > > > I can't get touch handlers to fire: > > see this > > http://stackoverflow.com/questions/11875484/how-to-use-touch-handlers-does-gwt-support-them/11875997#11875997 > > > > DialogBox won't get CSS attribute > box-shadow<http://groups.google.com/group/google-web-toolkit/t/6ad011f2c73927c1> > > Dominic Warzok <[email protected]> Aug 09 12:09AM -0700 > > Hi everyone, > > I have a DialogBox an want to add a box-shadow to it. > > So at the end it should look like "endversion.png". > > But when I write my DialogBox class and use the method > "setStylePrimaryName()" or "setStyleName()" the given String would be > applied to the DialogBox. > > CSS attributes like "border-radius" or "background-color" are shown in > FireBug but the attribute "box-shadow" is missing. > > Any sugesstions ? > > > > GWT > 2.0.0 DevMode: Strange warning when RPC with some object as > parameter<http://groups.google.com/group/google-web-toolkit/t/933cda52fc8d0f38> > > Vitaliy K <[email protected]> Aug 09 06:19AM -0700 > > Hi all, > > when I updated my project from GWT 2.0.0 to 2.4.0, noticed that in > window > "GWT Development Mode" at Jetty tab there is a warning: > > > [WARN] Adding classpath entry > > > > 'file:/C:/eclipse.Indigo/plugins/org.junit_4.8.2.v4_8_2_v20110321-1705/junit.jar' > > > to the web app classpath for this session > > I found it appears when RPC method that takes an object, such as > java.util.Date (not String and not null) or some my class. > > How to get rid of this warning? I do not think is a good idea to copy > junit.jar into the directory war\WEB-INF\lib. > > (OS: Windows 7; IDE: Eclipse Indigo) > > Thank you in advance > > > > DevMode not working in Chrome after > update<http://groups.google.com/group/google-web-toolkit/t/8c38372a85e854f7> > > Brendan O'Fallon <[email protected]> Aug 09 08:26AM -0700 > > Same issue here - no GWT Developer extension in the App Store, and it > won't > install otherwise. This happens on both my Mac (OS X 10.7) and Linux > machines (Fedora 16). Also, developer plugin apparently only supported > in > Firefox verisons 3-10.0, but current version is 14.0. Do I really have > to > regress four versions of Firefox just to install the plugin? > > On Tuesday, July 17, 2012 8:16:03 AM UTC-6, Andy wrote: > > > > > Jason E <[email protected]> Aug 09 10:57AM -0700 > > Same here with "Version 21.0.1180.57" Come on, Google! > > On Tuesday, July 17, 2012 7:16:03 AM UTC-7, Andy wrote: > > > > Tree > View<http://groups.google.com/group/google-web-toolkit/t/526bfdd615481cfd> > > Justin Das <[email protected]> Aug 09 03:28PM +0530 > > please specify is it the smartgwt tree grid or gwt cell tree? > > > > > Problems sorting Column in > CellTable<http://groups.google.com/group/google-web-toolkit/t/4fb5e288109cb880> > > Pete <[email protected]> Aug 09 09:50AM -0700 > > Hi all, > > I am using GWT 2.5 to create a CellTable with a sortable "Date" > column. > All goes well until I click on the sortable column's header, but its > not > responsive. > > Details here: > > > http://stackoverflow.com/questions/11883811/header-of-sortable-celltable-column-not-responsive > > Any help is greatly appreciated. > > Thanks! > > Pete > > > > GWT Multi-Module Server Classpath > Problem<http://groups.google.com/group/google-web-toolkit/t/8ec9ea7187a95a82> > > Geoffrey Wiseman <[email protected]> Aug 09 09:15AM -0700 > > I have a 2yo GWT project that's getting a little big for a single > module, > and we're bringing in a new project and we'd like to share some code. > > Accordingly, I've split the project into a 'common' codebase and a > project-specific codebase. That split isn't perfect yet, but I can't > seem > to get Eclipse to launch the project. If I launch the project through > "mvn > gwt:run", it launches successfully, but if I launch it through Eclipse > (Run > As > Web Application) the server part fails to start up when a filter > can't > find the SLF4J LoggerFactory. > > If I do some introspection on the classpath from the servlet, it seems > like > all of the JARs in the project aren't on the classpath -- only the > classes > and dependent projects are there. > > The launch configuration classpath seems ok, and the command-line > startup > seems to work. It doesn't seem to matter if I use m2e (with its Maven > Dependencies container) or "mvn eclipse:eclipse", which adds the JARs > to > the project .classpath directly. I'm running low on ideas. > > So: > > 1. Anyone experience this or something like it and know what I should > look for? > 2. How does the server get its classpath -- from the launch > configuration classpath or something different? > 3. Is anyone using multiple eclipse projects with the Google Eclipse > Plugin successfully? (from other threads, it sounded like there were > people > who had it working, but ...) > > Any other thoughts or suggestions welcome. > > > > Examples and implementation of Dynamic String Internationalization for > UIBinder and its > classes.<http://groups.google.com/group/google-web-toolkit/t/ff52cf392be223fa> > > Joseph Lust <[email protected]> Aug 09 08:06AM -0700 > > Nataraj, > > I know you don't want to redeploy you application each time a string > changes, but calling an external service can also complicate things. I > say > this from experience as a group at my company did a very large (200K > line, > 400 screen) GWT app last year which had to work in many languages. > They did > not use the GWT i18n tools because the company wanted to use a service > like > you describe. However, the result was a much slower application > because > various parts of the GWT code had to wait for the i18n files to be > loaded > from the company's (very slow) i18n service before it could render > anything > on a given page or screen. In hindsight, they wish they had used the > GWT > i18n facilities since such strings rarely are ever changed in > production. > > > Hope that helps. > > Sincerely, > Joseph > > > > GWT ui:style how big of a bad idea (or not) is it to use > it?<http://groups.google.com/group/google-web-toolkit/t/e8de7f93cfa11e15> > > Joseph Lust <[email protected]> Aug 09 07:47AM -0700 > > > Why would it be best to have your GWT code traverse every single row > in > > the set an based on your index % 2 decide weather or not collapse > it, than > > have a CSS selector in gwt-jquery kill away all ODD rows? > > > Set a class 'odd' and 'even' and place those on each row when you make > them. Then just use a CSS selector to show or hide all 'odd' rows by > element.addClassName('hideOdd') on the parent container. Just a single > operation in GWT. > > > Sincerely, > Joseph > > > > You received this message because you are subscribed to the Google Group > google-web-toolkit. > You can post via email <[email protected]>. > To unsubscribe from this group, > send<[email protected]>an empty message. > For more options, > visit<http://groups.google.com/group/google-web-toolkit/topics>this group. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > 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. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. 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.
