Re: What are some of the most valuable frameworks in your project?

2010-08-29 Thread Sebastian Rothbucher
Jeff,

we're getting along quite well with GWT on the client side and Spring
on the server side: Data definitions (POJOs) are shared. Plus: Using
the GWT Service servlet to do nothing but call a spring service (which
can then do everything spring is capable of) has proven a quite stable
solution..

Best Regards
Sebastian

On 27 Aug., 23:53, Jeff Larsen larse...@gmail.com wrote:
 I'm about to embark on a new GWT app and am curious what you all think
 about some of the following utilities.

 I don't think I will be able to use Roo, but I am looking into 2.1. I
 must admit that I do not fully understand how all the new MVP pieces
 fit together or the new dispatching mechanism. So, if you were
 starting a project from scratch today, what would you pick for
 libraries?

 Thanks,
 Jeff

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Help With Eclipse Development ??

2010-08-29 Thread Sebastian Rothbucher
Hi Jalu,

what I'd try is a.) put all required libs in WEB-INF/lib and then b.)
add all of WEB-INF/lib to the java build path of the eclipse
project...

Hope this helps!

Best Regards
Sebastian

P.S.: You can safely ignore the WARN] Server class
'net.sf.gilead.gwt.PersistentRemoteService' could
not be found in the web app, but was found on the system classpath

On 26 Aug., 18:36, chalu chal...@gmail.com wrote:
 Hello folks, I am moving my GWT/GXT development from Netbeans to
 Eclipse (Helios), but I am still struggling to find my way around. I
 have read some tutorials and watched some videos on eclipse but I
 still have issues in some areas, for example the SLF4J docs says we
 have to add an implementation binding e.g Log4J, this however does not
 stop the java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
 from been thrown. After some fiddling, I made the SLF4J library a
 system library (it will be added to the boot path ... , see the
 attached thumbnail) and that solved it for org.slf4j.LoggerFactory,
 but now I have others, coming out one after the other, first it was
 Log4J, and now this from the Gilead library I am using :

 java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer
 .
 Caused by: java.lang.ClassNotFoundException:
 net.sf.cglib.proxy.Enhancer

 Do I have to make all my user libraries be a system library ?? Also,
 looking at my eclipse console view, I see stuff like this :

 WARN] Server class 'net.sf.gilead.gwt.PersistentRemoteService' could
 not be found in the web app, but was found on the system classpath
    [WARN] Adding classpath entry 'file:/C:/Java/javalibs/gilead/
 gilead4gwt-1.3.0.1169.jar' to the web app classpath for this session
    For additional info see: file:/C:/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle.2.0.4_2.0.4.v201006301309/gwt-2.0.4/
 doc/helpInfo/webAppClassPath.html

 The page indicated by /webAppClassPath.html just simply says it is
 recommended I put libraries into WEB-INF/lib folder and gives the
 following tip :

 The most common reason to encounter this problem with a new project
 is using RPC, which tries to load
 com.google.gwt.user.client.rpc.RemoteService. The solution to is copy
 gwt-servlet.jar from the GWT install directory into your web app's war/
 WEB-INF/lib/ directory.
 Fortunately, my app's war/WEB-INF/lib/ folder already has the said gwt-
 servlet.jar file.

 One would expect that after adding a library to a project, the
 library's jars should be in the project's path.
 In an attempt to force the libraries jars into the project's lib/
 folder I decided to compile the app, but nothing changed within the
 lib/ folder, it still only contained gwt-servlet.jar.

 Now I am stuck, I am trying to run it in the default hosted mode
 (after compiling it) and nothing works from the browser anymore,
 instead I get a page sating thus :

 HTTP ERROR: 404

 NOT_FOUND

 RequestURI=/DiSCS.html

 How do I handle these please ?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Custom Visulization

2010-08-29 Thread Sebastian Rothbucher
Hi Raju,

alteratively you could use JFreeChart and embed it as an image (i.e.
create a chart on the server as temporary file); return a link for the
one user to get that file and render it as an image...

Hope this helps - best regards
Sebastian

On 24 Aug., 16:44, Raju raj.no...@gmail.com wrote:
 Hi Experts,

  I need to create Custom Visulization i.e a new chart (like piechart)
 xy chart.

 I also followe custom visulization in tutorials. i understood about
 flex table. now i need to know about charts.Is there any example for
 custom charts.

 can any body help 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Integration of GWT in Spring

2010-08-29 Thread Sebastian Rothbucher
Hi,

I guess it is a little more difficult than that as you have to
integrate two paradigms here: one is request-response (classic
webapp style of spring web mvc), the other is requesting on demand by
google web toolkit. Possibly the easiest way would be rendering a gwt
carrier page via spring - or embedding GWT via an invisible IFrame; I
don't think it is that easy to just submit the contents of a GWT app
along with other classic form fields...

Hope this helps - good luck and best regards
Sebastian

On 21 Aug., 00:24, la-praline benmahidd...@gmail.com wrote:
 Hello everyone,

 First of all sorry for my mistakes i'm french. I'm making a web
 application with Spring and i need gwt for a text editor so i'm trying
 to integrate GWT in Spring. I used the webAppCreator to make an
 example. I use the same architecture. When i go to the page the
 browser return that

 HTTP method GET is not supported by this URL

 there is my web.xml

 ?xml version=1.0 encoding=UTF-8?
 web-app ...
         
         !-- Spring Entry point --
         listener
           listener-
 classorg.springframework.web.context.ContextLoaderListener/listener-
 class
         /listener
         servlet
                 servlet-namedispatcher/servlet-name
                 
 servlet-classorg.springframework.web.servlet.DispatcherServlet/
 servlet-class
                 init-param
                         param-namecontextConfigLocation/param-name
                         
 param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher-
 servlet.xml/param-value
                 /init-param
         /servlet
         servlet-mapping
                 servlet-namedispatcher/servlet-name
                 url-pattern*.do/url-pattern
         /servlet-mapping

         !-- GWT --
         servlet
                 servlet-namemyService/servlet-name
                 
 servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class
         /servlet
         servlet-mapping
                 servlet-namemyService/servlet-name
                 url-pattern*.gwt/url-pattern
         /servlet-mapping
        ...
 /web-app

 There is my dispatcher-servlet.xml

 beans ...
         ...
         !-- urlMapping Configuration --

         bean id=urlMapping
 class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
                 property name=urlMap
                         map
                                 ...
                                 entry key=/projectEditor.gwt
                                         ref bean=myService /
                                 /entry
                         /map
                 /property
         /bean

         !-- Gwt Controller --

         bean id=myService class=org.nomadphp.gwt.server.MyServiceImpl /
 /beans

 Thank you for your help

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Integration of GWT in Spring

2010-08-29 Thread João Ferreira
Hi

Maybe this can help you:
http://gwt-widget.sourceforge.net/gwt-sl/reference-1.0/index.html

2010/8/29 Sebastian Rothbucher sebastian.rothbuc...@clarities.de:
 Hi,

 I guess it is a little more difficult than that as you have to
 integrate two paradigms here: one is request-response (classic
 webapp style of spring web mvc), the other is requesting on demand by
 google web toolkit. Possibly the easiest way would be rendering a gwt
 carrier page via spring - or embedding GWT via an invisible IFrame; I
 don't think it is that easy to just submit the contents of a GWT app
 along with other classic form fields...

 Hope this helps - good luck and best regards
    Sebastian

 On 21 Aug., 00:24, la-praline benmahidd...@gmail.com wrote:
 Hello everyone,

 First of all sorry for my mistakes i'm french. I'm making a web
 application with Spring and i need gwt for a text editor so i'm trying
 to integrate GWT in Spring. I used the webAppCreator to make an
 example. I use the same architecture. When i go to the page the
 browser return that

 HTTP method GET is not supported by this URL

 there is my web.xml

 ?xml version=1.0 encoding=UTF-8?
 web-app ...
         
         !-- Spring Entry point --
         listener
           listener-
 classorg.springframework.web.context.ContextLoaderListener/listener-
 class
         /listener
         servlet
                 servlet-namedispatcher/servlet-name
                 
 servlet-classorg.springframework.web.servlet.DispatcherServlet/
 servlet-class
                 init-param
                         param-namecontextConfigLocation/param-name
                         
 param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher-
 servlet.xml/param-value
                 /init-param
         /servlet
         servlet-mapping
                 servlet-namedispatcher/servlet-name
                 url-pattern*.do/url-pattern
         /servlet-mapping

         !-- GWT --
         servlet
                 servlet-namemyService/servlet-name
                 
 servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class
         /servlet
         servlet-mapping
                 servlet-namemyService/servlet-name
                 url-pattern*.gwt/url-pattern
         /servlet-mapping
        ...
 /web-app

 There is my dispatcher-servlet.xml

 beans ...
         ...
         !-- urlMapping Configuration --

         bean id=urlMapping
 class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
                 property name=urlMap
                         map
                                 ...
                                 entry key=/projectEditor.gwt
                                         ref bean=myService /
                                 /entry
                         /map
                 /property
         /bean

         !-- Gwt Controller --

         bean id=myService class=org.nomadphp.gwt.server.MyServiceImpl /
 /beans

 Thank you for your help

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Integration of GWT in Spring

2010-08-29 Thread Subhrajyoti Moitra
http://pgt.de/2009/07/17/non-invasive-gwt-and-spring-integration-reloaded/

There is also working example code for the same.

Thanks,
Subhro.

On Sun, Aug 29, 2010 at 4:31 PM, Sebastian Rothbucher 
sebastian.rothbuc...@clarities.de wrote:

 Hi,

 I guess it is a little more difficult than that as you have to
 integrate two paradigms here: one is request-response (classic
 webapp style of spring web mvc), the other is requesting on demand by
 google web toolkit. Possibly the easiest way would be rendering a gwt
 carrier page via spring - or embedding GWT via an invisible IFrame; I
 don't think it is that easy to just submit the contents of a GWT app
 along with other classic form fields...

 Hope this helps - good luck and best regards
Sebastian

 On 21 Aug., 00:24, la-praline benmahidd...@gmail.com wrote:
  Hello everyone,
 
  First of all sorry for my mistakes i'm french. I'm making a web
  application with Spring and i need gwt for a text editor so i'm trying
  to integrate GWT in Spring. I used the webAppCreator to make an
  example. I use the same architecture. When i go to the page the
  browser return that
 
  HTTP method GET is not supported by this URL
 
  there is my web.xml
 
  ?xml version=1.0 encoding=UTF-8?
  web-app ...
  
  !-- Spring Entry point --
  listener
listener-
  classorg.springframework.web.context.ContextLoaderListener/listener-
  class
  /listener
  servlet
  servlet-namedispatcher/servlet-name
 
 servlet-classorg.springframework.web.servlet.DispatcherServlet/
  servlet-class
  init-param
  param-namecontextConfigLocation/param-name
 
 param-value/WEB-INF/applicationContext.xml,/WEB-INF/dispatcher-
  servlet.xml/param-value
  /init-param
  /servlet
  servlet-mapping
  servlet-namedispatcher/servlet-name
  url-pattern*.do/url-pattern
  /servlet-mapping
 
  !-- GWT --
  servlet
  servlet-namemyService/servlet-name
 
 servlet-classorg.nomadphp.gwt.server.MyServiceImpl/servlet-class
  /servlet
  servlet-mapping
  servlet-namemyService/servlet-name
  url-pattern*.gwt/url-pattern
  /servlet-mapping
 ...
  /web-app
 
  There is my dispatcher-servlet.xml
 
  beans ...
  ...
  !-- urlMapping Configuration --
 
  bean id=urlMapping
  class=org.springframework.web.servlet.handler.SimpleUrlHandlerMapping
  property name=urlMap
  map
  ...
  entry key=/projectEditor.gwt
  ref bean=myService /
  /entry
  /map
  /property
  /bean
 
  !-- Gwt Controller --
 
  bean id=myService
 class=org.nomadphp.gwt.server.MyServiceImpl /
  /beans
 
  Thank you for your help

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Handling too many locales in a large scale real life app

2010-08-29 Thread Oskar Hannesson
Just tried this plugin in Helios and it looked quite Ok but I was
unable to edit anything and my scandinavian characters showed up all
gibberish.
There hasn't been any activity on this project for over a year which
is a shame since it looked quite good.
Reg.
Oskar H.

On Aug 28, 5:03 pm, mmoossen mmoos...@gmail.com wrote:
 good hint, i did not know about the epfe plugin, looks promising.

 thanks for sharing
 Michael

 On Aug 28, 3:57 am, Gal Dolber gal.dol...@gmail.com wrote:

  Checkout this plugin:http://sourceforge.net/projects/epfe/

  2010/8/27 Fernando spiderkens...@gmail.com

   So, in my company we face a problem where we have too many properties
   files to handle, and they are all large, every now and then one
   properties is left outdated and is missing some translations.

   I wanna know if there's an easy way (app, library, anything...) to
   deal with them besides a strict process of updating them all the
   time.

   One coworker suggested that we should make an app to generate these
   properties files from a database, but before we started working on
   that, I wanted to post here in case someone knows a solution.

   Thanks in advance

   --
   You received this message because you are subscribed to the Google Groups
   Google Web Toolkit group.
   To post to this group, send email to google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.

  --
  Guit: Elegant, beautiful, modular and *production ready* gwt applications.

 http://code.google.com/p/guit/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



converting JPA entities to Records

2010-08-29 Thread Joe Hudson
Hi,

I was about to start a project that will use deferred binding to
automatically convert JPA-annotated entities to GWT Records.  Before
re-inventing the wheel I wanted to make sure this didn't exist first -
does anyone know of a project that is already doing this?  Thanks.

Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: converting JPA entities to Records

2010-08-29 Thread Marcus Vinícius Bastos de Andrade
If you are using Hibernate as JPA provider, I suggest you to take a look in
Gilead project http://noon.gilead.free.fr/gilead/ and GWT-SL project
http://gwt-widget.sourceforge.net/
Create a separated project for your entities and use it as dependency in
main project and add this entity project to your application.gwt.xml using
'inherits' tag.

best regards,


On Sun, Aug 29, 2010 at 1:13 PM, Joe Hudson joe...@gmail.com wrote:

 Hi,

 I was about to start a project that will use deferred binding to
 automatically convert JPA-annotated entities to GWT Records.  Before
 re-inventing the wheel I wanted to make sure this didn't exist first -
 does anyone know of a project that is already doing this?  Thanks.

 Joe

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Marcus Vinícius Bastos de Andrade
http://twitter.com/mynameisflaw
+55 31 9823-3606

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: converting JPA entities to Records

2010-08-29 Thread Joe Hudson
Thanks but I'm using Objectify... - anyone heard of a project that
does this?  Thanks.

Joe

On Aug 29, 2:08 pm, Marcus Vinícius Bastos de Andrade
mynameisf...@gmail.com wrote:
 If you are using Hibernate as JPA provider, I suggest you to take a look in
 Gilead projecthttp://noon.gilead.free.fr/gilead/and GWT-SL 
 projecthttp://gwt-widget.sourceforge.net/
 Create a separated project for your entities and use it as dependency in
 main project and add this entity project to your application.gwt.xml using
 'inherits' tag.

 best regards,



 On Sun, Aug 29, 2010 at 1:13 PM, Joe Hudson joe...@gmail.com wrote:
  Hi,

  I was about to start a project that will use deferred binding to
  automatically convert JPA-annotated entities to GWT Records.  Before
  re-inventing the wheel I wanted to make sure this didn't exist first -
  does anyone know of a project that is already doing this?  Thanks.

  Joe

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Marcus Vinícius Bastos de Andradehttp://twitter.com/mynameisflaw+55 31 
 9823-3606begin_of_the_skype_highlighting  +55 31 
 9823-3606  end_of_the_skype_highlighting

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: converting JPA entities to Records

2010-08-29 Thread Peter Simun
Hi Joe,

You mean Record class from GWT 2.1? or smartGWT record?
We are doing exactly what you are expecting but not with GWT Record.
We are converting (JPA) domain entity into SmartGWT record, GXT model
data, or pure GWT map - something like GWT record. We are calling
this beanWrappers and you can find the documentation here:
http://code.google.com/p/acris/wiki/BeanWrappers

Implementation for GWT map is here:
http://acris.googlecode.com/svn/trunk/acris-binding/src/main/java/sk/seges/acris/binding/rebind/bean/BeanWrapperCreator.java
or smartGWT one is here:
http://acris.googlecode.com/svn/trunk/acris-showcase/acris-showcase-ui-support/src/main/java/sk/seges/acris/binding/rebind/bean/smartgwt/SmartGWTRecordWrapperCreator.java

At least it is good starting point for the inspiration, or I can help
you with concrete implementation that fits your needs.

Peter

On 29. Aug, 20:08 h., Marcus Vinícius Bastos de Andrade
mynameisf...@gmail.com wrote:
 If you are using Hibernate as JPA provider, I suggest you to take a look in
 Gilead projecthttp://noon.gilead.free.fr/gilead/and GWT-SL 
 projecthttp://gwt-widget.sourceforge.net/
 Create a separated project for your entities and use it as dependency in
 main project and add this entity project to your application.gwt.xml using
 'inherits' tag.

 best regards,



 On Sun, Aug 29, 2010 at 1:13 PM, Joe Hudson joe...@gmail.com wrote:
  Hi,

  I was about to start a project that will use deferred binding to
  automatically convert JPA-annotated entities to GWT Records.  Before
  re-inventing the wheel I wanted to make sure this didn't exist first -
  does anyone know of a project that is already doing this?  Thanks.

  Joe

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Marcus Vinícius Bastos de Andradehttp://twitter.com/mynameisflaw
 +55 31 9823-3606

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



using the Widget.handlerManager with Composites

2010-08-29 Thread Joe Hudson
Hi,

I am using Composites and would like to be able reference the
HandlerManager methods.  These seem to not be visible to me so I end
up duplicating the code that already exists on Widget for my
composites - is there any reason why these methods are friendly scoped
instead of protected scoped?  Or, am I just thinking about this
incorrectly?  Here is what I end up re-writing for my composites:


  HandlerManager ensureHandlers() {
return handlerManager == null ? handlerManager =
createHandlerManager()
: handlerManager;
  }

  HandlerManager getHandlerManager() {
return handlerManager;
  }

  public final H extends EventHandler HandlerRegistration
addHandler(
  final H handler, GwtEvent.TypeH type) {
return ensureHandlers().addHandler(type, handler);
  }

  public void fireEvent(GwtEvent? event) {
if (handlerManager != null) {
  handlerManager.fireEvent(event);
}
  }

So, am I missing something here?  This just doesn't make sense that I
would have to do this.  Thanks.

Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: WSDL

2010-08-29 Thread Deepak Singh
Hi,

I tried with groovyws but could not run succesfully.
I created a java project in eclipse 3.5. Added the jar files groovyws.jar
with 0.5.2 version,cxf-bundle-2.1.4.jar, asm.jar .
Did the following code :


WSClient proxy = *new* WSClient(
http://www.w3schools.com/webservices/tempconvert.asmx?WSDL;, GroovyTest.*
class*.getClassLoader());

proxy.initialize();

Object *obj* = proxy.invokeMethod(CelsiusToFahrenheit, 0);

But when i run it, i always get error saying the someclass.not found
exception.

Pls let me know that am i missing some more jar files or any configuration
needs to be done to run it.

Thanks

Deepak






