RfValidation tool doesn't works
Hi All, I would like to use requestfactory in the following environment: Spring 3.1.x, GWT 2.4.0 When I send a request I've got an error in spring log: --- exec-maven-plugin:1.2:exec (default) @ argus --- warning: Supported source version 'RELEASE_6' from annotation processor 'com.google.web.bindery.requestfactory.apt.RfValidator' less than -source '1.7' /home/zamek/eclipse/ag/target/argus-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/com/argus/client/request/ArgusRoleRequest.class: warning: Cannot find annotation method 'value()' in type 'RooGwtUnmanagedRequest': class file for org.springframework.roo.addon.gwt.RooGwtUnmanagedRequest not found /home/zamek/eclipse/ag/target/argus-0.1.0.BUILD-SNAPSHOT/WEB-INF/classes/com/argus/client/request/ArgusUserRequest.class: warning: Cannot find annotation method 'value()' in type 'RooGwtUnmanagedRequest' 3 warnings I checked it with a roo generated sample app, and I've got the error too. Despite it is a warning, I've got a null pointer as a result of request. I found some post which said: it is a bug. Is there anybody to facing this error? Unfortunately I cannot use 2.5.0, because I use GWTP, which is working with 2.4.0. thx a lot, Zamek -- 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: Polymorphic requestfactory example wanted
Hello, Thx a lot I'll check it. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jX-WM_9ITkcJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Polymorphic requestfactory example wanted
Hi All, I need a requestfactory, which can transports a MapString, ? extends BaseObject objects. Is there any example to help me to understanding, how can I do it? thx Zamek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/UbaxbC2UcIwJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Positioning widgets
Hi All, I would like to use this layout in my gwt app: The main window has a VerticalPanel, the first element of this VP is a TabPanel and the second is a status panel. 1. I need to force the status panel to the bottom of screen. Could I do it with something? Maybe with a css? I tried to use DockPanel, but I don't need north panel and it seems to be it can't be 0px height if it is empty:( 2. I need to know the size of free area inside the tabpanel. How can I get it? I tried with: the screen size is: $wnd.innerWidth; (JSNI) getting tabpanel.tabbar size with tabpanel.getTabBar().getOffsetHeight() the statusPanel size with statuspanel.getOffsetWidth() the free space size should be: screen size-statuspanel size-tabbar size; It seems to be good in Opera browser, but cannot works exactly in FF and Chrome. Is there any other settings to getting exact size of free area? thx a lot Zamek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/4ggKTK5U8iEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Debugging gwt maven project server side under eclipse
2012. július 5., csütörtök 18:44:25 UTC+2 időpontban Thomas Broyer a következőt írta: On Thursday, July 5, 2012 1:38:11 PM UTC+2, zam...@gmail.com wrote: Hi All, When I make a gwt project with gwt-maven-plugin, I cannot debug server side codes. Client side is working well, but it doesn't stop in server side breakpoints. Are there any special to enable server side debugging. I use gwt 2.4.0 and eclipse indigo with gwt plugin 2.6.1v201205091048-rel-r37 and gwt-maven 2.4.0 plugin on debian linux. Which server are you using? And how are you launching it? (for example, you could very well use Maven but run your server code inside Tomcat launched by Eclipse WTP, and your client inside DevMode in -noserver mode launched by the Google Plugin for Eclipse) I think so it is an embedded jetty server hosted mode launched by maven gwt:run command -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/-gyWt4OLVmoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Debugging gwt maven project server side under eclipse
Hi All, When I make a gwt project with gwt-maven-plugin, I cannot debug server side codes. Client side is working well, but it doesn't stop in server side breakpoints. Are there any special to enable server side debugging. I use gwt 2.4.0 and eclipse indigo with gwt plugin 2.6.1v201205091048-rel-r37 and gwt-maven 2.4.0 plugin on debian linux. thx Zamek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Y8okgqOxSeIJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT-RPC on glassfish and Servlet 3.0 specifications
Hello All, My gwt app running on Glassfish 3.01 appserver. When I debugging servlet code I see that it use com.sun.enterprise.web.rpc.connector.coyote.PwcCoyoteRequest for HttpServletRequest. It compatible with old Servlet 2.0, but I need new Servlet 3.0 compatible HttpServletRequest. this PwcCoyoteRequest is in web-glue.jar at glassfish modules direcory. War of my gwt app _doesn't_ contains this jar. All of other servlet is serviced by a new Servlet 3 on glassfish except gwt apps. Where can I setting to which jar is using for gwt apps? thx a lot Zamek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Google Collections with GWT?
hello, I had the same problem. I need to use transform object, which is a simple design pattern in J2ee. It is a simple bean set for each persistent bean object, without annotations and extra fields. It is a commonly used persistence jar for ejb and gwt too. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Getting item select events from suggestbox list
On máj. 5, 06:40, nina juliadot...@gmail.com wrote: Hi Zamek Have you read thehttp://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g... about the Associating Data Transfer Objects (DTOs) with Suggestion Objects? I've written my own SuggestBox, SuggestOracle and Suggestion, using the implementation of MultiWordSuggestOracle as inspiration, and didn't find it difficult. In your custom Suggestion, you have your DTO, so in the onSelection callback you get access to the DTO. ok, it is good, but I need an event on list index changed, not an item selected. thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Re: Getting item select events from suggestbox list
On máj. 5, 13:03, Thomas Broyer t.bro...@gmail.com wrote: On 4 mai, 15:16, zame...@gmail.com zame...@gmail.com wrote: Hi All, I am using SuggestBox, and there are DTO-s in list. When a user selects items with up and down key, I need to get the selected element to display all data of DTO item on a detail form. It seems to be, there are not a standard event for this. How can I implement this functionality? I need some tips, not a full solving. I can't inherit SUggestbox, because popup panel is private. Can I make an own SuggestBox? Unfortunately it depends on Menubar, because it using protected methods of Menubar:( SuggestBox unfortunately doesn't implement HasHighlightHandlers; you could file a bug for this. Yes, i'm affraid for this... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Getting item select events from suggestbox list
Hi All, I am using SuggestBox, and there are DTO-s in list. When a user selects items with up and down key, I need to get the selected element to display all data of DTO item on a detail form. It seems to be, there are not a standard event for this. How can I implement this functionality? I need some tips, not a full solving. I can't inherit SUggestbox, because popup panel is private. Can I make an own SuggestBox? Unfortunately it depends on Menubar, because it using protected methods of Menubar:( thx a lot Zamek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
gwt 1.6 + netbeans + glassfish debugging
Hi All, I use gwt+nb+gf, and I need to use another web services from glassfish. I cannot set to debugging, because hosted server starting, but my build.xml setting to -noserver. My project deployed to glassfish, and running well, but doesn't stop any breakpoint. In gwt 1.6 there is a new gwtshell, but my ant calling an old GWTShell to running. What is the correct setting in 1.6 for no hosted mode? here is the part of my build.xml: target name=debug description=Debug project in IDE. depends=init,compile,compile-jsps,-do-compile-single-jsp if=netbeans.home property name=gwt.compile.unneeded value=true / antcall target=dist/ nbdeploy debugmode=true clientUrlPart=${client.urlPart}/ antcall target=connect-debugger/ antcall target=debug-connect-gwt-shell/ /target nbproject/build-gwt.xml is: target name=debug-connect-gwt-shell if=netbeans.home depends=init nbjpdastart transport=dt_socket addressproperty=jpda.address.gwt name=com.google.gwt.dev.GWTShell stopclassname= classpath path path=${javac.classpath}:${src.dir}:$ {build.classes.dir}/ /classpath /nbjpdastart property name=gwtshell.jvmargs.base value=-Xdebug - Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=$ {jpda.address.gwt}/ condition property=gwtshell.jvmargs value=$ {gwtshell.jvmargs.base} -XstartOnFirstThread else=${gwtshell.jvmargs.base} os family=mac/ /condition java fork=true classname=com.google.gwt.dev.GWTShell failonerror=true jvmarg line=${gwtshell.jvmargs}/ classpath path path=${src.dir}:${javac.classpath}:$ {build.classes.dir}/ /classpath syspropertyset propertyref prefix=run-sys-prop./ mapper type=glob from=run-sys-prop.* to=*/ /syspropertyset arg value=-noserver/ --- here is arg value=${client.url}/ /java /target thanks a lot Zoltan Zidarics PTE-University Pecs, Hungary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---