Re: Pluggable modules

2011-07-05 Thread lemaiol
I do not know really well gwt-exporter, but having a look at your question in SO, I have the feeling that you need somehow to pass real JS objects as parameters. I would try inheriting from JavaScritpObject: public class Person extends JavaScriptObject { protected Person() { // GWT

Re: השב: Re: building custom event differently to avoid boiler plate coding?

2011-07-04 Thread lemaiol
I just published an article on this topic. Maybe you want to have a look at it: http://www.canoo.com/blog/2011/07/04/code-generation-in-gwt-with-deferred-binding-cdi-like-events/ Feedback is welcome! cheers, Berto On Jun 22, 5:03 am, Elhanan Maayan elh.maa...@gmail.com wrote: first off  you

Re: Pluggable modules

2011-07-03 Thread lemaiol
Hi Mike, How are the modules loaded and how are they invoked? Berto On Jun 22, 2:10 pm, manstis michael.ans...@gmail.com wrote: Great, lots to play with :) Before I look into writing my own JSNI bridge, I've still been trying to use gwt-exporter, but. I've three GWT applications:-

Re: Pluggable modules

2011-06-21 Thread lemaiol
Hi Mike, I am growing to believe I need to deploy each plug-in as a separate WAR on a web-server. Is this true, or have I missed something? In the case of my architecture, it is even a requirement that every plugin will be deployed as an own WAR file. It allows different teams working in

Re: Load the GWT component after the page renders

2011-06-17 Thread lemaiol
Hi Esteban, You have already two linkers that you can use: xs and xsiframe. The first is not supported in dev mode and is a little old. I would recommend to use the xsiframe linker. The problem is the scarce documentation about linkers and some side effects that they could have on your

Re: Caching rpc payload in local storage

2011-06-17 Thread lemaiol
Hi timmys, Here an example with the payload embedded in the host page. Hope it helps, Berto public static YourDomainObject getEmbeddedYourDomainObject() { SerializationStreamFactory serializationStreamFactory = GWT.create(IYoutRemoteService.class); try { String

Re: Pluggable modules

2011-06-17 Thread lemaiol
Yes, I think those changes in the event bus (also in the packages) is to share the code in Android. This thread:https://groups.google.com/group/google-web-toolkit-contributors/brows... led me to believe EventBus was going to become available outside of GWT however I see the commits have

Re: Pluggable modules

2011-06-17 Thread lemaiol
I followed the basic ideas of application's linking and loading: - The GWT host page is the loader. So you have to know how to discover the modules to be loaded. + KIS: have a class on the server side that know modules' ids, names and URL's and generate the GWT host page using a JSP. + Best

Re: JClassType source and isGenericType()

2011-06-15 Thread lemaiol
How is it defined? is it something like: private FooBar value; or like: private FooBar value; where FooBar is public class FooBar extends FooBar {... If it is the first, the problem is type erasure in Java generics. From the declaration of the field, you cannot read the type. If you use the

Re: GWT pluggable GUIs

2011-06-14 Thread lemaiol
Hi Jaroslav, Are you still interested on this topic? Maybe have a look at: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/42062c7f6cf8989b/e29d37a5f737d34e?lnk=gstq=pluggable#e29d37a5f737d34e and give feedback. cheers, Berto On May 5, 10:51 am, Jaroslav Urban

Re: gwt refresh

2011-06-12 Thread lemaiol
Maybe the answer to your question is this: Scheduler.scheduleFixedDelay() Anyway, try to be more specific :) cheers, Berto On Jun 12, 5:32 am, Navindian navind...@gmail.com wrote: I have a google map embedded from a javascript. I need to call refresh the markers status method of javascript

Re: the problem of hosting gwt files in different servers

2011-06-11 Thread lemaiol
The problem you are experiencing is a cross-domain browser restriction. If you have FF installed, use the Firebug plugin and, during the load of the page, show the Net tab. There you should see a line indicating that the browser did not load the JS because it belongs to another domain and it is

Re: Pluggable modules

2011-06-11 Thread lemaiol
HI Mike, If I got it right, you want a main GWT application (own WAR) and several other GWT applications (own WAR each) that could be loaded altogether in the same host page (the one from the main application) and communicate using a dispatching interface (maybe an event bus). I have implemented

Re: Problem: certain types of J2EE authentication with GWT 2.0 and Eclipse 3.5 plugin no longer work

2010-01-13 Thread lemaiol
of information that pulls it all together with a full working example for people to study.  Maybe I will try and do this. Regards Ian. On Jan 8, 9:47 am, lemaiol lema...@gmail.com wrote: Hi Ian, It seems that the Jetty version could have changed and also its API. Try with this little

Re: Problem: certain types of J2EE authentication with GWT 2.0 and Eclipse 3.5 plugin no longer work

2010-01-08 Thread lemaiol
Hi Ian, It seems that the Jetty version could have changed and also its API. Try with this little change in the syntax of the configuration (we guessed it looking at the jetty classes API and it worked for us): cheers, Alberto ?xml version=1.0? !DOCTYPE Configure PUBLIC -//Mort Bay

Re: Extending Splitter related widgets

2009-12-09 Thread lemaiol
he mentions is probably your best course of action. Nathan Wells On Tue, Dec 8, 2009 at 2:48 PM, lemaiol lema...@gmail.com wrote: Hi Nathan, That is exactly the thing. GWT is much more than widgets and the provided ones should be the building blocks to extend. That is the message

Re: Extending Splitter related widgets

2009-12-08 Thread lemaiol
, 2:34 pm, lemaiol lema...@gmail.com wrote: I have recently started having a look at the GWT 2.0 RC2 version and found me once again frustrated trying to extend the SplitLayoutPanel. In version 1.4 we needed to do the same with the splitter panels and we thought that some of the reasons

Re: Problem using UiBinder with extended DockLayoutPanel

2009-12-08 Thread lemaiol
the interface is created and binded. Cheers, Alberto On Dec 7, 9:21 am, Dalla dalla_man...@hotmail.com wrote: One what line do you get this error? On 6 Dec, 14:34, lemaiol lema...@gmail.com wrote: Hi guys, I have started trying the new features in GWT 2.0 (awesome ones, congrats! :) but I found

Re: Problem using UiBinder with extended DockLayoutPanel

2009-12-07 Thread lemaiol
Hi Dalla, In line 15. Cheers, Alberto On Dec 7, 9:21 am, Dalla dalla_man...@hotmail.com wrote: One what line do you get this error? On 6 Dec, 14:34, lemaiol lema...@gmail.com wrote: Hi guys, I have started trying the new features in GWT 2.0 (awesome ones, congrats! :) but I found

Re: Nesting with SplitLayout and DockLayout panels

2009-12-07 Thread lemaiol
M... I remember having this problem... are u adding the DockLayoutPanel to the RootLayoutPanel or to the RootPanel. I guess that the logic required from the new layout panels is only enforced by the RootLayoutPanel. If it is not that, are you in standards mode? (using for example '!doctype

Extending Splitter related widgets

2009-12-07 Thread lemaiol
I have recently started having a look at the GWT 2.0 RC2 version and found me once again frustrated trying to extend the SplitLayoutPanel. In version 1.4 we needed to do the same with the splitter panels and we thought that some of the reasons not to build more easy to extend Splitter panels (had

Problem using UiBinder with extended DockLayoutPanel

2009-12-06 Thread lemaiol
Hi guys, I have started trying the new features in GWT 2.0 (awesome ones, congrats! :) but I found some behavior that I cannot completely understand. I want to extend the DockLayoutPanel API in a class of my own but configure this new class using UiBinder. When I do that, I get an exception