No RequestContext for operation [Solved]
There are already several similar threads but it took me a whole day to solve this, so I hope this extra piece of info may help to somebody else in similar situation. I moved from GWT 2.3 to 2.4. There are no big letters in release readme or anywhere saying that there are breaking changes since RequestFactory validation is totally reworked but after some googling you get the idea. So I quickly ran ValidationTool and created an extra jar and everything was working again. Note that what is may be obvious today could be less obvious a month or two ago as the tool documentation is being constantly corrected. So I went on with my business, refactored half of the interfaces in AppRequestFactory and then boom - a dreaded No RequestContext for operation hit me. First I thought I broke some unspoken extra constraint with RequestFactory or messed up classpath or have wrong web.xml and so on. I updated all my Eclipse plugins, cleaned up everything, removed Maven - no luck. I did rerun ValidationTool but without success. I reverted to a previous version of my code and added a single simple method to an existing AppRequestFactory interface. And got the same No RequestContext for operation. And only at this point I reread that article about new RequestFactory validation, added annotation processor (requestfactory-apt.jar) and voila - everything suddenly works. So if any poor soul out there is in similar shoes may be this story will help a bit. On a side note - GWT documentation is terrible and is getting worse over time. The scope is getting bigger and bigger (Android, App marketplace and so on) but the quality is dropping with each release. A year after RequestFactory release any novice must gather million of pieces about how it works on his own. And the error message is hardly helpful as well (in the same league as the bean is frozen or the streams are crossed). -- 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: SmartGWT migration to 2.4 version
Did you check the release notes to ensure that the version of Smart GWT that you are using is compatible with the version of GWT that you are using? Smart GWT 2.5 lists compatibility from 1.6 to 2.3 of GWT or something like that... On Oct 7, 8:36 am, Boris H squarepusher...@gmail.com wrote: I am migrating my app from 1.7 release to 2.4. The application is a wizard. I've updated jars to new versions, but faced with a problem: my app does not start at all: the Object required exception is raised from browser side. The explorer's stacktrace: -JScript anonymous function -gwtOnLoad -maybeStartModule -JScript anonymous function -JScript global code The last call's code is: function entry_0(jsFunction){ return function(){ try { return entry0(jsFunction, this, arguments); } catch (e) { throw e; } } ;} . When SmartGWT developer console is launched, it shows nothing 'bout the error - no logs, no events. Please give a hint on what can be next step. Thanks a lot! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: JSON issue with GWT
Did you look at JsArray or JsArrayString? On Oct 8, 4:17 am, anand jain anandjain1...@gmail.com wrote: I am making a DTO (JSON fomat). In that if my method returns a List, then I am unable to get that List elements from JS0N string. In JSON string, I can see the elements but unable to fetch them. Can anybody help me? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: One-To-Many RElations Serialization
Does MyClass implement IsSerializable or Serializable? On Oct 6, 6:58 pm, Bruno Sandivilli bruno.sandivi...@gmail.com wrote: I'm getting this error when my RPC returns a list of a custom object: Type 'org.datanucleus.sco.backed.List' 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. -- 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.
Local storage doesn't work with ie8 in gwt 2.4
I know that there is local storage support in ie8 but when I do Storage.getLocalStorageIfSupported() in gwt 2.4, I get null value for ie8, but it works for other browsers (chrome, firefox safari). Does anyone have any idea, what am I doing wrong? Do I need to handle ie8 differently? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT and Databases
Hi there, I am an absolute beginner with GWT although i am now understanding some concepts. My own project is to, using template when creating a new project in eclipse, connect to an oracle express database, looking for a login within a table and return his name. Technologies seems to have changed between GWT 1.x and GWT 2.x in many ways, and i'm looking for a clear and simple example. Can someone point me in the right direction as i am not able to process examples coming from the internet ? I am now confused between jetty environment xml file to create, use or not GAE, use .launch file, use hibernate, and dozen others things. Understood this is a favor i'm asking, but a sample would be appreciated. Regards, Pierre -- 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: DataGrid Pagination Problem
1Thanks Chris, but I dont understand why,when and where should I call this createSimplepager(); 2And If it gets called all by itself can you please help me understand how do I add that newly created instance if SimplePager to a VerticalPanel. As i want to add the simplePager to the south of my Docklayoutpanel, which I do by adding the SimplePager instance to a vertical panel. 3In brief I want to further use the newly created instance of SimplePager, but I didnt found how to do it. On Sun, Oct 9, 2011 at 4:12 AM, chris chris.hins...@gmail.com wrote: I ran into the same problem today and can tell you that it is most likely the @UiField(provided=true) annotation. I think I see your problem and you are creating another SimplePager in your constructor and it is not being assigned to pager1. This is what is giving you the null pointer exception. I would recommed using the @UiFactory annotation on a function to create your objects, then you do not need the provided=true in you @Uifield. It really doesn't matter which syntax you use but I like to keep my constructors pretty simple. Hope that helps. @UiFactory SimplePager createSimplePager() { SimplePager simplePager = new SimplePager(); simplePager = new SimplePager(TextLocation.RIGHT); simplePager.setPageSize(10); simplePager.setRangeLimited(true); return simplePager; } On Oct 5, 12:52 am, Karzai kapil2ka...@gmail.com wrote: Hi I m getting the following error can anyone please help me in resolving and getting a proper pagination flow, on clicking of the paginate icon. below is the code I have been trying to use and the exception I'm getting : Exception : === 11:17:33.939 [ERROR] [myapps] Unable to load module entry point class com.apps.app1.client.Myapps (see associated exception for details) java.lang.NullPointerException: null at com.google.gwt.user.client.ui.HTMLPanel.addAndReplaceElement(HTMLPanel.java:197) at com.apps.app1.client.GridData_GridDataUiBinderImpl.createAndBindUi(GridData_GridDataUiBinderImpl.java: 37) at com.apps.app1.client.GridData_GridDataUiBinderImpl.createAndBindUi(GridData_GridDataUiBinderImpl.java: 1) at com.apps.app1.client.GridData.lt;initgt;(GridData.java:61) at com.apps.app1.client.Myapps.onModuleLoad(Myapps.java:14) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: 396) at com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java: 200) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 525) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 363) at java.lang.Thread.run(Thread.java:619) The GridData.java file == package com.apps.app1.client; import java.util.ArrayList; import java.util.Comparator; import java.util.Date; import java.util.List; import com.apps.app1.client.Contact.Category; import com.google.gwt.cell.client.CheckboxCell; import com.google.gwt.cell.client.DateCell; import com.google.gwt.cell.client.EditTextCell; import com.google.gwt.cell.client.FieldUpdater; import com.google.gwt.cell.client.NumberCell; import com.google.gwt.cell.client.SelectionCell; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.safehtml.shared.SafeHtmlUtils; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.user.cellview.client.Column; import com.google.gwt.user.cellview.client.DataGrid; import com.google.gwt.user.cellview.client.Header; import com.google.gwt.user.cellview.client.SafeHtmlHeader; import com.google.gwt.user.cellview.client.SimplePager; import com.google.gwt.user.cellview.client.TextColumn; import com.google.gwt.user.cellview.client.ColumnSortEvent.ListHandler; import com.google.gwt.user.cellview.client.HasKeyboardSelectionPolicy.KeyboardSelectionPolicy; import com.google.gwt.user.cellview.client.SimplePager.TextLocation; import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.DialogBox; import com.google.gwt.user.client.ui.VerticalPanel; import com.google.gwt.user.client.ui.Widget; import com.google.gwt.view.client.ListDataProvider; import com.google.gwt.view.client.SelectionChangeEvent; import
Re: JSON issue with GWT
I have no idea..could you please tell me how to use it? On Sun, Oct 9, 2011 at 8:21 PM, Patrick Tucker tucker...@gmail.com wrote: Did you look at JsArray or JsArrayString? On Oct 8, 4:17 am, anand jain anandjain1...@gmail.com wrote: I am making a DTO (JSON fomat). In that if my method returns a List, then I am unable to get that List elements from JS0N string. In JSON string, I can see the elements but unable to fetch them. Can anybody help me? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
I made 3 new GWT Youtube tutorial videos.
My GWT Tutorial Playlist - http://www.youtube.com/playlist?list=PL29B4CCEF46EFF4F2feature=viewall GWT install on Ubuntu - http://www.youtube.com/watch?v=bkKxqynHrrQ GWT install on Windows - http://www.youtube.com/watch?v=MKuLDRo8fpM] Eclipse (SVN) subclipse install - http://www.youtube.com/watch?v=vVhNYDiqdtMlist=PL29B4CCEF46EFF4F2index=7 Thanks for watching. Brandon Donnelson http://gwt-examples.googlecode.com -- 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/-/WVvd5zkqyx8J. 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: Generics Issue in GWT
Make sure that the path that includes the class GenericService is included in your GWT xml configuration file. Just like you include the GWT stuff. See the GWT examples for more info. And make sure the source of the class GenericService can be found by the gwt compiler, that is: it's part of your classpath. - Ed On Oct 8, 9:55 pm, skywalker khare.ri...@gmail.com wrote: I am building an application which uses, GWT (2.4), App Engine (1.5.4), and Objectify (3.0). As my application is evolving, I am adding more domain classes and this is forcing me to write more services, which more or less look like same. for example they all should have code for CRUD operations. So I tried to create Generic services which look like //Client side @RemoteServiceRelativePath(Generic) public interface GenericServiceT extends BaseDomain extends RemoteService { } public interface GenericServiceAsyncT extends BaseDomain { ... } //ServerSide @SuppressWarnings(serial) public class GenericServiceImplT extends BaseDomain extends RemoteServiceServlet implements GenericServiceT { //implementation } When I am trying to create instance of it on client side using //Domain extends BaseDomain public static final GenericServiceAsyncDomain domainService = GWT.create(GenericService.class); I am getting the following exception java.lang.RuntimeException: Deferred binding failed for 'com.planner.client.GenericService' (did you forget to inherit a required module?) I am not sure what I a doing wrong, Would appreciate any pointers, and/ or alternative approaches. -- 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 and Databases
Here are some of my MySql JDBC notes here: http://code.google.com/p/gwt-examples/wiki/project_MySQLConn Here is a quick demo - http://gonevertical.org/DemoMySqlConn/ Here is a quick look at JDBC db connection - http://code.google.com/p/gwt-examples/source/browse/trunk/DemoMySqlConn/src/org/gonevertical/demo/server/DB_Conn.java The recommend using JDBC to connect to oracle and the only thing different between the MySql JDBC and Oracle in my example will probably be the query strings and such. I've used several different database connections at one time in a corporate setting and JDBC I've found works great. Hope that helps, Brandon Donnelson http://gwt-examples.googlecode.com -- 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/-/6HvhcRgueccJ. 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: One-To-Many RElations Serialization
Detach the object from JDO. -- 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/-/8L4f5_jq5p8J. 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: One-To-Many RElations Serialization
@PersistenceCapable(detachable=true) detached = pm.detachCopy(employee); Those will create a java.util List object. That should fix it. 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/-/ikusuY9VjW0J. 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: it is not a circular structure
I am seriously thinking gwt is messing with my classes. It works sometimes then other times it does not. How come I am getting this error when I do not have a circular relation in my data model? On Oct 8, 7:26 am, .Mark ward.m...@gmail.com wrote: I have a problem that I can not figure out. I have some classes extending the JavaScriptObject class. None of these classes reference each other or reference itself. I only access them in my java code and use the JSON to store these data structures. I get an error of (TypeError): Converting circular structure to JSON. Each class's unit test works on the stringify calls. The program works if I put debug lines to stringify each class before the natural flow of the program. What happens during run time is I fire events when data is written to the jnsi objects. A listener to the event is taking these objects and serializing them to save. It is during that call when triggered by the events that I get the circular error. But it works if I put a debug call to stringify each object before it's chane event is fired. I am lost in finding out what is going on or why this happens. -- 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: No RequestContext for operation [Solved]
Thanks for sharing. I'm not sure I agree with the docs getting worse over time, but I what I do agree with is that the programmers are outpacing the tech writers. I think the the documentation has improved over time. Although, I do agree with the challenge with the request factory setup, the docs do lack some very crucial setup points to get RequestFactory setup and that translates into pain. I to have frittered away time with trying to get it to work. But for those who drop by on this via search, here is how I got it to work notes. http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory Copy the client RequestFactory classes and add them to the annotation processer for the project so the processer will build the classes automatically like datanuclueus enhance does. -- 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/-/nFceGT8LK1cJ. 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: Regarding excanvas
Does IE7 suppor the HTML5 canvas element. I'm not sure it does. Or maybe I don't know what excanvas is? 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/-/GR5VKEXV_sIJ. 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: SerializationException
Try this to see if its your server security settings. Change it back after you figure it out. //add to /etc/tomcat5.5/policy.d/04webapps.policy grant codeBase file:${catalina.home}/webapps/- { permission java.security.AllPermission; }; It may be tomcat. private public vars in the DTO objects. My tomcat notes: http://code.google.com/p/gwt-examples/wiki/gwtTomcat Brandon Donnelson -- 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/-/3Qu-KtITH_0J. 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 + SVN + Eclipse
If you import the project on the other machine, check your classpath. Most of times it has absolute directory names that are not correct due to the user profile. What I do is stick it in the exact same directory on both computers. This doesn't always work. Another thing I do is unselect GWT in eclipse and apply. This should remove it as a GWT project. Then go back and select it again. This often will reset some of the GWT setup. You can also view the classpath files directly via a text editor and can edit the paths to reflect the correct directory structure. If you get the classpath correct the stuff should work just fine. Hope that helps, Brandon Donnelson http://gwt-examples.googlecode.com -- 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/-/QHxExIhLanwJ. 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: it is not a circular structure
The next discover is when stepping through the code to see if I can look at the data structure in memory before the call to json it does not throw the error. nbsp;I am going to have to put a try catch when the error happens to look at the data structure. I am working with a unit test where the data and the code path are the same each run. nbsp;The variable are the events -- Sent from my Palm Pixi On Oct 9, 2011 5:25 PM, .Mark lt;ward.m...@gmail.comgt; wrote: I am seriously thinking gwt is messing with my classes. It works sometimes then other times it does not. How come I am getting this error when I do not have a circular relation in my data model? On Oct 8, 7:26nbsp;am, .Mark lt;ward.m...@gmail.comgt; wrote: gt; I have a problem that I can not figure out. nbsp;I have some classes gt; extending the JavaScriptObject class. nbsp;None of these classes reference gt; each other or reference itself. nbsp;I only access them in my java code gt; and use the JSON to store these data structures. gt; gt; I get an error of (TypeError): Converting circular structure to gt; JSON. gt; gt; Each class's unit test works on the stringify calls. gt; The program works if I put debug lines to stringify each class before gt; the natural flow of the program. gt; gt; What happens during run time is I fire events when data is written to gt; the jnsi objects. nbsp;A listener to the event is taking these objects and gt; serializing them to save. nbsp;It is during that call when triggered by gt; the events that I get the circular error. nbsp;But it works if I put a gt; debug call to stringify each object before it's chane event is fired. gt; gt; I am lost in finding out what is going on or why this happens. -- 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.
Using SafeHtmlTemplate to render a Cell in a CellTree doesn't work
When rendering a Cell for a CellTree (for the Leaf Nodes), if I use a SafeHtml Template, I get com.google.gwt.core.client.JavaScriptException: (TypeError): elem is null at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) and also, java.lang.AssertionError: This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement() at com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java:527) at com.google.gwt.user.cellview.client.CellTree.findItemByChain(CellTree.java:921) When opening the Leaf Node's parent Node, and when selecting it, respectively. The Cell does actually render correctly, selection is broken and you can't close the parent mode, but it indicates the template is working. If I render the the cell without using a SafeHtmlTemplate everything works fine. Is anyone using SafeHtmlTemplates to render a CellTree's leaf nodes ? (Or can anyone point me to an example of rendering any type of Cell with a SafeHtmlTemplate? ) My render method looks like: @Override public void render(com.google.gwt.cell.client.Cell.Context context,Foo value, SafeHtmlBuilder sb) { SafeHtml x = MyTemplate.templateMethod(value.getBar(), value.getY()); sb.append(x); } -- 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: I made 3 new GWT Youtube tutorial videos.
Thanks! 2011/10/9 Brandon Donnelson branflake2...@gmail.com My GWT Tutorial Playlist - http://www.youtube.com/playlist?list=PL29B4CCEF46EFF4F2feature=viewall GWT install on Ubuntu - http://www.youtube.com/watch?v=bkKxqynHrrQ GWT install on Windows - http://www.youtube.com/watch?v=MKuLDRo8fpM] Eclipse (SVN) subclipse install - http://www.youtube.com/watch?v=vVhNYDiqdtMlist=PL29B4CCEF46EFF4F2index=7 Thanks for watching. Brandon Donnelson http://gwt-examples.googlecode.com -- 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/-/WVvd5zkqyx8J. 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 and Databases
See this threadhttp://groups.google.com/group/google-web-toolkit/browse_thread/thread/7e46e8c33e7ee5da. There I share a simple gwt sample that use JPA Spring 2011/10/9 Brandon Donnelson branflake2...@gmail.com Here are some of my MySql JDBC notes here: http://code.google.com/p/gwt-examples/wiki/project_MySQLConn Here is a quick demo - http://gonevertical.org/DemoMySqlConn/ Here is a quick look at JDBC db connection - http://code.google.com/p/gwt-examples/source/browse/trunk/DemoMySqlConn/src/org/gonevertical/demo/server/DB_Conn.java The recommend using JDBC to connect to oracle and the only thing different between the MySql JDBC and Oracle in my example will probably be the query strings and such. I've used several different database connections at one time in a corporate setting and JDBC I've found works great. Hope that helps, Brandon Donnelson http://gwt-examples.googlecode.com -- 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/-/6HvhcRgueccJ. 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: No RequestContext for operation [Solved]
I'm sorry if I was too harsh with my statements. I really appreciate GWT and it's a wonderful hack. And it's getting better over time. The complexity of supporting numerous platforms is probably mind-boggling. The amount of trickery used by the framework is far beyond average developer level. So I didn't mean to hurt anyone, just was a little frustrated with the quality of available information. -- 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: No RequestContext for operation [Solved]
No problem at all. I can conquer with those feelings b/c I've done the same thing :) I'm glad you shared, but I can't vouch for others tho. 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/-/Ffy5l1wAjBwJ. 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: Using SafeHtmlTemplate to render a Cell in a CellTree doesn't work
Ok this was actually a problem with the template, generating incorrect HTML. Simplifying the template to a simple div with some text gets everything work ok. On Sun, Oct 9, 2011 at 11:54 PM, Aidan O'Kelly aida...@gmail.com wrote: When rendering a Cell for a CellTree (for the Leaf Nodes), if I use a SafeHtml Template, I get com.google.gwt.core.client.JavaScriptException: (TypeError): elem is null at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136) and also, java.lang.AssertionError: This UIObject's element is not set; you may be missing a call to either Composite.initWidget() or UIObject.setElement() at com.google.gwt.user.client.ui.UIObject.getElement(UIObject.java:527) at com.google.gwt.user.cellview.client.CellTree.findItemByChain(CellTree.java:921) When opening the Leaf Node's parent Node, and when selecting it, respectively. The Cell does actually render correctly, selection is broken and you can't close the parent mode, but it indicates the template is working. If I render the the cell without using a SafeHtmlTemplate everything works fine. Is anyone using SafeHtmlTemplates to render a CellTree's leaf nodes ? (Or can anyone point me to an example of rendering any type of Cell with a SafeHtmlTemplate? ) My render method looks like: @Override public void render(com.google.gwt.cell.client.Cell.Context context,Foo value, SafeHtmlBuilder sb) { SafeHtml x = MyTemplate.templateMethod(value.getBar(), value.getY()); sb.append(x); } -- 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.
Custom UIBinder Widget, problem expecting only widgets
I am trying to create a custom to use in my UIBinder templates, UL/LI elements are curiously missing.. I used HTMLPanel as a template where I copied the class source to my project. The object itself works fine, but as soon as I try to include HTML code in the element, the UIBinder parser complains saying that my UL widget is only expecting Widgets, but the HTMLPanel can include both HTML and Widgets.. What am I doing wrong ? Thanks -John G -- 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 DataGrid: how to scroll to the top
Added my use case (lazy row rendering) to the bug page. It requires scrollPanel access too. On Oct 7, 9:10 am, Cedric cdan...@gmail.com wrote: I have filedhttp://code.google.com/p/google-web-toolkit/issues/detail?id=6865. -- 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: it is not a circular structure
Any code examples? Is it possible that java script objects (not your java class) reference each other or something? On Oct 9, 3:54 pm, ward.m...@gmail.com ward.m...@gmail.com wrote: The next discover is when stepping through the code to see if I can look at the data structure in memory before the call to json it does not throw the error. nbsp;I am going to have to put a try catch when the error happens to look at the data structure. I am working with a unit test where the data and the code path are the same each run. nbsp;The variable are the events -- Sent from my Palm Pixi On Oct 9, 2011 5:25 PM, .Mark lt;ward.m...@gmail.comgt; wrote: I am seriously thinking gwt is messing with my classes. It works sometimes then other times it does not. How come I am getting this error when I do not have a circular relation in my data model? On Oct 8, 7:26nbsp;am, .Mark lt;ward.m...@gmail.comgt; wrote: gt; I have a problem that I can not figure out. nbsp;I have some classes gt; extending the JavaScriptObject class. nbsp;None of these classes reference gt; each other or reference itself. nbsp;I only access them in my java code gt; and use the JSON to store these data structures. gt; gt; I get an error of (TypeError): Converting circular structure to gt; JSON. gt; gt; Each class's unit test works on the stringify calls. gt; The program works if I put debug lines to stringify each class before gt; the natural flow of the program. gt; gt; What happens during run time is I fire events when data is written to gt; the jnsi objects. nbsp;A listener to the event is taking these objects and gt; serializing them to save. nbsp;It is during that call when triggered by gt; the events that I get the circular error. nbsp;But it works if I put a gt; debug call to stringify each object before it's chane event is fired. gt; gt; I am lost in finding out what is going on or why this happens. -- 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 athttp://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: JSON issue with GWT
JsArrayYourModel modelsList = JsonUtils.safeEval(yourJsonString); And then you cuold use JsArrayhttp://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/core/client/JsArray.htmlto get any model you need. -- 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/-/Q_DYk_lUnUwJ. 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: Show Images
You could use JSNI + HTML5 to acces images from desktop. -- 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/-/a3TuW1xzMEEJ. 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.
rss feed
hi everyone, i want to add rss feed (like any news channel rss feed) in my samrtgwt application. i am devloping a web portal in which i want one ooption of rss feed can somebody tell me how to give rss feed of news channel I dont have any idea about it...plz help me.. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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: Design Time Access to UiBinder Model
Thanks Konstantin, I'll take a look at it. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors