Re: Implementing Normal HTML Instead of GWT
Hi, I have another concern regarding GWT. *Questions:-* *) Is it possible to use both GWT-UI Binder and normal HTML files. For Ex: [So far we have been using GWT UI-Binder. Since we are facing some difficulties. We have planned to use normal HTML files only for our fore-coming features.]. *) Is it possible to Bundle Normal HTML files with the GWT UI-Binder class files ?. *) Dynamic Pages can be accessed, in case if we use normal HTML files instead GWT UI-Binder?. Awaiting for your valuable suggestions.* Advance Thanks,* On Sunday, September 30, 2012 1:48:48 PM UTC+5:30, Manuel Carrasco wrote: On Sun, Sep 30, 2012 at 9:45 AM, sampath88 arnoldk...@gmail.comjavascript: wrote: Hi, We started using GWT from few months ago. We are about to use normal HTML files, instead of using GWT-HTML. I have few concerns regarding this. *My Questions:-* *If we use normal HTML instead of GWT HTML.* *) Is it possible to Compile both Class-files and HTML files using GWT? You can host your script (gwt generated js) in any html file (static html, dynamic .jsp, etc) and you can interact with the elements of this html, wrapping html elements in widgets, accessing the elements with gwt DOM methods, or using css selectors with gwt-query: https://code.google.com/p/gwtquery/ If you want html stuff inside gwt scripts, you have to use UIBinder: https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinder *) Is it possible to maintain session and cookie in GWT. For Ex[In Browse without logging out our session. If we close the browser and if we re-open it. Our session will opened because it will maintain session and cookies. Similarly, Is it possible using normal HTML in GWT ] Yes, cookies is something related with your html page location so gwt scripts in those html pages should maintain the cookies. A different thing is how to restore the gwt las status, I mean if in this page gwt has rendered some thing because of an iteration with user you have to know somewhere that status (cookies, localstorage, url hash, etc) *) Is it possible to redirect from HTML to GWT and vice-verse? No idea what you are asking, but basically a gwt app is a javascript inside an html, and redirections are perform through html, so when you change to other html, your app is unloaded from memory and you have to load it in the new html. Please provide your precious suggestion. Thanks, -- -- 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/-/XO6EFcqmFfgJ. 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: Implementing Normal HTML Instead of GWT
*) Is it possible to use both GWT-UI Binder and normal HTML files. For Ex: [So far we have been using GWT UI-Binder. Since we are facing some difficulties. We have planned to use normal HTML files only for our fore-coming features.]. The advantage of GWT-ui files are that they become a gwt-widget available in java code saving many boiler code related with html, layouts, events etc. If you dont want those widgets, and you just need html fragments to put in your ui, you can use ajax to get that fragments or include those in compile time (See https://developers.google.com/web-toolkit/doc/latest/DevGuideClientBundle#TextResource ). Once you have those html fragments you can insert them in your ui using HTML widget and DOM. I think a good option is gwtquery so as you can use it to download html fragments (see GQuery.ajax), put them in your ui (even modifying widget contents) , and enhance them adding events etc. *) Is it possible to Bundle Normal HTML files with the GWT UI-Binder class files ?. afaik no *) Dynamic Pages can be accessed, in case if we use normal HTML files instead GWT UI-Binder?. Using ajax: yes, otherwise changing between pages need that you insert your gwt script in each one. Think that GWT is a typical case of SPI (Single page interface) - Manolo -- You received 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: Implementing Normal HTML Instead of GWT
On Tue, Oct 2, 2012 at 3:33 AM, Michael Allan m...@zelea.com wrote: Manuel said: . are you planning to send this to gwt? . to play with this code, do I have to download the entire kit or may I patch just some classes? . does it work with 2.5. I plan to merge 2.5 once it's released. I expect it'll work, though there might be trade offs. We absolutely need the BFCache for our app because it runs cross-page. So we'd override anything that was incompatible, if we had to. If you need to patch it across to the RC meantime, here are the diffs: http://zelea.com/var/db/repo/gwt/ If anyone else finds it useful, we can look at sending it upstream. +1, I find it very useful - Manolo -- You received 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: white screen on iphone (maybe iOS6 issue)
it really seems to be a Ajax caching problem. I am loading the google maps v3 using the Ajaxloader-Package (http://gwt-google-apis.googlecode.com/svn/javadoc/ajaxloader/1.1/index.html). Unfortunately I have no clue where to change any header information. I would appreciate any hints! Thanks! -- 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/-/QydsOowy7uMJ. 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: DevMode not working in Chrome after update
Neither trick works for me (Chrome 22 on Snow Leopard) .. infuriating. Works fine on Firefox but what's the point when you can't do cross browser testing? On Thursday, 27 September 2012 17:11:05 UTC+1, Tony Rah wrote: I +1 for Brandon's fix. All other approaches were met with failure for me and although Firefox is much faster and more stable, I just can't stomach developing on that browser anymore except during cross-browser test waves prior to checkin. I imagine the GWT team will get the plugin fixed in the next few days and the old version of Chrome in question is only about 4 weeks old so not a big deal. -- 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/-/-ePpFRPxSaIJ. 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 openpa serialization problem
I have gwt app with openjpa 2.0 *gwt compiler compile OK * *Compiling module skladisce.SkladisceGWT* * Compiling 6 permutations* * Compiling permutation 0...* * Compiling permutation 1...* * Compiling permutation 2...* * Compiling permutation 3...* * Compiling permutation 4...* * Compiling permutation 5...* * Compile of permutations succeeded* *Linking into /home/MyUser/IBM/rationalsdp/workspace/SkladisceWeb/WebContent/skladiscegwt* * Link succeeded* * Compilation succeeded -- 129.166s* but runtime error happend. Why do I get error serialization?* What does 'org.apache.openjpa.kernel.DelegatingResultList' has with serialization*??? my ERROR: *com.ibm.ws.webcontainer.webapp.WebApp log SRVE0296E: [SkladisceWebEAR#SkladisceWeb.war][/SkladisceWeb][Servlet.LOG]:.Exception while dispatching incoming RPC call:.com.google.gwt.user.client.rpc.SerializationException: Type 'org.apache.openjpa.kernel.DelegatingResultList' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = [skladisce.shared.entities.LoksObrat@4eb44eb4, skladisce.shared.entities.LoksObrat@76dc76dc, skladisce.shared.entities.LoksObrat@77dd77dd, skladisce.shared.entities.LoksObrat@78e278e2, skladisce.shared.entities.LoksObrat@79f879f8, skladisce.shared.entities.LoksObrat@7afc7afc, skladisce.shared.entities.LoksObrat@bc00bc, skladisce.shared.entities.LoksObrat@1f001f0]* MY gwt.xml file: ?xml version=1.0 encoding=UTF-8? module rename-to='skladiscegwt' inherits name='com.google.gwt.user.User'/ inherits name='com.google.gwt.user.theme.clean.Clean'/ inherits name=com.google.gwt.logging.Logging/ source path=skladisce.shared.entities/source source path=org.apache.openjpa.kernel.DelegatingResultList/source entry-point class='skladisce.client.SkladisceGWT'/ source path='client'/ source path='shared'/ set-property name=gwt.logging.logLevel value=INFO/ set-property name=gwt.logging.enabled value=FALSE/ set-property name=gwt.logging.consoleHandler value=ENABLED/ /module @SuppressWarnings(serial) public class SkladisceServiceImpl extends RemoteServiceServlet implements SkladisceService { public ListLoksObrat getAllObrat(String version) throws MajorMinorException { log.trace( getAllObrat); if(!version.equals(AppInfo.VERSION)) throw new MajorMinorException(); LoksObratManager loksObratManager = new LoksObratManager(emf); // listLoksObrat = loksObratManager.findAllToLokpVrsta(); log.trace( getAllObrat); return loksObratManager.findAll(); } @SuppressWarnings(unchecked) @JPAManager(targetEntity = skladisce.shared.entities.LoksObrat.class) public class LoksObratManager { @Action(Action.ACTION_TYPE.FIND) public ListLoksObrat findAll() { ListLoksObrat list = null; EntityManager em = getEntityManager(); try { Query query = em.createNamedQuery(LoksObrat.findAll); list = query.getResultList(); //for (LoksObrat loksObrat : list) { // loksObrat.getLokpObratStrms(); //} } finally { em.close(); } System.out.println( Bogdan tag: +list.toString() ); return list; } - My entiry class is: @Entity @Table(name=LOKS_OBRAT, schema=SKL) @NamedQueries({@NamedQuery(name=LoksObrat.findAll, query=SELECT lo FROM LoksObrat lo)}) public class LoksObrat implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy=GenerationType.IDENTITY) @Column(name=ID_OBRAT) private int idObrat; @Column(name=DATURA_ZAD_SPR) private Timestamp daturaZadSpr; private String krnaziv; private String opis; @Column(name=OSEBA_ZAD_SPR) private String osebaZadSpr; private String sifra; @Temporal( TemporalType.DATE) @Column(name=VELJA_DO) private Date veljaDo; @Temporal( TemporalType.DATE) @Column(name=VELJA_OD) private Date veljaOd; @Column(name=VRSTNI_RED) private short vrstniRed; //bi-directional many-to-one association to LokpObratStrm @OneToMany(mappedBy=loksObrat, fetch = EAGER) private ListLokpObratStrm lokpObratStrms; public LoksObrat() { } public int getIdObrat() { return this.idObrat; } public void setIdObrat(int idObrat) { this.idObrat = idObrat; } public Timestamp getDaturaZadSpr() { return this.daturaZadSpr; } public void setDaturaZadSpr(Timestamp daturaZadSpr) { this.daturaZadSpr = daturaZadSpr; } public String getKrnaziv() { return this.krnaziv; } public void setKrnaziv(String krnaziv) { this.krnaziv = krnaziv; } public String getOpis() { return this.opis; } public void setOpis(String opis) { this.opis = opis; } public String getOsebaZadSpr() { return this.osebaZadSpr; } public void setOsebaZadSpr(String osebaZadSpr) { this.osebaZadSpr = osebaZadSpr; } public String getSifra() { return this.sifra; } public void setSifra(String sifra) { this.sifra = sifra; } public Date getVeljaDo()
GWT Mode
Hi Tech Whiz, I am new here.I've started development with GWT.When i run a project in development Mode runs in a browser,Browser asks for plugin to run the application.does the plugin require when i run the same app in Production/Web Development mode. Thanks harish k -- You received 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
OK - forget about Chrome - I just installed Firefox on the mac - installed the required gwt plugin and voila - all is working again - just wasted about two hours getting Chrome to work On Wednesday, September 26, 2012 2:37:59 AM UTC+1, Brandon Donnelson wrote: For some reason after I installed speed tracer in chrome I started getting a problem with chrome gwt plugin, but maybe it was updated around the same time and it's something else? Mac Chrome: 22.0.1229.79 GWT Developer Plugin 1.0.9738 Brandon -- 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/-/An_HY2UY3BwJ. 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.
Start method from activationlink
Hi, I use gwt and try to send an email with an activationlink to an user who registered at my application. I can send the email, but I don't know how the link has to look like to call a specific method on the server which finally activates the user. I found something about RPC, but I think I can't use it to solve this problem. Does anyone have a suggestion how I can handle this? Thanks -- 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/-/Gap1nkdAffUJ. 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 change package structure (location) of LocalizableResource
We are using UIBinder to create UI screens and implementing internationalization in them. We are able to read values associated with keys from the LocalizableResource_locale.properties file. The docs here https://developers.google.com/web-toolkit/doc/latest/DevGuideUiBinderI18n says that this file should be present at this location * com/google/gwt/i18n/client*. As far as we are following the package structure and the name of properties file, internationalization works. Is there a way in which we can change/configure the package structure? Many Thanks Ritesh -- 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/-/XSF99sAXv9wJ. 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.
Datagrid with editable and non-editable cells
I was wondering how can I create a datagrid with selectable and non-selectable cells at the same datagrid. There is a condition which will inform if the cell will be selectable or not. What is the best way to do it? Another problem that I have is when I select one cells and in the datagrid has just one element it still being selected. I want on the event onkeyup lose its focus -- 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/-/AaLByd-R6AEJ. 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, Firefox and Windows 7 touch issues
i am trying to set up an application with GWT. The problem is that Firefox and GWT not handling Windows 7 touch gestures properly. When using Firefox on an sample GWT page i am not able to do everytime touch gestures handled by Windows. Normally Windows 7 converts those touch gesture into keyboard shortcuts, but with Firefox they work like 20% of the time... With Chrome and IE 9 there are no problems. But with Chrome Version 22.0.1229.79m it does not work as well. On all pages, not only GWT sites... Does anyone have suggestions? -- 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/-/QkC7yUW-AZ4J. 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.
BUILD rule for GwtArchive
Hi, GWT gurus, We are trying to export a GWT package in closure environment, we already have the package ready in jar or zip format. But how can we unzip it into files (including js and css) and used by closure code? we have sth like GwtArchive(name='mymodulejar', app = '//my/path:MyApp')JS_PATH = 'my/javascript/path'genrule(name='mymodule',srcs=[':mymodulejar'], cmd='mkdir -p ' + JS_PATH + ' unzip -j $(location :mymodulejar) -d ' + JS_PATH ) But I cannot get the files in the jar. These include js file and css file. Any pointer are appreciated, thanks! Dan -- 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/-/EpgI1A7oyQoJ. 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
Repeating my reply to an older post (that I thought was addressing the same issue). It's more appropriate here. Sorry for the doubling-up. Here it is: [Note: my problems began with an auto update yesterday to production Chrome 22.0.1229.79. What's implied is that I'm going to wait-it-out with an older version until they fix this...] 1) Get an older version at http://mac.oldapps.com/google_chrome.php -- I chose Google Chrome 21.0.1180.89 from August 30, 2012.. the direct link is http://mac.oldapps.com/google_chrome.php?old_chrome=1260 2) Drop it somewhere other than your Applications folder. Rename it to Google Chrome.older (or whatever), THEN put it into your Applications folder. Leave the more recent Google Chrome app right were it is... it will remain the target of updates, even if your Google Chrome.older triggers an update (i.e. the .older version won't get overwritten). 3) For me, that .older one runs the GWT DevMode Plugin just fine... just like in .older times. 4) For kicks, it seems you can tune Google's update interval. Here's an example where you can stop it entirely (notice the zero...) From the command prompt: defaults write com.google.Keystone.Agent checkInterval 0 I found that one at http://support.google.com/installer/bin/answer.py?hl=enctx=goanswer=147176 On Wednesday, September 26, 2012 3:14:24 AM UTC-5, Jens wrote: I am using stable Chrome Version 21.0.1180.89 and do not have any problems with DevMode plugin on Mac OS (10.8.2). I switched to stable Chrome because lately the DevMode plugin stopped working for me in all the dev versions of Chrome. -- J. Am Mittwoch, 26. September 2012 03:37:59 UTC+2 schrieb Brandon Donnelson: For some reason after I installed speed tracer in chrome I started getting a problem with chrome gwt plugin, but maybe it was updated around the same time and it's something else? Mac Chrome: 22.0.1229.79 GWT Developer Plugin 1.0.9738 Brandon -- 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/-/cQFb1dnhJDkJ. 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 2.5.0-rc1 on IPad not firing click events
I'm seeing this as well. It's happening on all iOS devices I've tested, and is also preventing focus on input elements. On Wednesday, August 22, 2012 8:45:17 AM UTC-7, Casey Rodgers wrote: In GWT 2.5.0-rc1 buttons (and anchors) will only fire the click event every few clicks. Meaning you have to click on buttons multiple times to get them to fire. Is anyone else having this issue? -- 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/-/5iu2SDGj4ZAJ. 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.
Type cannot be serialized only in FireFox in Development Mode.
*WARNING: Exception of type com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'com.myDTO' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized. * * * I receive this only if running the code in Development Mode. If I run absolutely the same code in the same browser on the same machine in normal mode - I do not get this error and everything works fine. My classes really implement Serializable, not isSerializable, but usually this works ok, whats up with FF development mode?.. Firefox 15.0.1, Macos 10.7.4 * * -- 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/-/wwl9-U-4tKgJ. 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
My Google Chrome plugin for GWT has stopped working this morning on the mac. I installed Google App Engine Java SDK 1.7.2 yesterday but even creating a brand new Google Web Application Project and using the 1.7.1 App Engine when I come to run it in Google I get the yellow box come up. I tried removing the plugin and download and drag/drop the latest plugin to no avail. What has happened? Spec - same as Brandon: Mac Chrome: 22.0.1229.79 GWT Developer Plugin 1.0.9738 My Console does show some related Chrome errors when I paste the GWT link in a new tab: 26/09/2012 11:58:44.405 [0x0-0x14014].com.google.Chrome: [584:-1405156672:2434976885264:ERROR:webplugin_delegate_proxy.cc(379)] PluginMsg_Init returned false 26/09/2012 11:58:44.405 [0x0-0x14014].com.google.Chrome: [584:-1405156672:2434976935574:ERROR:webplugin_impl.cc(269)] Couldn't initialize plug-in On Wednesday, September 26, 2012 2:37:59 AM UTC+1, Brandon Donnelson wrote: For some reason after I installed speed tracer in chrome I started getting a problem with chrome gwt plugin, but maybe it was updated around the same time and it's something else? Mac Chrome: 22.0.1229.79 GWT Developer Plugin 1.0.9738 Brandon -- 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/-/jLwO9SHcn5cJ. 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 module may need to be (re)compiled
I was experiencing this same problem recently and for the benefit of the community I am posting my solution today: I discovered that my src/main/webapp folder contained an oldmodule.nocache.js file. If you see this error message, check the timestamp of your module.nocache.js to ensure that it is in sync with the rest of the GWT compiler output (i.e. *.gwt.rpc and *.cache.png). In my case, I'm guessing that an old DevMode execution from within eclipse directed the GWT compiler output to the src/main/webapp folder and this was getting packaged in to the war file by maven instead of the freshly compiled version. Nick On Thursday, July 29, 2010 4:18:36 AM UTC-4, Thomas Van Driessche wrote: Hi all, I have developed for a while now on a gwt 2.0.0 and maven project. But recently i did a maven clean install on the project to generate the war file in the target folder. Now when i tried to do a mvn gwt:run again it sais that the module may need to be (re)compiled... I can't get it fixed. I even checked out an older version of the project out of the repository in an new workspace, but still i get the error. And i am sure that that version was working when i checked in the changes... Any idea pls?? I'm really stuck here kind regards, Thomas -- 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/-/LrX-tEFOAmgJ. 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 Exporter: Public constructors in exportable classes
GWT Exporter currently fails silently if it meets an Exportable class whose public constructor accepts arguments other than a JavaScriptObject. Two unrelated questions about this: 1) Is there a technical reason why can't exportable classes can't have constructors accepting Strings, primitives, other Exportables, and arrays of those? 2) Could we have at least a warning at compile time about this? It would be most helpful (IMO compilation should actually fail because of this). -- 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/-/r4ABztPQ8NgJ. 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 Exporter: Why can't exported methods return boolean[]
Hi Sorry to x-post here from the gwtexporter group, but it seems to be dead and I'd really like answers to these questions! I'm trying to export a class with a method which returns boolean[], and got Referencing method 'org.timepedia.exporter.client.ExporterUtil.wrap([Z)': unable to resolve method Sure enough, ExporterUtil has no wrap(boolean[]) method -- is there any reason for this? -- 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/-/gO2vj4q0MjwJ. 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: DevMode not working in Chrome after update
FOUND THE FIX open up the extensions page in chrome, drag and drop the downloaded .crx file, and BOOSH! Prompts for installation. -- 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/-/rXg3ZGVO5yMJ. 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 2.3 client side
we are upgrading from gwt1.2 to gwt2.3. In earlier version we modified the client side code which was dealing with POST request so that it can integrate with vignette portal i.e. asyncPostImpl() method in HTTPRequestImpl.java.. but on gwt2.3, that implementation is no more.. i tried modifying in doSend() method in RequestBuilder and seems it is still not modifying. i was also looking into XMLHTTPRequest.java but no luck.. Can anyone please help me pointing the equivalent class of HTTPRequestImpl in gwt 2.3 where request and response pass thru so that i can try modifying the code to make it working ? Thanks DK -- You received 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.
Send List from server to client
Hi, I need pass a list from server to client, but I don´t know make it I am using gwt 2.4 and java-sdk-1.7.1 some site I had seen use this annotation: @gwt.typeArgs(type object), but It doesn´t work me I have put in the server this: /** * @gwt.typeArgs server.ConceptoFormal */ public ListConceptoFormal getReticulo() { return reticulo; } I have put in the client this: Async: void getReticulo(AsyncCallbackListConceptoFormal callback) throws IllegalArgumentException; Other: ListConceptoFormal getReticulo() throws IllegalArgumentException; I have put in the onModuleLoad this: greetingService.getReticulo(new AsyncCallback ListConceptoFormal() { public void onFailure(Throwable caught) { muestraDatosBox.setText(getReticulo - Failure); respuestaXML .addStyleName(serverResponseLabelError); respuestaXML.setHTML(SERVER_ERROR); muestraDatosBox.center(); cerrarButton.setFocus(true); } public void onSuccess(ListConceptoFormal result) { muestraDatosBox.setText(Vuelta de la llamada); respuestaXML .addStyleName(respuestaServidorCorrecta); respuestaXML.setHTML(brel número de objetos que tiene la lista es: + result.size()); muestraDatosBox.center(); cerrarButton.setFocus(true); } }); And also I have included in web.xml this: ... servlet servlet-namegetReticulo/servlet-name servlet-classcom.alberto.server.GreetingServiceImpl/servlet-class /servlet ... servlet-mapping servlet-namegetReticulo/servlet-name url-pattern/pruebacanvas/greet/url-pattern /servlet-mapping ... thank you for your help -- 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/-/H8d1iuc8LG4J. 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 tree table data grid?
I'm also searching for this. On Thursday, January 26, 2012 10:11:06 PM UTC, CRISTI Stamate wrote: Can anyone tell me if exist in GWT the tree table data gid component? I mean by tree table data grid a component that is: - data grid like in GWT 2.4 (fixed header and footer and scrollable content). - content like CellTree (each row can be a tree node). If didn't already exist in GWT 2.4 can be an option for GWT 2.5 ...? Thank you in advanced. CRISTI -- 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/-/KbjRaklvwx4J. 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 Junit Test
Hi. I want to test a rpc call. I use the standard GWTproject and this testclass: public class TestGreetingService extends GWTTestCase { /** * Must refer to a valid module that sources this class. */ public String getModuleName() { return com.TestGreeting; } /** * This test will send a request to the server using the greetServer method * in GreetingService and verify the response. */ public void testGreetingService() { // Create the service that we will test. GreetingServiceAsync greetingService = GWT .create(GreetingService.class); ServiceDefTarget target = (ServiceDefTarget) greetingService; target.setServiceEntryPoint(GWT.getModuleBaseURL() + TestGreeting/greet); // Since RPC calls are asynchronous, we will need to wait for a response // after this test method returns. This line tells the test runner to // wait // up to 10 seconds before timing out. delayTestFinish(2); // Send a request to the server. greetingService.greetServer(GWT User, new AsyncCallbackString() { public void onFailure(Throwable caught) { // The request resulted in an unexpected error. fail(Request failure: + caught.getMessage()); } public void onSuccess(String result) { // Verify that the response is correct. assertTrue(result.startsWith(Hello, GWT User!)); // Now that we have received a response, we need to tell the // test runner // that the test is complete. You must call finishTest() after // an // asynchronous test finishes successfully, or the test will // time out. finishTest(); } }); } } That's the error I get. Can someone help me? 200 - POST /com.TestGreeting.JUnit/junithost (192.168.1XX.XX) 381 bytes [WARN] 404 - POST /com.TestGreeting.JUnit/TestGreeting/greet (192.168.1XX.XX) 1427 bytes Request headers Host: 192.168.1XX.XX:53577 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 Accept-Language: en-us Accept: */* Connection: Keep-Alive Referer: http://192.168.1XX.XX:53577/com.TestGreeting.JUnit/junit-standards.html?gwt.codesvr=192.168.1XX.XX:53572 X-GWT-Permutation: HostedMode X-GWT-Module-Base: http://1192.168.1XX.XX:53577/com.TestGreeting.JUnit/ Content-Type: text/x-gwt-rpc; charset=utf-8 Content-Length: 181 Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 1427 -- 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/-/FnhdKxTKa5cJ. 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: Anybody else having a problem with the mac GWT dev plugin in Chrome?
I have the same issue. OSX 10.8.1 - chrome updated to 22.0.1229.79 this morning and the gwt dev mode plugin no longer loads. On Wednesday, 26 September 2012 02:37:59 UTC+1, Brandon Donnelson wrote: For some reason after I installed speed tracer in chrome I started getting a problem with chrome gwt plugin, but maybe it was updated around the same time and it's something else? Mac Chrome: 22.0.1229.79 GWT Developer Plugin 1.0.9738 Brandon -- 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/-/8M7SFYqQ7KUJ. 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.
Scary: GWT Team does not fix serious GWT Compiler Bugs
Hallo, After finishing development on my GWT (2.4) project, I found out, that the compiled version does not work exactly as in the development mode. Some method ( isValid() ) seems not to be called. Calling code (simplified): boolean valid=true; if(! mypanel.isValid()) valid=false; method: public boolean isValid() { updateSomeData(); return true; } This works well in development mode, but in compiled code, isValid() was never called. From this point things got strange. I've added a log-command to the method: public boolean isValid() { updateSomeData(); logger.info(method called); return true; } The method was called and the log entry written. I removed the log entry and changed the calling part to: boolean valid=true; boolean x=mypanel.isValid(); if(!x) valid=false; Now again the method was called. This seems to be some problem in the compiler optimizer. After switching off the optimizer, the compiled code did work as expected. After searching the web, I found an issue report, DESCRIBING THE EXACT SAME PROBLEM ! See: http://code.google.com/p/google-web-toolkit/issues/detail?id=6551 So this is a know issue since over a year and present since GWT 2.3 !!! I have not problem with bugs, but I can't understand, why no one seems to care. Can there be something more serious, than a compiler-bug ? If you search the database, there are some compiler / optimizer issues, that seem not to have been fixed. Example: http://code.google.com/p/google-web-toolkit/issues/detail?id=5739 This is scary ! If you can't trust the compiler, you'll never know, if your code works in production as I did under development. Adding / removing a single line may change the whole behavior. Testing will become a nightmare ! Some one should care. regards Marc -- 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/-/K3Zt9B3sxW8J. 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.
Testing an asynchronous rpc with GWT SyncProxy
Hi has someone here experiences with GWT SyncProxy? I am trying to test an asynchronous rpc, but the code under onFailure and onSuccess is not tested. Unfortunately there is no error log, but maybe someone can help me. The example is from this page: http://code.google.com/p/gwt-syncproxy/ public class Test extends TestCase { private static GreetingServiceAsync rpcServiceAsync = (GreetingServiceAsync) SyncProxy.newProxyInstance(GreetingServiceAsync.class, http://127.0.0.1:/GreetingTest.html?gwt.codesvr=127.0.0.1:9997;, greet); public void test() { rpcServiceAsync.greetServer(SyncProxy, new AsyncCallbackString(){ public void onFailure(Throwable caught) { System.out.println(bad); } public void onSuccess(String result) { System.out.println(good); } }); }} -- 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/-/lVhCX0UhQ6YJ. 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.
Help in JSNI callback in javascript object
Hi i need some help to do a wrapper to GWT. in javascript i have the following: (...) // create a new SIP stack. Not mandatory as it's possible to reuse the same satck oSipStack = new tsip_stack(txtRealm.value, txtPrivateIdentity.value, txtPublicIdentity.value) oSipStack.on_event_stack = onSipEventStack; oSipStack.on_event_dialog = onSipEventDialog; (...) // Callback function for SIP Stacks function onSipEventStack(evt) { // this is a special event shared by all sessions and there is no e_stack_type // check the 'sip/stack' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.STACK_STARTED: (...) // Callback function for all SIP dialogs (INVITE, REGISTER, INFO...) function onSipEventDialog(evt) { // this is special event shared by all sessions and there is no e_dialog_type // check the 'sip/dialog' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.DIALOG_TRANSPORT_ERROR: case tsip_event_code_e.DIALOG_GLOBAL_ERROR: case tsip_event_code_e.DIALOG_MESSAGE_ERROR: case tsip_event_code_e.DIALOG_WEBRTC_ERROR: So in my GWT-Wrapper using JSNI i make: public static native JavaScriptObject tsip_stack(String s_realm, String s_impi, String s_impu_uri ) /*-{ return new $wnd.tsip_stack(s_realm, s_impi, s_impu_uri); }-*/; How do i make the callback and is association to the javascript object. This project is to make an wrapper of sipml5 if someone had the wrapper it helps to Thanks Best Regards -- 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/-/HAUjdk0kmwcJ. 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 dev plugin for Chrome 21.0.1180.60 m not installing
what exactly does drag the file onto the extensions page mean? i'm using gPrecise. if i click on the home folder and position its window next to the chrome window and attempt to drag the .crx icon from the home folder to the chrome/extensions page, it just slips off and acts like it has no idea what operation i'm trying to communicate. is there maybe some way of typing a filename instead of fancy drag and drop? - chris -- 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/-/-ySa-tUqxicJ. 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: Local data cache when using AsyncDataProvider (CellTable)
Hello, 1)Your use of AsyncDataProvider seems interesting to me but I have a few questions. My Celltable also use sorting. But then when you change sorting order the same method (onRangeChange) is called as when you change page. Problem is that the behavior must be different: when I change page I'd should check if the data is availlable in the local client cache, but when sorting change I have to send a new request to the server as sorting is managed server side. How do you differentiate those 2 cases? Is there a good way to do it? Should I customize the pager? Thanks for your help Ben On Saturday, January 28, 2012 6:46:14 PM UTC+1, Ümit Seren wrote: Well I have an application in which I display 1.2 million items in a CellTable (50 items at a time). I solved that by using AsyncDataProvider and doing bulk-requests of around 2000 items (you can play with that vaue). I have a SimplePager which displays 50 of them at a time and when the user pages through it it won't do any server request until the list of 2000 is completed. Then I request the next 2000 items (actually that is automatically taken care of by the AsyncDataProvider interface). For filtering/searching I implemented a hybrid approach. For example if the user types in a string for a name it will first search on the server. Again only 2000 items will be sent back from the backend. For each new character I will do another server-request. However I also return the number of hits (which the search returns). If the number of hits is smaller than 2000 the next time the user types in another character it will only search on the client side (because I already have the whole search set transfered to the client). For sorting you can take the same path. To be honest I am not sure if it's worth just sending the IDs and then replacing it later with a second call with the missing real objects. I don't think it will be much of a performance problem even when you have a lot of user requests at the same time. You can try to solve that problem on the backend (via caching, etc) and if you still have an issue you can implement your approach. Don't forget Knuth famous quote: *Premature optimization is the root of all evil* -- 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/-/mEFB8TQLB50J. 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.
Add a radio button in RichTextArea
There is a RichTextArea private final RichTextArea rta = new RichTextArea(); and I'd like when I press an asterisk to add a radio button in this RichTextArea. I wrote if(event.getCharCode()=='*') { RadioButton radio0 = new RadioButton(group0, ); HorizontalPanel hp = new HorizontalPanel(); hp.add(radio0); RootPanel.get().add(hp); } it creates a radio button out of the RTA but I can't add it in the RTA, specifically where the cursor is and without the asterisk. Any idea how to do that? Thank you very much for any help in advance. -- 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/-/ZI7WC_zgqBUJ. 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.
Shortcut for compilation
Is anybody successfully set up shortcut key for compilation in eclipse? I mean - I would like to define some strange key combination (for example: Ctrl+Shift+F9) to compile my project. Istead of this - I have to take my mouse and point to google icon, click, then choose GWT Compile Project... and then press enter. I tried to set up shortcut, but I can't find the way to do it. Does someone had set up some key combination for this task? -- 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/-/ijGiKhk-jq4J. 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 throwing No source code is available for type on adding a new class in client
Hi, I am new to GWT and trying to learn it. Also, can you pls help me the source of goo GWT tutorial along with its architecture. I added a new class in client at same level(same folder) where my moduleentry class is and I am getting following error when I say LoginGWT loginPanel = new LoginGWT(); Error is No source code is available for type mystock.client.LoginGWT; did you forget to inherit a required module? My gwt.xml is as module rename-to='stockexample' !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ !-- Inherit the default GWT style sheet. You can change -- !-- the theme of your GWT application by uncommenting -- !-- any one of the following lines.-- inherits name='com.google.gwt.user.theme.clean.Clean'/ !-- inherits name='com.google.gwt.user.theme.standard.Standard'/ -- !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/ -- !-- inherits name='com.google.gwt.user.theme.dark.Dark'/ -- !-- Other module inherits -- !-- Specify the app entry point class. -- entry-point class='mystock.client.Stockexample'/ /module Please help. Thanks -- 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/-/Ra3o1JiWMewJ. 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: DevMode not working in Chrome after update
I am in the same boat. Any fix/update for this issue? I am using firefox now. I hope I can switch back to chrome. Grant On Tuesday, July 17, 2012 9:16:03 AM UTC-5, Andy wrote: I updated Chrome this morning and now when I try to use DevMode I get an error Could not load GWT DevMode Plugin and an offer to Download the GWT Developer Plugin. When I try to download it (it's already installed), it says Extensions, apps, and user scripts can only be added from the Chrome Web Store. and there's no GWT plugin in the store. -- 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/-/7HCkHdPsvt8J. 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.
iOS 6 Mobile Safari and GWT WebApp
Hi there, I have a problem that I'm experimenting with the new iOS 6 mobile safari accessing to my GWT MVP WebApp. When trying to access directly to a specific place of my GWT MVP web app, the app seems to hang without displaying the related view. i.e. URL: http://192.168.0.7:8080/#register:my_em...@domain.com! where register is an history mapped place with his own related activity and view. This was working perfetcly on iOS 5.x and still working on Android Browser as well as on all modern desktop based browsers (Firefox, Safari, Chrome). I read about POST caching bug on iOS6 but I don't think this is related, cause the register place/activity is just in charge to show a registration form, and no server call are made before the form is displayed. Is anyone in the group that is experimenting a similar behaviour? Thanks, Enrico -- 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/-/8D8i1JI7DKcJ. 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: Get and Post
Hey I'm trying to send a Get and multiple Posts to a server that then replies accordingly. The server is PHP, and handles the request the following way: switch($_GET['action']) { case 'login': $response = Account::login($_POST['username'], $_POST['password']); break; case 'logout': $response = Account::logout(); break; case 'submitChat': $response = Chat::submitChat($_POST['room'],$_POST['message']); break; default: throw new Exception('bad action'); } basically the Get chooses what method to pick in the AJAX.php, and the Post delivers the parameters. I'm able to get this to work using HTML forms (coded manually), where clicking submit on the form sends a Get value of login and 2 simultaneous Post values of usernameHere and password which are then handled by AJAX correctly. How do I do this in GWT programatically? I've found RequestBuilder.sendRequest but this seems to only either send a Get or a Post, not both, and it seems like I cannot send multiple Posts like I want to. Any small example code would be greatly appreciated! Thanks! -- 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/-/4qattmswwqUJ. 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 WebApp and iOS 6 Safari
I'm experimenting a problem accessing with iOS 6 Mobile Safari directly to an history mapped place of my GWT MVP Web Application. Example URL is 127.0.0.1/webcontext/#register:email!code where 'register' is the PlaceTokenizer prefix of RegisterPlace that is included in the AppPlaceHistoryMapper. Accessing to that url by iOS 6 Mobile Safari results in a randomic behaviour: the browser simply load the application main page, without jumping to the correct view. After many retry and reloads, sometimes the right view is displayed correctly. I'm aware of iOS 6 Mobile Safari AJAX related bugs, but this seems not to be related to any of them: the activity related to RegisterPlace is not placing any call to the server at start, just build and serve a registration form. This was working without problems on iOS 5 Safari and still work good on Android Browser as well as all desktop based browsers (Firefox, Safari, Chrome). Is there anyone else facing the same problem? Thanks -- 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/-/97xukYK1uwAJ. 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: AbsolutePanel scrolling
I had the same problem and I fixed it as this : absolutePanel.getElement().getStyle().setOverflow(Overflow.AUTO); On Monday, April 21, 2008 9:58:28 AM UTC-4, Brock Parker wrote: Hello, I have an application that allows users to build their own forms. These forms are then rendered on the web using GWT. I use an AbsolutePanel so I can set the widgets at the X,Y coordinates defined by the user. I'm having a problem getting the AbsoutePanel to automatically scroll when the user adds too many widgets to fit on the screen. The AbsolutePanel is contained inside a GWT-Ext BorderLayout and it's located in the center section. Does anyone have any suggestions or general guidelines as to how I could make this work? Thanks, Brock -- 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/-/kTgh9kNnaakJ. 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: how to deploy gwt apps to tomcat
hello every body my question goes in the same way of the greetz's question. I want to deploy my GWT project in jboss because am using it with an EJB project and EAP project. When i use the normal way of deploying and EJB,WAP,EAP project it is not going. how can i do? -- 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/-/idiRqTAAkB0J. 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.
New C# Batch (Basics to Advance)
HI All, I am starting new C# batch from fundamentals to advance. This course is being offered for $150. For old students this course is being offered for 100$ only. Session timings are from 6:00 AM IST To 7:30 AM IST. This course is starting from 6-OCT-2012. First 2 sessions are demo sessions and if you find your self happy, you can then register for the course by paying the training fee. Please confirm me your readiness by email, accordingly meeting link will be arranged to you by email. If you have any queries, please write to me. Also, please pass on the same to your colleagues / friends, who are in need of this training, which would be great help from you. PLEASE FIND THE BELOW LINK FOR .NET ONLINE TRAINING AND PROJECT SUPPORT. http://onlinenettrainings.blogspot.com/ PLEASE FEEL FREE TO CONTACT FOR ANY QUERIES TO BELOW MAIL ID rudrajayku...@gmail.com THANK YOU AJAY KUMAR 09866746968 -- You received 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.
The GWT Developer plugins for Chrome can not install
I have install Google app engines in eclipse juno, and tried running the initial test code,when i copy the url and paste it in my chrome browser, it brings a page that says Development Mode requires the Google Web Toolkit Developer Plugin , whclick on the download Download the GWT Developer Plugin https://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crxFor Chrome https://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crx buuton, it downloads and adds it to chrome, but when i refresh it, it brings back the Development Mode requires the Google Web Toolkit Developer Plugin page, and i seem to run in circles, can any one help me out? Bruce -- 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/-/QjqIalaiHwUJ. 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 openpa serialization problem
Your entity is serializable and you want to send it from server to client. Most JPA providers enhance entity classes to support features like lazy loading, so although you have used a java.util.List in your entity code it could very well become an org.apache.openjpa.kernel.DelegatingResultList after the class has been enhanced by your JPA provider. You should check this in the OpenJPA documentation. If this class does not implement serializable or is not visible to the GWT compiler it does not end up in your serialization policy file (thats the hash.rpc file). The server checks against this file during serialization and gives you the above error. A common way to solve this is to use DTO classes. GWT's RequestFactory for example does something similar by using Autobeans on the client side and let the server classes be pure server classes. -- J. -- 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/-/Kg2zCUgCXXQJ. 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 Exporter: Why can't exported methods return boolean[]
This message has been received in the list 6 days after it was post, I think because it is a moderated list. Anyway, the question was answered in the group some days ago https://groups.google.com/forum/?fromgroups=#!topic/gwtexporter/V348YNyQ6gY The response is that the implementation of this method is not there because no one has asked for it before. I'll add it in the new release. - Manolo On Wed, Sep 26, 2012 at 9:58 AM, Douglas Hoskins douglas.hosk...@futureplatforms.com wrote: Hi Sorry to x-post here from the gwtexporter group, but it seems to be dead and I'd really like answers to these questions! I'm trying to export a class with a method which returns boolean[], and got Referencing method 'org.timepedia.exporter.**client.ExporterUtil.wrap([Z)': unable to resolve method Sure enough, ExporterUtil has no wrap(boolean[]) method -- is there any reason for this? -- 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/-/gO2vj4q0MjwJ. 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.
Add a radio button in RichTextArea
You can't insert widgets inside the RTA. You should use an RTA formatter to insert HTML that renders a radio button. -- 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/-/-JhGVP_Y7-8J. 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: Help in JSNI callback in javascript object
This is the same question than this onehttp://stackoverflow.com/questions/12638517/jsni-associate-callback-to-javascript-objectin stackoverflow. - Manolo On Fri, Sep 28, 2012 at 4:08 PM, JSNI NOOB rpgome...@gmail.com wrote: Hi i need some help to do a wrapper to GWT. in javascript i have the following: (...) // create a new SIP stack. Not mandatory as it's possible to reuse the same satck oSipStack = new tsip_stack(txtRealm.value, txtPrivateIdentity.value, txtPublicIdentity.value) oSipStack.on_event_stack = onSipEventStack; oSipStack.on_event_dialog = onSipEventDialog; (...) // Callback function for SIP Stacks function onSipEventStack(evt) { // this is a special event shared by all sessions and there is no e_stack_type // check the 'sip/stack' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.STACK_STARTED: (...) // Callback function for all SIP dialogs (INVITE, REGISTER, INFO...) function onSipEventDialog(evt) { // this is special event shared by all sessions and there is no e_dialog_type // check the 'sip/dialog' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.DIALOG_TRANSPORT_ERROR: case tsip_event_code_e.DIALOG_GLOBAL_ERROR: case tsip_event_code_e.DIALOG_MESSAGE_ERROR: case tsip_event_code_e.DIALOG_WEBRTC_ERROR: So in my GWT-Wrapper using JSNI i make: public static native JavaScriptObject tsip_stack(String s_realm, String s_impi, String s_impu_uri ) /*-{ return new $wnd.tsip_stack(s_realm, s_impi, s_impu_uri); }-*/; How do i make the callback and is association to the javascript object. This project is to make an wrapper of sipml5 if someone had the wrapper it helps to Thanks Best Regards -- 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/-/HAUjdk0kmwcJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT WebApp and iOS 6 Safari
IOS6 is caching POST although HTML spec says not to cache it. I opened an issue in gwt sent a patch a couple of days ago, in the issue you can find some workarounds apart from patch gwt. http://gwt-code-reviews.appspot.com/1845803/ http://code.google.com/p/google-web-toolkit/issues/detail?id=7703 - Manolo On Mon, Oct 1, 2012 at 7:59 PM, Enrico enrico.bertelle...@gmail.com wrote: I'm experimenting a problem accessing with iOS 6 Mobile Safari directly to an history mapped place of my GWT MVP Web Application. Example URL is 127.0.0.1/webcontext/#register:email!code where 'register' is the PlaceTokenizer prefix of RegisterPlace that is included in the AppPlaceHistoryMapper. Accessing to that url by iOS 6 Mobile Safari results in a randomic behaviour: the browser simply load the application main page, without jumping to the correct view. After many retry and reloads, sometimes the right view is displayed correctly. I'm aware of iOS 6 Mobile Safari AJAX related bugs, but this seems not to be related to any of them: the activity related to RegisterPlace is not placing any call to the server at start, just build and serve a registration form. This was working without problems on iOS 5 Safari and still work good on Android Browser as well as all desktop based browsers (Firefox, Safari, Chrome). Is there anyone else facing the same problem? Thanks -- 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/-/97xukYK1uwAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT WebApp and iOS 6 Safari
Thanks Manolo, I'm aware of iOS6 POST caching problem, but I don't think this behaviour is depending on that Safari bug. This is the server access log I have when I open the URL with Firefox (where all is still working fine): 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/ HTTP/1.1 200 4645 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/module.nocache.js HTTP/1.1 200 8854 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/img/logo.png HTTP/1.1 200 35447 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/gwt/chrome/chrome.css HTTP/1.1 200 27141 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/37E7172BB090A1A4FE482E23A911163C.cache.js HTTP/1.1 200 676628 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/img/main.png HTTP/1.1 200 28327 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/gwt/chrome/images/corner.png HTTP/1.1 200 1181 192.168.0.7 - - [02/Oct/2012:16:55:15 +0200] GET /project/module/gwt/chrome/images/hborder.png HTTP/1.1 200 1591 192.168.0.7 - - [02/Oct/2012:16:55:15 +0200] GET /project/module/gwt/chrome/images/vborder.png HTTP/1.1 200 188 As you see no POSTs are involved in loading the history mapped place related view. Enrico El martes, 2 de octubre de 2012 16:48:27 UTC+2, Manuel Carrasco escribió: IOS6 is caching POST although HTML spec says not to cache it. I opened an issue in gwt sent a patch a couple of days ago, in the issue you can find some workarounds apart from patch gwt. http://gwt-code-reviews.appspot.com/1845803/ http://code.google.com/p/google-web-toolkit/issues/detail?id=7703 - Manolo -- 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/-/11VgjjeOTYUJ. 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 throwing No source code is available for type on adding a new class in client
Your structure should be: src |-- mystock |-- client | |-- Stockexample.java | |-- LoginGWT.java |-- StockExample.gwt.xml If thats your structure, does the error go away if you add source path=client/ to your StockExample.gwt.xml? Following the documentation it should implicitly be set in the module if you do not specify any source but maybe thats not working anymore. If that does not work you probably have a different error that is causing the no source available error, so you should see if you can get more error information in the development mode / console view in Eclipse. -- J. -- 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/-/wJrNJpCkcOMJ. 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 WebApp and iOS 6 Safari
I think your app is crashing somewhere. Do you have enabled logging and configured uncauchExceptionHandler ? Take a look to the debug console in ios, or try sending some logging to the console or to the server. On Tue, Oct 2, 2012 at 5:06 PM, Enrico enrico.bertelle...@gmail.com wrote: Thanks Manolo, I'm aware of iOS6 POST caching problem, but I don't think this behaviour is depending on that Safari bug. This is the server access log I have when I open the URL with Firefox (where all is still working fine): 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/ HTTP/1.1 200 4645 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/module.nocache.js HTTP/1.1 200 8854 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/img/logo.png HTTP/1.1 200 35447 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/gwt/chrome/chrome.css HTTP/1.1 200 27141 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/37E7172BB090A1A4FE482E23A911163C.cache.js HTTP/1.1 200 676628 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/img/main.png HTTP/1.1 200 28327 192.168.0.7 - - [02/Oct/2012:16:55:14 +0200] GET /project/module/gwt/chrome/images/corner.png HTTP/1.1 200 1181 192.168.0.7 - - [02/Oct/2012:16:55:15 +0200] GET /project/module/gwt/chrome/images/hborder.png HTTP/1.1 200 1591 192.168.0.7 - - [02/Oct/2012:16:55:15 +0200] GET /project/module/gwt/chrome/images/vborder.png HTTP/1.1 200 188 As you see no POSTs are involved in loading the history mapped place related view. Enrico El martes, 2 de octubre de 2012 16:48:27 UTC+2, Manuel Carrasco escribió: IOS6 is caching POST although HTML spec says not to cache it. I opened an issue in gwt sent a patch a couple of days ago, in the issue you can find some workarounds apart from patch gwt. http://gwt-code-reviews.**appspot.com/1845803/http://gwt-code-reviews.appspot.com/1845803/ http://code.google.com/p/**google-web-toolkit/issues/**detail?id=7703http://code.google.com/p/google-web-toolkit/issues/detail?id=7703 - Manolo -- 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/-/11VgjjeOTYUJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT: Get and Post
Set the action parameter in the url: RequestBuilder requestBuilder = new RequestBuilder(RequestBuilder.POST, http://host/page.php?action=login;); - Manolo On Mon, Oct 1, 2012 at 9:10 AM, Zach zjz...@gmail.com wrote: Hey I'm trying to send a Get and multiple Posts to a server that then replies accordingly. The server is PHP, and handles the request the following way: switch($_GET['action']) { case 'login': $response = Account::login($_POST['username'], $_POST['password']); break; case 'logout': $response = Account::logout(); break; case 'submitChat': $response = Chat::submitChat($_POST['room'],$_POST['message']); break; default: throw new Exception('bad action'); } basically the Get chooses what method to pick in the AJAX.php, and the Post delivers the parameters. I'm able to get this to work using HTML forms (coded manually), where clicking submit on the form sends a Get value of login and 2 simultaneous Post values of usernameHere and password which are then handled by AJAX correctly. How do I do this in GWT programatically? I've found RequestBuilder.sendRequest but this seems to only either send a Get or a Post, not both, and it seems like I cannot send multiple Posts like I want to. Any small example code would be greatly appreciated! Thanks! -- 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/-/4qattmswwqUJ. 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: Shortcut for compilation
Agris, CTRL+F11 http://theshyam.com/2009/07/eclipse-productivity-shortcuts/ will run the last build configuration you ran in Eclipse. That should do the trick for you, assuming you use a Maven or GWT build configuration. Sincerely, Joseph -- 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/-/naTOh6pK_08J. 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 dev plugin for Chrome 21.0.1180.60 m not installing
I know you can drag the .crx file onto the Extensions page (open page, not the menu option for it) in v22, perhaps it is not available in v21? Joe -- 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/-/bQ0n6VkWzjgJ. 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 Junit Test
What is the content of your com/TestGreeting.gwt.xml file ? On Fri, Sep 28, 2012 at 11:18 AM, Ronsen sonne.1...@hotmail.de wrote: Hi. I want to test a rpc call. I use the standard GWTproject and this testclass: public class TestGreetingService extends GWTTestCase { /** * Must refer to a valid module that sources this class. */ public String getModuleName() { return com.TestGreeting; } /** * This test will send a request to the server using the greetServer method * in GreetingService and verify the response. */ public void testGreetingService() { // Create the service that we will test. GreetingServiceAsync greetingService = GWT .create(GreetingService.class); ServiceDefTarget target = (ServiceDefTarget) greetingService; target.setServiceEntryPoint(GWT.getModuleBaseURL() + TestGreeting/greet); // Since RPC calls are asynchronous, we will need to wait for a response // after this test method returns. This line tells the test runner to // wait // up to 10 seconds before timing out. delayTestFinish(2); // Send a request to the server. greetingService.greetServer(GWT User, new AsyncCallbackString() { public void onFailure(Throwable caught) { // The request resulted in an unexpected error. fail(Request failure: + caught.getMessage()); } public void onSuccess(String result) { // Verify that the response is correct. assertTrue(result.startsWith(Hello, GWT User!)); // Now that we have received a response, we need to tell the // test runner // that the test is complete. You must call finishTest() after // an // asynchronous test finishes successfully, or the test will // time out. finishTest(); } }); } } That's the error I get. Can someone help me? 200 - POST /com.TestGreeting.JUnit/junithost (192.168.1XX.XX) 381 bytes [WARN] 404 - POST /com.TestGreeting.JUnit/TestGreeting/greet (192.168.1XX.XX) 1427 bytes Request headers Host: 192.168.1XX.XX:53577 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 Accept-Language: en-us Accept: */* Connection: Keep-Alive Referer: http://192.168.1XX.XX:53577/com.TestGreeting.JUnit/junit-standards.html?gwt.codesvr=192.168.1XX.XX:53572 X-GWT-Permutation: HostedMode X-GWT-Module-Base: http://1192.168.1XX.XX:53577/com.TestGreeting.JUnit/ Content-Type: text/x-gwt-rpc; charset=utf-8 Content-Length: 181 Response headers Content-Type: text/html; charset=iso-8859-1 Content-Length: 1427 -- 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/-/FnhdKxTKa5cJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT: Get and Post
Zach, It is worth noting there that there are a number of methods in the HTTP spec http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html: - GET, POST, PUT, DELETE, OPTIONS, TRACE, HEAD The GET method is meant to only retrieve items, not to take actions as noted: * the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval* What you are doing here is confusing what is happening. You are POSTing, not GETing AND POSTing. It is not possible to do both at once. However, the PHP globals are confusing with their $_GET and $_POST names as $_GET just has query parameters and $_POST has actual posted form fields. Just use the $_REQUEST variable and it will be less conflating as it is an aggregate of GET, POST, and COOKIE. So, as Manuel pointed out, you can add query parameters to the URL of your POST request, but in reality you are only POSTing. Sincerely, Joseph -- 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/-/rqebpJQ0o_IJ. 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: Scary: GWT Team does not fix serious GWT Compiler Bugs
I think it is a good idea to get rid of methods which always return true/false/true because it saves a lot of code in the final js, and it gives the option to the developer to remove code programatically. In my opinion the example you show and the examples in the issue page are not examples of good codding, but maybe there are edge cases where it could make sense. I trust in the compiler and I have several projects in production and never I faced this problem, so IMHO knowing a couple of good practices to follow with gwt should be enough. Anyway, in the case it were difficult to fix, I think the compiler should be more verbose and fail with methods which have any line apart from the return true one, - Manolo On Fri, Sep 28, 2012 at 2:24 PM, Marc2000 whipma...@googlemail.com wrote: Hallo, After finishing development on my GWT (2.4) project, I found out, that the compiled version does not work exactly as in the development mode. Some method ( isValid() ) seems not to be called. Calling code (simplified): boolean valid=true; if(! mypanel.isValid()) valid=false; method: public boolean isValid() { updateSomeData(); return true; } This works well in development mode, but in compiled code, isValid() was never called. From this point things got strange. I've added a log-command to the method: public boolean isValid() { updateSomeData(); logger.info(method called); return true; } The method was called and the log entry written. I removed the log entry and changed the calling part to: boolean valid=true; boolean x=mypanel.isValid(); if(!x) valid=false; Now again the method was called. This seems to be some problem in the compiler optimizer. After switching off the optimizer, the compiled code did work as expected. After searching the web, I found an issue report, DESCRIBING THE EXACT SAME PROBLEM ! See: http://code.google.com/p/google-web-toolkit/issues/detail?id=6551 So this is a know issue since over a year and present since GWT 2.3 !!! I have not problem with bugs, but I can't understand, why no one seems to care. Can there be something more serious, than a compiler-bug ? If you search the database, there are some compiler / optimizer issues, that seem not to have been fixed. Example: http://code.google.com/p/google-web-toolkit/issues/detail?id=5739 This is scary ! If you can't trust the compiler, you'll never know, if your code works in production as I did under development. Adding / removing a single line may change the whole behavior. Testing will become a nightmare ! Some one should care. regards Marc -- 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/-/K3Zt9B3sxW8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.5.0-rc1 on IPad not firing click events
Yes, I'm seeing this issue as well. I replaced those with mgwt equivalents which handle pretty well tap an other mobile specific events. - Manolo On Thu, Sep 27, 2012 at 12:52 AM, Kevin Campbell campbell...@gmail.comwrote: I'm seeing this as well. It's happening on all iOS devices I've tested, and is also preventing focus on input elements. On Wednesday, August 22, 2012 8:45:17 AM UTC-7, Casey Rodgers wrote: In GWT 2.5.0-rc1 buttons (and anchors) will only fire the click event every few clicks. Meaning you have to click on buttons multiple times to get them to fire. Is anyone else having this issue? -- 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/-/5iu2SDGj4ZAJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Exporter: Public constructors in exportable classes
already replied in the gwt-exporter group: https://groups.google.com/forum/?fromgroups=#!topic/gwtexporter/MtCDbJaTyYs On Wed, Sep 26, 2012 at 9:59 AM, Douglas Hoskins douglas.hosk...@futureplatforms.com wrote: GWT Exporter currently fails silently if it meets an Exportable class whose public constructor accepts arguments other than a JavaScriptObject. Two unrelated questions about this: 1) Is there a technical reason why can't exportable classes can't have constructors accepting Strings, primitives, other Exportables, and arrays of those? 2) Could we have at least a warning at compile time about this? It would be most helpful (IMO compilation should actually fail because of this). -- 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/-/r4ABztPQ8NgJ. 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: Scary: GWT Team does not fix serious GWT Compiler Bugs
+1 on Manolo's point. However, in the interests of debugging: what happens if you use the boxed version of boolean? On Tue, Oct 2, 2012 at 11:45 AM, Manuel Carrasco Moñino man...@apache.orgwrote: I think it is a good idea to get rid of methods which always return true/false/true because it saves a lot of code in the final js, and it gives the option to the developer to remove code programatically. In my opinion the example you show and the examples in the issue page are not examples of good codding, but maybe there are edge cases where it could make sense. I trust in the compiler and I have several projects in production and never I faced this problem, so IMHO knowing a couple of good practices to follow with gwt should be enough. Anyway, in the case it were difficult to fix, I think the compiler should be more verbose and fail with methods which have any line apart from the return true one, - Manolo On Fri, Sep 28, 2012 at 2:24 PM, Marc2000 whipma...@googlemail.comwrote: Hallo, After finishing development on my GWT (2.4) project, I found out, that the compiled version does not work exactly as in the development mode. Some method ( isValid() ) seems not to be called. Calling code (simplified): boolean valid=true; if(! mypanel.isValid()) valid=false; method: public boolean isValid() { updateSomeData(); return true; } This works well in development mode, but in compiled code, isValid() was never called. From this point things got strange. I've added a log-command to the method: public boolean isValid() { updateSomeData(); logger.info(method called); return true; } The method was called and the log entry written. I removed the log entry and changed the calling part to: boolean valid=true; boolean x=mypanel.isValid(); if(!x) valid=false; Now again the method was called. This seems to be some problem in the compiler optimizer. After switching off the optimizer, the compiled code did work as expected. After searching the web, I found an issue report, DESCRIBING THE EXACT SAME PROBLEM ! See: http://code.google.com/p/google-web-toolkit/issues/detail?id=6551 So this is a know issue since over a year and present since GWT 2.3 !!! I have not problem with bugs, but I can't understand, why no one seems to care. Can there be something more serious, than a compiler-bug ? If you search the database, there are some compiler / optimizer issues, that seem not to have been fixed. Example: http://code.google.com/p/google-web-toolkit/issues/detail?id=5739 This is scary ! If you can't trust the compiler, you'll never know, if your code works in production as I did under development. Adding / removing a single line may change the whole behavior. Testing will become a nightmare ! Some one should care. regards Marc -- 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/-/K3Zt9B3sxW8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Scary: GWT Team does not fix serious GWT Compiler Bugs
+1 too 2012/10/2 Jeff Chimene jchim...@gmail.com +1 on Manolo's point. However, in the interests of debugging: what happens if you use the boxed version of boolean? On Tue, Oct 2, 2012 at 11:45 AM, Manuel Carrasco Moñino man...@apache.org wrote: I think it is a good idea to get rid of methods which always return true/false/true because it saves a lot of code in the final js, and it gives the option to the developer to remove code programatically. In my opinion the example you show and the examples in the issue page are not examples of good codding, but maybe there are edge cases where it could make sense. I trust in the compiler and I have several projects in production and never I faced this problem, so IMHO knowing a couple of good practices to follow with gwt should be enough. Anyway, in the case it were difficult to fix, I think the compiler should be more verbose and fail with methods which have any line apart from the return true one, - Manolo On Fri, Sep 28, 2012 at 2:24 PM, Marc2000 whipma...@googlemail.comwrote: Hallo, After finishing development on my GWT (2.4) project, I found out, that the compiled version does not work exactly as in the development mode. Some method ( isValid() ) seems not to be called. Calling code (simplified): boolean valid=true; if(! mypanel.isValid()) valid=false; method: public boolean isValid() { updateSomeData(); return true; } This works well in development mode, but in compiled code, isValid() was never called. From this point things got strange. I've added a log-command to the method: public boolean isValid() { updateSomeData(); logger.info(method called); return true; } The method was called and the log entry written. I removed the log entry and changed the calling part to: boolean valid=true; boolean x=mypanel.isValid(); if(!x) valid=false; Now again the method was called. This seems to be some problem in the compiler optimizer. After switching off the optimizer, the compiled code did work as expected. After searching the web, I found an issue report, DESCRIBING THE EXACT SAME PROBLEM ! See: http://code.google.com/p/google-web-toolkit/issues/detail?id=6551 So this is a know issue since over a year and present since GWT 2.3 !!! I have not problem with bugs, but I can't understand, why no one seems to care. Can there be something more serious, than a compiler-bug ? If you search the database, there are some compiler / optimizer issues, that seem not to have been fixed. Example: http://code.google.com/p/google-web-toolkit/issues/detail?id=5739 This is scary ! If you can't trust the compiler, you'll never know, if your code works in production as I did under development. Adding / removing a single line may change the whole behavior. Testing will become a nightmare ! Some one should care. regards Marc -- 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/-/K3Zt9B3sxW8J. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received 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 Mode
Harish, That plugin is only for when you are in DevMode which lets you do advanced debugging. It is not needed in production. Sincerely, Joseph -- 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/-/W1i9R5uhGAgJ. 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: Type cannot be serialized only in FireFox in Development Mode.
JavaLife, There are several requirements for GWT serializability. Can you confirm that your objects comply with thesehttps://developers.google.com/web-toolkit/doc/1.6/DevGuideServerCommunication#DevGuideSerializableTypes? Due to being transformed to JS on the client and type erasure on the server side, it is possible that the error is not caught in Prod mode because it manages to serialize/deserialize despite not meeting the rules (not something you'd want to depend on), but in DevMode the same issue is caught because the type checking is possible. Can you confirm it meets to requirementshttps://developers.google.com/web-toolkit/doc/1.6/DevGuideServerCommunication#DevGuideSerializableTypesand also that other version of FF like 13 have the same issue? Thx. Sincerely, Joseph -- 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/-/fWNb8cA9rsMJ. 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 dev plugin for Chrome 21.0.1180.60 m not installing
that is bizarre. it did not work last night even with many attempts, but the exact same operation this morning worked! i didn't even restart chrome or anything. btw i'm using chrome Version 22.0.1229.64 beta. - chris -- 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/-/6tMsXBplx9YJ. 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: Help in JSNI callback in javascript object
If you want the callbacks to call into your Java methods one way to do that is to assign those methods to a globally accessible Javascript variable. Then you can register those as callbacks to your on_event calls. The example I'm showing is static but you may be able to use instance methods. Something like (keep in mind I'm writing on the fly so may not be exactly right): public static void onSipEventStack(JavaScriptObject evt) { ... } public static native void exportStaticMethod(JavaScriptObject tsip) /*-{ $wnd.onSipEventStack = $entry(@mypackage.MySipClass::onSipEventStack(evt)); tsip.on_event_stack = $wnd.onSipEventStack; }-*/; You could also setup a Javascript overlay object for the tsip object so you can make calls to it from you Java code. I hope that helps. Thanks, Gordon Pike easygwt.com gwtcasts.com On Friday, September 28, 2012 8:08:57 AM UTC-6, JSNI NOOB wrote: Hi i need some help to do a wrapper to GWT. in javascript i have the following: (...) // create a new SIP stack. Not mandatory as it's possible to reuse the same satck oSipStack = new tsip_stack(txtRealm.value, txtPrivateIdentity.value, txtPublicIdentity.value) oSipStack.on_event_stack = onSipEventStack; oSipStack.on_event_dialog = onSipEventDialog; (...) // Callback function for SIP Stacks function onSipEventStack(evt) { // this is a special event shared by all sessions and there is no e_stack_type // check the 'sip/stack' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.STACK_STARTED: (...) // Callback function for all SIP dialogs (INVITE, REGISTER, INFO...) function onSipEventDialog(evt) { // this is special event shared by all sessions and there is no e_dialog_type // check the 'sip/dialog' code tsk_utils_log_info(evt.s_phrase); switch (evt.i_code) { case tsip_event_code_e.DIALOG_TRANSPORT_ERROR: case tsip_event_code_e.DIALOG_GLOBAL_ERROR: case tsip_event_code_e.DIALOG_MESSAGE_ERROR: case tsip_event_code_e.DIALOG_WEBRTC_ERROR: So in my GWT-Wrapper using JSNI i make: public static native JavaScriptObject tsip_stack(String s_realm, String s_impi, String s_impu_uri ) /*-{ return new $wnd.tsip_stack(s_realm, s_impi, s_impu_uri); }-*/; How do i make the callback and is association to the javascript object. This project is to make an wrapper of sipml5 if someone had the wrapper it helps to Thanks Best Regards -- 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/-/p2iN06L0zQIJ. 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: My CellTable is too narrow at first, what could I be doing wrong?
It's hard to respond without seeing the code. Where did you set the width of the CellTable? How did you set column width? Which handlers did you attach to your ListBox? Do you call DataProvider and when? You will get a faster response if you post this problem, with the code, on StackOverflow. On another note, consider using a DataGrid instead of a CellTable wrapped in a ScrollPanel. -- 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/-/aW0AGdwcpmUJ. 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: Datagrid with editable and non-editable cells
There are several ways to do it. Which cell are you using? -- 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/-/znr5f4Bx7JAJ. 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: Scary: GWT Team does not fix serious GWT Compiler Bugs
+1 too On Tue, Oct 2, 2012 at 7:24 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: +1 too 2012/10/2 Jeff Chimene jchim...@gmail.com +1 on Manolo's point. However, in the interests of debugging: what happens if you use the boxed version of boolean? On Tue, Oct 2, 2012 at 11:45 AM, Manuel Carrasco Moñino man...@apache.org wrote: I think it is a good idea to get rid of methods which always return true/false/true because it saves a lot of code in the final js, and it gives the option to the developer to remove code programatically. In my opinion the example you show and the examples in the issue page are not examples of good codding, but maybe there are edge cases where it could make sense. I trust in the compiler and I have several projects in production and never I faced this problem, so IMHO knowing a couple of good practices to follow with gwt should be enough. Anyway, in the case it were difficult to fix, I think the compiler should be more verbose and fail with methods which have any line apart from the return true one, - Manolo On Fri, Sep 28, 2012 at 2:24 PM, Marc2000 whipma...@googlemail.comwrote: Hallo, After finishing development on my GWT (2.4) project, I found out, that the compiled version does not work exactly as in the development mode. Some method ( isValid() ) seems not to be called. Calling code (simplified): boolean valid=true; if(! mypanel.isValid()) valid=false; method: public boolean isValid() { updateSomeData(); return true; } This works well in development mode, but in compiled code, isValid() was never called. From this point things got strange. I've added a log-command to the method: public boolean isValid() { updateSomeData(); logger.info(method called); return true; } The method was called and the log entry written. I removed the log entry and changed the calling part to: boolean valid=true; boolean x=mypanel.isValid(); if(!x) valid=false; Now again the method was called. This seems to be some problem in the compiler optimizer. After switching off the optimizer, the compiled code did work as expected. After searching the web, I found an issue report, DESCRIBING THE EXACT SAME PROBLEM ! See: http://code.google.com/p/google-web-toolkit/issues/detail?id=6551 So this is a know issue since over a year and present since GWT 2.3 !!! I have not problem with bugs, but I can't understand, why no one seems to care. Can there be something more serious, than a compiler-bug ? If you search the database, there are some compiler / optimizer issues, that seem not to have been fixed. Example: http://code.google.com/p/google-web-toolkit/issues/detail?id=5739 This is scary ! If you can't trust the compiler, you'll never know, if your code works in production as I did under development. Adding / removing a single line may change the whole behavior. Testing will become a nightmare ! Some one should care. regards Marc -- 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/-/K3Zt9B3sxW8J. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at
popup modal
I am working with IE8. I open popup with modal true but it does not work as it should, I can click on any place in the app and it will work. On FF it works OK. Is this known issue ? Is there work around for this ? Thanks -- 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/-/PhjpasNKvkAJ. 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.
Places with DataGrid, AsyncDataProvider, and SimplePager
I am using Activities and Places and encountered a situation where I'd like to know the best practice or at least get some good ideas. The app has an Activity with a simple search form and a DataGrid. The form has some text boxes (first name, lastname, etc) and a Find button. Enter in a firstname (partially), click Find, and the DataGrid fills with matching items. The DataGrid allows sorting on the columns (first name, lastname, city, state, etc). There is also a SimplePager on the form. All works well, except with Places. I want the URL to reflect the state of the form. So, one could type in the URL and it works. Also the back and forward buttons of the browser work as expected. Here is a sample URL: http://mycompany.com/myapp.html?findpeople#firstname=J:sortyby=1:start=0 The sortby and start arguments are what you would expect. The problem is getting Places to work with sorting and paging. It works with the Find button. So, when someone clicks the Find button two things are done: // Force a refresh of the DataGrid, which calls AsyncDataProvider.onRangeChanged, // based on the search fields (first name, lastname, etc). peopleTable.setVisibleRangeAndClearData( new Range( 0, PAGESIZE ), true ); // Push this search on the location stack. History.new( createUrl( firstname, lastname ), false ); The URL with the arguments is pushed onto the browser's location stack. Works nicely, except when the column headers (to sort) and the pager's next and previous buttons are clicked. These trigger an rangeChange event with the DataGrid's AsyncDataProvider. I can get it to work they way I want but in a kludgy way. I can add a setSaveHistory() method to the AsyncDataProvider. When true the provider calls History.new. But that doesn't seem like a good way to do it. I don't like the idea of doing this when the query is performed (in the data provider). Maybe SimplePager isn't the appropriate pager to use. However, the same problem exists with sorting (and clicking on the column headers). Any thoughts? -- 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/-/4ga8KXOtTK8J. 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: Scary: GWT Team does not fix serious GWT Compiler Bugs
Sorry, but definitely no. Admittedly, I've never actually encountered such a GWT bug in my own code. But that's irrelevant. Imagine you're changing a method temporarily to debug some code (in a way, that it always returns true), and in compiled mode it will simply not do what you expect - you'll search thousands of places before thinking that it could be a compiler bug. 1. Such bugs are avoidable. 2. It's a compiler's job to make sure you can rely on the basics - everything builds upon that, and errors at that level may amplify, leading to completely unpredictable results. This has nothing to do with good coding on the GWT developer's side (BTW, unit tests are often examples of intentional bad coding. What if they fail - or worse: pass - unpredictably?) On Tuesday, October 2, 2012 7:21:47 PM UTC+2, jchimene wrote: +1 on Manolo's point. -- 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/-/GkEDfwGo3PcJ. 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: Scary: GWT Team does not fix serious GWT Compiler Bugs
I will raise some attention to this. -Daniel Am 02.10.2012 um 22:45 schrieb Chris Lercher cl_for_mail...@gmx.net: Sorry, but definitely no. Admittedly, I've never actually encountered such a GWT bug in my own code. But that's irrelevant. Imagine you're changing a method temporarily to debug some code (in a way, that it always returns true), and in compiled mode it will simply not do what you expect - you'll search thousands of places before thinking that it could be a compiler bug. 1. Such bugs are avoidable. 2. It's a compiler's job to make sure you can rely on the basics - everything builds upon that, and errors at that level may amplify, leading to completely unpredictable results. This has nothing to do with good coding on the GWT developer's side (BTW, unit tests are often examples of intentional bad coding. What if they fail - or worse: pass - unpredictably?) On Tuesday, October 2, 2012 7:21:47 PM UTC+2, jchimene wrote: +1 on Manolo's point. -- 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/-/GkEDfwGo3PcJ. 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: Scary: GWT Team does not fix serious GWT Compiler Bugs
1. Such bugs are avoidable. 2. It's a compiler's job to make sure you can rely on the basics - everything builds upon that, and errors at that level may amplify, leading to completely unpredictable results. This has nothing to do with good coding on the GWT developer's side (BTW, unit tests are often examples of intentional bad coding. What if they fail - or worse: pass - unpredictably?) Agree 100%: compiled code should behave the same than debug mode, and should match all java language specifications. But any gwt developer knows that the gwt compiler has a set of limitations which are widely admitted and documented (regex, number arithmetic, etc), I have spent a lot of time trying to figure out why some tests passed in dev and not in production though. So, the point here is what to do with the issue, IMO it should be fixed if possible, otherwise it should be documented or make the compiler print an error, but I wouldn't revert the optimization strategy. Related with the huge gwt issues list, I think that the gwt team should face them seriously (I hope this is a priority for the steering committee). - Manolo -- You received 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: CellTree: Changing the default no data message for empty nodes
It appears that there is not. Pretty disappointing, I was hoping to use CellTree in my new project... thought in my case I do not want the message at all, which is also not possible. On Tuesday, March 8, 2011 3:27:36 PM UTC-5, aarnott wrote: Is there a way with the CellTree to change the default no data message when a tree node is empty? Maybe I'm taking the wrong approach, but I am using an RPC to load the children of a particular node once it is opened and when the loading is happening, the node shows the no data message. I'd prefer to change the message to something like Loading... :-). Otherwise, I can always add a child cell that has the loading message and then remove it when the real children are loaded, but that seems clunky. --Andrew -- 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/-/TYnnKHCmKS4J. 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.
[no subject]
http://www.emetreinta.es/wp-content/plugins/akismet/google.html?fs=xss.migfgw=er.ytffhb=emqz -- You received 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.
page completely fails to load on ie8, works on safari, firefox, chrome, ie9
There's a good chance this is not gwt-related, but if anyone has run into this and has any quick suggestions it would be greatly appreciated. thanks much. -- 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/-/lL_QBhCql3MJ. 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-contrib] Re: The JavaDoc for Style.clearFloat() is wrong (issue1762803)
I didn't realize it wasn't cc'd to the group... http://gwt-code-reviews.appspot.com/1762803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] unable to download MAC OS X developer plugin
Guys, I am having trouble installing the developer plugin on Mac OS X. I have tried the following, but it still fails to install. open /Applications/Google\ Chrome.app --args --enable-easy-off-store-extension-install Anyone got any ideas, when this will be fixed?? Mac -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Update validator version to Final rather than GA (issue1847805)
Reviewers: rchandia, Description: Update validator version to Final rather than GA Review by: rchan...@google.com Please review this at http://gwt-code-reviews.appspot.com/1847805/ Affected files: M samples/dynatablerf/pom.xml M samples/mobilewebapp/pom.xml M samples/validation/pom.xml Index: samples/dynatablerf/pom.xml === --- samples/dynatablerf/pom.xml (revision 11305) +++ samples/dynatablerf/pom.xml (working copy) @@ -61,7 +61,7 @@ dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId - version4.1.0.GA/version + version4.1.0.Final/version exclusions exclusion groupIdjavax.xml.bind/groupId Index: samples/mobilewebapp/pom.xml === --- samples/mobilewebapp/pom.xml(revision 11305) +++ samples/mobilewebapp/pom.xml(working copy) @@ -68,7 +68,7 @@ dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId - version4.1.0.GA/version + version4.1.0.Final/version exclusions exclusion groupIdjavax.xml.bind/groupId Index: samples/validation/pom.xml === --- samples/validation/pom.xml (revision 11305) +++ samples/validation/pom.xml (working copy) @@ -44,7 +44,7 @@ dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId - version4.1.0.GA/version + version4.1.0.Final/version exclusions exclusion groupIdjavax.xml.bind/groupId @@ -62,7 +62,7 @@ dependency groupIdorg.hibernate/groupId artifactIdhibernate-validator/artifactId - version4.1.0.GA/version + version4.1.0.Final/version classifiersources/classifier exclusions exclusion -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Update validator version to Final rather than GA (issue1847805)
LGTM http://gwt-code-reviews.appspot.com/1847805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Using RequestFactory, AutoBean equality compares stableId proxyClass, which will NPE if stableId is not set.
Hi Thomas. Sorry for this bit of thread necromancy, but this issue is still a big pain for us. I think I've figured out what's going on. We currently use ValueProxy objects that aren't contained inside an EntityProxy. And our ValueProxy objects don't have an @Id annotated field. So they would have no stableId associated with them right? According to the RequestFactory documentation: Unlike an EntityProxy, a ValueProxy is not required to expose an ID and version. ValueProxy is often used to represent embedded object types within entities So that means ValueProxy doesn't have to have its own ID, and it is only usually (but not always) contained in an Entity... So sounds to me like its not a bug for a ValueProxy to lack a stableId, so a null check on the stable ID in ValueProxyCategoy doesn't seem that crazy to me. What am I missing? Is the documentation not correct should it say ValueProxy objects don't need to have their own ID, but if they don't they must be contained within an EntityProxy?. It's definitely a very strange use case. This wouldn't be so hard for us except that we are using ValueProxy beans that are autogenerated for us, and it is not trivial to simply slap an @Id on one of the columns. Thanks, On Thursday, July 12, 2012 2:19:51 AM UTC-7, Thomas Broyer wrote: On Thursday, July 12, 2012 2:56:06 AM UTC+2, Eric Friesen wrote: This occurs in the ValueProxyCategory: http://code.google.com/searchframe#T04cSGC7sWI/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/ValueProxyCategory.javaq=ValueProxyCategory%20package:google-web-toolkit%5C.googlecode%5C.coml=42 It's causing our project to not be able to compare our AutoBean objects returned to us from RequestFactory requests. Would a change to check whether the AutoBeans have stable ids in the first place before trying to compare their proxy classes be acceptable? Or am I missing something in the big picture here and it's a bad idea. As far as I can tell it's an optimization to fail early without having to do a deep equals and this change would be alright. If this sounds reasonable I'll put in a fix for review. The thing is: stableId shouldn't ever be 'null', that'd be a bug. Maybe you create a ValueProxy AutoBean without using RequestContext#create(); that's not supported, that'd be a bug in your code. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors