Re: GWT Eclipse Plugin????

2008-09-16 Thread olivier nouguier
Also cypal http://code.google.com/p/cypal-studio/ On Mon, Sep 15, 2008 at 5:56 PM, Vivek Singhwal [EMAIL PROTECTED]wrote: You can try out VistaFei, http://www.wirelexsoft.com/VistaFei.html It is a Eclipse version with GWT Plugin. Vivek GWT4Enterprise.com -- Quand le dernier

Re: GWT spring integration

2008-09-22 Thread olivier nouguier
Hi, I'm using a simple dispatch servlet to dispatch the RPC request to a spring managed bean: http://code.google.com/p/gwt-spring-dispatcher/ IMHO, it's quite simple and not intrusive. On Sun, Sep 21, 2008 at 8:24 AM, razo [EMAIL PROTECTED] wrote: Dear All, am trying to integrate gwt

Re: GWT spring integration

2008-09-23 Thread olivier nouguier
hi all, http://code.google.com/p/net-orcades-spring/ Host my GWT Spring integration servlet with a sample project. Working under Spring, WTP, Cypal, Maven. On Mon, Sep 22, 2008 at 9:43 AM, olivier nouguier [EMAIL PROTECTED] wrote: Hi, I'm using a simple dispatch servlet to dispatch

Re: Sharing objects among modules running in an OSGi platform

2008-09-25 Thread olivier nouguier
hi, http://gwtnow.com/2008/07/21/gwt-is-going-non-monolithic-runasync/ hih On Thu, Sep 25, 2008 at 4:05 PM, Ricardo Giacomin [EMAIL PROTECTED]wrote: Hi there, I'm writing an OSGi and GWT/GWT-Ext based large application. The reason I need OSGi is componentization (both client and server

Re: How to add thrid party Jar file

2008-09-29 Thread olivier nouguier
Hi, If the jar contain the source (.java files) simply: * add the jar to your classpath. * inherit the new module in your yourApplication.gwt.xml. On Mon, Sep 29, 2008 at 3:44 PM, Ananda Rao [EMAIL PROTECTED] wrote: Hi, i have downloaded the gwt-incubator,jar file . nut i dont know how

Re: How to add thrid party Jar file

2008-09-29 Thread olivier nouguier
of this error. i have added this in tha classpath On Mon, Sep 29, 2008 at 8:03 PM, olivier nouguier [EMAIL PROTECTED] wrote: Hi, If the jar contain the source (.java files) simply: * add the jar to your classpath. * inherit the new module in your yourApplication.gwt.xml. On Mon, Sep 29

Re: How to accept dynamic URL for a servlet in .gwt.xml

2008-10-02 Thread olivier nouguier
hi, Those mapping are only for GWT-RPC request !! You should not put this servlet in the gwt.xml ! On Thu, Oct 2, 2008 at 4:16 PM, Charan [EMAIL PROTECTED] wrote: hi, i have requirement to accept multiple URL's to single servlet file for example: /projectName/access/files/1234

Re: GWT Struts2 Integration

2008-10-03 Thread olivier nouguier
Hi Frank GWT FormPanel support regular (HTML) post ! On Thu, Oct 2, 2008 at 8:41 PM, FrankNC [EMAIL PROTECTED] wrote: I am new to GWT. I have a existing Web application which is using Struts 2. I am considering to use GWT on some of the Web pages in this web application. I took a look at

Re: GWT Spring Spring Security (ex acegi).

2008-10-03 Thread olivier nouguier
the RemoteService invoked without any configuration in your applicationContext. On Fri, Oct 3, 2008 at 10:55 AM, noon [EMAIL PROTECTED] wrote: Hi Olivier, What's the benefit compared to GWT-SL Spring integration ? Regards Bruno On 3 oct, 09:38, olivier nouguier [EMAIL PROTECTED] wrote

Hosted mode ServletContextProxy not available in javax.servlet.Filter

2008-10-03 Thread olivier nouguier
Hi all, I've encountered a problem with the resolution of the Serialization file in hosted mode, because the shell servlet uses a ServletContextProxy which is not available in the a javax.servlet.Filter. My work around in hosted mode is to ask this resources (IUZIUZUI.gwt.rpc) to the shell

GWT Spring Spring Security (ex acegi).

2008-10-03 Thread olivier nouguier
Hi all, Here are our GWT Sprint Spring security component. http://code.google.com/p/net-orcades-spring/ There is a sample war as featured download for the very impatient. It's allow to: * dispatch RPC-GWT request to Spring managed bean. * trigger the authentication from GWT-RPC request.

Re: Radio Button Bug?

2008-10-03 Thread olivier nouguier
hi ... It might depend on what your listener are doing ;) (Particularly if they are changing state of other checks ...) On Fri, Oct 3, 2008 at 12:06 PM, Arji [EMAIL PROTECTED] wrote: Hi Guys, Is this a bug in the GWT? Or maybe I'm implementing it the wrong way. Can anyone try this, having

Re: Weird problem with shared code

2008-10-03 Thread olivier nouguier
Hi, Since GWT 1.4, IsSerializable is not necessary, Serializable is enough. 1:) AFAIK the Type must be known at compile time so setObject(Object o) is out ! You should have a base Serializable class (know at compile time) 2:) The JavaBean contract must be honored : That getThat /

Re: how to proxy all the methods in my RemoteServiceServlet

2008-10-03 Thread olivier nouguier
. Regards. On Fri, Oct 3, 2008 at 3:33 PM, deanhiller [EMAIL PROTECTED] wrote: where is the posted project so I can check it out? On Oct 3, 1:42 am, olivier nouguier [EMAIL PROTECTED] wrote: Hi, If you don't want to give a try with Spring( or Guice), you could use AspectJ to weave your

Re: Weird problem with shared code

2008-10-03 Thread olivier nouguier
is that thing about honoring JavaBean? :) I don't know how, but we have solved the problem, but just by coincidence. Up until now, I couldn't find a reasonable explanation for what happened or what the problem was. On Oct 3, 3:52 pm, olivier nouguier [EMAIL PROTECTED] wrote: Hi, Since GWT 1.4

Re: How to select the active tab based on requested URI ?

2008-10-06 Thread olivier nouguier
hi, http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Window.Location.html hih On Mon, Oct 6, 2008 at 2:38 PM, nicolas.deloof [EMAIL PROTECTED]wrote: Hello, My GWT app uses a tabbedPannel layout, and I'd like to select the default active one based on

Re: How can a GWT application dynamically invoke another GWT application?

2008-10-06 Thread olivier nouguier
Not possible yet, Search for gwt runasync for a possible future solution. PS: statically you can obtain a same behaviour, by including (inheriting modules). On Mon, Oct 6, 2008 at 5:26 AM, David [EMAIL PROTECTED] wrote: I developed a GWT application, for instance, mail sample. I want to

Re: GWT User Sessions / Authentication for Horizontal Scaling

2008-10-09 Thread olivier nouguier
hi, I think you should look at Spring security at least to find some inspiration... I have done a small integration at http://code.google.com/p/net-orcades-spring/ where you will find some sample on how to: - unmarshall the GWT payload (if you choose RPC parameter). - handle exception If

Re: Servlet Problem

2008-10-10 Thread olivier nouguier
Hi Luca, First of all you should try to update your servlet api version to 2.4 To to so remove the DTD and put this as your web.xml root: ?xml version=1.0 encoding=UTF-8? web-app id=WebApp_ID version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee;

Re: Shorten URL

2008-10-10 Thread olivier nouguier
Hi, IMHO it's enough when it's done on the packaging phase (ant, maven). On Fri, Oct 10, 2008 at 10:46 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is there any way to shorten the URL without changing the package structure? basically i would like to shorten the

Re: GWT Serialization problem !!!!

2008-10-15 Thread olivier nouguier
Hi You should call : RPC.decodeRequest(payload,this.remoteServiceClass, *this*); *this* being the remote servlet (SerializationPoliciyProvider) To resolve the serialization policy (That allow the GWT serialization of Serializable). If no SerializationPoliciyProvider or his the resolution fails

