Re: GWT Mobile invite you to develop mobile apps with GWT
Currently the project is Eclipse based, so you will need to have Eclipse in order to build. Ro-man has added Maven support to the GWTMobile-Persistence sub-project. If you want, you can take a look at how that was added and maybe apply it to other GWTMobile sub-projects. I don't use Maven but will gladly accept git pull requests that adds Maven support. On Apr 8, 5:39 pm, Tonte Pouncil etno...@yahoo.com wrote: Will the GWT Mobile project use Maven to build? Thanks. Tonté Pouncil From: Dennis Z Jiang jiangzhi...@gmail.com To: Google Web Toolkit google-web-toolkit@googlegroups.com Sent: Fri, April 8, 2011 12:03:31 AM Subject: GWT Mobile invite you to develop mobile apps with GWT GWT Mobile is an open-source project that focus on developing mobile apps with GWT. It has three main features: 1. A set of mobile optimized UI widgets. 2. A PhoneGap wrapper that enables native phone functions for GWT apps. 3. A ORM module to persist objects to the browser database. As the creator of GWT Mobile, I invite anyone who is interested in developing mobile apps to to join the development of the open-source GWT Mobile project, to test it, or to use it in your mobile apps. http://www.gwtmobile.com Happy coding! -- 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.
GWT Mobile invite you to develop mobile apps with GWT
GWT Mobile is an open-source project that focus on developing mobile apps with GWT. It has three main features: 1. A set of mobile optimized UI widgets. 2. A PhoneGap wrapper that enables native phone functions for GWT apps. 3. A ORM module to persist objects to the browser database. As the creator of GWT Mobile, I invite anyone who is interested in developing mobile apps to to join the development of the open-source GWT Mobile project, to test it, or to use it in your mobile apps. http://www.gwtmobile.com Happy coding! -- 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-html5-persistence: GWT client side persistence
Hi everyone, I am working on an GWT generator project that enables objects to be persisted on the client side html5 database (or Google Gears db). The generator is a wrapper of a JavaScript library that provides the actual object persistence functionality. If you have need to persist objects on the browser database, you are welcome to visit the project site for more details. http://github.com/dennisjzh/gwt-html5-persistence The sample code below demonstrates how to persist objects to the browser database. The sample creates five task objects, persists them, and then retrieves the ones that are marked as done. No SQL statement is used in the code. final EntityTask taskEntity = GWT.create(Task.class); final EntityTag tagEntity = GWT.create(Tag.class); final EntityCategory categoryEntity = GWT.create(Category.class); Persistence.schemaSync(new Callback() { public void onSuccess() { final Category c = categoryEntity.newInstance(); c.setName(Main); final Tag tag = tagEntity.newInstance(); tag.setName(Urgent); for (int i = 0; i 5; i++) { Task t = taskEntity.newInstance(); t.setName(Task + Integer.toString(i)); t.setDescription(Task No # + Integer.toString(i)); t.setDone(i % 2 == 0); t.setCategory(c); t.getTags().add(tag); } Persistence.flush(new Callback() { public void onSuccess() { CollectionTask allTasks = c.getTasks().filter(Done, ==, true); allTasks.list(new CollectionCallbackTask() { public void onSuccess(Task[] results) { for (Task task : results) { RootPanel.get(taskNameContainer).add(new Label(task.getName())); } } }); Persistence.reset(); } }); } }); -- 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-tool...@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 generator: error while RPCing an instance of generated class to the server.
I have a simple GWT generator module that generates a class that extends the requested class and overrides one method on the super class. For example, if the requested class is: public class Account {...} The generated class will look like: public class Account_Gen extends Account {...} On the client code, I can create an instance of the Account_Gen object with the following code. Account account = GWT.create(Account.class); I can verify that the created object is indeed an instance of Account_Gen by watching the object through the debugger. Now, I try to pass the object to the server, as I have a service that takes an Account object as parameter: String greetServer(Account name); I was expecting that, since the parameter defined on the service is the super class, an instance of a derived class could be used as the actually argument with no problem. However, I am getting an RPC error message that reads as if there was a network problem. An error occurred while attempting to contact the server. Please check your network connection and try again. Neither the host mode server window nor the Eclipse console provides any additional information of the error. Any idea why this is happening? Thanks. Below is the client code: Account account = GWT.create(Account.class); account.setId(textToServer); greetingService.greetServer(account, new AsyncCallbackString() {... -- 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-tool...@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=.