Re: GWT nocache filter
Thanks, I'm going to try this and I tell you but thank you in advance On 22 mar, 22:00, Jamie jamiesharbor-sou...@yahoo.com wrote: I use the same filter, with no problems. However, my web.xml is probably configured a little differently: I remember from where I got that filter, it just applied it to every request. Instead of that, I only apply the filter to URLs that end in nocache.js like so - (note the url-pattern) filter filter-nameNoCache/filter-name filter-classcom.whatever.web.GWTCacheControlFilter/filter-class /filter filter-mapping filter-nameNoCache/filter-name url-pattern*nocache.js/url-pattern /filter-mapping On Mar 20, 3:05 pm, SrArcos srar...@gmail.com wrote: Hello all, I am using GWT 2.2.0 for an application I started a year ago. And I can't update now to lastest version. I use a filter on this application and It works fine for IE8 but when I use it in Chrome there are some RPC callbacks that don't work. This is the filter. Does Someone know the reason? [code] package ea.ciges.gesres.server.filters; import java.io.IOException; import java.util.Date; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * {@link Filter} to add cache control headers for GWT generated files to * ensure * * that the correct files get cached. * * @author See Wah Cheng * @since 24 Feb 2009 */ public class GWTCacheControlFilter implements Filter { private static final long ONE_DAY = 8640L; public void destroy() { } public void init(FilterConfig config) throws ServletException { } public final void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { HttpServletRequest httpRequest = (HttpServletRequest) request; String requestURI = httpRequest.getRequestURI(); if (requestURI.contains(.nocache.)) { Date now = new Date(); if (response instanceof HttpServletResponse){ HttpServletResponse httpResponse = (HttpServletResponse) response; httpResponse.setDateHeader(Date, now.getTime()); // one day old httpResponse.setDateHeader(Expires, now.getTime() - ONE_DAY); httpResponse.setHeader(Pragma, no-cache); httpResponse.setHeader(Cache-control, no-cache, no-store, must- revalidate); } } filterChain.doFilter(request, response); }} [/code]- Ocultar texto de la cita - - Mostrar texto de la cita - -- 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 nocache filter
Hello all, I am using GWT 2.2.0 for an application I started a year ago. And I can't update now to lastest version. I use a filter on this application and It works fine for IE8 but when I use it in Chrome there are some RPC callbacks that don't work. This is the filter. Does Someone know the reason? [code] package ea.ciges.gesres.server.filters; import java.io.IOException; import java.util.Date; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * {@link Filter} to add cache control headers for GWT generated files to * ensure * * that the correct files get cached. * * @author See Wah Cheng * @since 24 Feb 2009 */ public class GWTCacheControlFilter implements Filter { private static final long ONE_DAY = 8640L; public void destroy() { } public void init(FilterConfig config) throws ServletException { } public final void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { HttpServletRequest httpRequest = (HttpServletRequest) request; String requestURI = httpRequest.getRequestURI(); if (requestURI.contains(.nocache.)) { Date now = new Date(); if (response instanceof HttpServletResponse){ HttpServletResponse httpResponse = (HttpServletResponse) response; httpResponse.setDateHeader(Date, now.getTime()); // one day old httpResponse.setDateHeader(Expires, now.getTime() - ONE_DAY); httpResponse.setHeader(Pragma, no-cache); httpResponse.setHeader(Cache-control, no-cache, no-store, must- revalidate); } } filterChain.doFilter(request, response); } } [/code] -- 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: Auditing GWT projects
Nobody use PMD or FindBugs to audit his proyects? Althought you use GWT CodePro Analitics there are the same rules to audit the code. The theme is what rules are you ensure that your proyects are implementing. For instance, LAZY INICIALIZATION OF A STATIC FIELD. This rule says that if you write: [code] private static MyClass instance = null; public static MyClass getInstace(){ if (instance==null){ instance = new MyClass(); } return instance; } [/code] the method needs to be synchronized ... but, Is this necessary in GWT?. This client class will be compiled to javascript and, Does javascript understand about synchronization? And this is only one of the cases. For this, I was asking for your PMD, CheckStyle or FindBugs xml files, to know what rules are commonly audited in your proyects. -- 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.
Results of GWTJUnit Tests in Hudson
Hello everyone, Anyone know what plugin do I need to include in Hudson to run the GWT JUnit Tests? -- 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.
'Method' in GWT client files
Hello all, I was doing some JUnit Test for my proyect and I needed doAccesible a private method from a client class. Then, I need the java.lang.reflect.Method class. Indeed, the test works fine, but lines which have Method word in Eclipse are marked as errors, and a hover message says: java.lang.reflect.Method can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly. Do I need inherits any module in my proyect? I know those files are in client and perhaps, I need to run a GWTJUnit Test but they works like JUnit but marked as error lines -- 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: 'Method' in GWT client files
Thanks, I only need for a test case. Indeed, The file isn't in /src but /test. I'm going to try 'exclude'. Thanks again! On 5 ago, 19:03, Jason Pack jason...@gmail.com wrote: If you only need them for testing, and don't need them to participate in the GWT compile process, you can exclude them in your translatable code paths in your module's gwt.xml file. For example: module inherits name='com.google.gwt.user.User' / entry-point class='com.some.package.Class' / source path='client' exclude name='**/*Test.java' / /source source path='dto' exclude name='**/Mock*.java' / /source /module -- 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.
Auditing GWT projects
Hello all. I was wondering if there are any official list of check of code for use with CheckStyle, PMD and FindBugs to audit GWT Proyects. I use three xml for the three plugins with eclipse: CheckStyle, PMD and FindBugs; to check java code, but GWT is a bit diferent than java standard code. Are there any official list? What configuration for checkstyle, PMD and findbugs are using the GWT Developers? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and Maven
Thanks to all! It has been helpful. I have now other error message from Hudson. The error is: [code] The attribute 'Hudson-Build-Number' may not occur more than once in the same section. [/code] But I have just found that it may be due to using the version 2.0.1 of maven-war-plugin. On Monday I will test it and I will tell you. Thanks for all -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT and Maven
Hello all, I am trying to compile a GWT proyect with Maven but I am not able to package the proyect into a war file. I'm with this for two weeks and I'm going crazy. Let's see if anyone can help me, please. The structure or my proyect is this: [code] +JRE System Library (libraries) +Maven Dependencies (libraries) +test +test-classes +pom.xml +src +-main | +-java | | | +-gwt/srarcos/library | | | +-META-INF | | | | | +-persistence.xml | | | +-log4j.properties | +-resources | +-webapp | +-Library | +-WEB-INF | | | +-lib | | | +-applicationContext.xml | | | +-web.xml | +-index.html | +-login.jsp [/code] This is my pom [code] project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion packagingwar/packaging nameLibrary/name groupIdgwt.srarcos/groupId artifactIdLibrary/artifactId version1.0.0-SNAPSHOT/version reporting outputDirectorysrc/main/webapp/outputDirectory /reporting properties project.build.sourceEncodingISO-8859-1/ project.build.sourceEncoding java.source1.6/java.source java.target1.6/java.target maven.compiler.source1.5/maven.compiler.source maven.compiler.target1.5/maven.compiler.target /properties build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version2.2.0/version configuration modulegwt.srarcos.library.Library/module hostedWebappsrc/main/webapp/hostedWebapp runTargetindex.html/runTarget gwtVersion2.2.0/gwtVersion logLevelINFO/logLevel styleOBFUSCATED/style webXmlsrc/main/webapp/WEB-INF/web.xml/webXml /configuration executions execution phaseprepare-package/phase goals goalcompile/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clean-plugin/artifactId configuration filesets fileset directorysrc/main/webapp/library/directory /fileset fileset directorysrc/main/webapp/WEB-INF/classes/directory /fileset /filesets /configuration /plugin plugin artifactIdmaven-war-plugin/artifactId version2.0.1/version configuration archiveClassestrue/archiveClasses warSourceDirectorysrc/main/webapp/warSourceDirectory webXmlsrc/main/webapp/WEB-INF/web.xml/webXml /configuration /plugin /plugins sourceDirectorysrc/main/java/sourceDirectory outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory resources resource directorysrc/main/resources/directory /resource /resources /build repositories repository idrepo/id namerepo/name urlhttp://127.0.0.1/artifactory/repo/url /repository /repositories pluginRepositories pluginRepository
Re: GWT and Maven
Thanks, I'll check my pom.xml comparing it with yours. Thank you very much. I'll tell you On 8 jun, 07:07, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: See the pom.xml in this samplehttps://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home . Juan 2011/6/8 SrArcos srar...@gmail.com Hello all, I am trying to compile a GWT proyect with Maven but I am not able to package the proyect into a war file. I'm with this for two weeks and I'm going crazy. Let's see if anyone can help me, please. The structure or my proyect is this: [code] +JRE System Library (libraries) +Maven Dependencies (libraries) +test +test-classes +pom.xml +src +-main | +-java | | | +-gwt/srarcos/library | | | +-META-INF | | | | | +-persistence.xml | | | +-log4j.properties | +-resources | +-webapp | +-Library | +-WEB-INF | | | +-lib | | | +-applicationContext.xml | | | +-web.xml | +-index.html | +-login.jsp [/code] This is my pom [code] project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion packagingwar/packaging nameLibrary/name groupIdgwt.srarcos/groupId artifactIdLibrary/artifactId version1.0.0-SNAPSHOT/version reporting outputDirectorysrc/main/webapp/outputDirectory /reporting properties project.build.sourceEncodingISO-8859-1/ project.build.sourceEncoding java.source1.6/java.source java.target1.6/java.target maven.compiler.source1.5/maven.compiler.source maven.compiler.target1.5/maven.compiler.target /properties build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version2.2.0/version configuration modulegwt.srarcos.library.Library/module hostedWebappsrc/main/webapp/hostedWebapp runTargetindex.html/runTarget gwtVersion2.2.0/gwtVersion logLevelINFO/logLevel styleOBFUSCATED/style webXmlsrc/main/webapp/WEB-INF/web.xml/webXml /configuration executions execution phaseprepare-package/phase goals goalcompile/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-clean-plugin/artifactId configuration filesets fileset directorysrc/main/webapp/library/directory /fileset fileset directorysrc/main/webapp/WEB-INF/classes/directory /fileset /filesets /configuration /plugin plugin artifactIdmaven-war-plugin/artifactId version2.0.1/version configuration archiveClassestrue/archiveClasses warSourceDirectorysrc/main/webapp/warSourceDirectory webXmlsrc/main/webapp/WEB-INF/web.xml/webXml /configuration /plugin /plugins sourceDirectorysrc/main/java/sourceDirectory outputDirectorysrc/main/webapp/WEB-INF/classes/outputDirectory resources resource directorysrc/main/resources/directory /resource /resources /build repositories repository idrepo/id namerepo/name urlhttp://127.0.0.1/artifactory/repo/url
Re: Tomcat 6.0.x and .nocache.
Hello again, I have found this right now: http://seewah.blogspot.com/2009/02/gwt-tips-2-nocachejs-getting-cached-in.html Has anyone try something like this? Thanks On 25 abr, 23:54, SrArcos srar...@gmail.com wrote: Hello all! I am trying configure Tomcat 6.0.26 for GWT but I am new in Tomcat and I do not know what file I need to edit to write the Expires tag with the expiration of the *.nocache.* and *.cache.* files. Can anyone help me please? -- 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.
Tomcat 6.0.x and .nocache.
Hello all! I am trying configure Tomcat 6.0.26 for GWT but I am new in Tomcat and I do not know what file I need to edit to write the Expires tag with the expiration of the *.nocache.* and *.cache.* files. Can anyone help me please? -- 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: Removing a detached instance
Thanks!! It works fine! I was going crazy for a line, thank you very much! On 8 mar, 23:41, FrugoFrog frugof...@gmail.com wrote: shouldn't one merge the entity first ? so that it's managed/attached. em.remove(em.merge(this)); regards 2011/3/7 SrArcos srar...@gmail.com: Hello all, I don't know if my question must be here, but I need a help with this problem and I don't know exactly where it can being solved. I'm trying to remove an entity from the server: ObjectEntity. this is the method in the entity: [code] public void remove() { EntityManager em = null; EntityTransaction tx = null; try { em = Manager.getEMF().createEntityManager(); tx = em.getTransaction(); tx.begin(); em.remove(this); tx.commit(); } catch (Exception e) { e.printStackTrace(); if (tx != null) { tx.rollback(); } } finally { if (em != null) { em.close(); } } } [/code] and this is the method to call the removal request: [code] public void doDelete(Record lgr) { final Long id = Long.valueOf(lgr.getAttribute(id)); ObjectEntityRequest cRequest = RFService.getRF().getObjectEntityRequest(); cRequest.findObjectEntity(id).fire(new ReceiverObjectEntityProxy() { @Override public void onSuccess(ObjectEntityProxy response) { RequestVoid del = RFService.getRF().getObjectEntityRequest() .remove() .using(aborrar); del.fire(new ReceiverVoid() { @Override public void onSuccess(Void response) { Window.alert(ObjectEntity borrado con eacute;xito); } @Override public void onFailure(ServerFailure error) { Window.alert(Error al eliminar el ObjectEntity); } }); } }); } [/code] And the server error I has is this: java.lang.IllegalArgumentException: Removing a detached instance org.mycompany.server.entities.ObjectEntity#400 at org.hibernate.ejb.event.EJB3DeleteEventListener.performDetachedEntityDeletionCheck(EJB3DeleteEventListener.java: 65) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java: 107) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java: 73) at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:956) at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:934) at org.hibernate.ejb.AbstractEntityManagerImpl.remove(AbstractEntityManagerImpl.java: 702) at org.mycompany.server.entities.ObjectEntity.remove(ObjectEntity.java: 214) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43) at java.lang.reflect.Method.invoke(Method.java:616) at com.google.gwt.requestfactory.server.ReflectiveServiceLayer.invoke(ReflectiveServiceLayer.java: 164) at com.google.gwt.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java: 89) at com.google.gwt.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java: 89) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java: 440) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 218) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 125) at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: 118) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487
Removing a detached instance
Hello all, I don't know if my question must be here, but I need a help with this problem and I don't know exactly where it can being solved. I'm trying to remove an entity from the server: ObjectEntity. this is the method in the entity: [code] public void remove() { EntityManager em = null; EntityTransaction tx = null; try { em = Manager.getEMF().createEntityManager(); tx = em.getTransaction(); tx.begin(); em.remove(this); tx.commit(); } catch (Exception e) { e.printStackTrace(); if (tx != null) { tx.rollback(); } } finally { if (em != null) { em.close(); } } } [/code] and this is the method to call the removal request: [code] public void doDelete(Record lgr) { final Long id = Long.valueOf(lgr.getAttribute(id)); ObjectEntityRequest cRequest = RFService.getRF().getObjectEntityRequest(); cRequest.findObjectEntity(id).fire(new ReceiverObjectEntityProxy() { @Override public void onSuccess(ObjectEntityProxy response) { RequestVoid del = RFService.getRF().getObjectEntityRequest() .remove() .using(aborrar); del.fire(new ReceiverVoid() { @Override public void onSuccess(Void response) { Window.alert(ObjectEntity borrado con eacute;xito); } @Override public void onFailure(ServerFailure error) { Window.alert(Error al eliminar el ObjectEntity); } }); } }); } [/code] And the server error I has is this: java.lang.IllegalArgumentException: Removing a detached instance org.mycompany.server.entities.ObjectEntity#400 at org.hibernate.ejb.event.EJB3DeleteEventListener.performDetachedEntityDeletionCheck(EJB3DeleteEventListener.java: 65) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java: 107) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java: 73) at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:956) at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:934) at org.hibernate.ejb.AbstractEntityManagerImpl.remove(AbstractEntityManagerImpl.java: 702) at org.mycompany.server.entities.ObjectEntity.remove(ObjectEntity.java: 214) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43) at java.lang.reflect.Method.invoke(Method.java:616) at com.google.gwt.requestfactory.server.ReflectiveServiceLayer.invoke(ReflectiveServiceLayer.java: 164) at com.google.gwt.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java: 89) at com.google.gwt.requestfactory.server.ServiceLayerDecorator.invoke(ServiceLayerDecorator.java: 89) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java: 440) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 218) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 125) at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: 118) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1097) at org.springframework.security.util.FilterChainProxy $VirtualFilterChain.doFilter(FilterChainProxy.java:359) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java: 109) at
Error cant found Acceso.gwt.xml
Hello All, I have a problem with a GWT proyect (I'm using GWT 2.1.1). I have created a proyect called Library which is located on src/ org,nac.jamr, and obviously I have a folder org.nac.jamr.client, org.nac.jamr.server and org.nac.jamr.shared, ok? I need another module for an initial login html page. I have created a module called Access.gwt.xml which is located on src/org.nac.jamr and for now, my proyect has errors! Eclipse say me that I need import a module... but don't worry. I have removed the Access.gwt.xml, and I have created it in src/org.nac.jamr.access... I click on run, and Log say me: [Error] Unable to find org.nac.jamr.Acceso.gwt.xml ... Someone know what file/configuration I need to touch to solve this problem? Thanks for all! -- 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: loading a property file from the backend with RequestBuilder?
Hello, I am interested in this issue, can you send me the example of what you did? Because, I can read any file.. in dev mode(jetty) it has a path, and in hosted mode (in tomcat) it has other path... I seem dificult... On 9 feb, 16:27, Ed post2edb...@gmail.com wrote: In the meantime I simple made it myself.. Not so difficult: load the text... read the lines (see the BufferedReader for example code), and separate the key = value pairs... -- 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.
Extends RequestFactoryServlet
Hi, I have a question. I use RequestFactory in a database Proyect. And I need use a method in the server but not inside any Entity (like persist for instance). I need count, for example, files in a folder on the server side, or send a string to the server to do something with, and return a boolean... Need I extend RequestFacotyServlet? And If I need to, how I must do the RequestContext and RequestFactory interfaces? Thanks in advance -- 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: Extends RequestFactoryServlet
Wow! Thanks for the speed in answering! Now it all seems obvious hehe.Sometimes I look silly. Thanks again! -- 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.
ORM Servlet + GWT or FacesServlet + SmartGWT LGPL
Hello, I have a question for the forum. I need to do a proyect with JPA (with Hibernate) to manage the model, and I'd like to use SmartGWT LGPL as view. The question is if there is any implemented Servlet for free that sends the orm,s to the SmartGWT client, to populate the DataSource of the side client ?. Is there any little example for servlet like this? The theme is to solve that all clients can see the same data at the same time in his web explorers. Like with jsf. If this is not posible to get. The other question was: It is posible the integration between JSF and SmartGWT to get a server to manage the data and able to show this data in the SmartGWT view's fields. -- 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.
ORM Servlet + GWT or JSF Servlet + GWT
Hello all, This is my first post and I have a question for the grroup. I need to do a proyect with JPA (with Hibernate), and I'd like to use the RequestFactory on GWT. The question is if there is any implemented Servlet (or any extension of RequestFactoryServlet) that sends the orm,s to the GWT client, to populate the fields of the side client when data changes on the database?. Is there any little example for servlet like this? The theme is to solve that all clients can see the same data at the same time in his web explorers. Like with jsf. If this is not posible to get. The other question was: It is posible the integration between JSF and GWT to get a server to manage the data and able to show this data in the GWT view's fields for all web explorers at the same time? If this is not posible. Perhaps with Ajax Push we can do it. There are any example, or how to of use Ajax Push with GWT? Thanks to all -- 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.