Re: GWT Serialization problem !!!!

2008-10-15 Thread olivier nouguier
Sorry for my poor expression... If no SerializationPoliciyProvider is given (your case) or if the resolution fails GWT DefaultPolicies (GWT 1.3) is applied and Object must be IsSerializable. On Wed, Oct 15, 2008 at 4:54 PM, olivier nouguier [EMAIL PROTECTED] wrote: Hi You should call

Re: GWT Serialization problem !!!!

2008-10-17 Thread olivier nouguier
Hi sam, I had the same issue while integrating with acegi, what I choose was to extract the code of RemoteServiceServlet in a helper On Fri, Oct 17, 2008 at 8:40 AM, Sam [EMAIL PROTECTED] wrote: Hi olivier, Thanks a lot for prompt reply, The solution you said works fine if we extend

Re: modifying stylesheets in hosted mode

2008-10-17 Thread olivier nouguier
hi, I use Ubuntu / cypal (wtp) then with -noserver mode, the resources (css, jsp etc ) are hot deployed On Fri, Oct 17, 2008 at 5:01 PM, r a f t [EMAIL PROTECTED] wrote: hi Shaffer, what is your development platform ? i use linux (ubuntu) and use noserver option for hosted mode. maybe

Re: modifying stylesheets in hosted mode

2008-10-18 Thread olivier nouguier
: hello Olivier, so where are your stylesheets declared ? in module.xml or host page ? On Oct 17, 6:11 pm, olivier nouguier [EMAIL PROTECTED] wrote: hi, I use Ubuntu / cypal (wtp) then with -noserver mode, the resources (css, jsp etc ) are hot deployed On Fri, Oct 17, 2008 at 5:01 PM, r

Re: splitting client, RPC and server in different eclipse projects?

2008-10-22 Thread olivier nouguier
2 points: * If you've split your source in 2 part you must now have 2 module.gwt.xml, one (Lib) inheriting of the other (App). * At gwt compile time the *source* must be found (added) in the classpath. On Wed, Oct 22, 2008 at 10:26 PM, TomJanssens [EMAIL PROTECTED] wrote: Hello all, I am

Re: No Source Code is available for type **

2008-10-22 Thread olivier nouguier
unzip -l gwt-user.jar are good example :) On Wed, Oct 22, 2008 at 8:05 PM, emka [EMAIL PROTECTED] wrote: I have the same problem. Can you give an example? On 6 Paź, 11:32, Darth [EMAIL PROTECTED] wrote: You need to add a GWT module in your jar file and inherit that from the applications

Re: Passing parameters from JSP to GWT Entry Point