On Tue, Aug 10, 2010 at 8:00 PM, rudolf michael roud...@gmail.com wrote:

 Well you need to use a proxy on the server that calls the different web
 services you have.
 In case you like dynamic language check this out
 http://groovy.codehaus.org/GroovyWS

  http://groovy.codehaus.org/GroovyWSit is so fucking easy to use web
 services with groovy. but this has nothing to do with GWT/client side
 coding.


 best regards,
 Rudolf Michael


 On Tue, Aug 10, 2010 at 5:26 PM, mikedshaf...@gmail.com 
 mikedshaf...@gmail.com wrote:

 To follow up on the other replyyou have to do this on the server,
 in Java.  Apache Axis is a great way to do it...  But it won't work on
 the client in the emulated JRE (I suspect since I've never tried it,
 but I doubt it will)


 On Aug 10, 3:27 am, Deepak Singh deepaksingh...@gmail.com wrote:
  Hi All,
 
  I need to consume several cross-domain wsdl files and get data by
 calling
  methods from wsdl. I dont know how to do this using GWT.
  Pls suggest. I am using GWT 2.1 m2
 
  Thanks
  Deepak

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


   --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Problems with gwt plugin and eclipse

2010-08-29 Thread TBirch
I am running 64 bit windows vista and for some reason I am getting
this error:
Errors occurred during the build.
Errors running builder 'Google Web Toolkit Project Validator' on
project 'contacts'.
org.eclipse.jdt.internal.core.JavaModel cannot be cast to
org.eclipse.jdt.core.IJavaProject

I have tried several versions of eclipse and and the only way I seem
to be able to create and run a standard gwt project in eclipse is by
going back to an older version of eclipse i.e Version:
3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ
Build id: I20090611-1540

Anyone have any suggestions as I have tried every other combination of
32 and 64 bit eclipse with gwt plugin I can think of.
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Difficulty with GWT Developer Plugin Chrome amp; Firefox

2010-08-29 Thread L Fenyvesi
Chris Rowland chris.robert.rowl...@... writes:

 
 I'm doing some work with the most recent version of GWT (have been
 working using the old hosted mode for quite a while) and I'm having
 issues getting the developer addin installed in Chrome and Firefox.
 When pasting the URL provided by the eclipse plugin, IE prompted to
 install the addin and it worked ok.
 
 However, when doing the same thing in Chrome and Firefox, it failed.
 
 In Chrome, it simply said the addin was missing.  With Firefox it said
 it was missing, but couldn't find it.
 
 I wasn't able to find anywhere to download the installer manually,
 either.
 
 Any advice?
 


I have this same issue for some days.
It was working correctly before, I don't know what happened.
Did you resolve the problem somehow?
I'm interested in it, please write me if you could.
Thank you.
LF

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: converting JPA entities to Records

2010-08-29 Thread Thomas Broyer

On 29 août, 18:13, Joe Hudson joe...@gmail.com wrote:
 Hi,

 I was about to start a project that will use deferred binding to
 automatically convert JPA-annotated entities to GWT Records.  Before
 re-inventing the wheel I wanted to make sure this didn't exist first -
 does anyone know of a project that is already doing this?  Thanks.

The SpringSource Tool Suite or Spring Roo maybe...

But instead of deferred binding (which is likely to fail IMO), why not
use annotation processors (javax.annotation.processing.*)? run either
in your IDE (on demand, or at soon as you edit a JPA-annotated entity
*.java file) or on the command line using the apt tool from your
JDK, you'll be able to process your JPA-annotated classes and generate
any (Java) file your want.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: using the Widget.handlerManager with Composites

2010-08-29 Thread Thomas Broyer


On 29 août, 21:26, Joe Hudson joe...@gmail.com wrote:
 Hi,

 I am using Composites and would like to be able reference the
 HandlerManager methods.  These seem to not be visible to me so I end
 up duplicating the code that already exists on Widget for my
 composites - is there any reason why these methods are friendly scoped
 instead of protected scoped?  Or, am I just thinking about this
 incorrectly?

Any reason you don't just use Widget#addHandler and Widget#fireEvent?
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/Widget.html#addHandler(H,
com.google.gwt.event.shared.GwtEvent.Type)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Handling too many locales in a large scale real life app

2010-08-29 Thread Joe Cole
What we do is have a test case that ensures that our interface and
properties files are completely defined:

