Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
Hi, i have tried to use: servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/GestionUserService/*/url-pattern /servlet-mapping or servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/userConsole/GestionUserService/*/url-pattern /servlet-mapping And still the same error. I'll keep looking, but any kind of feedback, help or ideas are really apreciated! El lunes, 4 de marzo de 2013 18:06:12 UTC+1, Thomas Broyer escribió: On Monday, March 4, 2013 5:48:12 PM UTC+1, Borja Gonzalez wrote: Hi, im writting the code for a console using GWT and Spring integration. I have followed GWT tutorial and read some forums about how to use spring qith GWT. I'm at the point that the RPC call is returning null and i can't seem to see why. As english is not my native language and i'm pretty new to this, I'm just going to put my code here to see if someone can help me with it. [b]Service:[/b] [code=java] @RemoteServiceRelativePath(GestionUserService) public interface GestionUserService extends RemoteService { CollectionUsuario dameTablaUsuarios(String entidad); } [/code] [b]Async:[/b] [code=java] public interface GestionUserServiceAsync { void dameTablaUsuarios(String entidad,AsyncCallbackCollectionUsuario callback); } [/code] [b]Impl:[/b] [code=java] @SuppressWarnings(serial) @Service(GestionUserService) public class GestionUsersConsultImpl extends RemoteServiceServlet implements GestionUserService { @Autowired UserConsoleDBUtil utilDB; Logger logger = Logger.getLogger(GestionUsersConsultImpl.class); @SuppressWarnings(unchecked) public CollectionUsuario dameTablaUsuarios(String entidad) { GWT.log(Log); logger.info(He llegado al IMPL dameTablaUsuarios.===+entidad); logger.info(UtilDB +utilDB.toString()); return utilDB.getDao().getUsuarios(entidad); } } [/code] [b]*gwt.xml:[/b] [code=xml] ?xml version=1.0 encoding=UTF-8? module rename-to='userConsole' !-- Inherit the core Web Toolkit stuff. -- inherits name='com.google.gwt.user.User' / !-- Compilar solamente para Firefox -- !--set-property name=user.agent value=gecko1_8/set-property -- inherits name='com.google.gwt.user.theme.standard.Standard' / inherits name=com.google.gwt.i18n.I18N / !-- Specify the app entry point class. -- entry-point class='com.santander.bam.comun.userconsole.client.GestionUsers' / !-- English language, independent of country -- extend-property name=locale values=es_ES / extend-property name=locale values=en_US / extend-property name=locale values=de_DE / !-- Specify the application specific style sheet. -- stylesheet src='UserConsole.css' / !-- Specify the paths for translatable code -- source path='client' / source path='client/services' / source path='db/bean' / /module [/code] [b]applicationContext.xml:[/b] [code=xml] beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:p= http://www.springframework.org/schema/p; xmlns:aop=http://www.springframework.org/schema/aop; xmlns:context= http://www.springframework.org/schema/context; xmlns:jee=http://www.springframework.org/schema/jee; xmlns:tx= http://www.springframework.org/schema/tx; xmlns:task=http://www.springframework.org/schema/task; xmlns:util= http://www.springframework.org/schema/util; xsi:schemaLocation= http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd; !-- Agregado de la consola gwt-spring -- !-- Activates scanning of @Autowired -- context:annotation-config / context:component-scan base-package=com.santander.bam.comun.userconsole / !-- FIN Agregado de la consola gwt-spring -- import resource=config.xml / util:constant id=VARCHAR static-field=java.sql.Types.VARCHAR / bean id=transactionManager class=org.springframework.jdbc.datasource.DataSourceTransactionManager property name=dataSource ref=myDataSource/ /bean bean id=GestionUserService class=com.santander.bam.comun.userconsole.server.GestionUsersConsultImpl/bean bean id=utilDB class=com.santander.bam.comun.userconsole.db.UserConsoleDBUtil property name=dao ref=UserConsoleDAO / property name=transactionManager ref=transactionManager/ /bean
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
On Tuesday, March 5, 2013 10:05:28 AM UTC+1, Borja Gonzalez wrote: Hi, i have tried to use: servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/GestionUserService/*/url-pattern /servlet-mapping or servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/userConsole/GestionUserService/*/url-pattern /servlet-mapping And still the same error. I'll keep looking, but any kind of feedback, help or ideas are really apreciated! Why did you add /* at the end of the url-mapping? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
I really don´t know... but now i have tried using this: servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/userConsole/GestionUserService/url-pattern /servlet-mapping and on my Service: @RemoteServiceRelativePath(GestionUserService) And i'm still getting the same error. El martes, 5 de marzo de 2013 10:10:33 UTC+1, Thomas Broyer escribió: On Tuesday, March 5, 2013 10:05:28 AM UTC+1, Borja Gonzalez wrote: Hi, i have tried to use: servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/GestionUserService/*/url-pattern /servlet-mapping or servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/userConsole/GestionUserService/*/url-pattern /servlet-mapping And still the same error. I'll keep looking, but any kind of feedback, help or ideas are really apreciated! Why did you add /* at the end of the url-mapping? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
How to reset the tooltip while mouse moves over the same widget?
Hi, I have a quite big Widget, and I want to show dynamic tooltips (.setTitle()) onto it whenever the mouse comes to rest. Therefore registered MouseOverEvent, which works fine, but only one time! I have to leave the widget, and when I enter it again, the new tooltip is displayed. BUT I want to tooltip to reappear when I move the mouse *inside *the widget. How could I do this? Do I have to reset something on MouseMoveEvent? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to reset the tooltip while mouse moves over the same widget?
Unless you can set the title= on more specific inner elements, you'll have to use custom tooltips (e.g. using PopupPanel) rather than setTitle(). On Tuesday, March 5, 2013 10:29:49 AM UTC+1, membersound wrote: Hi, I have a quite big Widget, and I want to show dynamic tooltips (.setTitle()) onto it whenever the mouse comes to rest. Therefore registered MouseOverEvent, which works fine, but only one time! I have to leave the widget, and when I enter it again, the new tooltip is displayed. BUT I want to tooltip to reappear when I move the mouse *inside *the widget. How could I do this? Do I have to reset something on MouseMoveEvent? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
Following the linked wiki page you should have servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/springGwtServices/*/url-pattern /servlet-mapping and @RemoteServiceRelativePath(springGwtServices/spring bean name) So in your case probably: @RemoteServiceRelativePath(springGwtServices/GestionUserService) You don't need to map your GestionUserService at all in web.xml, as its managed by Spring and not your servlet container. It doesn't even have to be a servlet anymore. Its just a Spring bean. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
OK, so i finally managed to get it working. This is my solution: servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-patternuserConsole/springGwtServices/*/url-pattern /servlet-mapping @RemoteServiceRelativePath(springGwtServices/GestionUserService) Thanks a lot for everyonw to take the time to help me, and sorry for lack of knowledge. This also helped me to find the answer: http://code.google.com/p/gwt-uml-designer/source/browse/trunk/GWTUMLDrawer/?r=8 El martes, 5 de marzo de 2013 10:49:48 UTC+1, Jens escribió: Following the linked wiki page you should have servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/springGwtServices/*/url-pattern /servlet-mapping and @RemoteServiceRelativePath(springGwtServices/spring bean name) So in your case probably: @RemoteServiceRelativePath(springGwtServices/GestionUserService) You don't need to map your GestionUserService at all in web.xml, as its managed by Spring and not your servlet container. It doesn't even have to be a servlet anymore. Its just a Spring bean. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to reset the tooltip while mouse moves over the same widget?
No, I want to apply the tooltips dynamically on a canvas (or its containing shapes). Thus canvas is already most inner. Is it somehow possible to retrigger the hovering? I tried creating a simulated NativeEvent, but did not work. Am I missing something? NativeEvent event = Document.get().createMouseOverEvent(-1, 915,528,915,422, false, false, false, false, NativeEvent.BUTTON_LEFT, canvas.getElement()); canvas.getElement().dispatch(event); 2013/3/5 Thomas Broyer t.bro...@gmail.com Unless you can set the title= on more specific inner elements, you'll have to use custom tooltips (e.g. using PopupPanel) rather than setTitle(). On Tuesday, March 5, 2013 10:29:49 AM UTC+1, membersound wrote: Hi, I have a quite big Widget, and I want to show dynamic tooltips (.setTitle()) onto it whenever the mouse comes to rest. Therefore registered MouseOverEvent, which works fine, but only one time! I have to leave the widget, and when I enter it again, the new tooltip is displayed. BUT I want to tooltip to reappear when I move the mouse *inside *the widget. How could I do this? Do I have to reset something on MouseMoveEvent? -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/rW6zks_kuz4/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: asynchronous call back for client side method
Hi Jen thanks for your reply. can you please provide an example. Regards karu n On Wednesday, February 27, 2013 2:44:40 PM UTC+5:30, Jens wrote: GWT has a generic callback interface that you can use as method parameter http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/core/client/Callback.java -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: asynchronous call back for client side method
void asyncMethod(final CallbackSuccessType, FailureType callback) { //Some async work, could also be a simple Timer task or similar that only runs on the client. rpcservice.getData(new AsyncCallbackString, Throwable { void onSuccess(String result) { //Do what you need to do if(callback != null) { callback.onSuccess(..); } //notify caller via callback } void onFailure(Throwable cause) { //Do what you need to do if(callback != null) { callback.onFailure(..); } //notify caller via callback } } } void otherMethod() { asyncMethod(new CallbackSuccessType, FailureType() { //implement what you want to do when asyncMethod returns and calls the callback. }); } SuccessType and FailureType can by anything including Void if you don't care about information and just want to be notified. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
How to catch ClickEvent on commit of EditTextCell?
Hi, I have a CellTable with EditTextCells. If I'm already in edit mode of an entry and click on another entry, I directly want it to also switch into edit mode. This is the default behaviour which I try to change: Default on any click outside a currently edited textcell is to commit the changes and let it remain selected. The next click would select the new entry, and an additional click will change the new entry into edit mode. How can I intercept the click when a commit takes place? Because then I could fire a simulated click NativeEvent on the new clicked entry forcing it into edit mode. I tried extending EditTextCell and overriding onBrowserEvent(): if (BrowserEvents.CLICK.equals(event.getType())) { System.out.println(click); } BUT this does NOT print on a commit of a cell coming from edit mode. So where can I catch this event then? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Use ValueBox with EditTextCell in CellTable?
Hi, I'm already using EditTextCell in a CellTable. Is there anything I can wire together to use a ValueBox in there? If not how could I start to implement this on my own? I should I forget about it? My goal is to have auto parsing for the input edit boxes in my cell table. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
MultiWordSuggestOracle with multiple values?
Hi, is the MultiWordSuggestOracle prepared to somehow being able to display not only one value, but eg a comma separated list of elements chosen fomr the suggest dropdown (facebook like)? Or would I have to extend this on my own? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWT 2.5, Developer Mode, and _FieldSerializer errors
I see similar exceptions just before getting an out of memory exception. Have you tried giving it more memory? On Monday, March 4, 2013 11:55:51 PM UTC-5, Neil Buesing wrote: I have upgraded to GWT 2.5 and get this error in development mode Caused by: java.lang.Error: Unresolved compilation problem: com.xxx.gwt.client.type.BaseId_FieldSerializer cannot be resolved to a type I do not get it with compiled code nor did I get these with GWT 2.4 (unless it was due to a real error, but then GWT compile (non dev mode would fail as well). I was able to get it to work for a while, and part of the application works, but when it gets to this code, it fails BaseId does implement Serializable and has a no-arg constructor. Is there any known issues with GWT 2.5 and dev mode and/or any suggestions on where to look to try to figure this out? I delete the gwt-unitCache directories; no changes. Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: MultiWordSuggestOracle with multiple values?
Something like... http://raibledesigns.com/rd/entry/creating_a_facebook_style_autocomplete ? I guess you simply have to define you own SuggestionDisplay and when you select an entry, add an inline label styled as you want just before the suggestbox. On Tuesday, March 5, 2013 3:22:03 PM UTC+1, membersound wrote: Hi, is the MultiWordSuggestOracle prepared to somehow being able to display not only one value, but eg a comma separated list of elements chosen fomr the suggest dropdown (facebook like)? Or would I have to extend this on my own? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
Jens, are you sure of what you're saying ? The GWT services have to be servlets AFAIK, and are actually managed by the servlet container in the given wiki page. BTW, I'd *strongly* recommend to remove the spring4gwt dependency and understand what it does. That is to say : @SuppressWarnings(serial) public class SpringRemoteServiceServlet extends RemoteServiceServlet { @Override public void init(ServletConfig config) throws ServletException { super.init(config); ApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(getServletContext()); AutowireCapableBeanFactory factory = context.getAutowireCapableBeanFactory(); factory.autowireBean(this); } } Your services have to extend SpringRemoteServiceServlet instead of RemoteServiceServlet. That's it. Less than 10 lines of code do not deserve a dependency =) On Tuesday, March 5, 2013 11:22:27 AM UTC+1, Borja Gonzalez wrote: OK, so i finally managed to get it working. This is my solution: servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-patternuserConsole/springGwtServices/*/url-pattern /servlet-mapping @RemoteServiceRelativePath(springGwtServices/GestionUserService) Thanks a lot for everyonw to take the time to help me, and sorry for lack of knowledge. This also helped me to find the answer: http://code.google.com/p/gwt-uml-designer/source/browse/trunk/GWTUMLDrawer/?r=8 El martes, 5 de marzo de 2013 10:49:48 UTC+1, Jens escribió: Following the linked wiki page you should have servlet-mapping servlet-namespringGwtRemoteServiceServlet/servlet-name url-pattern/springGwtServices/*/url-pattern /servlet-mapping and @RemoteServiceRelativePath(springGwtServices/spring bean name) So in your case probably: @RemoteServiceRelativePath(springGwtServices/GestionUserService) You don't need to map your GestionUserService at all in web.xml, as its managed by Spring and not your servlet container. It doesn't even have to be a servlet anymore. Its just a Spring bean. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: MultiWordSuggestOracle with multiple values?
[re-post but first is lost in space ?] If you want a facebook-like autocomplete (not sure to understand your initial need), you should not modify your existing Oracle nor extend the SuggestionDisplay. You have to extend the TextBox. And modify the SuggestionHandler probably. Good news, it's way simpler. On Tuesday, March 5, 2013 3:41:55 PM UTC+1, Andrea Boscolo wrote: Something like... http://raibledesigns.com/rd/entry/creating_a_facebook_style_autocomplete ? I guess you simply have to define you own SuggestionDisplay and when you select an entry, add an inline label styled as you want just before the suggestbox. On Tuesday, March 5, 2013 3:22:03 PM UTC+1, membersound wrote: Hi, is the MultiWordSuggestOracle prepared to somehow being able to display not only one value, but eg a comma separated list of elements chosen fomr the suggest dropdown (facebook like)? Or would I have to extend this on my own? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
Jens, are you sure of what you're saying ? The GWT services have to be servlets AFAIK, and are actually managed by the servlet container in the given wiki page. Re-read point 2.) + 3.) of the wiki page. If the wiki page isn't wrong you only have to declare a name for your GWT-RPC service implementation (@Service). In the example GreetingServiceImpl does not extend anything. It just implements the service interface. So its not a servlet. The only servlet you need in web.xml is the spring integration servlet. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: IE Anchor Issue
Ah very nice guys... Thanks for the replies. I guess I'm using the Anchor widget slightly outside its intended purpose (i.e. linking to another url). For some reason I didn't think the Label widget implemented HasClickHandlers. I will use a styled Label from now on for these. Thanks for the help!!! - Lars On Monday, March 4, 2013 10:00:01 AM UTC-5, stuckagain wrote: Hi, All I do is cancel the default handling of the ClickEvent I'm not using the anchor widget but the element directly but I assume it should work the same. anchor.addClickHandler() { new ClickHandler() { public void onClick( ClickEvent event ) { event.preventDefault(); } }); On Sunday, March 3, 2013 7:30:45 PM UTC+1, Lars wrote: I'm running into the problem with Anchor widgets trying to reload the browser when clicked... After searching the forums I've seen the various workaround people are using but none seem applicable. Maybe someone has any ideas? What I have is a Composite that implements HasClickHandlers... This Composite basically contains some textual display info and an edit link and are created and added by its parent widget and presented to the user. As a parent creates these composites it adds a click handler to them and to see if the user hits the edit button. Relevant code: public class CategoryPromoLink extends Composite implements HasClickHandlers { ... ... // constructor: CategoryPromoLink(String categoryDirectoryName, String categoryDisplayName, String heading, String annotation, String startTime, int rank) { this.categoryDirectoryName = categoryDirectoryName; this.categoryDisplayName = categoryDisplayName; this.heading = heading; this.annotation = annotation; this.startTime = startTime; this.rank = rank; this.initWidget(this.root); this.display = new InlineLabel(- + (categoryDisplayName.trim().equals() ? [UNKNOWN CATEGORY] : categoryDisplayName)); this.root.add(this.display); Anchor edit = new Anchor((edit)); edit.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { CategoryPromoLink.this.fireEvent(event); } }); this.root.add(edit); } ... ... @Override public HandlerRegistration addClickHandler(ClickHandler handler) { return this.addHandler(handler, ClickEvent.getType()); } } Works fine in all but IE, where when the edit anchor is clicked it tries to reload page (in my case since i'm using GWT Activities with an onMayStop implementation its asking the user if they want to leave or stay on this page). Should i not be using ClickHandlers and/or Anchors this way? Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: NullPoniter when calling the DAO object (@Autowired) - GWT and Spring problem integration
On Tuesday, March 5, 2013 4:33:43 PM UTC+1, Jens wrote: The only servlet you need in web.xml is the spring integration servlet. You're right, i wanted to go too fast... Actually spring4gwt does not use the method i talked about. And as you have to write spring beans, it's simpler to add services. But i continue to think it does not deserve a jar dependency =/ I'd like to see a native (aka gwt sdk) mechanism to do this. Does the dependency on servlets has a sense ? -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Is it possible to create screens at runtime?
Good afternoon, colleagues, I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system. This is possible using Smart-gwt? I thank everyone's attention. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
I need link
Hi, I´m developing an application and I want to do one link that when the user push over him then the browser open a new page in other tab, for example www.google.es but I don´t know do it, I don´t know what widget take Thanks. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: I need link
in a new tab is something the user decides based on his browser settings. You cant force it. You can use Anchor to link to an external site. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Unable to add SDK 2.5 to Eclipse
Hi! I'm having problems while configuring the GWT App Engine in eclipse. I go to preferences - Google - App Engine - Add... and when I enter the directory, I got an error message Failed to initialize App Engine SDK at c:\java\gwt-2.5.0 In Eclipse's error log I see the following stacktrace: java.lang.NoClassDefFoundError: com/google/appengine/tools/admin/AdminException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(AppEngineBridgeFactory.java:183) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(AppEngineBridgeFactory.java:121) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.getAppEngineBridge(AppEngineBridgeFactory.java:94) at com.google.appengine.eclipse.core.sdk.GaeSdk.getAppEngineBridge(GaeSdk.java:287) at com.google.appengine.eclipse.core.sdk.GaeSdk.validate(GaeSdk.java:460) at com.google.gdt.eclipse.core.ui.AddSdkDialog.validateSdk(AddSdkDialog.java:273) at com.google.gdt.eclipse.core.ui.AddSdkDialog.validate(AddSdkDialog.java:213) at com.google.gdt.eclipse.core.ui.AddSdkDialog$3.focusLost(AddSdkDialog.java:171) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2822) at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1921) at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:4900) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4562) at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985) at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:3114) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3749) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.google.appengine.eclipse.core.preferences.ui.GaePreferencePage$1.doAddSdk(GaePreferencePage.java:90) at com.google.gdt.eclipse.core.ui.SdkTable$3.widgetSelected(SdkTable.java:242) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215) at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at
Migrating our application from GWT 2.0 to GWT 2.5
Our apllication is developed on GWT 2.0, and recently we started migrating it to GWT 2.5, could you please let me know the components that we need to migrate also please let me know the various technical challanges and constraints that we need to concentrate on. Thank you in advance. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
gwt-log servlet configuration parameter 'symbolMaps
Hello, i wan't to use gwt-log in my application, because i can have the client log on the server. I have followed that page to use it https://code.google.com/p/gwt-log/wiki/GettingStarted#Enable_the_remote_logging_option_%28disabled_by_default%29 i deploy my application with the -deploy war/WEB-INF/deploy/ I'm using tomcat server, the log message is correctly sent but i have this error in tomcat : WARNING: Servlet configuration parameter 'symbolMaps' specifies directory 'WEB-INF/deploy/camgolf/symbolMaps/' which does not exist or is not relative to your server's current working directory 'C:\tomcat\bin' WARNING: In order to enable stack trace deobfuscation, please specify the 'symbolMaps' init-param for the com.allen_sauer.gwt.log.server.RemoteLoggerServlet servlet in your web.xml I don't understand why.. My xml : servlet servlet-namegwt-log-remote-logger-servlet/servlet-name servlet-classcom.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl/servlet-class !-- The `symbolMaps` parameter specifies the server directory containing the GWT compiler symbol maps output, which is used for stack trace deobfuscation -- init-param !-- This value assumes a GWT compile with '-deploy war/WEB-INF/deploy/' -- param-namesymbolMaps/param-name !-- Modify the param-value based on your server environment. Some web servers use your `war` directory as the 'current working dir', while other vendors will do something different. You may use trial and error. Specify the relative path you think should work, then check the server log after forwarding the first client log message to the server. If the directory cannot be found, gwt-log will report the full path which it tried. -- param-valueWEB-INF/deploy/[MyAppsName]/symbolMaps//param-value /init-param /servlet servlet-mapping servlet-namegwt-log-remote-logger-servlet/servlet-name url-pattern/[MyAppsName]/gwt-log/url-pattern /servlet-mapping Someone could help me. Thank You -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Unable to add SDK 2.5 to Eclipse
You have to go to Google → Web Toolkit, not App Engine. On Tuesday, March 5, 2013 4:13:18 PM UTC+1, Juan Ignacio Garzón wrote: Hi! I'm having problems while configuring the GWT App Engine in eclipse. I go to preferences - Google - App Engine - Add... and when I enter the directory, I got an error message Failed to initialize App Engine SDK at c:\java\gwt-2.5.0 In Eclipse's error log I see the following stacktrace: java.lang.NoClassDefFoundError: com/google/appengine/tools/admin/AdminException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(AppEngineBridgeFactory.java:183) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(AppEngineBridgeFactory.java:121) at com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.getAppEngineBridge(AppEngineBridgeFactory.java:94) at com.google.appengine.eclipse.core.sdk.GaeSdk.getAppEngineBridge(GaeSdk.java:287) at com.google.appengine.eclipse.core.sdk.GaeSdk.validate(GaeSdk.java:460) at com.google.gdt.eclipse.core.ui.AddSdkDialog.validateSdk(AddSdkDialog.java:273) at com.google.gdt.eclipse.core.ui.AddSdkDialog.validate(AddSdkDialog.java:213) at com.google.gdt.eclipse.core.ui.AddSdkDialog$3.focusLost(AddSdkDialog.java:171) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2822) at org.eclipse.swt.widgets.Widget.wmKillFocus(Widget.java:1921) at org.eclipse.swt.widgets.Control.WM_KILLFOCUS(Control.java:4900) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4562) at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985) at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:3114) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3749) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at com.google.appengine.eclipse.core.preferences.ui.GaePreferencePage$1.doAddSdk(GaePreferencePage.java:90) at com.google.gdt.eclipse.core.ui.SdkTable$3.widgetSelected(SdkTable.java:242) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:215) at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:54) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at
Re: I need link
On 5 March 2013 08:03, Crease creaseinv...@gmail.com wrote: I´m developing an application and I want to do one link that when the user push over him then the browser open a new page in other tab, for example www.google.es but I don´t know do it, I don´t know what widget take You are probably looking for target=_blank. See http://www.w3schools.com/html/html_links.asp. You can't guarantee that it's going to be a new tab, though, it could be a new window. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Slider for Mobiles and Tablets in GWT
Hei there! I got a project in GWT 2.4 and I really need a Slider that in a web application can also work properly on a mobile or tablet, say android2.2.2 I saw from the showcase that the SmartGWT slider works OK, however all my interface is in GWT and I read that they don't mix well. Also ExtGWT slider is not good enough. Any simple solutions out there? Cheers, imy -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: RPC call in Activity onStop()
Hi, Finally I didn't succeed to make an RPC call from the overridden AbstractActivity.onStop(). Actually the GWT doc says about onStop() : Called when the Activity's widget has been removed from view. I guess that all the RPC mechanisms is already destroyed because the server never get called. @Milan : I can't make the call during mayStop because I don't know at that moment whether the user will choose to close or not the activity. The RPC call must be executed only when the activity is effectively stopped. The only ugly workaround I found is a kind of watchdog between the client and the server so that the client periodically tells to the server I am still here. If someone succeeded to make an RPC call during onStop(), I would appreciate the feedback :-) Yves -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to create screens at runtime?
Unless I don't understand your question, this is THE main GWT feature, thus smart-gwt too ! Yves -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: RPC call in Activity onStop()
Hey Yves, maybe you can hook and listen on PlaceChangeEvent. That event actually calls onStop(). So if that event is fired than you can execute your RPC call. Best, Milan On Tue, Mar 5, 2013 at 8:10 PM, yves yves.ko...@gmail.com wrote: Hi, Finally I didn't succeed to make an RPC call from the overridden AbstractActivity.onStop(). Actually the GWT doc says about onStop() : Called when the Activity's widget has been removed from view. I guess that all the RPC mechanisms is already destroyed because the server never get called. @Milan : I can't make the call during mayStop because I don't know at that moment whether the user will choose to close or not the activity. The RPC call must be executed only when the activity is effectively stopped. The only ugly workaround I found is a kind of watchdog between the client and the server so that the client periodically tells to the server I am still here. If someone succeeded to make an RPC call during onStop(), I would appreciate the feedback :-) Yves -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/qQ3s-u6XEBs/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to create screens at runtime?
I will explain better. My application will have a screen that has the functionality to create a new screen with fields, business rules (insert, update and delete) and searches in the database. It's as if I've been developing the screen with fields, combobox, checkbox and grid's that will integrate with the database by an IDE (Eclipse), but it is the system that will do this. 2013/3/5 yves yves.ko...@gmail.com Unless I don't understand your question, this is THE main GWT feature, thus smart-gwt too ! Yves -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/whI-KxRs0_0/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Atenciosamente, Thiago B. Martins *Analista de Sistemas* Fone: 34 9151-2635 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Slider for Mobiles and Tablets in GWT
We use this one in our project http://code.google.com/p/gwt-slider-bar/ Its simple and easy to customise. You can't drag the slider in mobile applications, but is usable. On Tue, Mar 5, 2013 at 6:04 PM, Imy timea.turd...@gmail.com wrote: Hei there! I got a project in GWT 2.4 and I really need a Slider that in a web application can also work properly on a mobile or tablet, say android2.2.2 I saw from the showcase that the SmartGWT slider works OK, however all my interface is in GWT and I read that they don't mix well. Also ExtGWT slider is not good enough. Any simple solutions out there? Cheers, imy -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to create screens at runtime?
Hi Thiago, With SmartGWT (Pro and above), you can save screen definitions in XML and load them at runtime: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/rpc/RPCManager.html#loadScreen(java.lang.String , com.smartgwt.client.rpc.LoadScreenCallback, java.lang.String[]) So you could build some kind of editing interface that allows new screens to be designed, then save them to a database or file in XML, and be able to load them at runtime using loadScreen(). You can also dynamically generate XML DataSource definitions, which contain data validators and other business rule definitions, enforced on both client and server: http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/datasource/DataSource.html#addDynamicDSGenerator(com.isomorphic.datasource.DynamicDSGenerator ,java.lang.String) Sanjiv On Tue, Mar 5, 2013 at 10:58 AM, thiago borges martins tborgesmart...@gmail.com wrote: Good afternoon, colleagues, I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system. This is possible using Smart-gwt? I thank everyone's attention. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to create screens at runtime?
Hum understand, I had thought of something like that, but I was in doubt because GWT (smartgwt) and compiled to javascript and have part of the RF (RequestFactory), but I've thought a one implementation. Without wanting to abuse his good vontante you have an example of a loading screen. 2013/3/5 Sanjiv Jivan sanjiv.ji...@gmail.com Hi Thiago, With SmartGWT (Pro and above), you can save screen definitions in XML and load them at runtime: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/rpc/RPCManager.html#loadScreen(java.lang.String , com.smartgwt.client.rpc.LoadScreenCallback, java.lang.String[]) So you could build some kind of editing interface that allows new screens to be designed, then save them to a database or file in XML, and be able to load them at runtime using loadScreen(). You can also dynamically generate XML DataSource definitions, which contain data validators and other business rule definitions, enforced on both client and server: http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/datasource/DataSource.html#addDynamicDSGenerator(com.isomorphic.datasource.DynamicDSGenerator ,java.lang.String) Sanjiv On Tue, Mar 5, 2013 at 10:58 AM, thiago borges martins tborgesmart...@gmail.com wrote: Good afternoon, colleagues, I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system. This is possible using Smart-gwt? I thank everyone's attention. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/whI-KxRs0_0/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Att. Thiago B. Martins *System Analyst* Fone: +55 34 9151-2635 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: RPC call in Activity onStop()
The use case is when one is closing the browser or the tab or when navigating to another url, thus really quitting the GWT application, not just changing Place. I found that apparently in this case the ActivityManager.onPlaceChange(PlaceChangeEvent event) seems to be never called. And then onStop() is NOT called in my use case. Yves -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Is it possible to create screens at runtime?
There are samples of using XML screen definitions in the SmartGWT EE Showcase under the folder Component XML, but you have to download a 4.0 build to get them: http://smartclient.com/builds The Component XML overview explains how to provide dynamic Component XML that's stored in a DB - see Dynamic Component XML: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/ComponentXML.html On Tue, Mar 5, 2013 at 4:01 PM, Thiago borges martins tborgesmart...@gmail.com wrote: Hum understand, I had thought of something like that, but I was in doubt because GWT (smartgwt) and compiled to javascript and have part of the RF (RequestFactory), but I've thought a one implementation. Without wanting to abuse his good vontante you have an example of a loading screen. 2013/3/5 Sanjiv Jivan sanjiv.ji...@gmail.com Hi Thiago, With SmartGWT (Pro and above), you can save screen definitions in XML and load them at runtime: http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/rpc/RPCManager.html#loadScreen(java.lang.String , com.smartgwt.client.rpc.LoadScreenCallback, java.lang.String[]) So you could build some kind of editing interface that allows new screens to be designed, then save them to a database or file in XML, and be able to load them at runtime using loadScreen(). You can also dynamically generate XML DataSource definitions, which contain data validators and other business rule definitions, enforced on both client and server: http://www.smartclient.com/smartgwtee/server/javadoc/com/isomorphic/datasource/DataSource.html#addDynamicDSGenerator(com.isomorphic.datasource.DynamicDSGenerator ,java.lang.String) Sanjiv On Tue, Mar 5, 2013 at 10:58 AM, thiago borges martins tborgesmart...@gmail.com wrote: Good afternoon, colleagues, I'm on a project where I need to create screens using smart-gwt, but the creation of the screens will be in runtime system. This is possible using Smart-gwt? I thank everyone's attention. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com . Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups Google Web Toolkit group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/whI-KxRs0_0/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Att. Thiago B. Martins *System Analyst* Fone: +55 34 9151-2635 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
UiBinder, i18n and attributes
Hi. I use ui:msg to internationalize my app, but I don't know what to do with widget attributes. For example, g:ToggleButton title=some text to i18n/. Any ideas, beside setting attributes in constructor? -- Tomek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: UiBinder, i18n and attributes
W dniu wtorek, 5 marca 2013 22:46:07 UTC+1 użytkownik Tomek Kańka napisał: Hi. I use ui:msg to internationalize my app, but I don't know what to do with widget attributes. For example, g:ToggleButton title=some text to i18n/. Ha! What a great feeling, when you ask good question and find answer in 2 minutes:). ui:with type=my.package.MyConstants field=strings/ import com.google.gwt.i18n.client.Constants; public interface MyConstants extends Constants { String title(); } MyConstants_xx.properties title= -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: UiBinder, i18n and attributes
Maybe I'd start some blog:). 2nd answer to myself (incredible, how I missed it) ui:attribute/ Thanks for your silent support:). -- Tomek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
How can I modify context-param values (from web.xml) on my development system only
Hi, I am trying to use Tomcat rather than the built in Jetty server. I've followed these instructions found at https://developers.google.com/eclipse/docs/faq#gwt_in_eclipse_for_java_ee: How do I use the plugin with a GWT Dynamic Web project in Eclipse for Java EE? It's easy to develop and debug a GWT application in Eclipse for Java EEhttp://www.eclipse.org/downloads/moreinfo/jee.php : 1. In your project's properties dialog, select *Google Web Toolkit*and check the box *Use Google Web Toolkit*. 2. Switch to the *Google Web Application* property page and change *WAR directory* as appropriate (WebContent is the default for Eclipse for Java EE) and uncheck the box *Launch and deploy from this directory*. Click *OK* to close the properties dialog. 3. If your project uses the *Apache Tomcat* library, ensure that the *GWT SDK* library is above it on your project's classpath (project properties *Java Build Path Order and Export*). Otherwise, you may get a java.lang.NoSuchMethodError when launching your application in hosted/development mode. 4. Start your project's server (Jetty, GlassFish, Tomcat, etc.) using your configured WTP server adapter. 5. Create a new *Web Application* launch configuration for your project. On the *Server* tab, uncheck *Run built-in server* (since you want to use your configured WTP server adapter instead) and on the *GWT* tab change the *URL* field to point to your server (e.g. http://localhost:8080/WebApp). 6. Run/Debug your new launch configuration. The first time you do this, you'll have to select the location of the WAR directory that WTP is publishing to (this is configurable, but by default it is workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/project ). GWT development/hosted mode is now running in your own server, and you can debug either server or client code. If you make changes, WTP's publishing mechanism will automatically copy the modified class files or static resources to your runtime WAR directory. The problem is that I continually get a 404 error. The URL is: http://127.0.0.1:8080/AccountRequest/AccountRequest.jsp?gwt.codesvr=127.0.0.1:9997 which differs from the built in server URL only by ports. When I go through the war directory inside the Eclipse project, all the pieces are in place. Any ideas? Thanks, Rob Tanner Linfield College -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: GWTCanvas image distortion
See known issue 7297 - https://code.google.com/p/google-web-toolkit/issues/detail?id=7297 I had a similar problem. The work around here resolved it. - Juanita -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Introduces a common SerializableThrowable and refactors Stac...
Thomas Broyer has posted comments on this change. Change subject: Introduces a common SerializableThrowable and refactors StackTraceDeobfuscator as public API. .. Patch Set 2: (1 comment) File user/src/com/google/gwt/core/shared/SerializableThrowable.java Line 39: public static SerializableThrowable toSerializable(Throwable t) { From memory, Guava has a bunch of fromXXX though (fromThrowable), or simply create(). -- To view, visit https://gwt-review.googlesource.com/2040 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I35321bea2dfd2ec3ff2df1b76ad4f6254b84c08a Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Ray Cromwell cromwell...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com Gerrit-HasComments: Yes -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Allow LogConfiguration to be used in non-GWT environments (e...
Goktug Gokdogan has posted comments on this change. Change subject: Allow LogConfiguration to be used in non-GWT environments (e.g. JRE tests) .. Patch Set 2: (1 comment) File user/test/com/google/gwt/logging/LoggingSuiteNoBrowser.java Line 8: public class LoggingSuiteNoBrowser { XXXJreSuite (i.e. LoggingJreSuite) looks like the common naming convention. -- To view, visit https://gwt-review.googlesource.com/2111 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia52e4ce2dcd2f4c750534d53bcb17cd842b87e69 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Thomas Broyer t.bro...@gmail.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: John A. Tamplin j...@jaet.org Gerrit-HasComments: Yes -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: bump pom.xml versions to 2.5.1
Matthew Dempsky has uploaded a new change for review. https://gwt-review.googlesource.com/2140 Change subject: bump pom.xml versions to 2.5.1 .. bump pom.xml versions to 2.5.1 Change-Id: I00599828dc2e98ec8d8ff0f6e8d0b2720ac1efbf --- M samples/dynatablerf/pom.xml M samples/mobilewebapp/pom.xml M samples/validation/pom.xml 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/dynatablerf/pom.xml b/samples/dynatablerf/pom.xml index d1acf61..9e4058e 100644 --- a/samples/dynatablerf/pom.xml +++ b/samples/dynatablerf/pom.xml @@ -13,7 +13,7 @@ properties !-- Convenience property to set the GWT version -- -gwtVersion2.5.0/gwtVersion +gwtVersion2.5.1/gwtVersion !-- GWT needs at least java 1.6 -- maven.compiler.source1.6/maven.compiler.source diff --git a/samples/mobilewebapp/pom.xml b/samples/mobilewebapp/pom.xml index 4f86875..961fdce 100644 --- a/samples/mobilewebapp/pom.xml +++ b/samples/mobilewebapp/pom.xml @@ -11,7 +11,7 @@ properties !-- Convenience property to set the GWT version -- -gwtVersion2.5.0/gwtVersion +gwtVersion2.5.1/gwtVersion !-- GWT needs at least java 1.6 -- maven.compiler.source1.6/maven.compiler.source diff --git a/samples/validation/pom.xml b/samples/validation/pom.xml index 18fa02c..6116441 100644 --- a/samples/validation/pom.xml +++ b/samples/validation/pom.xml @@ -11,7 +11,7 @@ properties !-- Convenience property to set the GWT version -- -gwtVersion2.5.0/gwtVersion +gwtVersion2.5.1/gwtVersion !-- GWT needs at least java 1.6 -- maven.compiler.source1.6/maven.compiler.source -- To view, visit https://gwt-review.googlesource.com/2140 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I00599828dc2e98ec8d8ff0f6e8d0b2720ac1efbf Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: make unsink event work correctly in widget
Goktug Gokdogan has abandoned this change. Change subject: make unsink event work correctly in widget .. Abandoned Submitted. Thanks! -- To view, visit https://gwt-review.googlesource.com/1950 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: abandon Gerrit-Change-Id: If4341e0bf33b4c7b36d55024b3f66fce11ff1ac6 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Daniel Kurka kurka.dan...@gmail.com Gerrit-Reviewer: Daniel Kurka kurka.dan...@gmail.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: rename RpcSuiteNoBrowser to RpcJreSuite
Matthew Dempsky has uploaded a new change for review. https://gwt-review.googlesource.com/2141 Change subject: rename RpcSuiteNoBrowser to RpcJreSuite .. rename RpcSuiteNoBrowser to RpcJreSuite Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 --- M user/test/com/google/gwt/user/RPCSuite.java R user/test/com/google/gwt/user/RpcJreSuite.java 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/user/test/com/google/gwt/user/RPCSuite.java b/user/test/com/google/gwt/user/RPCSuite.java index 96b74fc..c5fb22c 100644 --- a/user/test/com/google/gwt/user/RPCSuite.java +++ b/user/test/com/google/gwt/user/RPCSuite.java @@ -70,7 +70,7 @@ GWTTestSuite suite = new GWTTestSuite( Test for com.google.gwt.user.client.rpc); -// Non GWTTestCases: see RpcSuiteNoBrowser +// Non GWTTestCases: see RpcJreSuite // GWTTestCases suite.addTestSuite(ValueTypesTest.class); diff --git a/user/test/com/google/gwt/user/RpcSuiteNoBrowser.java b/user/test/com/google/gwt/user/RpcJreSuite.java similarity index 100% rename from user/test/com/google/gwt/user/RpcSuiteNoBrowser.java rename to user/test/com/google/gwt/user/RpcJreSuite.java -- To view, visit https://gwt-review.googlesource.com/2141 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: rename RpcSuiteNoBrowser to RpcJreSuite
Goktug Gokdogan has posted comments on this change. Change subject: rename RpcSuiteNoBrowser to RpcJreSuite .. Patch Set 1: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2141 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Allow LogConfiguration to be used in non-GWT environments (e...
Matthew Dempsky has posted comments on this change. Change subject: Allow LogConfiguration to be used in non-GWT environments (e.g. JRE tests) .. Patch Set 2: (1 comment) File user/test/com/google/gwt/logging/LoggingSuiteNoBrowser.java Line 8: public class LoggingSuiteNoBrowser { I agree that we should stick with one naming convention, unless there's actually an intended difference between XXXJreSuite and XXXSuiteNoBrowser. I've created https://gwt-review.googlesource.com/#/c/2141/ to rename RpcSuiteNoBrowser to RpcJreSuite. -- To view, visit https://gwt-review.googlesource.com/2111 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia52e4ce2dcd2f4c750534d53bcb17cd842b87e69 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Thomas Broyer t.bro...@gmail.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: John A. Tamplin j...@jaet.org Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com Gerrit-HasComments: Yes -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: rename RpcSuiteNoBrowser to RpcJreSuite
Hello Goktug Gokdogan, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2141 to look at the new patch set (#2). Change subject: rename RpcSuiteNoBrowser to RpcJreSuite .. rename RpcSuiteNoBrowser to RpcJreSuite Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Review-Link: https://gwt-review.googlesource.com/#/c/2141/ --- M user/test/com/google/gwt/user/RPCSuite.java R user/test/com/google/gwt/user/RpcJreSuite.java 2 files changed, 2 insertions(+), 2 deletions(-) -- To view, visit https://gwt-review.googlesource.com/2141 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: bump pom.xml versions to 2.5.1
Brian Slesinsky has posted comments on this change. Change subject: bump pom.xml versions to 2.5.1 .. Patch Set 1: Verified+1 -- To view, visit https://gwt-review.googlesource.com/2140 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I00599828dc2e98ec8d8ff0f6e8d0b2720ac1efbf Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: rename RpcSuiteNoBrowser to RpcJreSuite
Goktug Gokdogan has posted comments on this change. Change subject: rename RpcSuiteNoBrowser to RpcJreSuite .. Patch Set 2: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2141 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Rename RpcSuiteNoBrowser to RpcJreSuite
Hello Goktug Gokdogan, I'd like you to reexamine a change. Please visit https://gwt-review.googlesource.com/2141 to look at the new patch set (#3). Change subject: Rename RpcSuiteNoBrowser to RpcJreSuite .. Rename RpcSuiteNoBrowser to RpcJreSuite Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Review-Link: https://gwt-review.googlesource.com/#/c/2141/ --- M user/build.xml M user/test/com/google/gwt/user/RPCSuite.java R user/test/com/google/gwt/user/RpcJreSuite.java 3 files changed, 5 insertions(+), 5 deletions(-) -- To view, visit https://gwt-review.googlesource.com/2141 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Gerrit-PatchSet: 3 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Rename RpcSuiteNoBrowser to RpcJreSuite
Goktug Gokdogan has posted comments on this change. Change subject: Rename RpcSuiteNoBrowser to RpcJreSuite .. Patch Set 3: Code-Review+1 -- To view, visit https://gwt-review.googlesource.com/2141 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: Iaf2ed6181d1273c304e0122c2fb6a2872c16e2f0 Gerrit-PatchSet: 3 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: bump pom.xml versions to 2.5.1
Matthew Dempsky has abandoned this change. Change subject: bump pom.xml versions to 2.5.1 .. Abandoned Submitted. -- To view, visit https://gwt-review.googlesource.com/2140 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: abandon Gerrit-Change-Id: I00599828dc2e98ec8d8ff0f6e8d0b2720ac1efbf Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Matthew Dempsky mdemp...@google.com Gerrit-Reviewer: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Introduces a common SerializableThrowable as public API.
Goktug Gokdogan has uploaded a new change for review. https://gwt-review.googlesource.com/2160 Change subject: Introduces a common SerializableThrowable as public API. .. Introduces a common SerializableThrowable as public API. Change-Id: I98ae52858d87b6ac4a0c844464b25540be454942 --- M user/src/com/google/gwt/core/client/impl/SerializableThrowable.java A user/src/com/google/gwt/core/shared/SerializableThrowable.java A user/src/com/google/gwt/user/client/rpc/core/com/google/gwt/core/shared/SerializableThrowable_CustomFieldSerializer.java 3 files changed, 244 insertions(+), 10 deletions(-) diff --git a/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java b/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java index f5b993d..509679a 100644 --- a/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java +++ b/user/src/com/google/gwt/core/client/impl/SerializableThrowable.java @@ -1,30 +1,26 @@ /* * Copyright 2010 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ - package com.google.gwt.core.client.impl; import java.io.Serializable; /** - * The emulated Throwable class does not serialize Throwables recursively and - * does not serialize the stack trace. This class is an alternative, and - * can be used by writing a custom serializer for the class which contains a - * Throwable. See {@link LogRecord_CustomFieldSerializer} as an example. - * + * @deprecated use {@link com.google.gwt.core.shared.SerializableThrowable} instead. */ +@Deprecated public class SerializableThrowable implements Serializable { private SerializableThrowable cause = null; private String message = null; @@ -32,8 +28,9 @@ private String typeName = null; /** - * A subclass of Throwable that contains the serialized exception class type. + * @deprecated use com.google.gwt.core.client.SerializableThrowable instead. */ + @Deprecated public static class ThrowableWithClassName extends Throwable { private String typeName; diff --git a/user/src/com/google/gwt/core/shared/SerializableThrowable.java b/user/src/com/google/gwt/core/shared/SerializableThrowable.java new file mode 100644 index 000..dc8cef7 --- /dev/null +++ b/user/src/com/google/gwt/core/shared/SerializableThrowable.java @@ -0,0 +1,160 @@ +/* + * Copyright 2013 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.core.shared; + +import com.google.gwt.core.client.JavaScriptException; + +/** + * A {@link Throwable} class capable of transferring any underlying Throwable with its causes and + * stack traces. It overrides {@code #toString} to mimic original {@link Throwable#toString()} so + * that {@link #printStackTrace} will work like as it is coming from the original exception. + * p + * This class is especially useful for logging and testing as the emulated Throwable class does not + * serialize recursively and does not serialize the stack trace. This class, as an alternative, can + * be used transfer the Throwable without losing any of these data, even if the underlying Throwable + * is not serializable. + * p + * Please note that, to get more useful stack traces from client side, this class needs to be used + * in conjunction with {@link com.google.gwt.core.server.StackTraceDeobfuscator}. + */ +public final class SerializableThrowable extends Throwable { + + /** + * Create a new {@link SerializableThrowable} from provided throwable instance. This will return + * the passed object itself if it is already a SerializableThrowable. + */ + public static SerializableThrowable fromThrowable(Throwable throwable) { +if (throwable instanceof SerializableThrowable) { + return (SerializableThrowable) throwable; +} else if (throwable != null) { + return
[gwt-contrib] Change in gwt[master]: Fix a race condition in the GWTTestCase runner.
Goktug Gokdogan has posted comments on this change. Change subject: Fix a race condition in the GWTTestCase runner. .. Patch Set 1: It is hard to follow what is going on. Can we pair tomorrow? I also wonder if anybody using multi-client support in GWTTestCase. It adds a bunch of complexity to the infra that is already very complex. -- To view, visit https://gwt-review.googlesource.com/2150 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: Id75762a714fd489f624734308017ac53cddf886f Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Brian Slesinsky skybr...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Introduces a common SerializableThrowable as public API.
Goktug Gokdogan has posted comments on this change. Change subject: Introduces a common SerializableThrowable as public API. .. Patch Set 1: Let me know if anybody feels strongly about this approach (ie. SerializableThrowable extends Throwable) vs previous 2 class approach (SerializableThrowable as a DTO + inner Throwable class instantiated after the data is transferred). Later one requires CustomFieldSerializers for cases where the developer wants to keep their own classes simple or can't change it (e.g. LogRecord). I like this one because it is more seamless and not requires custom field serializers but both approach will work. -- To view, visit https://gwt-review.googlesource.com/2160 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: comment Gerrit-Change-Id: I98ae52858d87b6ac4a0c844464b25540be454942 Gerrit-PatchSet: 1 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com Gerrit-Reviewer: Goktug Gokdogan gok...@google.com Gerrit-HasComments: No -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[gwt-contrib] Change in gwt[master]: Adds stack traces to printStackTrace in java/lang/Throwable ...
Goktug Gokdogan has uploaded a new patch set (#2). Change subject: Adds stack traces to printStackTrace in java/lang/Throwable emulation. .. Adds stack traces to printStackTrace in java/lang/Throwable emulation. Change-Id: I2a5a05d8574c1e6d86b004de4ab7d90ad96d587a Review-Link: https://gwt-review.googlesource.com/#/c/2130/ --- M user/super/com/google/gwt/emul/java/lang/Throwable.java 1 file changed, 7 insertions(+), 19 deletions(-) -- To view, visit https://gwt-review.googlesource.com/2130 To unsubscribe, visit https://gwt-review.googlesource.com/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I2a5a05d8574c1e6d86b004de4ab7d90ad96d587a Gerrit-PatchSet: 2 Gerrit-Project: gwt Gerrit-Branch: master Gerrit-Owner: Goktug Gokdogan gok...@google.com -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.