2008-10-24 Thread olivier nouguier
Hi, GWT lives in client space so : * Simple way: In your jsp: script var myVar = %= (String)session.getAttribute(myVar) %; /script And in your module : JNSI.getString(myVar, defaultValue); with the JNSI class: public class JNSI { public static native String getString(String jsVar, String

Re: question on module packaging

2008-10-27 Thread olivier nouguier
AFAIK module.gwt.xml are only exposing client client code (xyz.client.**.java) during the GWT compilation process and dispatch the servlet services in the embeded tomcat hosted mode. So module.gwt.xml doesn't provide any service nor to the deployed (not embeded in GWT Shell) webapp neither to

Re: windows to mac

2008-11-10 Thread olivier nouguier
Hi, IMHO this concern should be handle by your IDE, did you try some plugin like Cypal Studio ? Regards. Olivier. On Mon, Nov 10, 2008 at 1:54 AM, dd08 [EMAIL PROTECTED] wrote: I have downloaded a .cmd shell and compile. I assume these are for a PC. The problem is i need this files to be

Re: GWT and spring - looking for references.

2008-11-10 Thread olivier nouguier
Hi, My Humble experience on the subject. It's quite easy to dispatch GWT RPC to Spring Managed Bean (SMB). There are 2 main strategies: 1) consider the SMB as a technical wrapper to a business service and then let SMB depend (implementing) on RemoteService. ++ No configuration ++ No naming

Re: GWT serilization policy issue !!

2008-11-12 Thread olivier nouguier
IMHO in your case you should try to use the RemoteServiceServlet implementation. I imagine the you have a dispatch servlet that use your adapter, If I'm true, let your handler use this servlet (extending RemoteServiceServlet) to decode the payload. You could inject this servlet (Spring Proxy.

Re: Using Maven to launch GWT tests

2008-11-14 Thread olivier nouguier
AFAIK in not possible: http://gwt-maven.googlecode.com/svn/docs/maven-googlewebtoolkit2-plugin/testing.html These solution doesn't run test under maven sunfire :( On Fri, Nov 14, 2008 at 2:42 PM, Nicolas [EMAIL PROTECTED] wrote: Well, actually, I have spent a lot of time in checking my

Re: Problem with JSNI call to java method from javascript

2008-11-14 Thread olivier nouguier
Hi, I suspect (?) that your js code is call to soon ... The GWT is not yet initialized Please try this: ### GWT patch ### static native void exportStaticMethod() /*-{ $wnd.invokeGWT = function(bId,cId,mId,mName,cName){ [EMAIL

Re: Problem with JSNI call to java method from javascript

2008-11-14 Thread olivier nouguier
'@com.pm.output.html.gwt.model.comment.client.PMGWTHtmlUtils::exportStaticMethod()' which was not coming before. Please let us know where am I conceptually wrong.If anybody have alternative idea , plz pass it. Regards Manish - Original Message - From: olivier nouguier [EMAIL PROTECTED] To: Google-Web-Toolkit@googlegroups.com

Re: Using Maven to launch GWT tests

2008-11-14 Thread olivier nouguier
on old Windows systems, because of the command line length issue (look at http://maven.apache.org/plugins/maven-surefire-plugin/examples/class-loading.html). On 14 nov, 14:48, olivier nouguier [EMAIL PROTECTED] wrote: AFAIK in not possible: http://gwt-maven.googlecode.com/svn/docs/maven

Re: Problem with JSNI call to java method from javascript

2008-11-15 Thread olivier nouguier
- Original Message - From: olivier nouguier [EMAIL PROTECTED] To: Google-Web-Toolkit@googlegroups.com Sent: Friday, November 14, 2008 10:07 PM Subject: Re: Problem with JSNI call to java method from javascript hum it should works ... (you don't give the this reference ... Here a full

Re: Problem with JSNI call to java method from javascript

2008-11-15 Thread olivier nouguier
i am wrong. Regards Manish - Original Message - From: olivier nouguier [EMAIL PROTECTED] To: Google-Web-Toolkit@googlegroups.com Sent: Saturday, November 15, 2008 3:43 PM Subject: Re: Problem with JSNI call to java method from javascript On Sat, Nov 15, 2008 at 8:31 AM, Manish

Re: Separate client server help

2008-11-16 Thread olivier nouguier
You will have at leasr to provide your own serialization policies provider, the default one has some check to the same webapp origin. On Sat, Nov 15, 2008 at 4:26 PM, kibibyte [EMAIL PROTECTED] wrote: hi is it possible to separate client server ie. 2 web applications : one with client

Re: calling new DOMParser()

2008-11-17 Thread olivier nouguier
All included js are accessible through the $wnd pointer on hosting page. You should try something like (I don't know if it is js correct ). private native void test() /*-{ var x = new $wnd.DOMParser(); }-*/; On Mon, Nov 17, 2008 at 5:29 PM, markww [EMAIL PROTECTED] wrote: Hi,

Re: authentication in GWT

2008-11-18 Thread olivier nouguier
Hi Litty, I've played with Spring security GWT at http://code.google.com/p/net-orcades-spring/ If you're confident with Spring (Security) GWT the lack of documentation won't block you :-/ On Tue, Nov 18, 2008 at 12:52 PM, Litty Preeth [EMAIL PROTECTED] wrote: Hi All, What should be the

Re: authentication in GWT

2008-11-18 Thread olivier nouguier
I agree with walden in most case ... if classic HTTP auth is enough let HTTP do the job !! But there is IMHO somes points hard to deal with only HTTP (and GWT component of course): * session expiration, because the GWT RPC will fail soon (401). * forbiden because the GWT RPC will fail soon

Re: authentication in GWT

2008-11-18 Thread olivier nouguier
I wont b able to use the HTTP authentication. But I think, Lothar's idea is worth trying. Thnx Lothar. If anybody has any better suggestions plz post it here. - Litty On Tue, Nov 18, 2008 at 9:04 PM, olivier nouguier [EMAIL PROTECTED] wrote: I agree with walden in most case ... if classic

Re: authentication in GWT

2008-11-19 Thread olivier nouguier
Walden Sorry for your head ;). On Tue, Nov 18, 2008 at 7:29 PM, walden [EMAIL PROTECTED] wrote: Olivier, * session expiration, because the GWT RPC will fail soon (401). * forbiden because the GWT RPC will fail soon (403). When session is expired, the RPC will fail soon with a 401 (Auth

Re: authentication in GWT

2008-11-19 Thread olivier nouguier
gwt-log-2.5.2 is not available on public repository, did you install by hand in yours ? PS: as mentioned on http://code.google.com/p/net-orcades-spring/wiki/Installation On Tue, Nov 18, 2008 at 3:21 PM, Ian P. Christian [EMAIL PROTECTED] wrote: 2008/11/18 Ian P. Christian [EMAIL PROTECTED]:

Re: authentication in GWT

2008-11-19 Thread olivier nouguier
Hi It work for me... * what is your environnement ? (OS, GWT version, java etc ...) * did the war works out of hosted mode ? On Tue, Nov 18, 2008 at 3:04 PM, Ian P. Christian [EMAIL PROTECTED] wrote: 2008/11/18 olivier nouguier [EMAIL PROTECTED]: Yes there is a war sample and the project

Re: authentication in GWT

2008-11-19 Thread olivier nouguier
Walden, See below, please. On Wed, Nov 19, 2008 at 2:29 PM, walden [EMAIL PROTECTED] wrote: Olivier, I'm still a little perplexed, see below. * session expiration, because the GWT RPC will fail soon (401). * forbiden because the GWT RPC will fail soon (403). When session is

Re: Sharing data between pre-existing data in a JSP and the GWT module

2008-11-20 Thread olivier nouguier
(returnedValue); And that seems to throw an error in the browser. I do remember reading about some issues with Long datatype and javascript, however any explanation is welcome. I'd like to understand it better. Thanks Suri On Nov 20, 3:43 am, olivier nouguier [EMAIL PROTECTED] wrote: public

Re: Sharing data between pre-existing data in a JSP and the GWT module

2008-11-21 Thread olivier nouguier
sense. I'll have to use the String and validate it at the server side I guess. Suri On Nov 20, 10:08 am, olivier nouguier [EMAIL PROTECTED] wrote: There is no long datatype in javascript ! http://www.google.com/search?q=GWT+long+emulationsourceid=navclient-... On Thu, Nov 20, 2008 at 3

Re: Exception handling in GWT Service

2008-11-23 Thread olivier nouguier
On Sun, Nov 23, 2008 at 6:58 AM, satya [EMAIL PROTECTED] wrote: Hi, Can i pass exceptions between client and server. Can i have an RPC serice with method that throw an user defined exception and handle that exception in the client side? Yes as long as your exeption is declared in the

Re: GWT + MySQL Best Practices?

2008-11-27 Thread olivier nouguier
IMHO you should look at maven for doing this hellish job On Thu, Nov 27, 2008 at 11:19 AM, Lonifasiko [EMAIL PROTECTED] wrote: Hi, We're also evaluating the possibility of using an architecture composed by GWT + Servlets + MySQL. I thought it was going to exist another option to

Re: GWT + MySQL Best Practices?

2008-11-27 Thread olivier nouguier
opinion (about my work :) On Thu, Nov 27, 2008 at 12:11 PM, Lonifasiko [EMAIL PROTECTED] wrote: What does Maven better than Ant? I've heard Maven is quite large and complex... On 27 nov, 11:39, olivier nouguier [EMAIL PROTECTED] wrote: IMHO you should look at maven for doing this hellish job

Re: GWT + MySQL Best Practices?

2008-11-27 Thread olivier nouguier
). The only manual step is to copy it to your webapps-folder on the server ;-) On 27 Nov., 14:02, olivier nouguier [EMAIL PROTECTED] wrote: It does all ;) From GWT compilation, junit coverage, packaging ... very easily once you've made the effort . But I agree that it's quite complex

Re: Support for X.509 certificates

2008-11-28 Thread olivier nouguier
Application server On Fri, Nov 28, 2008 at 1:16 PM, Lonifasiko [EMAIL PROTECTED] wrote: Maybe I'm asking a stupid question, but support for X.509 certificates concerns to GWT or to the application server I'm using, JBoss in my case? Thanks and regards. -- Miguel Blog:

Re: Unable to store current user in session due to badly behaving getThreadLocalRequest()

2008-11-29 Thread olivier nouguier
Hi The only issue you may encounter is to call getThreadLocalRequest in another thread ... On Sat, Nov 29, 2008 at 9:13 AM, ijonas [EMAIL PROTECTED] wrote: Hi, I'm trying to the remeber/store the current user in the HttpSession object returned by RemoteServiceServlet.getThreadLocalRequest

Re: Eclipse issues

2008-12-07 Thread olivier nouguier
There are some plugin (cypal studio is one) that ease GWT development under eclipse On Sat, Dec 6, 2008 at 6:53 PM, Wualla [EMAIL PROTECTED] wrote: Hi I tried creating a new project using applicationCreator and projectCreator. Eclipse was still looking for GWT libraries in the old GWT

Re: GWT Spring Integration

2008-12-11 Thread olivier nouguier
Hi, http://gwt-widget.sourceforge.net/ http://code.google.com/p/net-orcades-spring/ On Thu, Dec 11, 2008 at 5:43 AM, Sriram Iyengar [EMAIL PROTECTED] wrote: Hi, We have been trying to get GWT and Spring to work, but unfortunately no luck as yet. Our application makes a simple call to the

Re: GWT+SPRING+MAVEN

2009-01-03 Thread olivier nouguier
Hi, You can look at http://code.google.com/p/net-orcades-spring/ which should fit yours needs. Please, let me know. On Mon, Dec 29, 2008 at 4:47 PM, Arthur Kalmenson arthur.k...@gmail.com wrote: Hi Mikhail, Are you using Spring Security? If so, this should be fairly easy to do. You need to

Re: how to set signature for JSNI?

2009-01-30 Thread olivier nouguier
Should try: if(this.UserSelector.checkDup(Ljava/lang/String;I;)(id, index)== true) or if(this.UserSelector.checkDup(Ljava/lang/String;I)(id, index)== true) Not tested ! On Fri, Jan 30, 2009 at 4:19 PM, Alex Luya alexander.l...@gmail.com wrote: I hava a JSNI method within Class A:

Re: Cypal Studio v2 - care for a spin?

2009-03-26 Thread olivier nouguier
Great new ! Work nicely for me (window) tonight I will test under linux and mac os x. * During the launch it would be nice to add tools.jar (jdk) to be able to compile jsp. * A more maven layout option would be also a good think I suppose. Thx for cypal. On Wed, Mar 25, 2009 at 7:14 PM,

Re: Google plugin for eclipse3.4 launch GWT hosted mode with deprecated com.google.gwt.dev.GWTShell

2009-04-10 Thread olivier nouguier
You've probabily missed the nature com.google.gdt.eclipse.core.webAppProjectValidator PS: here my pom (maven configuration): buildcommandcom.google.gdt.eclipse.core.webAppProjectValidator/buildcommand buildcommandcom.google.gwt.eclipse.core.gwtProjectValidator/buildcommand

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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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

  1   2   >