Re: RequestFactory + Hibernate + MySql + OrphanRemoval = not working.

2011-03-09 Thread Juan Pablo Gardella
Where are you this? Post the code Juan 2011/3/9 Vasily vasiliy.ru...@gmail.com Hi All, have simple case: @RooJavaBean @RooToString @RooEntity public class Contact { @OneToMany(cascade=CascadeType.ALL, fetch = FetchType.EAGER, mappedBy=contact, orphanRemoval=true) private ListPhone

Re: RequestFactory + Hibernate + MySql + OrphanRemoval = not working.

2011-03-09 Thread Juan Pablo Gardella
Sorry my english... Where are you do the operation? Paste the code Juan 2011/3/9 Juan Pablo Gardella gardellajuanpa...@gmail.com Where are you this? Post the code Juan 2011/3/9 Vasily vasiliy.ru...@gmail.com Hi All, have simple case: @RooJavaBean @RooToString @RooEntity public class

Re: RequestFactory + Hibernate + MySql + OrphanRemoval = not working.

2011-03-09 Thread Juan Pablo Gardella
do all it's magic by mapping UI dat to object... Again, all things stop working when I'm adding 'orphanRemoval=true' to Contact annotation... Without that, I can add, edit phones in the list and it works perfectly... On Mar 9, 7:58 pm, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote

Re: Maximum call stack size exceeded on chrome and too much recursion on FF (gwt 2.2 web mode)

2011-03-08 Thread Juan Pablo Gardella
I think this is a bug. 2011/3/8 tekbe tim_ehl...@gmx.de After some JavaScript debugging, we found the error. We are using a custom formatter for GWT 2.2 logging which extends the abstract java.util.logging.Formatter. This works as long we don't call the method formatMessage(LogRecord

Re: I can't integrate Spring with GWT! What can I do?

2011-03-08 Thread Juan Pablo Gardella
If you have internet in your machine where you work, verify if you behind a proxy. The set the proxy in your IDE. If not you can unzip the schema and paste in your project. Or try with: http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd; Juan

Re: Where to place external libs?

2011-03-08 Thread Juan Pablo Gardella
Post your pom.xml file if you want help with this Juan 2011/3/8 Andreas Wederbrand andr...@wederbrand.se Hi! I'm running 2.2 on ubuntu and I'm including external libraries (log4j) within my maven2 file but they don't get copied anywhere and when running devMode I get noSuchClassException.

Re: I can't integrate Spring with GWT! What can I do?

2011-03-08 Thread Juan Pablo Gardella
, if I use a Tomcat server, the app runs fine. On 8 mar, 15:02, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: If you have internet in your machine where you work, verify if you behind a proxy. The set the proxy in your IDE. If not you can unzip the schema and paste in your project

Re: the response could not be deserialized - HELP

2011-03-08 Thread Juan Pablo Gardella
Try debugging this method: public static String invokeAndEncodeResponse(Object target, Method serviceMethod, Object[] args, In RPC class. Juan 2011/3/5 GrahamH gharold...@gmail.com Hey all, I'm trying to add a SystemAccount class to my project by using the emailAddress of the

Re: GWT + Spring Security

2011-03-08 Thread Juan Pablo Gardella
Read ProWeb 2.0 Application Development with GWT. There are some guidelines. Juan 2011/3/8 j.singh.developer j.singh.develo...@gmail.com This may be a repeatable question. I am looking for a resource (example would be nice) that takes into consideration all security aspects of GWT and

Re: Database jdbc

2011-03-07 Thread Juan Pablo Gardella
/6/docs/technotes/guides/jdbc/ -Ben On Mar 3, 3:14 pm, Mohammed Magdimoh_ma...@acm.org wrote: yes in Java thanks magdi On Thu, Mar 3, 2011 at 6:06 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Is Java. You must implement layers to connect with a database. Juan 2011

Re: Best practices for security with GWT RPC

2011-03-07 Thread Juan Pablo Gardella
+1 2011/3/5 canis.majoriss canis.major...@hotmail.com Hi All, We are planning to use GWT RPC as a frontend for a rather large project in terms of number of different user profiles, number of different logical tabs/windows where user can access only those functionalities for which he has

Re: Can anyone share code that adds keyboard navigation to the popup calendar picker?

2011-03-06 Thread Juan Pablo Gardella
+1 2011/3/4 JosephLi joseph.l...@gmail.com +1 on this. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Database jdbc

2011-03-05 Thread Juan Pablo Gardella
:14 pm, Mohammed Magdimoh_ma...@acm.org wrote: yes in Java thanks magdi On Thu, Mar 3, 2011 at 6:06 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Is Java. You must implement layers to connect with a database. Juan 2011/3/3 Mohammed Magdiacm.ma...@gmail.com hi i waht

Re: GWT external jars on client side

2011-03-05 Thread Juan Pablo Gardella
You can if you make a module and for the jars (include the sources) contains classes that can be compiled by the gwt compiler 2011/3/4 azuniga alessandro.zun...@gmail.com Is it possible to use external jars on the client side? For example I'm trying to create a project that call BIRT jars on

Re: Can't install google eclipse plugin on fresh Helios install.

2011-03-03 Thread Juan Pablo Gardella
The most secure form to install the plugin is: 1) First uninstall the plugins: * GWTDesigner * GWTDesignerCore * GWT Eclipse plugin * WindowBuilder Common UI Support * WindowBuilder Common Components * WindowBuilder XML Common Components * Google Web Toolkit 2.1.1 SDK Bundle for Eclipse 3.6 2)

Re: Database jdbc

2011-03-03 Thread Juan Pablo Gardella
Is Java. You must implement layers to connect with a database. Juan 2011/3/3 Mohammed Magdi acm.ma...@gmail.com hi i waht tow know how to connect database into GWT project thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Deploying a GWT application from eclipse

2011-03-01 Thread Juan Pablo Gardella
Yes, in two steps. (if you have GWT plugin for eclipse) 1) Compile with GWT compile. Right button on the project-google-GWT Compile. This action generate the war folder. 2) Copy this content in WebContent folder. Then deploy it on tomcat. Juan 2011/3/1 Erel Segal erel...@gmail.com Hello,

Re: Error while running gwt on tomcat

2011-03-01 Thread Juan Pablo Gardella
It seems that you have a class that is not Serializable. Juan 2011/3/1 hari hari@gmail.com Hi, My gwt project works fine in hosted mode. But when I deploy the war in tomcat, I am getting the following exception stack trace. Please help me out in tracing the cause.. SEVERE: Exception

Re: How to force Spring to intercept RequestFactoryServlet

2011-03-01 Thread Juan Pablo Gardella
+1 for a sample 2011/3/1 mxneo matrix.has@gmail.com Hi, Did anyone succeed on the Spring+RequestFactory integration? 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

Re: Async lazy load on scrolling (pagingscrolltable / celltable)

2011-03-01 Thread Juan Pablo Gardella
+1 2011/3/1 ciosbel andrew...@gmail.com Hi, I'm developing a gwt app in which I used (among other things) a table to present my items. The table is a PagingScrollTable from the gwt-incubator. So far I had no problems using it (and it helped me a lot...), but now I'd like to implement

Re: java.lang.NoClassDefFoundError: javax/validation/ValidationException

2011-03-01 Thread Juan Pablo Gardella
Add jsr303 lib in your classpath Juan 2011/3/1 Artem Nikulchenko ar...@toidev.com Hi, I'm trying to use GWT application in GAE. I tried to use RequestFactory (framework introduced in GWT 2.1) to make client-server communication. But I'm constantly getting an error:

Re: GWT Spring Hibernate MySql Maven

2011-02-28 Thread Juan Pablo Gardella
I use gwt-dispatch. Look at: http://pgt.de/2009/09/16/use-spring-with-gwt-dispatch/ http://pgt.de/2009/12/09/sample-gwt-dispath-project/ For how integrate. Juan 2011/2/27 Bahador biglar...@gmail.com Hi all, I am new to GWT, Spring, Hibernate, MySql, and Maven. I googled a lot for finding

Re: GWT with JPA

2011-02-28 Thread Juan Pablo Gardella
I think you need the jpa sources in your classpath. Juan 2011/2/28 FritzTheCat wg27_2...@hotmail.com Hi people, i try to use gwt 2.2 with JPA. For this I use the @Entity annotation in my shared folder and i get the error message: The import javax.persistence cannot be resolved, Entity

Re: GWT with JPA

2011-02-28 Thread Juan Pablo Gardella
? Thanks for your help On 28 Feb., 16:18, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I think you need the jpa sources in your classpath. Juan 2011/2/28 FritzTheCat wg27_2...@hotmail.com Hi people, i try to use gwt 2.2 with JPA. For this I use the @Entity annotation

Re: GWT with JPA

2011-02-28 Thread Juan Pablo Gardella
file?), because at the server I already have it included, otherwise I could not compile Thanks for your help On 28 Feb., 16:41, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I don't do anything in my .gwt.xml for compiling my project. Are you compile with gwt-maven-plugin

Re: GWT with JPA

2011-02-28 Thread Juan Pablo Gardella
DAO but I am not sure how, otherwise I have to do it with it many thanks for your help On 28 Feb., 17:10, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: but I don't have to use maven to solve my @Entity annotation problem? No. How would you include

Re: GWT with JPA

2011-02-28 Thread Juan Pablo Gardella
than the standard from Java? But it does not matter, it works well, many thanks On 28 Feb., 18:34, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I am using Eclipse and I have the javax.persistence in my class-path, otherwise I could not compile? Yes. I use the @Entity

Re: GWT project Class in other package can not be found in source packages ¿?

2011-02-28 Thread Juan Pablo Gardella
You can't have a server class in a client class: You have import org.ifoc.form.server.DB_Test; in the class org.ifoc.form.client.FormViewer Gardella Juan 2011/2/28 jmsanchezbz jmsanche...@gmail.com /*ERROR in FormViewer.java*/DB_Test rsTest = new DB_Test(); /*-

Re: RequestFactory entity values updated before merge called

2011-02-25 Thread Juan Pablo Gardella
JPA provides two modes of flushing query objects namely AUTO and COMMIT (which are defined in FlushModeType Enumeration). If the AUTO mode is set on the Query object which is the default one, then any changes made to entity objects will be reflected the very next time when a select query is made.

Re: Spring GWT Integration

2011-02-25 Thread Juan Pablo Gardella
I integrate Spring and gwt-dispatch using this approach: http://pgt.de/2009/09/16/use-spring-with-gwt-dispatch/ And here is the sample http://pgt.de/2009/12/09/sample-gwt-dispath-project/ Juan 2011/2/25 Ezequiel Palumbo ehpalu...@gmail.com On 24 feb, 16:48, lascarayf lascar...@gmail.com

Re: Managing session timeouts in GWT

2011-02-24 Thread Juan Pablo Gardella
If you wrap all communication with the server (Command pattern), this is an appropriate place to put some logic that deals with user login problems, such as server-side authentication timeouts. Juan 2011/2/23 H Mahesh softm...@gmail.com My app is currently built around the Spring framework and

Re: standard.css

2011-02-24 Thread Juan Pablo Gardella
...@gmail.com what is this cssServlet.css ? On Thu, Feb 24, 2011 at 1:22 AM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: In your html: /styles/cssServlet.css In web.xml: servlet-mapping servlet-namecssServlet/servlet-name url-pattern/styles/cssServlet.css/url-pattern

Re: standard.css

2011-02-24 Thread Juan Pablo Gardella
takes more time to load on the client than copy paste the 3 css into one and download that one. Am i right ? On Thu, Feb 24, 2011 at 5:21 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: For example you have 3 .css files: /styles/ +style1.css +style2.css +style3.css And you

Re: RequestFactory, JPA and sub-entity creation

2011-02-24 Thread Juan Pablo Gardella
Check if EntityManager.createNamedQuery associated with @SecurityRequired don't flush the entityManager and cause problems. Juan 2011/2/24 Tim tim.muri...@gmail.com On Feb 24, 11:18 am, David Chandler drfibona...@google.com wrote: Hi Tim, It seems like you would want to do the following

Re: RequestFactory, JPA and sub-entity creation

2011-02-24 Thread Juan Pablo Gardella
Yes, see http://www.objectdb.com/api/java/jpa/Query/setFlushMode_FlushModeType 2011/2/24 David Chandler drfibona...@google.com I see. I'm not a JPA expert, but isn't there a way to disable the auto-flush capability like queryObject.setFlushMode(FlushModeType.COMMIT); /dmc On Thu, Feb 24,

Re: Spring GWT Integration

2011-02-24 Thread Juan Pablo Gardella
Take it easy. You can use GWT without Spring. Post in the Spring forum 2011/2/24 lascarayf lascar...@gmail.com Why GWT team do not make a OFFICIAL GWT SPRING INTEGRATION DOCUMENT?? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: is it possible to use an SLF4J adapter in GWT to wrap java.util.logging ?

2011-02-24 Thread Juan Pablo Gardella
+1 2011/2/24 zixzigma zixzi...@gmail.com is it possible to use an SL4J adapter in GWT to wrap java.util.logging ? I would like to be able to use logging.properties file to define formatting, which I believe is not possible with java.util.logging. Thank You -- You received this message

Re: standard.css

2011-02-23 Thread Juan Pablo Gardella
Hi, Try that (thanks Gabriel Nossier): public class CssServlet extends HttpServlet { private static final long serialVersionUID = 2545846261709821197L; private static final String path1 = ./; private static final String path2 = webapps/styles/; /* * (non-Javadoc) * * @see *

Re: standard.css

2011-02-23 Thread Juan Pablo Gardella
:14 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Hi, Try that (thanks Gabriel Nossier): public class CssServlet extends HttpServlet { private static final long serialVersionUID = 2545846261709821197L; private static final String path1 = ./; private static final String path2

<    5   6   7   8   9   10