remove cache from requestfactory. it is possible?
at the dev guide Note: RequestFactory caches ServiceLocator and service instances, so make sure both are thread-safe. it is possible eliminate this? I would like use ejb thanks.. -- 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.
requestfactory + ejb
hello, to use rf + ejb, I need create a ServiceLocator that will lookup my ejb... But the ServiceLocator has a cache, and the lookup will only happen on the first time. line To solve, on ServiceLayer I need change the gwt.rf.ServiceLayerCache system property but the javadoc says.. Provides a flag to disable the ServiceLayerCache for debugging purposes. My question is.. how use ejb and rf correctly? I can disable the cache? thanks ;) -- 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: RF for CRUD and RPC for others?
I would like @Inject the EntityManager using RF, how I can do this? On 29 abr, 09:11, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: For example? What do you want to do? 2011/4/29 Diego Lovison diegolovi...@gmail.com how I can @Inject using RF? for RPChttp://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/ and I can @Inject my EJB too... Using RF I will @Inject my EJB on Entity? how? On 29 abr, 01:56, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: RF perhaps is better to tools, like Roo 2011/4/28 -sowdri- sow...@gmail.com In fact RF is simple compared to RPC! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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: RF for CRUD and RPC for others?
how I can @Inject using RF? for RPC http://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/ and I can @Inject my EJB too... Using RF I will @Inject my EJB on Entity? how? On 29 abr, 01:56, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: RF perhaps is better to tools, like Roo 2011/4/28 -sowdri- sow...@gmail.com In fact RF is simple compared to RPC! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RF for CRUD and RPC for others?
Hi, I read this on http://code.google.com/p/google-web-toolkit/wiki/AutoBean Comment by project member t.broyer, Dec 21, 2010 RequestFactory? is not designed for an RPC style use, but using only ValueProxy? I believe you could do it anyway (it could also be a first step in migrating from GWT-RPC to RF for CRUD oriented apps) the suggestion is use RF for CRUD and RPC for other calls? -- 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: RF for CRUD and RPC for others?
hmmm.. using RF I need put the all logic on the Entity? for example: I would like save a employee, but I need verify other thinks that the hibernate validator dont attend.. where I put this logic on entity? Using RPC I create a DAO and put this logic in DAO.. other way.. I can use ValueProxy with RPC? thanks ;) On 28 abr, 10:23, Thomas Broyer t.bro...@gmail.com wrote: Er, no. I'd rather say: if you choose to use RF, then use it (at least) for entities and related value objects (CRUD or not); for value objects that are not 'connected' in any way to your entities, then you have the choice (but I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC in the same app if you ask me) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RF for CRUD and RPC for others?
verify other thinks = verify other things -- 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: RF for CRUD and RPC for others?
hmm... I did not understand one thing.. Using RF, you need put all your business rules on an entity? for example: I need save one Employee, but have a business rule that the HibernateValidator dont support... I will put the bussiness rule on the Employee entity? On 28 abr, 10:23, Thomas Broyer t.bro...@gmail.com wrote: Er, no. I'd rather say: if you choose to use RF, then use it (at least) for entities and related value objects (CRUD or not); for value objects that are not 'connected' in any way to your entities, then you have the choice (but I'd go with RF and ValueProxy-s too; it feels strange to mix RF and RPC in the same app if you ask me) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
problem with TaskProxy in mobilewebapp - 2.3.0-rc1
[ERROR] The requested type com.google.gwt.sample.mobilewebapp.shared.TaskProxy is not assignable to com.google.gwt.requestfactory.shared.EntityProxy or com.google.gwt.requestfactory.shared.ValueProxy [ERROR] Unexpected error com.google.gwt.requestfactory.server.UnexpectedException: The requested type com.google.gwt.sample.mobilewebapp.shared.TaskProxy is not assignable to com.google.gwt.requestfactory.shared.EntityProxy or com.google.gwt.requestfactory.shared.ValueProxy at com.google.gwt.requestfactory.server.ServiceLayerDecorator.die(ServiceLayerDecorator.java: 205) at com.google.gwt.requestfactory.server.ResolverServiceLayer.resolveClass(ResolverServiceLayer.java: 65) at com.google.gwt.requestfactory.server.ServiceLayerDecorator.resolveClass(ServiceLayerDecorator.java: 135) at com.google.gwt.requestfactory.server.ServiceLayerDecorator.resolveClass(ServiceLayerDecorator.java: 135) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at com.google.gwt.requestfactory.server.ServiceLayerCache.getOrCache(ServiceLayerCache.java: 218) at com.google.gwt.requestfactory.server.ServiceLayerCache.resolveClass(ServiceLayerCache.java: 155) at com.google.gwt.requestfactory.server.RequestState $1.getTypeFromToken(RequestState.java:82) at com.google.gwt.requestfactory.shared.impl.IdFactory.getId(IdFactory.java: 164) at com.google.gwt.requestfactory.server.RequestState.getBeansForPayload(RequestState.java: 148) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.processOperationMessages(SimpleRequestProcessor.java: 481) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 212) at com.google.gwt.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java: 135) at com.google.gwt.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java: 123) 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: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 58) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:351) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) [ERROR] Type type com.google.gwt.sample.mobilewebapp.client.TaskRequest was previously marked as bad [ERROR] The RequestContext type com.google.gwt.sample.mobilewebapp.client.TaskRequest did not pass validation [ERROR] Unexpected error
Re: Nobody is using Struts1 with GWT successfully?
I believe that: If you is using struts1 and would like use GWT integrated with Struts1... STOP NOW! You should to create a RequestBuilder for each Action on Struts... And create a form that represent your struts form Is a big job do this... If you would like use GWT, consider first to use RequestFactory, and adapt your application for this.. I believe that doing this you will be on right track... To do this: You will remove your dependence of struts1 (that in my opinion is very very very very old). -- 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: Nobody is using Struts1 with GWT successfully?
@adligo I agree with you too! On 27 abr, 22:22, Adligo sc...@adligo.com wrote: I would recommend not using Struts with GWT, Struts (and Spring MVC) are web 1.0 technologies. I would recommend using RPC for actions that need to talk to the server using googles nice RPC framework. If you have a mashup (old Struts app that you want to add GWT to) I would suggest taking a large scale refactoring approach and write new functionality in GWT (with RPC) and keep the old Struts jsp code. Then when you have done a fair amount of GWT start refactoring the old Struts jsp code to GWT as you are asked to maintain (change) parts of it. Cheers, Scott -- 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.
gwtapi (createfile, redfilecontent, createpdf) etc
hello, each browser have your api for create and read files or to access data on disk storage So I would like to create an api to make this... http://code.google.com/p/gwtapi/ Will have an interface that will be create by deffered binding, and an implementation for each browser... for example ReadFile read = GWT.create(ReadFile.class); String[] lines = read.thisFile(); make sense create this api? thanks -- 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: gwtapi (createfile, redfilecontent, createpdf) etc
Yes Chrome have the api too... I dont know about safari, ie and opera On 13 abr, 13:08, Thomas Broyer t.bro...@gmail.com wrote: That's not quite true actually:http://www.html5rocks.com/features/file Seehttps://developer.mozilla.org/en/using_files_from_web_applicationsfor some sample code. It's far from the level of support of Flash though... -- 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 autocompile ;)
hmmm... I will test thanks.. On 9 abr, 10:27, Harald Schilly harald.schi...@gmail.com wrote: On Friday, April 8, 2011 10:02:38 PM UTC+2, Diego Lovison wrote: For example in JavaScript I can write the code, save on database, ... You can do exactly the same in GWT as you are able to do in pure JavaScript. The reason is that there is this JSNI interface that lets you access the lower level. i.e. you can write a native void runRule(Element e, String code) /*-{ ... }-*/ function that takes an element of them dom and some javascript code acting on it. (I have never done this, but it is something along that.) H -- 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 autocompile ;)
hello, I would like to develop an application that the adm of the system can modify the view, add rules, buttons, fields, and others ok I can create something like google contacts, when you can add fields to edit... but in google contacts I cannot edit the source code... for example: *client1: validate for this field *client2: validate for this other fields... *client3: get the list of my database keep 3 source code for 3 client is easy, but if I have 5000 clients... is very difficult.. gwt problem: I can create dynamic code using javascript when I write and run... in gwt I need write, compile and so will run... gwt solution: gwt in my opinion is the best framework for web app, and I would like to use it for this project... any ideias? someone understood what I told? lol regards Diego Lovison -- 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 2.2 CellTable dragging column widths with mouse ...
If you would like rende 1000 rows I suggest you use lazy render... you can find this in gxt and smartgwt On 8 abr, 09:23, Gal Dolber gal.dol...@gmail.com wrote: why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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.
why IsWidget is interface?
why the class IsWidget is interface and not an annotation? -- 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: Is validation on client side enough or do I need both?
if is the same validation... I will create a shared class like FieldValidation on GwtExample On 8 abr, 10:17, Ben Imp benlee...@gmail.com wrote: Never trust a client. -Ben On Apr 8, 6:52 am, Stephan T stephan.tern...@gmail.com wrote: The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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: Is validation on client side enough or do I need both?
or http://code.google.com/p/google-web-toolkit/wiki/BeanValidation On 8 abr, 10:17, Ben Imp benlee...@gmail.com wrote: Never trust a client. -Ben On Apr 8, 6:52 am, Stephan T stephan.tern...@gmail.com wrote: The scenario: I have a form where you can create a new person by entering name in a textbox and click a button. When the user clicks the button I grab the value from the textbox and sets it on the Person object. The Person object validates the value and makes sure the name on the object only contains a-z. If not execution stops and an error is presented to the user. If all is good I send the Person object via an RPC call to the server. The question: When continuing execution on the server, can I be sure that the name only contains a-z or do I have to do server validation as well for protection from attackers? -- 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 2.2 CellTable dragging column widths with mouse ...
you have 100... the time to order in database is more fast that you return 10 and sort on a client side... ;) On 8 abr, 10:30, Musicman75 stephan.beu...@googlemail.com wrote: I don't want to render 10 rows, that's why I use the celltable and it's paging functionality. To handle the whole datatable on client side (sorting, filtering, ..) without server calls every time. CellTable can handle a big amount of data, the only thing I miss is column resizing on mouse dragging. GXT, SmartGWT look nice, but the datastructure needed to fit with this framework isn't useful for me and I don't want to use third party libraries in my project. On 8 Apr., 15:18, Diego Lovison diegolovi...@gmail.com wrote: If you would like rende 1000 rows I suggest you use lazy render... you can find this in gxt and smartgwt On 8 abr, 09:23, Gal Dolber gal.dol...@gmail.com wrote: why would you want to render 10 rows? :) On Fri, Apr 8, 2011 at 4:02 AM, Musicman75 stephan.beu...@googlemail.comwrote: @Sky Nice idea to include resizing on mouse dragging. Any implementation available? I checked out the ScrollTable from incubator, but it's too slow (rendering with more than 10 rows is impossible). The resizing functionallity from the Scrolltable implemented together with CellTable would be a great thing. Thanks Stephan On 17 Feb., 10:35, dflorey daniel.flo...@gmail.com wrote: Did you check out the tables in the gwt incubator? They support resizing of columns, fixed headers etc. -- 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. -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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 autocompile ;)
I have no idea what an 'adm' is. adm = administrator Can be the people that is responsible of the application in the organization.. (IT resource) Organization is whom buy my software.. Why would an application 'like Google contacts' require more source code for more users? No For example: In google contacts, when you edit a contact, you can add fields to the form... But you cannot add business rules for the field that you added... I would like allow the adm modify the application, adding fields, business rules, etc... Or you could run DevMode... Is the final product. The organization that buy my software won't edit the real source code... I would like to offers to the client the possibility of customize my software according to your needs Is this an actual question or some kind of elaborate troll? For example in JavaScript I can write the code, save on database, return for the application and run the same code, and will work... But in GWT I need compile all my application again... The manner on that GWT was designed, this isn't possible... I would like to discuss one manner to do this... GWT is the best tool for develop web applications, on my oppinion.. is now more clear? thanks for your reply... -- 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 2.2 and maven
how I can set to maven work with 2.2? repository id/id name???/name url/url /repository On 13 fev, 16:54, David Chandler drfibona...@google.com wrote: Maven Central push should come out Monday. Until then, you can try it out from the staging repo: https://oss.sonatype.org/content/repositories/comgoogle-108/ /dmc On Sun, Feb 13, 2011 at 4:27 AM, Jakub Grabowski ja...@perfectsource.plwrote: Do you have any idea when GWT 2.2.0 will be available in maven central repo? Currently projects generated with -maven option don't work, because dependencies cannot be retrieved. Is there any other repo containing maven artifacts for GWT before they're published to central repo? Thanks for help. Regards, Jakub Grabowski Perfectsource Sp. z o.o. http://www.perfectsource.pl -- 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. -- David Chandler Developer Programs Engineer, Google Web Toolkit w:http://code.google.com/ b:http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- 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.
Tutorial-Contacts2-2.1
http://google-web-toolkit.googlecode.com/files/Tutorial-Contacts2-2.1.zip isnt impossible open the zip file is currupt -- 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.
DateBox first day of week equals Sunday - pt_BR
how I can set for a DateBox the first day of the week to Sunday using pt_BR? thanks ;) -- 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: DateBox first day of week equals Sunday - pt_BR
thanks ;D we need wait for this now... On 22 nov, 15:39, Jim Douglas jdou...@basis.com wrote: You should have mentioned that you already entered a bug report http://code.google.com/p/google-web-toolkit/issues/detail?id=5243 No, there is no way for you to override that. On Nov 22, 10:28 am, Jim Douglas jdou...@basis.com wrote: It looks like there should be a DateTimeConstantsImpl_pt_BR.properties file, but there isn't, so GWT is using DateTimeConstantsImpl_pt.properties: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/... That file sets first day of week to Monday: firstDayOfTheWeek = 2 A pt_BR version should set first day of week to Sunday: firstDayOfTheWeek = 1 http://www.timeanddate.com/calendar/?country=33http://www.timeanddate... You should enter a bug report for this: http://code.google.com/p/google-web-toolkit/issues/entry On Nov 22, 8:58 am, Diego Lovison diegolovi...@gmail.com wrote: how I can set for a DateBox the first day of the week to Sunday using pt_BR? thanks ;) -- 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.
DateTimeConstantsImpl_pt_BR.properties - File is missing
eras = a.C., d.C. eraNames = Antes de Cristo, Depois de Cristo narrowMonths = J, F, M, A, M, J, J, A, S, O, N, D months = Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro shortMonths = Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez standaloneNarrowMonths = J, F, M, A, M, J, J, A, S, O, N, D standaloneMonths = Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro standaloneShortMonths = Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez weekdays = Domingo, Segunda-Feira, Terça-Feira, Quarta-Feira, Quinta- Feira, Sexta-Feira, Sábado shortWeekdays = Dom, Seg, Ter, Qua, Qui, Sex, Sáb narrowWeekdays = D, S, T, Q, Q, S, S standaloneWeekdays = Domingo, Segunda-Feira, Terça-Feira, Quarta- Feira, Quinta-Feira, Sexta-Feira, Sábado standaloneShortWeekdays = Dom, Seg, Ter, Qua, Qui, Sex, Sáb standaloneNarrowWeekdays = D, S, T, Q, Q, S, S shortQuarters = T1, T2, T3, T4 quarters = 1.º trimestre, 2.º trimestre, 3.º trimestre, 4.º trimestre ampms = Antes do meio-dia, Depois do meio-dia dateFormats = \\, d 'de' 'de' , d 'de' 'de' , /MM/dd, yy/MM/dd timeFormats = HH'H'mm'm'ss's' v, HH:mm:ss z, HH:mm:ss, HH:mm firstDayOfTheWeek = 2 weekendRange = 7, 1 -- 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.
turn serialization more fast ;)
in the class com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader have a private method called -- 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: turn serialization more fast ;)
I posted wrong... I will write again.. in the class com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader have a private method private MapString, Method getSetters(Class? instanceClass) { } in this method.. have one condition that my field can or not serializer if (SerializabilityUtil.isNotStaticTransientOrFinal(field)) { ... } I know that I can create a custonSerializer... but its not a good ideia.. because have many field and other things.. so I suggest create one method that can be override, and use MY ideia to serializer the objects this its very usefull when use hibernate gilead and other its good, but need call all serializer fields and set this value equals null... If I use my condition.. I dont use any additional lib and my app will more fast... ;) -- 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: bikeshed project
thanks ;) On 5 maio, 10:58, Thomas Broyer t.bro...@gmail.com wrote: On May 5, 3:42 pm, Diego Lovison diegolovi...@gmail.com wrote: on trunk (svn) have one folder calledbikeshed... its one project example? As the name implies [1], it's where new features are being developped in the open: - Enterprise widgets (complete rewrite of the incubators PagingScrollTable and the like) - data bindinghttp://code.google.com/p/google-web-toolkit/wiki/RequestFactoryPlusPaths - lightweight collections Note that the current development seems to have moved over to / branches/2.1/bikeshedinstead of /trunk/bikeshed [1]http://en.wikipedia.org/wiki/Bikeshed -- 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 athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-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.
bikeshed project
on trunk (svn) have one folder called bikeshed... its one project example? regards -- 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: detecting if frame is loaded and if there is an scrollbar...
you need implent this using JSNI.. I believe that its the only soluction.. On 26 fev, 06:24, Prashant Gupta nextprash...@gmail.com wrote: any suggestion...? -- 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: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]
you can explain more but not for Enterprise like apps with all kind of decouples buses/queues and security On 4 fev, 18:19, Ed post2edb...@hotmail.com wrote: Thanks for the idea Diego This is nice for Hello World applications, but not for Enterprise like apps with all kind of decouples buses/queues and security restrictions Thanks anyway :) -- 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: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]
hi.. @getaceres I suggest dont use @GwtTransient in your example.. if you dont put the annotation your application will work fine ;) On 5 fev, 11:22, Ed post2edb...@hotmail.com wrote: Hi All, Thanks for the clear example getaceres. I think you can come up with plenty examples that the above annotation idea is just too simple... It's nice ofcourse and welcome but for bigger app simple not acceptable.. Above you already explain the problems you can have during compilation. In larger projects you often have different teams that are responsible for parts of the software. Suppose you have a team that does the backend and a team that does the front end. Suppose the front-end is using the above notation and all of sudden the backend team decides to refactor their persist domain model such that the introduce stuff that is simple not supported by GWT... Br... I don't think you want dependencies like that... Not even to think about the consequences for the front-end ... Said that, there is another good reason to decouple these objects... Have a look at martin fowler his website, I can remember he having a nice discussion on his website about DTO's. Anyway: the DTO's have a completely different purpose then Domain objects, like the words already explain. DTO's simple transfer results in a fashion the front-end wants it So it's very good possible that you merge the result of several domain objects and send that as one DTO over the line to the front-end... Especially in case of large data set's this can save you a lot of traffic and as such creates a better user experience... Also, in case of different clients, you can fine tune your results for different clients.. Probably I can come up with more examples... but I think I made my point...:)... Myself I use dozer, I am not very font of it, but it's the best option I have at this moment. I have to say that I use my own patched dozer version: fixed some bugs that are still in it, and optimized it, like for for Hibernate proxy and collection usage. Cheers, Ed -- 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.
forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]
In GWT 2.0.x you can use the annotations of the JPA and JDO without problems and without using any additional library. Your source code will be compiled normally. No exception (SerializableException) will occur. So what's the problem: In a relationship one-to-many, when the GWT tries to serialize this attribute that is a List, will probably return an exception (LazyInitializationException). Return an attribute that has a relationship one-to-many is not good for various reasons, the principal is the performace. Solution Add the annotation @GwtTransient above in the attribute List and everything will work normally. Advantage: You use a native GWT solution to deal with this type of information. Decreases some jars in your application, and get 10 ~ 200ms each request. -- 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: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]
why not? ;) On 4 fev, 15:23, Marcos Alcantara marc...@gmail.com wrote: Ok. About the @GwtTransient, in my case, I´m only using model classes defined within the GWT module. Although I love what Gilead has done for us, I think if it would be possible to eliminate the performance overhead and let GWT serialize my JPA annotated classes directly. Would it? =) thanks Marcos A. On 4 fev, 13:46, Open eSignForms yoz...@gmail.com wrote: Yeah, this was a big problem for us since it meant creating lots of DTOs and server-side routines that generated them from its existing objects and could consume them for updates. I don't know the internals of GWT compiler, but it sure would be nice if fields and methods and constructors could be annotated to be ignored and never translated to JS. -- 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: GWT Road Map
http://code.google.com/p/google-web-toolkit/wiki/DataBackedWidgetsDesign On 19 jan, 11:27, Rodrigo Romero III rrom...@pinteractiva.com wrote: It would definitely be great if google could put a roadmap for any of their products...but due to the confidenciality they are well known...I don't think that's going to occur You'll have to wait until things just popup each now and then Diego Lovison wrote: and about the road map? -- 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: how to call EJB from GWT
other way.. the documentation is good (in the site).. and have articles developed by gwt team.. http://code.google.com/intl/pt-BR/webtoolkit/articles/using_gwt_with_hibernate.html On 12 jan, 14:59, NahumMor nahum...@gmail.com wrote: hi, i'm new with gwt, My question is, how is the best way to call stateful and stateless enterprise bean from gwt rpc ? -- 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.
eclipse plugin - dont show its debuggin or running
like tomcat, the eclipse plugin should be if my application its running or debuggin.. what the communitty think? -- 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: how to call EJB from GWT
lol On 12 jan, 15:10, mariyan nenchev nenchev.mari...@gmail.com wrote: @ Diego: Calling EJB method (almost) has nothing to do with glead. @NahumMor: It's simple lookup your ejb with InitialContext and call your method. I didn't manage to get injecting working. If it is statefull just find way to keep the reference in some cache after you lookup it. -- 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.
JavaScriptInjector like StyleInjector
GWT team have plans to developer a JavaScriptInjector like StyleInjector? -- 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.
AbstractRemoteServiceServlet and methods synchronized
why have methods that its synchronized? when its a servlet, the container manager this.. I'm see that doPost is synchronized, this means a great loss of time if you test debuging, you will see that, if dont have a method synchronized the code will not work.. but test running, if create local variavle and print than, will work witouht a method synchronized too.. I'm wrong regards... --~--~-~--~~~---~--~~ 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: AbstractRemoteServiceServlet and methods synchronized
in gwt 1.7.1 this method is NOT syncronized.. On 27 out, 08:57, Diego Lovison diegolovi...@gmail.com wrote: why have methods that its synchronized? when its a servlet, the container manager this.. I'm see that doPost is synchronized, this means a great loss of time if you test debuging, you will see that, if dont have a method synchronized the code will not work.. but test running, if create local variavle and print than, will work witouht a method synchronized too.. I'm wrong regards... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Google Eclipse Plugin - doubt about Web Application
click with the right button in the project will open one window click in properties.. go to Google - Web Application what is the propose add the jar here? --~--~-~--~~~---~--~~ 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: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
change to GenericDrugNameDto implements Serializable or GenericDrugNameDto implements IsSerializable I believe that will work fine... try ;) On 17 set, 06:20, Sanju sanjeev...@gmail.com wrote: Hi, my application works fine in hosted mode but when deployed on the web giving following errors. Can any one please suggest on how to overcome the same? Sep 17, 2009 2:39:13 PM org.apache.catalina.core.ApplicationContext log SEVERE: drugsServiceImpl: An IncompatibleRemoteServiceException was thrown while processing this call. com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'com.aadhyah.base.client.dto.GenericDrugNameDto' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized. at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:298) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall (RemoteServiceServlet.java:164) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost (RemoteServiceServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 447) at java.lang.Thread.run(Thread.java:619) Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'com.aadhyah.base.client.dto.GenericDrugNameDto' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized. at com.google.gwt.user.server.rpc.impl.LegacySerializationPolicy.validateDeserialize (LegacySerializationPolicy.java:123) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize (ServerSerializationStreamReader.java:490) at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject (AbstractSerializationStreamReader.java:61) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader $ValueReader$8.readValue(ServerSerializationStreamReader.java:131) at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue (ServerSerializationStreamReader.java:372) at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:287) ... 16 more --~--~-~--~~~---~--~~ 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: Browser Problem after deploying
needs more info for help you ;) On 16 set, 07:24, Saurabh Naik saurabhsn...@gmail.com wrote: Hi All I am facing continuous problem after invoking my gwtext application on Mozilla and IE . The expected outcome is far from what it shows in the default Web host development server. After invoking the application in mozilla i cant see my grid(with local paging) on the onClick event of a menu. IE is showing Javascript Errors like 'Ext is undifined' , 'this.proxy is not defined or not an object'. I cant find any reasons for the same. Please help. Thanks and Regards Saurabh Naik --~--~-~--~~~---~--~~ 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: problem with mozilla
this a browser problem.. I suggest use div in place of table suggest.. copy the generate html (compiled source).. use firebug to see the best layout.. and try again in ie.. other way whats the doctype in your html? On 16 set, 07:11, Saurabh Naik saurabhsn...@gmail.com wrote: Hello I am insterting combobox and textbox from gwt in to html using div tags. its working correctly.. but in my html I am doing indentation/formatting it with using table tags cellspacing or cellpadding attribute . Its working fine with gwt host browser and with IE . but In mozilla firefox its not taking formatting in table --~--~-~--~~~---~--~~ 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 Cross Site Scripting - Isn't the X-GWT-Permutation header enough?
in witch class you see this When I went through the code for GWT's RemoteServiceServlet, I see that it checks for the presence of a HTTP header X-GWT-Permutation, and fails the service if absent. ? On 16 set, 11:55, Sripathi Krishnan sripathi.krish...@gmail.com wrote: I have read the discussion athttp://groups.google.com/group/google-web-toolkit/web/security-for-gw... follow it completely. The general recommendation to prevent Cross Site Scripting is to duplicate the session id in the http request payload. Doing that takes some effort, and I don't want to do it unless absolutely neccessary.. When I went through the code for GWT's RemoteServiceServlet, I see that it checks for the presence of a HTTP header X-GWT-Permutation, and fails the service if absent. I thought about it for some time, and came to the conclusion that the http header alone should be sufficient to prevent cross site scripting. The only way that header can be set is via a XmlHttpRequest. A request originating from a script , iframe, img form tags is not going to be able to set that header. And an XmlHttpRequest originating from a different domain is not going to work due to Same Origin Policy.. *Question* - Is this conclusion correct? Has anybody yet found a way to get around the http header and make a XSS attack to a GWT RPC Service? thanks! --Sri --~--~-~--~~~---~--~~ 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: inherit modul for hibernate
donwload the example in gilead site and follow.. ;D I believe that you are calling the session factory into the package client or other modelu that you define in the gwt.xml you is new in gwt? On 15 set, 13:59, Danny daniel.pomr...@googlemail.com wrote: Hello, I try to integrate hibernate into a GWT 1.6 project. I've done it with the help of:http://code.google.com/intl/de-DE/webtoolkit/articles/using_gwt_with_... and used gilead. But when I run my application it says in the log: No source code is available for type org.hibernate.SessionFactory; did you forget to inherit a required module? No source code is available for type org.hibernate.cfg.Configuration; did you forget to inherit a required module? No source code is available for type java.lang.Exception.InInitializeError; did you forget to inherit a required module? But I've imported the mentioned classes and in my app.gwt.xml I've added: inherits name=net.sf.gilead.Adapter4Gwt15 / Has anyone ideas what to check why it does not work? Thanks in advance Daniel --~--~-~--~~~---~--~~ 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: Deployment with Tomcat without nasty 404 Not Found error?
example.. when user type in url http://localhost:8080/youraplication/.html .html dont exist in server.. will return 404 not fount you would like change for this page dont exist in the server.. please .? On 14 set, 11:29, alex.d alex.dukhov...@googlemail.com wrote: The problem is: while undeploying old/deploying new version of application it's unavailable for severall minutes. Which is of course pretty annoying for the users. Is there any way to avoid this? I mean besides switching servers - i just have one :( --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
possible DatePicker issue with October
open http://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker go to the month October you will see two 17 October.. you cant test using all browser the problem its the same.. in hosted mode work fine.. but in google calendar this problem dont appears... --~--~-~--~~~---~--~~ 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: possible DatePicker issue with October
TimeZone Brazil - GMT -03:00 other way.. I donwload the last version of the trunk GWT 2.0 and see that this problem will parsial correct.. but only in DatePicker.. in DateBox if you select 18/10/2009 the problem appears... On 14 set, 14:19, Jim Douglas jdoug...@basis.com wrote: Confirmed; I should have done the obvious test. I just changed my time zone to Buenos Aires and rechecked that page, and I see exactly what you reported. It looks like you're seeing one of the effects of this GWT issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=3132 On Sep 14, 10:11 am, Jim Douglas jdoug...@basis.com wrote: I don't see that problem here (Mac OS X Leopard, Pacific time zone (North America), Firefox 3.5.3; Opera 10.0; Safari 4.0.3). What's your environment, Diego? That sounds like a daylight saving time anomaly; are you in Argentina, Brazil, or Paraguay? http://www.timeanddate.com/time/dst2009.html On Sep 14, 4:57 am, Diego Lovison diegolovi...@gmail.com wrote: openhttp://gwt.google.com/samples/Showcase/Showcase.html#CwDatePicker go to the month October you will see two 17 October.. you cant test using all browser the problem its the same.. in hosted mode work fine.. but in google calendar this problem dont appears... --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---