Re: Upgrade to 2.1.0m3 failed.

2010-10-05 Thread olivier nouguier
Be sure to delete all generated files (hosted.htmt *.js etc ...). On Tue, Oct 5, 2010 at 4:00 PM, skippy al.leh...@fisglobal.com wrote: I tried upgrading to version 2.1.0m3 to pick up some fixes related to blank/white pages. After the upgrade on our Solaris servers, all my RPC calls are

[gwt-contrib] Serialization white list generation question.

2010-10-03 Thread olivier nouguier
Hi all, Is there a way to build the gwt.rpc files at server start time (dev mode of course). AFAIK the file are generated during the first service call, this is no longer working with WTP 3.2.2. One working solution consist in a custom serialization provider which is waiting until the file is

Re: GWT 2.0 + maven

2010-09-27 Thread olivier nouguier
hi, Insure that GWT (GEP) container lib is before Maven dependency container. HIH On Mon, Sep 27, 2010 at 11:12 AM, aces2805 ace...@gmail.com wrote: Hi Guys, Need help on configuring maven and GWT 2.0 no idea on how to handle Invalid GWT home, just a newbie in it. Thanks -- You

Re: de-mavenize a project

2010-09-18 Thread olivier nouguier
On Sat, Sep 18, 2010 at 12:10 AM, John nesre...@gmail.com wrote: On Fri, Sep 17, 2010 at 11:06 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Or learn maven ;) There are s many interesting things to learn, rails, groovy, python, and on and on. It's hard to justify taking time

Re: de-mavenize a project

2010-09-17 Thread olivier nouguier
Or learn maven ;) More seriously, you can easy de mavenize aproject, but maven will help you: - mvn dependency:copy-dependencies will copy all dependencies in a folder target/dependency Then you'll just have to add those lib in your build classpath. - mvn eclipse:clean

[gwt-contrib] GEP open source status

2010-09-16 Thread olivier nouguier
Hi all, First of all thanks you all Google Inc friend for all GWT ecosystem. I'm studying a plugin to let: - maven via m2eclipse - GWT / GAE via m2eclipse-gdt ( our plugin ). - WTP via m2eclipse-wtp coexist smoothly. I have 2 simple question: - do you plan to support maven

Re: Passing values between 2 screens (popups)

2010-07-31 Thread Olivier NOUGUIER
Hi, If your modules live in two different windows, and if you don't want to communicate via the server, the client side communication should use a top or opener frame to communicate. Cheers Imagination is more important than knowledge.: Albert Einstein Le 29 juil. 2010 à 03:58, Reinaldo

Re: UTF-8 Encoding Problem

2010-07-20 Thread olivier nouguier
AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received this message because you are subscribed to the Google

Re: Serialization policy is driving me crazy

2010-07-20 Thread olivier nouguier
Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name

Re: Serialization policy is driving me crazy

2010-07-20 Thread olivier nouguier
extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM

Re: Serialization policy is driving me crazy

2010-07-20 Thread olivier nouguier
= results; } } This is for the result. On Tue, Jul 20, 2010 at 2:56 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau

Re: How to find correctly the client's locale?

2010-07-19 Thread olivier nouguier
Hi, Don't much about recent GWT version. But I the beginning of GWT I18N a simple solution was to use the I18N resolution ... Simply provide in a key locale( ex: locale=en ) with the correct value in each bundle, then just bind this key like another i18n label and you're done ... HIH On

Re: orcades spring gwt sample, Startup Warnings

2010-07-09 Thread Olivier NOUGUIER
Hi, Look like this sample application is outdated because the servlet tag is deprecated in gwt = 1.5 Remove those décoration from the *.gwt.XML files Envoyé de mon iPad Le 8 juil. 2010 à 20:59, mfreitag freit...@gmail.com a écrit : Hi @all, now i try to start orcades-spring-gwt-sample

Re: how to use GIN ?

2010-06-27 Thread olivier nouguier
hi Google to gwt-presenter HIH On Sun, Jun 27, 2010 at 12:51 PM, yves yves.ko...@gmail.com wrote: Hi Everybody, I've read the the official tutorial at http://code.google.com/p/google-gin/wiki/GinTutorial, but I still doesn't understand how to use GIN (as it is mainly based on Guice that

Re: Pass a method as parameter in GWT

2010-06-23 Thread olivier nouguier
keep cool ;) You can pass a Runnable (Command) as parameter ... like a clikHandler On Wed, Jun 23, 2010 at 4:29 PM, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Plz, someone? On Jun 23, 10:45 am, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Hi. Im building a logic

Re: GWT 2.0 - Spring Security

2010-06-22 Thread olivier nouguier
Helo Tom, Please take a look at http://code.google.com/p/orcades-gwt-spring/ for MVP integration http://code.google.com/p/orcades-gwt-spring/and http://code.google.com/p/net-orcades-spring/ http://code.google.com/p/net-orcades-spring/You will find some info. On Mon, Jun 21, 2010 at 8:07 PM,

Re: HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception

2010-06-08 Thread olivier nouguier
Hi, the getThreadLocalRequest() as it sound returns the request stored *during* the request/response in a ThreadLocal. So if it return null it's because it is not the same thread ;) On Tue, Jun 8, 2010 at 11:05 AM, KenJi_getpowered mikael.k...@gmail.comwrote: Hello every body, I can't

Re: problem with using EMF model in GWT

2010-05-07 Thread olivier nouguier
FYI: http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Google_Web_Toolkit_.28GWT.29 On Thu, May 6, 2010 at 7:24 PM, kidsos roccab...@googlemail.com wrote: It doesn't matter. When I set source path='shared' / in the module file I still get more No source code is available for

Re: Can anyone provide a step by step maven + gwt mvp tutorial?

2010-05-06 Thread olivier nouguier
Hi, There is there a example of what your are looking for (I guess ;) http://code.google.com/p/orcades-gwt-spring/ But there is also a spring spring security integration. HIH http://code.google.com/p/orcades-gwt-spring/ On Thu, May 6, 2010 at 12:45 AM, crojay78 croja...@googlemail.com wrote:

Re: GWT and JAAS

2010-04-09 Thread olivier nouguier
web.xml}); This is the standard way of knowing the role of your JAAS logged in user. On 8 avr, 10:22, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, AFAIK JAAS doesn't expose anything through http so you'll need some container configuration. You should take a look at spring security

Re: GWT and JAAS

2010-04-08 Thread olivier nouguier
Hi, AFAIK JAAS doesn't expose anything through http so you'll need some container configuration. You should take a look at spring security, it exposes security service (even jaas http://static.springsource.org/spring-security/site/docs/3.0.x/reference/jaas.html ). Then you should easy found some

Re: Session management in GWT

2010-03-30 Thread olivier nouguier
On Mon, Mar 29, 2010 at 2:39 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, Do you mean I GWT (ui) code when talk in admindashboard.jsp. If true: provide a service (GWT-RPC/json) to retrieve information from. else: not a GWT question. On Mon, Mar 29, 2010 at 6:20 AM, Vik vik

Re: Session management in GWT

2010-03-29 Thread olivier nouguier
Hi, Do you mean I GWT (ui) code when talk in admindashboard.jsp. If true: provide a service (GWT-RPC/json) to retrieve information from. else: not a GWT question. On Mon, Mar 29, 2010 at 6:20 AM, Vik vik@gmail.com wrote: Hie I have a index.html page with a login module (build in gwt)

Re: GWT and Spring

2010-03-27 Thread olivier nouguier
Server side or Client side ? Client side you should take a look at GIN. Server side, many solution exist IMHO I prefer solution without xml configuration (annotation detection based). It very easy an instructive to build your own solution. You can take a look at my (hobby) project

Re: GWT RPC Thread safe

2010-03-25 Thread olivier nouguier
IMHO GWT doesn't change anything On Thu, Mar 25, 2010 at 11:33 AM, Muhammad Saifullah msaif.muham...@gmail.com wrote: simply use the keyword synchronized in your servlet doService() or doGet() or doPost() method. thats it.Then concurrent threads cant enter at the same time. one after

Re: GWT and Acegi

2010-03-20 Thread olivier nouguier
Hi, Called now Spring security now. The simplest integration is to secure the hosting page (before GWT). You could look http://code.google.com/p/orcades-gwt-spring/ to see how to integrate spring security in a GWT / MVP application and be able to secure at GWT-RPC level. HIH On Fri, Mar 19,

Re: GWT 2.0.3 + Maven2 + Eclipse

2010-03-17 Thread olivier nouguier
Hi all, Could you try the procedure in http://code.google.com/p/orcades-gwt-spring/ Wiki Install Run sample. http://code.google.com/p/orcades-gwt-spring/ But I'm using GWT + Maven + WTP + Spring HIH On Wed, Mar 17, 2010 at 4:06 PM, Bert roexb...@gmail.com wrote: I'm also very

Re: noserver option, maven, and real-time java code compilation

2010-03-11 Thread olivier nouguier
Rather than using sym link you could use the wtp manifest to deploy the GWT stuff. wb-resource deploy-path=/search source-path=war/search/ Then then dev mode will work (refresh) ... as long as you provide the magic url parameter :) On Thu, Mar 11, 2010 at 4:08 PM, romant roman.te...@gmail.com

Re: Servlet Mapping Noob Question

2010-03-10 Thread olivier nouguier
java.lang.NoClassDefFoundError: com/co/ SSISSERVER/users/UserServiceImpl On Wed, Mar 10, 2010 at 5:34 PM, Ed ej19...@gmail.com wrote: Thanks, I was using that as an example to show that the service is answering. It is doing what is expected because it is a rpc service. Any other ideas,

Re: Google Plugin for Eclipse 1.3 Preview is now available

2010-03-09 Thread olivier nouguier
Hi Keith On Mon, Mar 8, 2010 at 10:06 PM, Keith Platfoot kplatf...@google.comwrote: Hi Olivier, No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + wtp). * Same classloader (than GEP 1.2) issues with spring namespace handler in dev mode. I'm not familiar with

Re: Google Plugin for Eclipse 1.3 Preview is now available

2010-03-05 Thread olivier nouguier
hi keith, And thx you all for the new upcoming release ! No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + wtp). * Same classloader (than GEP 1.2) issues with spring namespace handler in dev mode. * I cannot figure out how to work with wtp (noserver mode). For the

Re: using a js library from a native method

2010-03-01 Thread olivier nouguier
Did you try: $wnd.functionFromAJsLibrary(...) On Mon, Mar 1, 2010 at 1:40 PM, nou inghedebr...@gmail.com wrote: hello let's say I have a native method like this public static native void showBody() /*-{ var el = $doc.getElementById(whole); functionFromAJsLibrary(el);

Re: Apache2 / Tomcat 6 / GWT 2.0 / Eclipse Questions

2010-02-18 Thread olivier nouguier
On Thu, Feb 18, 2010 at 3:10 PM, Eric er...@tmstechnologies.com wrote: Thanks for your reply. Where would you hard code the GWT-RPC url? When *not* using the annotation you can specify by code the remote end point. I have verified that there isnt a leading / in the GreetingService.java

Re: Apache2 / Tomcat 6 / GWT 2.0 / Eclipse Questions

2010-02-18 Thread olivier nouguier
context info: Context displayName=test.domain1.org docBase=/var/lib/tomcat6/domain1/ path=/ antiResourceLocking=false privileged=true / Thank you again for your help. On Feb 18, 9:48 am, olivier nouguier olivier.nougu...@gmail.com wrote: On Thu, Feb 18, 2010 at 3:10 PM, Eric er

Re: GWT Integration with Acegi or other libraries

2010-02-16 Thread olivier nouguier
Hi, You could take a look at: http://code.google.com/p/orcades-gwt-spring/ for a MVP approach or http://code.google.com/p/net-orcades-spring/ for a more raw and deprecaded (!) approach. HIH On Tue, Feb 16, 2010 at 5:06 AM, Shyam Visamsetty shyamsunder...@gmail.comwrote: Hi, I would like

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread olivier nouguier
Hi, I've run into many problem with embeded jetty and Spring (even more under maven ). Then for now I don't use jetty anymore, and with WTP GWT application run perfertly well with tomcat. The next version of GEP should be more easy to use. HIH On Mon, Feb 15, 2010 at 7:51 PM, Paul S

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread olivier nouguier
to share. thx On Tue, Feb 16, 2010 at 9:48 AM, Paul Grenyer paul.gren...@gmail.comwrote: Hi On Tue, Feb 16, 2010 at 8:44 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, I've run into many problem with embeded jetty and Spring (even more under maven ). Then for now I don't

Re: GWT 2 using Eclipse with plugin and Spring

2010-02-16 Thread olivier nouguier
, Feb 16, 2010 at 10:36 AM, Paul Grenyer paul.gren...@gmail.comwrote: Hi On Tue, Feb 16, 2010 at 9:07 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi Paul G, The issue a was making reference is: http://groups.google.com/group/google-web-toolkit/browse_thread/thread

Re: Maven users survey

2010-02-08 Thread olivier nouguier
code during a debugging session, you can refresh to get the updates immediately, and of course do the same for server-side code and static resources changes as well (if your server adapter supports it). Keith On Fri, Feb 5, 2010 at 3:17 AM, olivier nouguier olivier.nougu...@gmail.com wrote

Re: Maven users survey

2010-02-05 Thread olivier nouguier
Thx a lot for all this, it will clearly simplify GWT with Maven, but did you plan to add some WTP support in the next GEP release ? On Thu, Feb 4, 2010 at 8:33 PM, Keith Platfoot kplatf...@google.com wrote: Yes, I've been meaning to reply back to this thread. Thanks for reminding me, Brian!

Re: GWT 2.0.1 out but Eclipse says There is nothing to update

2010-02-05 Thread olivier nouguier
Yep it is just because it's a SDK Update and *not* a plugin update... On Fri, Feb 5, 2010 at 2:22 AM, Sky myonceinalifet...@gmail.com wrote: Go to Help - Install new software... then choose Google Plugin - http://dl.google.com/eclipse/plugin/3.5; from the drop down or else add it if it isn't

Re: Gwt server side and maven

2010-02-04 Thread olivier nouguier
Hi Take a look at http://code.google.com/p/orcades-gwt-spring/ http://code.google.com/p/orcades-gwt-spring/ I use maven, wtp and GWT. But AFAIK, the springframework jetty embed server doesn't fit well and I cannot use jettty embed server. On Wed, Feb 3, 2010 at 9:35 AM, joe7935

Re: Local events dispatch/handling. Don't wanna go through the EventBus...

2010-01-29 Thread olivier nouguier
Hi, IMHO the EventBus should be used as it. Nevertheless (just suggestion), you could try to use another EventBus (named and signeton) or perhaps I don't know it it a viable sulution with GIN define a new Scope (ui hiearchical scope) to put this bus into. HIH On Fri, Jan 29, 2010 at 8:46 AM,

Re: Maven users survey

2010-01-28 Thread olivier nouguier
Hi all, from the current version IMHO there are 2 issues. 1- layout issue (as you mention) src/main/webapp or equivalent must be input only. 2- classloader issues when using spring namespace handlers with DevMode. A working workaround is to work with WTP (without jetty server) and let WTP deploy

Re: Anything better than the current gwt-dispatch...

2010-01-24 Thread olivier nouguier
beans which is managed via a .xml file or annotations. I'm suggesting something that doesn't even need that ... the caveat is that my soln uses a name-design pattern (which might not be a caveat) Cheers, Henry On Jan 23, 2:16 am, olivier nouguier olivier.nougu...@gmail.com wrote: Hi

Re: Anything better than the current gwt-dispatch...

2010-01-23 Thread olivier nouguier
Hi It's quite easy to implement a GWT dispatcher. At least with spring, then use autoscan feature: http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler HIH On Fri, Jan 22, 2010 at 7:13 PM, Henry q8e...@gmail.com wrote: So far, I found there are a few ways to redirect

Re: On secure logins

2010-01-21 Thread olivier nouguier
Hi all, I've implemented some integration of Spring Security and GWT. It is exactly the process described by Andrey: * http://code.google.com/p/net-orcades-spring/ is using pattern (URL filtering). * http://code.google.com/p/orcades-gwt-spring/ is using MVP pattern with secured at method level.

Re: Maven users survey

2010-01-21 Thread olivier nouguier
As a complement I like to say that when using noserver mode - using a classic WTP deployment approach for server side component - GEP in this case manage only the GWT (client) code In this case, it works perfectly as you expected. It is just the embedded jetty server classpath that doesn't

Re: App Runs in IE - Nothing Happens in Firefox (Link Included)

2010-01-21 Thread olivier nouguier
compile and deploy with pretty instead of OBS :) On Thu, Jan 21, 2010 at 4:35 PM, Russ r...@epcinternet.com wrote: Here is a link to my App: http://www.epcinternet.com:8080/GroupChart/GroupChart.html It runs just fine in IE, but I get nothing in Firefox. The console error I get in Firebug

Re: GWT + Maven + JBOSS Issue

2010-01-18 Thread olivier nouguier
How to you run your server ? WTP Launch ? On Mon, Jan 18, 2010 at 10:45 AM, Alexander the.malk...@gmail.com wrote: I meant there is no need to use them in production (e.g. in real server) 2010/1/18 cupakob sira...@gmail.com i think, the parameter is needed for both - Host and Dev Mode.

Re: Maven users survey

2010-01-17 Thread olivier nouguier
Hi It's a great new - Create a new project? Just a maven process, I've never used the perhaps-existing maven-gwt-plugin archetype because I use very custom - Perform GWT compiles? With maven-gwt-plugin during packaging (clean install). Some time with GEP when I want to test

Re: GWT 2.0 maven plugin and eclipse plugin

2010-01-11 Thread olivier nouguier
With a Non Maven GWT GEP project you should notice that: - All GWT nature must be present ! - GWT Library (eclipse) must be on classpath Hosted mode: Right Click on *.gwt.xml Run As web app application No Server Mode: WTP metadata should be provided. On Mon, Jan 11, 2010 at 2:53 PM,

Re: GWT 2.0 maven plugin and eclipse plugin

2010-01-11 Thread olivier nouguier
Sorry I meant dev mode ... On Mon, Jan 11, 2010 at 3:09 PM, anis.chaaba anis.cha...@gmail.com wrote: That's what i've done, GWT Library are on classpath and all GWT nature are present. What i want to do is to run Dev mode not Hosted mode :S On 11 jan, 14:58, olivier nouguier olivier.nougu

Re: using shindig (or any other war) in development mode

2010-01-11 Thread olivier nouguier
Yes but IMHO you should not use the embed jetty server and use the old-named noserver mode. By doing this, you let your legacy (WTP for me) server side environment managed the server side code. And GWT Dev mode is only driving the GWT code. On Fri, Jan 8, 2010 at 11:06 PM, David Self

Re: How to cache DTD in Eclipse for GWT 2.0

2010-01-08 Thread olivier nouguier
In eclipses: Preferences XML Catalog In User part you can add your custom catalog. On Fri, Jan 8, 2010 at 4:10 PM, Sagar sagar.i...@gmail.com wrote: Hi I just installed fresh copy of eclipse and gwt plugin on it. but now the problem is each time i am doing something in ui.xml file, eclipse

Re: pls help !!!!!!!!!!

2010-01-06 Thread olivier nouguier
You should use firebug to learn more ! On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com wrote: i have a presentation tomorrow and every thing works great i am using gwt 2.0 but when i compile and run from the compiled version all of the http request does not work -- You

Re: pls help !!!!!!!!!!

2010-01-06 Thread olivier nouguier
i use it in compile nothing works On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com wrote: You should use firebug to learn more ! On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com wrote: i have a presentation tomorrow and every thing works great i am

Re: Step-by-Step tutorial how to use external Tomcat with GWT 2.0

2010-01-05 Thread olivier nouguier
Hi, 1: You'll just need to deploy your server side application. 2: Start the external server. 3: Start the GWT Server (GWT application with eclipse plugin) *without* the embded server. 4: browse to your html/jsp page hosting your gwt application with the extra parameter:

Re: Step-by-Step tutorial how to use external Tomcat with GWT 2.0

2010-01-05 Thread olivier nouguier
, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, 1: You'll just need to deploy your server side application. 2: Start the external server. 3: Start the GWT Server (GWT application with eclipse plugin) *without* the embded server. 4: browse to your html/jsp page hosting your gwt

Re: gwt 2.0 problem: maven-googlewebtoolkit2-plugin compiles cache.js files and GEP compiler cache.html

2010-01-05 Thread olivier nouguier
This works perfectly Build: groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version1.2/version On Tue, Jan 5, 2010 at 2:02 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: With fire bug i can see that there is generated style G3vhxeuA, but it is missing. -- You

Re: GWT 2/Eclipse Project References

2009-12-29 Thread olivier nouguier
Hi The java *source* folder must be added to the classpath. HIH On Tue, Dec 29, 2009 at 1:09 PM, Matt matt.seab...@gmail.com wrote: I have the situation where the POJOs which are used within the EntryPoint (i.e. compiled to Javascript) are located in another Eclipse project. If I configure

Re: how to associate Onclick event with a static hyperlink in the HTML page

2009-12-28 Thread olivier nouguier
hi, Of course it can be achieved :) Please look at http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html Part: Creating JavaScript libraries with GWT HIH A l'an que ven On Mon, Dec 28, 2009 at 2:34 PM, newUser diwakar...@gmail.com wrote: Hi, I am new to

Re: Developement mode is not loading spring context

2009-12-24 Thread olivier nouguier
Yep, same conclusion under maven project ... Being tired with this I'm finally using the noserver configuration (running tomcat/wtp) that works perfectly well. On Thu, Dec 24, 2009 at 2:49 PM, fuzebest mgordie...@gmail.com wrote: Same here with GWT 2.0 final. I think the problem is in the

Re: gwt-voices

2009-12-21 Thread olivier nouguier
hi AFAIK you can't access local file :) deploy your audio file and use http:// with repect to SOP (Same Origin Policy) HIH On Mon, Dec 21, 2009 at 8:31 PM, Alexei Telles alexeitel...@gmail.comwrote: Hello guys, I am trying to start using the gwt-voices in my GWT project. To start I tried the

Re: GWT + Spring Security

2009-12-11 Thread olivier nouguier
Hi jonathan, Are you using maven ? If the answer is yes: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 On Thu, Dec 10, 2009 at 8:40 PM,

Re: How can I share classes (code) between 2 projects

2009-11-30 Thread olivier nouguier
You need to define a GWT Module. - Module: build a jar with .class and .java inside. + gwt.xml file - Application 1 2: add the jar to classpath import the module. On Mon, Nov 30, 2009 at 2:32 PM, tedpottel tedpot...@gmail.com wrote: Hi, I would like to make some genrick classes that I

Re: Should we use maven or not for a project?

2009-11-27 Thread olivier nouguier
Hi, Maven and GWT can work nicely together but need some trick with the hosted mode. It not easy but IMHO it worth the effort. If you're new to maven and new to GWT it will be hard to understand the IDE strange behaviour (classloader etc etc ). You should first take the time to learn those to

Re: Question about RPC calls

2009-11-17 Thread olivier nouguier
Hi, Basically: rpc_funct_A(){ onSuccess(){ rpc_funct_B(){ onSuccess(){ // some code to execute only when both functions get to an end. } } } } A look at MVP + Event Driven should give you some nice design/pattern. On Tue, Nov 17, 2009 at 3:04 PM, Zenon zeno...@gmail.com wrote:

Re: GWT eclipse plugin and moving war folder

2009-11-12 Thread olivier nouguier
Hi norman, Did you try the other solution which is to change the mavens outputs ? - outputDirectory to war/WEB-INF/classes (build section) - warSourceDirectory to war (maven-war-plugin) On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org wrote: Hi all, I'm using maven2

Re: GWT Maven2 (1.7.1) Possible?

2009-10-26 Thread olivier nouguier
Hi, Reponses intertwined. On Mon, Oct 26, 2009 at 6:46 AM, J.V. jvsr...@gmail.com wrote: I'm trying to get a first app up and running with GWT. Welcome :) What I would like to do is download the jars and compile with maven2. Good luck ;) Has anyone been able to do this successfully?

Re: GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing

2009-10-06 Thread olivier nouguier
Or simply copy gwt-dev.jar to gwt-dev-windows.jar in gwt install dir. On Tue, Oct 6, 2009 at 12:14 PM, hezjing hezj...@gmail.com wrote: Hi Sebastien, Are you suggesting to update the existing classpath to GWT 2.0 classpath manually? I'm not sure if Google plugin will solve this problem in

Re: jGrowl from GWT

2009-10-05 Thread olivier nouguier
Hi don't know much about jGrowl But JNSI call should rather look like $wnd.$.jGrowl(blah blah); HTH On Mon, Oct 5, 2009 at 3:11 PM, ledzgio giorgiomarci...@gmail.com wrote: Hi, how can i call jGrowl notification library from a GWT class? i made a native method, added the js files to the

Re: SerializationException on the server side

2009-10-01 Thread olivier nouguier
Hi, What is 'fr.km.server.KMServiceImpl$5 this anonimous class ? What is this method add(...) it's seem to produce a wrapper on Article classes ? On Thu, Oct 1, 2009 at 11:17 AM, Richard richard.fa...@gmail.com wrote: Hi All, I've tried my first GWT RPC project without success. I think I'

Re: SerializationException on the server side

2009-10-01 Thread olivier nouguier
content); By: ArrayListString list = new ArrayListString(); list.add(J2EE); list.add(Eclipse); final Article b = new Article(0, Title 2, list, some content); On Thu, Oct 1, 2009 at 11:38 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, What is 'fr.km.server.KMServiceImpl$5

Re: GWT 1.6 + Spring Security issue

2009-09-30 Thread olivier nouguier
hi I add the same issues with all namespace handler (aop, sec etc). As a workaround I found the copy the spring jar (spring-aop, ...) solved the problem for the hosted mode. HTH On Tue, Jun 2, 2009 at 3:58 PM, tim.clymer tim.cly...@gmail.com wrote: As a follow up, I switched to -noserver mode

Re: GWT 1.6 + Spring Security issue

2009-09-30 Thread olivier nouguier
Sorry send to fast ... hi I add the same issues with all namespace handler (aop, sec etc). As a workaround I found that copying the spring jar (spring-aop, ...) in the war/WEB-INF/lib solved the problem for the hosted mode. HTH On Wed, Sep 30, 2009 at 2:20 PM, olivier nouguier olivier.nougu

Re: Project Structure in GWT-2.0

2009-09-30 Thread olivier nouguier
Hi all, The current war layout (1.7), allow quite easily the m2eclipse and wtp plugin to work with GWT. Thanks to maven customization. The only issues remaining are: - mix of generated resources in the war/ folder - strange classloader behaviour, with spring namespace handler(

Re: DTO and Compound Objects

2009-09-23 Thread olivier nouguier
Hi, http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html AFAIK DTO should not be composed. HIH On Tue, Sep 22, 2009 at 11:06 PM, Thomas Holmes thomas.j.hol...@gmail.comwrote: I am working on a test GWT_RPC application. I have Hibernate POJO's that use annotations,

Re: Renaming war folder in GWT project

2009-09-08 Thread olivier nouguier
-war The war directory to write output files into (defaults to war) More generally: -help (as program argument). On Tue, Sep 8, 2009 at 8:40 AM, rjcarr rjc...@gmail.com wrote: There is nothing magic about the 'war' folder name with respect to the ant build file. You'd need to

Re: dubuger does not stop on breakpoints pls help

2009-09-08 Thread olivier nouguier
Hi, Probably a jdk issue: http://stackoverflow.com/questions/1022007/why-are-my-breakpoints-ignored-with-gwt-eclipse-and-java-1-6-014 On Tue, Sep 8, 2009 at 3:02 PM, ben fenster fenster@gmail.com wrote: im using eclipse galliano 3.5 and althouge im in debug mode the damm thing wont stop

Re: JSNI Issue

2009-08-13 Thread olivier nouguier
Hi, I cannot test from here but could you try to replace (call and function definiotion of course ;) : initializeCBs(); by: initializeCBs(this); HIH On Thu, Aug 13, 2009 at 4:30 PM, CI-CUBE e...@ci-cube.info wrote: Hi, I'm assigning a Java method M to a JS Callback. If M is static it

Re: How can you wait until GWT is ready externally? (after onEnterModule)

2009-08-06 Thread olivier nouguier
hi, On simple solution: * In your html/js code define a: function toBeCalledByGWT{ NetLoaderAPI.startUnitTests(); } * Call this function by JNSI at the end of onModuleLoad(). public void onModuleLoad(){ /* ... Standard GWT code. */ callJSInPage(); } public void native callJSInPage()

Re: Basic Response redirect Question GWT

2009-07-31 Thread olivier nouguier
Hi It's must be easier to perform this redirection before the GWT phase aka JSP / controller. Nevertheless you can access the underlying JS object location and URL to perform your job via the Window.location (

Re: Handing Events

2009-07-31 Thread olivier nouguier
hi, AFAIK nothing to do in that case :) http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks On Fri, Jul 31, 2009 at 4:21 PM, Donald W. Long donald.w.l...@gmail.comwrote: Hi all, This is a question about how GWT deals with events. If you create a button (for example)

Re: Passing a javascript object as parameter to java method

2009-07-28 Thread olivier nouguier
Hi Did you follow those instruction ? http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface HIH On Tue, Jul 28, 2009 at 8:26 AM, rohit a attamro...@gmail.com wrote: Hi, I need to pass a javascript object that i get from a remote method

Re: Most polite way to wait for applet load in onModuleLoad in Safari?

2009-07-17 Thread olivier nouguier
Hi, You could also let the applet call a JS function on init(), and then complete your applet dependent code. HIH On Fri, Jul 17, 2009 at 3:32 PM, Domenec domenec.sos.val...@gmail.comwrote: Hello and thanks in advance... This is a Safari issue, this browser seems not wait to for onLoad

Re: Servlet threading?

2009-07-10 Thread olivier nouguier
Hi Not specific to GWT, but AFAIK session are *not* synchronized. HIH On Fri, Jul 10, 2009 at 2:01 PM, David Given d...@cowlark.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Does anyone have any information on threading issues as applied to the RPC server code? I've been

Re: HELP

2009-06-24 Thread olivier nouguier
(poor subject) The module path requested, /isp/CEL1234/, is not in the same web application as this servlet, /cel-secure. Default serialization policy doesn't support your layout ( != module). You should provide your own serialization policy if you want/need this layout. On Wed, Jun 24, 2009

Re: show/hide widget based on user's credentials

2009-06-23 Thread olivier nouguier
2 solutions: * 2 gwt applications user and admin (you could use a custom properties/permutation). * 1 gwt application and applicative (if(userInRole(admin)) customization. HIH On Tue, Jun 23, 2009 at 2:28 PM, ailinykh ailin...@gmail.com wrote: Hello, everybody! I have a widget (Tab in

Re: show/hide widget based on user's credentials

2009-06-23 Thread olivier nouguier
js variable who contains the granted authorities. Thank you, Andrey On Jun 23, 7:34 am, olivier nouguier olivier.nougu...@gmail.com wrote: 2 solutions: * 2 gwt applications user and admin (you could use a custom properties/permutation). * 1 gwt application and applicative

Re: Using Filters

2009-06-11 Thread olivier nouguier
Hi, You can take a look at http://code.google.com/p/net-orcades-spring/source/browse/trunk/orcades-spring-gwt/src/main/java/net/orcades/spring/gwt/component/GWTPayloadHelper.java And see how it's not so difficult to unmarshall the GWT RPC request. This code works for GWT 1.5 but is not optimal in

Re: maven and gwt1.6

2009-06-05 Thread olivier nouguier
hi, http://bigohno.blogspot.com/2009/04/google-app-engine-java-and-maven.html Not tested yet :( On Fri, Jun 5, 2009 at 11:12 AM, imgnik ytbr...@gmail.com wrote: hi all, since gwt1.6 is integrated with gae. I wonder is there any tutorial or plugin to mavenise my gwt application. imgnik

Re: Role-based validation for RPC calls on a separate server

2009-05-28 Thread olivier nouguier
Hi, You could analyse (deserialize) the GWT payload with a j2ee filter on the validation server than forward (proxy) the request on the service server. As an example you could look at

Re: Function is not working

2009-04-21 Thread olivier nouguier
Hi, Your java function should receive an int as parameter ... Nope ? On Tue, Apr 21, 2009 at 4:32 PM, Chuck kurtz.lu...@cyber-art.ch wrote: Hi there! Unfortunately my popup function is not working and I think that I found the reason. Please have a look at the JS code, could it be that

Re: Function is not working

2009-04-21 Thread olivier nouguier
an error now: Unresolvable native reference to type 'com.google.gwt.client.Index' Do you know how to reference my own class? Do I have to include the name of the package? On 21 Apr., 16:52, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, Your java function should receive an int

Re: how to get the file path from client side code

2009-04-20 Thread olivier nouguier
hi, GWT client won't access to file out of the public (webapp) www files. If you want to access file out of webapp, you will have to proxify it (servlet) with some well known security issues. On Mon, Apr 20, 2009 at 4:55 PM, Neo deepak.krv2...@gmail.com wrote: In my server side code, I

Re: how to get the file path from client side code

2009-04-20 Thread olivier nouguier
In your deployed application: WEBAPP/WEB-INF/classes/your.pakage/server/. --- server classes WEBAPP/WEB-INF/classes/your.pakage/client/. -- client classes WEBAPP/your.package/ -- public resources And yes client (GWT) has only access to public

Re: XML Parser problem...

2009-04-16 Thread olivier nouguier
Hi, What it the output ? Did you inherit XML module. On Thu, Apr 16, 2009 at 9:04 AM, Soren Johnson soren.john...@gmail.comwrote: I can't seem to get XMLParser.parse() to work, even with what looks like valid XML. Do I need to remove all the '\n' and '\r' from the String? Is there another

Re: GWT 1.6 Compilation Errors

2009-04-12 Thread olivier nouguier
hi, don't know (yet) how to ignore test case, but you could: - put them in another project - add your test *source* folder in the classpath of your launch config. On Sun, Apr 12, 2009 at 2:44 PM, Paul Grenyer paul.gren...@gmail.comwrote: Hi All Is there a way I can tell the GWT compiler

Re: GWT 1.6 with Maven and build system questions/survey...

2009-04-12 Thread olivier nouguier
On Sun, Apr 12, 2009 at 7:35 PM, Daniel Kurka kurka.dan...@googlemail.comwrote: Currently we are trying to update our buildsystem from gwt 1.5 + gwt-maven from google code We are trying to use the trunk of gwt-maven from codehaus since those two plugins are merging. We were able to

  1   2   >