Why not use class name as the TYPE of the event
Hi all, A custom event needs to have a TYPE variable to denote the type of the event. For example: public class LogoutEvent extends Event { public static Type TYPE = new Type(); @Override protected void dispatch(LogoutEventHandler handler) { handler.onLogout(); } @Override public com.google.web.bindery.event.shared.Event.Type getAssociatedType() { return TYPE; } } I am just curious about the need to have the TYPE field. Why GWT could not use the class name of the event(in this case LogoutEvent) to denote the type of the event. Only purpose I see of this type is to have it as a key in the map of events and their handlers. I think even the class name could have served as the key in this map. Thanks Ganesh -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Hi All,
Hi Prasad Can you provide a prototype to reproduce the issue? Thanks, Ganesh On Nov 1, 2:37 pm, prasad korrapati wrote: > I am new to the GWT . i am able to run my GWT application in firefox > and IE also . but when i run my application in Google-chrome the > category table in my application is not clickable (When i leave the > browser and went to the other browser for 5 minutes).This is what > happening in Chrome Browser only. > > Please help me . > 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-toolkit@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 same RPC servlet by mutliple modules
Thanks for the reply Sripathi On Nov 23, 12:13 pm, Sripathi Krishnan wrote: > AFAIK - you can only specify a wild card at the end of the URL. A * in the > middle is treated as a literal, and not a wild card. > > See -http://www.velocityreviews.com/forums/t133725-using-wildcard-characte... > > --Sri > > 2009/11/22 smiletolead > > > > > I want know why it does not work without using Guice. Because > > specifying a URL pattern with wild card is working for a normal > > servlet but it is not working for a RPC servlet > > > On Nov 21, 7:07 am, Fabio wrote: > > > Maybe GuiceRemoteServiceServlet fits your needs. All the services are > > > mapped to the same url, and GuiceRemoteServiceServlet uses Guice > > > dependency injection to choose one appropriate service implementation, > > > that serves the service interface on which the request was made. > > > > hope it helps > > > > On 20 nov, 11:28, Kamal Chandana Mettananda wrote: > > > > > Hi, > > > > > When you specify the servlet url-pattern; you must specify the path you > > > > expects without wild cards in the middle of the url-pattern. (wild card > > > > character can be a suffix in a url pattern). > > > > > Cheers, > > > > Kamalhttp://lkamal.blogspot.com > > > > > On Fri, Nov 20, 2009 at 6:50 PM, smiletolead > >wrote: > > > > > > Hi all, > > > > > I have a project with 2 modules. The modules are sharing a RPC > > > > > servlet. The idea is to use single RPC servlet for multiple Service > > > > > interfaces. The interfaces reside in different modules. I am facing > > > > > one problem when use * in the URL pattern. The servlet is not getting > > > > > invoked when I use the URL patter as "/*/moduleA". It is expecting me > > > > > to specify the exact URL. Can anyone tell me what the problem is? > > > > > > Regards, > > > > > > -- > > > > > > 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 > > > > cr...@googlegroups.com> > cr...@googlegroups.com> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-web-toolkit?hl=. > > > -- > > > 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 > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=. -- 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 same RPC servlet by mutliple modules
Thanks for the reply. I found that using the URL pattern '/moduleA/*' did not work. But as per the rule it should have work. My intention was to call the RPC which has the exact URL pattern as '/ moduleA/greet' On Nov 23, 12:13 pm, Sripathi Krishnan wrote: > AFAIK - you can only specify a wild card at the end of the URL. A * in the > middle is treated as a literal, and not a wild card. > > See -http://www.velocityreviews.com/forums/t133725-using-wildcard-characte... > > --Sri > > 2009/11/22 smiletolead > > > > > I want know why it does not work without using Guice. Because > > specifying a URL pattern with wild card is working for a normal > > servlet but it is not working for a RPC servlet > > > On Nov 21, 7:07 am, Fabio wrote: > > > Maybe GuiceRemoteServiceServlet fits your needs. All the services are > > > mapped to the same url, and GuiceRemoteServiceServlet uses Guice > > > dependency injection to choose one appropriate service implementation, > > > that serves the service interface on which the request was made. > > > > hope it helps > > > > On 20 nov, 11:28, Kamal Chandana Mettananda wrote: > > > > > Hi, > > > > > When you specify the servlet url-pattern; you must specify the path you > > > > expects without wild cards in the middle of the url-pattern. (wild card > > > > character can be a suffix in a url pattern). > > > > > Cheers, > > > > Kamalhttp://lkamal.blogspot.com > > > > > On Fri, Nov 20, 2009 at 6:50 PM, smiletolead > >wrote: > > > > > > Hi all, > > > > > I have a project with 2 modules. The modules are sharing a RPC > > > > > servlet. The idea is to use single RPC servlet for multiple Service > > > > > interfaces. The interfaces reside in different modules. I am facing > > > > > one problem when use * in the URL pattern. The servlet is not getting > > > > > invoked when I use the URL patter as "/*/moduleA". It is expecting me > > > > > to specify the exact URL. Can anyone tell me what the problem is? > > > > > > Regards, > > > > > > -- > > > > > > 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 > > > > cr...@googlegroups.com> > cr...@googlegroups.com> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-web-toolkit?hl=. > > > -- > > > 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 > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=. -- 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 same RPC servlet by mutliple modules
I want know why it does not work without using Guice. Because specifying a URL pattern with wild card is working for a normal servlet but it is not working for a RPC servlet On Nov 21, 7:07 am, Fabio wrote: > Maybe GuiceRemoteServiceServlet fits your needs. All the services are > mapped to the same url, and GuiceRemoteServiceServlet uses Guice > dependency injection to choose one appropriate service implementation, > that serves the service interface on which the request was made. > > hope it helps > > On 20 nov, 11:28, Kamal Chandana Mettananda wrote: > > > > > Hi, > > > When you specify the servlet url-pattern; you must specify the path you > > expects without wild cards in the middle of the url-pattern. (wild card > > character can be a suffix in a url pattern). > > > Cheers, > > Kamalhttp://lkamal.blogspot.com > > > On Fri, Nov 20, 2009 at 6:50 PM, smiletolead wrote: > > > > Hi all, > > > I have a project with 2 modules. The modules are sharing a RPC > > > servlet. The idea is to use single RPC servlet for multiple Service > > > interfaces. The interfaces reside in different modules. I am facing > > > one problem when use * in the URL pattern. The servlet is not getting > > > invoked when I use the URL patter as "/*/moduleA". It is expecting me > > > to specify the exact URL. Can anyone tell me what the problem is? > > > > Regards, > > > > -- > > > > 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 > > cr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=. -- 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=.
Re: Using same RPC servlet by mutliple modules
Specifying the wild card did not work some reason. On Nov 20, 6:28 pm, Kamal Chandana Mettananda wrote: > Hi, > > When you specify the servlet url-pattern; you must specify the path you > expects without wild cards in the middle of the url-pattern. (wild card > character can be a suffix in a url pattern). > > Cheers, > Kamalhttp://lkamal.blogspot.com > > On Fri, Nov 20, 2009 at 6:50 PM, smiletolead wrote: > > > > > Hi all, > > I have a project with 2 modules. The modules are sharing a RPC > > servlet. The idea is to use single RPC servlet for multiple Service > > interfaces. The interfaces reside in different modules. I am facing > > one problem when use * in the URL pattern. The servlet is not getting > > invoked when I use the URL patter as "/*/moduleA". It is expecting me > > to specify the exact URL. Can anyone tell me what the problem is? > > > Regards, > > > -- > > > 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 > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=. -- 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=.
Using same RPC servlet by mutliple modules
Hi all, I have a project with 2 modules. The modules are sharing a RPC servlet. The idea is to use single RPC servlet for multiple Service interfaces. The interfaces reside in different modules. I am facing one problem when use * in the URL pattern. The servlet is not getting invoked when I use the URL patter as "/*/moduleA". It is expecting me to specify the exact URL. Can anyone tell me what the problem is? Regards, -- 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=.
Re: Renaming war folder in GWT project
Thanks. On Sep 8, 12:25 pm, olivier nouguier wrote: > -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 wrote: > > > There is nothing magic about the 'war' folder name with respect to the > > ant build file. You'd need to update the names in that file > > accordingly. > > > If you use the eclipse plug-in then I'm guessing it is specifically > > looking for the war folder so changing the name will likely break > > things. There might be an option to change this but I don't have much > > experience with the plug-in. > > > On Sep 7, 6:34 am, smiletolead wrote: > > > Hi all, > > > One question regarding the project structure in GWT 1.6 or greater. > > > I want to rename 'war' folder. Can this folder be renamed to some > > > other name, say, WebResources? Will the hosted browser work properly? > > > I am using Eclipse with the GWT plugin > > > > Thanks, > > > Ganesh > > -- > A coward is incapable of exhibiting love; it is the prerogative of the > brave. > -- > Mohandas Gandhi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Renaming war folder in GWT project
Hi all, One question regarding the project structure in GWT 1.6 or greater. I want to rename 'war' folder. Can this folder be renamed to some other name, say, WebResources? Will the hosted browser work properly? I am using Eclipse with the GWT plugin Thanks, Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Running Apache Hupa sample of GWT MVP
I am behind a proxy actually. Is it because of that? On Sep 1, 2:24 pm, Norman Maurer wrote: > Ok this sounds like a firewall in front. telnet to port 993 works fine here.. > > Bye, > Norman > > 2009/9/1 smiletolead : > > > > > Telnetting is giving me the following result: > > > C:\>telnet imap.gmail.com 993 > > Connecting To imap.gmail.com...Could not open connection to the host, > > on port 993: Connect failed > > > Thanks, > > Ganesh > > > On Sep 1, 2:11 pm, Norman Maurer wrote: > >> can you try to connect to it via telnet, just to see if there is a > >> firewall in front: > > >> telnet imap.gmail.com 993 > >> telnet smtp.gmail.com 465 > > >> Thx, > >> Norman > > >> 2009/9/1 smiletolead : > > >> > Here is the config.properties: > > >> > # The IP or domainname of the IMAP server > >> > IMAPServerAddress=imap.gmail.com > >> > # The port of the IMAP server > >> > IMAPServerPort=993 > >> > # Use SSL/TLS to connect to the IMAP server > >> > IMAPS=true > >> > # The IP or domainname of the SMTP server > >> > SMTPServerAddress=smtp.gmail.com > >> > # The port of the SMTP server > >> > SMTPServerPort=465 > >> > # Use AUTH for SMTP > >> > SMTPAuth=true > >> > # Use SSL/TLS to connect to the SMTP server > >> > SMTPS=true > > >> > It is copied from the reply given by you only > > >> > Ganesh > > >> > On Sep 1, 2:01 pm, Norman Maurer wrote: > >> >> Can you post your config.properties file. > > >> >> Connection timeout sounds like a firewall,wrong ip or wrong port. > > >> >> Thx, > >> >> Norman > > >> >> 2009/9/1 smiletolead : > > >> >> > Hi Norman, > >> >> > I downloaded the latest code. When connecting to gmail, I get the > >> >> > following error: > > >> >> > 268627 [btpool0-2] ERROR HupaLogger - Unable to authenticate user > >> >> > kumar.gane...@gmail.com > >> >> > javax.mail.MessagingException: Connection timed out: connect; > >> >> > nested exception is: > >> >> > java.net.ConnectException: Connection timed out: connect > >> >> > at > >> >> > com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:611) > >> >> > at javax.mail.Service.connect(Service.java:291) > >> >> > at org.apache.hupa.server.InMemoryIMAPStoreCache.get > >> >> > (InMemoryIMAPStoreCache.java:87) > >> >> > at org.apache.hupa.server.InMemoryIMAPStoreCache.get > >> >> > (InMemoryIMAPStoreCache.java:69) > >> >> > at org.apache.hupa.server.handler.LoginUserHandler.execute > >> >> > (LoginUserHandler.java:71) > >> >> > at org.apache.hupa.server.handler.LoginUserHandler.execute > >> >> > (LoginUserHandler.java:1) > >> >> > at net.customware.gwt.dispatch.server.DefaultDispatch.doExecute > >> >> > (DefaultDispatch.java:78) > >> >> > at net.customware.gwt.dispatch.server.DefaultDispatch.execute > >> >> > (DefaultDispatch.java:68) > >> >> > at > >> >> > net.customware.gwt.dispatch.server.service.DispatchServiceServlet.execute > >> >> > (DispatchServiceServlet.java:24) > >> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> >> > at sun.reflect.NativeMethodAccessorImpl.invoke > >> >> > (NativeMethodAccessorImpl.java:39) > >> >> > at sun.reflect.DelegatingMethodAccessorImpl.invoke > >> >> > (DelegatingMethodAccessorImpl.java:25) > >> >> > at java.lang.reflect.Method.invoke(Method.java:597) > >> >> > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > >> >> > (RPC.java:527) > >> >> > at > >> >> > com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > >> >> > (RemoteServiceServlet.java:166) > >> >> > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > >> >> > (RemoteServiceServlet.java:86) > >> >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > >> >> &
Re: Running Apache Hupa sample of GWT MVP
Telnetting is giving me the following result: C:\>telnet imap.gmail.com 993 Connecting To imap.gmail.com...Could not open connection to the host, on port 993: Connect failed Thanks, Ganesh On Sep 1, 2:11 pm, Norman Maurer wrote: > can you try to connect to it via telnet, just to see if there is a > firewall in front: > > telnet imap.gmail.com 993 > telnet smtp.gmail.com 465 > > Thx, > Norman > > 2009/9/1 smiletolead : > > > > > Here is the config.properties: > > > # The IP or domainname of the IMAP server > > IMAPServerAddress=imap.gmail.com > > # The port of the IMAP server > > IMAPServerPort=993 > > # Use SSL/TLS to connect to the IMAP server > > IMAPS=true > > # The IP or domainname of the SMTP server > > SMTPServerAddress=smtp.gmail.com > > # The port of the SMTP server > > SMTPServerPort=465 > > # Use AUTH for SMTP > > SMTPAuth=true > > # Use SSL/TLS to connect to the SMTP server > > SMTPS=true > > > It is copied from the reply given by you only > > > Ganesh > > > On Sep 1, 2:01 pm, Norman Maurer wrote: > >> Can you post your config.properties file. > > >> Connection timeout sounds like a firewall,wrong ip or wrong port. > > >> Thx, > >> Norman > > >> 2009/9/1 smiletolead : > > >> > Hi Norman, > >> > I downloaded the latest code. When connecting to gmail, I get the > >> > following error: > > >> > 268627 [btpool0-2] ERROR HupaLogger - Unable to authenticate user > >> > kumar.gane...@gmail.com > >> > javax.mail.MessagingException: Connection timed out: connect; > >> > nested exception is: > >> > java.net.ConnectException: Connection timed out: connect > >> > at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:611) > >> > at javax.mail.Service.connect(Service.java:291) > >> > at org.apache.hupa.server.InMemoryIMAPStoreCache.get > >> > (InMemoryIMAPStoreCache.java:87) > >> > at org.apache.hupa.server.InMemoryIMAPStoreCache.get > >> > (InMemoryIMAPStoreCache.java:69) > >> > at org.apache.hupa.server.handler.LoginUserHandler.execute > >> > (LoginUserHandler.java:71) > >> > at org.apache.hupa.server.handler.LoginUserHandler.execute > >> > (LoginUserHandler.java:1) > >> > at net.customware.gwt.dispatch.server.DefaultDispatch.doExecute > >> > (DefaultDispatch.java:78) > >> > at net.customware.gwt.dispatch.server.DefaultDispatch.execute > >> > (DefaultDispatch.java:68) > >> > at > >> > net.customware.gwt.dispatch.server.service.DispatchServiceServlet.execute > >> > (DispatchServiceServlet.java:24) > >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> > at sun.reflect.NativeMethodAccessorImpl.invoke > >> > (NativeMethodAccessorImpl.java:39) > >> > at sun.reflect.DelegatingMethodAccessorImpl.invoke > >> > (DelegatingMethodAccessorImpl.java:25) > >> > at java.lang.reflect.Method.invoke(Method.java:597) > >> > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > >> > (RPC.java:527) > >> > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > >> > (RemoteServiceServlet.java:166) > >> > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > >> > (RemoteServiceServlet.java:86) > >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > >> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > >> > at com.google.inject.servlet.ServletDefinition.doService > >> > (ServletDefinition.java:216) > >> > at com.google.inject.servlet.ServletDefinition.service > >> > (ServletDefinition.java:141) > >> > at com.google.inject.servlet.ManagedServletPipeline.service > >> > (ManagedServletPipeline.java:93) > >> > at com.google.inject.servlet.FilterChainInvocation.doFilter > >> > (FilterChainInvocation.java:63) > >> > at com.google.inject.servlet.ManagedFilterPipeline.dispatch > >> > (ManagedFilterPipeline.java:122) > >> > at > >> > com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java: > >> > 110) > >> > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > >> > (ServletHandle
Re: Running Apache Hupa sample of GWT MVP
Here is the config.properties: # The IP or domainname of the IMAP server IMAPServerAddress=imap.gmail.com # The port of the IMAP server IMAPServerPort=993 # Use SSL/TLS to connect to the IMAP server IMAPS=true # The IP or domainname of the SMTP server SMTPServerAddress=smtp.gmail.com # The port of the SMTP server SMTPServerPort=465 # Use AUTH for SMTP SMTPAuth=true # Use SSL/TLS to connect to the SMTP server SMTPS=true It is copied from the reply given by you only Ganesh On Sep 1, 2:01 pm, Norman Maurer wrote: > Can you post your config.properties file. > > Connection timeout sounds like a firewall,wrong ip or wrong port. > > Thx, > Norman > > 2009/9/1 smiletolead : > > > > > Hi Norman, > > I downloaded the latest code. When connecting to gmail, I get the > > following error: > > > 268627 [btpool0-2] ERROR HupaLogger - Unable to authenticate user > > kumar.gane...@gmail.com > > javax.mail.MessagingException: Connection timed out: connect; > > nested exception is: > > java.net.ConnectException: Connection timed out: connect > > at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:611) > > at javax.mail.Service.connect(Service.java:291) > > at org.apache.hupa.server.InMemoryIMAPStoreCache.get > > (InMemoryIMAPStoreCache.java:87) > > at org.apache.hupa.server.InMemoryIMAPStoreCache.get > > (InMemoryIMAPStoreCache.java:69) > > at org.apache.hupa.server.handler.LoginUserHandler.execute > > (LoginUserHandler.java:71) > > at org.apache.hupa.server.handler.LoginUserHandler.execute > > (LoginUserHandler.java:1) > > at net.customware.gwt.dispatch.server.DefaultDispatch.doExecute > > (DefaultDispatch.java:78) > > at net.customware.gwt.dispatch.server.DefaultDispatch.execute > > (DefaultDispatch.java:68) > > at > > net.customware.gwt.dispatch.server.service.DispatchServiceServlet.execute > > (DispatchServiceServlet.java:24) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:527) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > (RemoteServiceServlet.java:166) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > > (RemoteServiceServlet.java:86) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at com.google.inject.servlet.ServletDefinition.doService > > (ServletDefinition.java:216) > > at com.google.inject.servlet.ServletDefinition.service > > (ServletDefinition.java:141) > > at com.google.inject.servlet.ManagedServletPipeline.service > > (ManagedServletPipeline.java:93) > > at com.google.inject.servlet.FilterChainInvocation.doFilter > > (FilterChainInvocation.java:63) > > at com.google.inject.servlet.ManagedFilterPipeline.dispatch > > (ManagedFilterPipeline.java:122) > > at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java: > > 110) > > at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter > > (ServletHandler.java:1088) > > at org.mortbay.jetty.servlet.ServletHandler.handle > > (ServletHandler.java:360) > > at org.mortbay.jetty.security.SecurityHandler.handle > > (SecurityHandler.java:216) > > at org.mortbay.jetty.servlet.SessionHandler.handle > > (SessionHandler.java:181) > > at org.mortbay.jetty.handler.ContextHandler.handle > > (ContextHandler.java:729) > > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: > > 405) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:152) > > at org.mortbay.jetty.handler.RequestLogHandler.handle > > (RequestLogHandler.java:49) > > at org.mortbay.jetty.handler.HandlerWrapper.handle > > (HandlerWrapper.java:152) > > at org.mortbay.jetty.Server.handle(Server.java:324) > > at > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: > > 505) > > at org.mortbay.jetty.HttpConnection$RequestHandler.content > > (HttpConnection.java:843) > > at org.
Re: Running Apache Hupa sample of GWT MVP
Hi all, > > Hupa supports SSL since yesterday morning ;) I just tested Hupa with > gmail and it worked. > So here are the steps you need to take: > * Checkout latest trunk of Hupa (https://svn.apache.org/repos/asf/labs/hupa/) > * Change the config.properties file to contain this: > > # The IP or domainname of the IMAP server > IMAPServerAddress=imap.gmail.com > # The port of the IMAP server > IMAPServerPort=993 > # Use SSL/TLS to connect to the IMAP server > IMAPS=true > > # The IP or domainname of the SMTP server > SMTPServerAddress=smtp.gmail.com > # The port of the SMTP server > SMTPServerPort=465 > # Use AUTH for SMTP > SMTPAuth=true > # Use SSL/TLS to connect to the SMTP server > SMTPS=true > > That's it. > Feedback is welcome :) > > Bye, > Norman > > 2009/8/31 Manuel Carrasco Moñino : > > > Last time I played with hupa i didn't support ssl, however gmail needs ssl > > for imap and tls for smtp. > > So I think it is not possible to use it with gmail. > > > Manolo Carrasco > > > On Mon, Aug 31, 2009 at 3:04 PM, Norman Maurer wrote: > > >> well it should work with gmail.. Did you check if you have enabled > >> imap support in gmail: > >>http://mail.google.com/support/bin/answer.py?answer=77695 > > >> And how you run Hupa ? In tomcat/Jetty/Jboss/Hosted Mode ? > > >> Bye, > >> Norman > > >> 2009/8/31 smiletolead : > > >> > Hi Norman, > >> > Is it like I have to set up the mail server in my own machine? > > >> > --Ganesh > > >> > On Aug 30, 12:52 pm, Norman Maurer wrote: > >> >> Hi, > > >> >> anything in the server logs ? I neved tested it with googlemail yet, > >> >> Im tested it against dovecot and courier-imap. > > >> >> Any feedback is welcome:) > > >> >> Bye, > >> >> Norman > > >> >> 2009/8/30 smiletolead : > > >> >> > Hi all, > >> >> > I am looking at the sample GWT project Apache HUPA which implements > >> >> >MVPpattern. I am having trouble in running it, though I was able to > >> >> > set up in Eclipse. I am unable to login. I set this mail client to > >> >> > connect to gmail by setting IMAP details of gmail. But it did not > >> >> > connect. Has anyone connected it with gmail or any other IMAP mail > >> >> > server? > > >> >> > Thanks > >> >> > Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Running Apache Hupa sample of GWT MVP
I have enabled IMAP settings in Gmail. And I am running the app in Hosted mode. I have modified config.properties to run the app with gmail. On Aug 31, 6:04 pm, Norman Maurer wrote: > well it should work with gmail.. Did you check if you have enabled > imap support in > gmail:http://mail.google.com/support/bin/answer.py?answer=77695 > > And how you run Hupa ? In tomcat/Jetty/Jboss/Hosted Mode ? > > Bye, > Norman > > 2009/8/31 smiletolead : > > > > > > > Hi Norman, > > Is it like I have to set up the mail server in my own machine? > > > --Ganesh > > > On Aug 30, 12:52 pm, Norman Maurer wrote: > >> Hi, > > >> anything in the server logs ? I neved tested it with googlemail yet, > >> Im tested it against dovecot and courier-imap. > > >> Any feedback is welcome:) > > >> Bye, > >> Norman > > >> 2009/8/30 smiletolead : > > >> > Hi all, > >> > I am looking at the sample GWT project Apache HUPA which implements > >> >MVPpattern. I am having trouble in running it, though I was able to > >> > set up in Eclipse. I am unable to login. I set this mail client to > >> > connect to gmail by setting IMAP details of gmail. But it did not > >> > connect. Has anyone connected it with gmail or any other IMAP mail > >> > server? > > >> > Thanks > >> > Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Running Apache Hupa sample of GWT MVP
Hi Norman, Is it like I have to set up the mail server in my own machine? --Ganesh On Aug 30, 12:52 pm, Norman Maurer wrote: > Hi, > > anything in the server logs ? I neved tested it with googlemail yet, > Im tested it against dovecot and courier-imap. > > Any feedback is welcome:) > > Bye, > Norman > > 2009/8/30 smiletolead : > > > > > Hi all, > > I am looking at the sample GWT project Apache HUPA which implements > >MVPpattern. I am having trouble in running it, though I was able to > > set up in Eclipse. I am unable to login. I set this mail client to > > connect to gmail by setting IMAP details of gmail. But it did not > > connect. Has anyone connected it with gmail or any other IMAP mail > > server? > > > Thanks > > Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Running Apache Hupa sample of GWT MVP
Thanks Chris. I have referred to that application already :) On Aug 30, 3:53 pm, Chris Lowe wrote: > Hi Ganesh, > > The Hupa code is a great example to look at for MVP, command pattern > etc. If you're interested in those patterns then I've created a simple > (and standalone) example of an MVP application based on the generated > GWT starter application: > > http://blog.hivedevelopment.co.uk/2009/08/google-web-toolkit-gwt-mvp-... > > Hopefully that will give you something to play with until you get Hupa > up and running. > > Cheers, > > Chris. > > On Aug 30, 4:03 am, smiletolead wrote: > > > > > Hi all, > > I am looking at the sample GWT project Apache HUPA which implements > > MVP pattern. I am having trouble in running it, though I was able to > > set up in Eclipse. I am unable to login. I set this mail client to > > connect to gmail by setting IMAP details of gmail. But it did not > > connect. Has anyone connected it with gmail or any other IMAP mail > > server? > > > Thanks > > Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Running Apache Hupa sample of GWT MVP
Hi all, I am looking at the sample GWT project Apache HUPA which implements MVP pattern. I am having trouble in running it, though I was able to set up in Eclipse. I am unable to login. I set this mail client to connect to gmail by setting IMAP details of gmail. But it did not connect. Has anyone connected it with gmail or any other IMAP mail server? Thanks Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Tree item selection selecting parent element
Hi all, This is about the selecting an item in the GWT tree. If mouse is clicked to a little left of the item, the parent of the item is getting selected. If the distance is little more, the parent of the parent is selected and so on. Is this an issue in Tree? Regards, Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Grid sinks only ONCLICK event
Hi All, I have observed that com.google.gwt.user.client.ui.HTMLTable is sinking only ONCLICK events. If I want KEYEVENTS also, how can I do that? Thanks Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---
Unable to extend TreeItem because of package level access
Hi all, I am trying to extend TreeItem class in the package com.google.gwt.user.client.ui. When I try to override the method setTree(Tree tree), I observe that the children instance variable is not accessible and some of the methods its calling on Tree instance are package access restricted. For example, tree.adopt(child) and tree.orphan(child). Can anyone please tell me why these functions are having package level access? Thanks Ganesh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~--~~~~--~~--~--~---