remove cache from requestfactory. it is possible?

2011-08-31 Thread Diego Lovison
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

requestfactory + ejb

2011-08-30 Thread Diego Lovison
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

Re: RF for CRUD and RPC for others?

2011-04-30 Thread Diego Lovison
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

Re: RF for CRUD and RPC for others?

2011-04-29 Thread Diego Lovison
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

RF for CRUD and RPC for others?

2011-04-28 Thread Diego Lovison
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

Re: RF for CRUD and RPC for others?

2011-04-28 Thread Diego Lovison
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

Re: RF for CRUD and RPC for others?

2011-04-28 Thread Diego Lovison
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

Re: RF for CRUD and RPC for others?

2011-04-28 Thread Diego Lovison
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

problem with TaskProxy in mobilewebapp - 2.3.0-rc1

2011-04-27 Thread Diego Lovison
[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

Re: Nobody is using Struts1 with GWT successfully?

2011-04-27 Thread Diego Lovison
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

Re: Nobody is using Struts1 with GWT successfully?

2011-04-27 Thread Diego Lovison
@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

gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread Diego Lovison
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

Re: gwtapi (createfile, redfilecontent, createpdf) etc

2011-04-13 Thread Diego Lovison
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.

Re: gwt autocompile ;)

2011-04-11 Thread Diego Lovison
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

gwt autocompile ;)

2011-04-08 Thread Diego Lovison
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

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Diego Lovison
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:

why IsWidget is interface?

2011-04-08 Thread Diego Lovison
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

Re: Is validation on client side enough or do I need both?

2011-04-08 Thread Diego Lovison
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

Re: Is validation on client side enough or do I need both?

2011-04-08 Thread Diego Lovison
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

Re: GWT 2.2 CellTable dragging column widths with mouse ...

2011-04-08 Thread Diego Lovison
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

Re: gwt autocompile ;)

2011-04-08 Thread Diego Lovison
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:

Re: GWT 2.2 and maven

2011-02-14 Thread Diego Lovison
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

Tutorial-Contacts2-2.1

2010-12-03 Thread Diego Lovison
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

DateBox first day of week equals Sunday - pt_BR

2010-11-22 Thread Diego Lovison
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

Re: DateBox first day of week equals Sunday - pt_BR

2010-11-22 Thread Diego Lovison
/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

DateTimeConstantsImpl_pt_BR.properties - File is missing

2010-08-26 Thread Diego Lovison
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

turn serialization more fast ;)

2010-05-07 Thread Diego Lovison
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

Re: turn serialization more fast ;)

2010-05-07 Thread Diego Lovison
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

Re: bikeshed project

2010-05-07 Thread Diego Lovison
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

bikeshed project

2010-05-05 Thread Diego Lovison
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,

Re: detecting if frame is loaded and if there is an scrollbar...

2010-02-26 Thread Diego Lovison
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

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread Diego Lovison
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

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-05 Thread Diego Lovison
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

forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-04 Thread Diego Lovison
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

Re: forget DTO, Dozer and Gilead use @GwtTransient [tested on GWT 2.0.X]

2010-02-04 Thread Diego Lovison
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

Re: GWT Road Map

2010-01-19 Thread Diego Lovison
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

Re: how to call EJB from GWT

2010-01-12 Thread Diego Lovison
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

eclipse plugin - dont show its debuggin or running

2010-01-12 Thread Diego Lovison
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

Re: how to call EJB from GWT

2010-01-12 Thread Diego Lovison
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

JavaScriptInjector like StyleInjector

2009-12-11 Thread Diego Lovison
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

AbstractRemoteServiceServlet and methods synchronized

2009-10-27 Thread Diego Lovison
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

Re: AbstractRemoteServiceServlet and methods synchronized

2009-10-27 Thread Diego Lovison
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

Google Eclipse Plugin - doubt about Web Application

2009-10-14 Thread Diego Lovison
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

Re: com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:

2009-09-17 Thread Diego Lovison
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.

Re: Browser Problem after deploying

2009-09-16 Thread Diego Lovison
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

Re: problem with mozilla

2009-09-16 Thread Diego Lovison
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          

Re: GWT and Cross Site Scripting - Isn't the X-GWT-Permutation header enough?

2009-09-16 Thread Diego Lovison
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

Re: inherit modul for hibernate

2009-09-15 Thread Diego Lovison
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

Re: Deployment with Tomcat without nasty 404 Not Found error?

2009-09-14 Thread Diego Lovison
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

possible DatePicker issue with October

2009-09-14 Thread Diego Lovison
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...

Re: possible DatePicker issue with October

2009-09-14 Thread Diego Lovison
? 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