// call this method for each properties file
public void checkMessagesDefinedProperlyInBothInterfaceAndFile(String
file) {
Properties f2 = new Properties();
FileInputStream in = null;
try {
in = new FileInputStream(file);
f2.load(in);
} catch (Exception e) {
e.printStackTrace();
Assert.fail(e.getMessage());
} finally {
IO.safelyClose(in);
}
Assert.assertNotNull(f2);
// check methods - properties
for (Method m : YouMessagesClass.class.getDeclaredMethods()) {
Assert.assertTrue(m.getName() +  shoud not be empty,
Is.entered(f2.getProperty(m.getName(;
if (m.getParameterTypes().length  0) {
Assert.assertTrue(m.getName() +  should 
contain {,
f2.getProperty(m.getName()).indexOf('{')  -1);
Assert.assertTrue(m.getName() +  should 
contain {,
f2.getProperty(m.getName()).indexOf('}')  -1);
}
}
// check properties - methods
for (Object key : f2.keySet()) {
String property = f2.getProperty((String) key);
if (property.indexOf('}') == -1)
continue;
for (Method m : 
YourMessagesClass.class.getDeclaredMethods()) {
if (m.getName().equals(key)) {
Assert.assertTrue(key +  should have 
at least 1 parameter,
m.getParameterTypes().length  0);
break;
}
}
}
}

What we do is have critical tests like this run on save, in
our .project file we have :

buildCommand
nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name
triggersauto,full,incremental,/triggers
arguments
dictionary
keyLaunchConfigHandle/key
valuelt;projectgt;/Autobuild.launch/value
/dictionary
/arguments
/buildCommand

This ensures that we don't have to remember to add keys, servlet
definitions in web.xml etc - all the critical things that can go
wrong, but are easy to forget.

Joe

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



I need help custom querying blobs. Can anybody get JDO BlobInfo query to to work?

2010-08-29 Thread branflake2267
Can anybody get a custom BlobInfo JDO query to work?

I can't figure out how to do a custom query on the Blobs?
http://code.google.com/p/gwt-examples/source/browse/trunk/DemoUpload/src/org/gonevertical/upload/server/BlobInfoJdo.java

This GQL works to query blobs: SELECT * FROM __BlobInfo__
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobInfoFactory.html
- api reference to custom querying

Reference:
http://demofileuploadgae.appspot.com/ - This is my demo where someone
can test uploading a file to the blobstore.
http://gwt-examples.googlecode.com - my gwt examples


Thanks for looking,
Brandon

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



app engine with hosted mode

2010-08-29 Thread alexh
Hi,

I posted a while back about having trouble running App Engine under
hosted mode using the gwt-maven-plugin.

http://groups.google.com/group/google-web-toolkit/browse_thread/thread/2432606db3635f3d/fbd6a8749c977b0d?lnk=gstq=app+engine+hosted#fbd6a8749c977b0d

I've been able to find the correct configuration with the plugin to
launch the GAE runtime but I am now finding that hot deploy of
changes doesn't work. If I change a GWT compiled class in Eclipse, the
change isn't available when I refresh the browser. I have to perform
essentially a gwt:compile to have the change appear. Anyone have ideas
on what might be the problem?

Here's my plugin configuration in my pom.xml.

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdgwt-maven-plugin/artifactId
version1.3.1.google/version
executions
execution
goals
goalcompile/goal

goalgenerateAsync/goal
goaltest/goal
/goals
/execution
/executions
configuration
!--
styleDETAILED/style
logLevelDEBUG/logLevel
 --
runTarget/index/runTarget

hostedWebapp${project.build.directory}/$
{project.build.finalName}/hostedWebapp
copyWebapptrue/copyWebapp

servercom.google.appengine.tools.development.gwt.AppEngineLauncher/
server
extraJvmArgs-Xmx512m 
-Dappengine.sdk.root=${gae.home} -
javaagent:${gae.home}/lib/agent/appengine-agent.jar/extraJvmArgs
gwtVersion${gwt.version}/gwtVersion
soycfalse/soyc
/configuration
/plugin

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



DisclosurePanel and ScrollPanel

2010-08-29 Thread ailinykh
Hello, everybody!
I have simple layout, something like this
g:DisclosurePanel 
g:headerEdit Lists/g:header
g:HTMLPanel
some stuff here
/g:HTMLPanel
/g:DisclosurePanel

g:ScrollPanel
g:Tree ui:field=listTree /
/g:ScrollPanel

What is Disclosure panel followed by ScrollPanel. What I expect is
when I expand Disclosure panel ScrollPanel becomes smaller and user
can see scrollbar.
But it never happens. Scrollpanel just moves down keeping the same
size. Is there a way to give to scrollpanel the rest of parent's
space?

Thank you,
  Andrey

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Event chaining

2010-08-29 Thread branflake2267
With out seeing your code I'm not entirely sure, but I would suggest
checking to see if you have added a click handler to the widget you
want to observe clicks on.

I have some source to look at if your interested:

My click handlers are here: http://gwtexample.appspot.com/ and source
for it: 
http://code.google.com/p/gwt-examples/source/browse/#svn/trunk/gwt_handler_example/src/com/gawkat/gwt/example_handler/client

Brandon Donnelson
http://gwt-examples.googlecode.com

On Aug 27, 6:59 am, john nash rajasing...@gmail.com wrote:
 Hi ,

 I am facing a problem related to firing of the events .
 Let me elaborate :
 When I change a value in a textBox and click on a button directly
 (without clicking elsewhere) , only onChange event is fired . But I
 expect that onClick event should also be fired followed by onChange
 event .

 I am not actually being able to make this event chaining happen .
 I would like to know the way I should acheive this .

 Thanks

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: War takes more space

2010-08-29 Thread branflake2267
Hi,

I would suggest replacing all the files every time, at least thats
what I do. GWT sdk will automatically build you a war, unless your
using the eclipse plugin, you'll need to zip up the war directory
contents and rename the war to the path you like. The things that do
need to be replaced in particular are in the classes folder, and any
HTML/javascript files compiled with the module name. If your using
tomcat manager, or tomcat, all you then need to do is set the war into
the webapps directory, and it will deploy or upload it with the
manager.

Not sure this will help, but I have some tomcat notes here:
http://code.google.com/p/gwt-examples/wiki/gwtTomcat

Brandon Donnelson
http://gwt-examples.googlecode.com

On Aug 26, 5:12 am, sathya ayyanar sathyaayyanar1...@gmail.com
wrote:
 I am using GWT.
 In this, WAR folder takes more memory. When i reduce my source file
 also it doesn't get reduced. What are all files/folder must be needed
 in WAR? Please give suggestion about needs of each file and folder?
 Some of folders are images, smartG, Web-INF, sc, LS, js, pieces(In
 this, Sc and Web-INF takes more space).

 I attached the folder details in the following 
 URLhttp://rapidshare.com/files/415235782/War_folder.bmp

 In my test system I am already having War folder. In Each and every
 time of testing What are all folders/files to be replaced?

 Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Browser related issue

2010-08-29 Thread sathya ayyanar
I am using GWT-JAVA.
The Login page displayed good in firefox.
But In IE It is too slow and also Fonts are too big.
In chrome it display only the background image. Nothing will be
display. Is it GWT a browser dependent? Otherwise Can i change any
other options or anything else? (Note: In NameFieldContainer I added
the logoImage. And In SendButtonContainer I added the login form)

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Browser related issue

2010-08-29 Thread aditya sanas
which version of IE are you using...?
the problem you are facing here is with the styling of your page not the GWT
issue
so you have to include IE enabled css to counter this problem.
--
Aditya


On Mon, Aug 30, 2010 at 10:39 AM, sathya ayyanar 
sathyaayyanar1...@gmail.com wrote:

 I am using GWT-JAVA.
 The Login page displayed good in firefox.
 But In IE It is too slow and also Fonts are too big.
 In chrome it display only the background image. Nothing will be
 display. Is it GWT a browser dependent? Otherwise Can i change any
 other options or anything else? (Note: In NameFieldContainer I added
 the logoImage. And In SendButtonContainer I added the login form)

 Thanks in advance

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.