Re: Add RetentionPolicy.RUNTIME to @RemoteServiceRelativePath

2010-03-22 Thread Martin D'Aloia
There is an accepted issue for this... see:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3803

And add a star

On Mon, Mar 22, 2010 at 7:44 AM, Ulon monz...@gmail.com wrote:

 The annotation @RemoteServiceRelativePath is used in the client side
 by GWT to find out the URL path of the RPC service.

 Server side code could make use of this annotation too. After all, our
 server-side code is going to implement the client side remote
 interface, so we should be able to get access to that annotation and
 extract the path in order to map the controller. Right now this
 annotation is lost in run time, so it's impossible to get this piece
 of data and we have to explicitly duplicate information in the server
 side in order to map the controller.

 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.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: Disabling click on DecoratedStackPanel

2010-02-24 Thread Martin D'Aloia
check the method public void onBrowserEvent(Event event) on StackPanel
(DecoratedStackPanel extends from it)... you need to override this method.

On Wed, Feb 24, 2010 at 2:24 AM, Abdullah Shaikh 
abdullah.shaik...@gmail.com wrote:

 anyone ?

 On Tue, Feb 23, 2010 at 8:08 PM, Abdullah Shaikh 
 abdullah.shaik...@gmail.com wrote:

 Hi All,

 I have a DecoratedStackPanel, the stacks of which I want to show
 programatically  using the showStack method, but I want to disable the user
 clicking on the stack to open it, how to disable click ?

 Thanks,
  Abdullah


 --
 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: Can we GET the GWT jars into the maven repository ????

2010-02-23 Thread Martin D'Aloia
because you haven't searched very well...

http://repo2.maven.org/maven2/com/google/gwt/

specifically...

http://repo2.maven.org/maven2/com/google/gwt/gwt-dev/2.0.2/gwt-dev-2.0.2.jar
http://repo2.maven.org/maven2/com/google/gwt/gwt-user/2.0.2/gwt-user-2.0.2.jar
http://repo2.maven.org/maven2/com/google/gwt/gwt-servlet/2.0.2/gwt-servlet-2.0.2.jar


On Tue, Feb 23, 2010 at 12:14 PM, JavaKungFu michaelpaque...@gmail.comwrote:

 Why are the GWT jars not into the maven repository ???
 http://repo1.maven.org/maven2/

 --
 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: Eclipse + Maven

2010-02-23 Thread Martin D'Aloia
1) you can disable it in: right click in the project -- Properties --
Validate -- there you can override the defaults and disable all or some
specific validation. Or you can do the same thing for all projects in the
eclipse general settings.

2) I'm not too sure about that, but I think this 2 ways, I don't know
neither if it will work nor which are the pros or cons:

- With profiles. Create a profile for manual builds and let the default gwt
maven plugin without the goalcompile/goal. Then when you run a, for
example, mvn package you must append -P withGwtCompileProfileName
- Another way can be putting in configuration the next declaration:
skiptrue/skip and then run, for example, mvn package
-Dgwt.compiler.skip=false
(see http://mojo.codehaus.org/gwt-maven-plugin/compile-mojo.html#skip )

I hope it will help you

Martin


On Tue, Feb 23, 2010 at 6:21 AM, seb2nim seb.le...@gmail.com wrote:

 I met two issues within eclipse :

 1) Eclipse tries to validate html and javascript syntax in compiled
 gwt code (cache.html) within my project... I get into out of memory
 errors (and even if i didnt, it's really useless). What is the good
 way to reject it ?

 2) My maven build works well but i dont want autobuild in eclipse to
 run gwt-compile task (it's long and useless when i'm actually testing
 in devmode).
 How can i set it ?

 --
 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: CSS Style Recalculation Speed

2010-02-21 Thread Martin D'Aloia
May be this can help you to understand what is happening:
http://code.google.com/intl/en/webtoolkit/speedtracer/speed-tracer-examples.html

As far I know, every time that you add a widget in a FlowPanel it will be
re-rendered. Maybe you can use a lazy rendered panel like the GXT
LayoutContainer subclasses. You can see an explanation here:
http://www.extjs.com/helpcenter/index.jsp?topic=/com.extjs.gxt.help/html/reference/layoutcontainer.html

Martin

On Sat, Feb 20, 2010 at 2:19 PM, d119e9 peter.wro...@gmail.com wrote:

 I have a prototype GWT app which adds a large number (~2) of HTML
 widgets to a FlowPanel.  Each HTML widget contains a single word taken
 from a String array returned by an GWT-RPC call.

 According to Speed Tracer, 96.8% of the time is spent in CSS Style
 Recalculation

 Does anyone have an idea as to how to reduce this?

 With Thanks, Peter

 --
 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: tomcat and apache problem

2010-02-20 Thread Martin D'Aloia
have you looked mod_rewrite (
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html ) ? doesn't it help
you?

Why you need that the client side runs on apache httpd and not in a tomcat?
do you have shared resources? if not, maybe you can let tomcat serve the
client side also and, if you need performance, look at APR for tomcat (
http://tomcat.apache.org/tomcat-6.0-doc/apr.html )


On Sat, Feb 20, 2010 at 11:21 PM, dablack david.blackwell...@gmail.comwrote:

 Sorry to lead you on a wild goose chase. I guess you will have to use
 the Apache mod_proxy_http module with the Tomcat NIO connector using
 the http protocol after all. I don't have any experience with the
 mod_proxy_http module at all so not really anything I can help you
 with.

 Good luck.


 On Feb 20, 7:21 pm, Fran fra...@gmail.com wrote:
  The problem persist with the news changes.
  Seems that apache cant connect to tomcat :(
  The error log of apache and mod_jk dont show nothing. Not ever nio
 conection
  stablished
 
  2010/2/21 dablack david.blackwell...@gmail.com
 
   I borrowed that connector configuration from a website I came across.
   I'm not sure why port=0 either. If I put more research into the NIO
   connector I could probably find out. Why don't you try adding the
   lines,
 
   enableLookups=false
   scheme=http
 
   to the NIO connector configuration in the server.xml file that I gave
   you earlier.
 
   As far as accessing the ajp service usinghttp://localhost:8009/servlet,
   that will not work. Your browser uses the http protocol and the 8009
   port is being serviced by the ajp protocol. You should still have your
   connector using the http protocol configured to listen on port 8081.
 
   Hopefully the scheme line above will help the NIO connector
   communicate back to Apache.
 
   On Feb 20, 4:45 pm, Fran fra...@gmail.com wrote:
I test your config, dablack, but I cant connect to the servlet.
With this config I cant access not even to:
 http://localhost:8009/servlet
that is tomcat directly without apache
 
On 20 feb, 23:36, Fran fra...@gmail.com wrote:
 
 I cant undestand why this config:
 
 Connector protocol=AJP/1.3 port=0 channelNioSocket.port=8009
 channelNioSocket.maxThreads=
 150
   channelNioSocket.maxSpareThreads=50
 channelNioSocket.minSpareThreads=25
   channelNioSocket.bufferSize=16384 /
 
 Why port 0 ?
 
 2010/2/20 dablack david.blackwell...@gmail.com
 
  Fran,
 
  I'm really not an expert on setting up the connection between
 Apache
  and Tomcat but I believe that the connections only operate in two
  protocols: http or ajp. NIO is a Tomcat connector that can
   communicate
  in either http or ajp. Because of that, I don't see any reason
 that
  the Apache mod_jk connector module couldn't communicate with the
 NIO
  connector. Since I don't use an NIO connector I could be wrong,
 but
  that is the way I see it. As a starting point, try these
  configurations:
 
  server.xml
 
  Connector protocol=AJP/1.3 port=0
 channelNioSocket.port=8009
  channelNioSocket.maxThreads=150
channelNioSocket.maxSpareThreads=50
  channelNioSocket.minSpareThreads=25
channelNioSocket.bufferSize=16384 /
 
  (You seem to want to use port 8081 which should be fine, but the
  standard ajp port is 8009. However, I wouldn't put it on port
 8081 if
  you are already using that port for another protocol such as
 http.)
 
  httpd.conf
 
  LoadModule jk_module modules/mod_jk.so
  JkWorkersFile conf/workers.properties
  JkLogFile /var/log/httpd/mod_jk.log
  JkLogLevel info
  JkLogStampFormat [%a %b %d %H:%M:%S %Y]
  JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
  JkRequestLogFormat %w %V %T
  JkMount /*.svc ajp13
 
  (For the JkMount I use *.svc because I use the svc extension for
 my
  GWT service target to differentiate service points from other
 files.)
 
  (For example, in my web.xml file I will map my service something
 like
  this to use the svc extension:
  servlet
servlet-nameMyService/servlet-name
servlet-classcom.mysite.server.MyServiceImpl/servlet-class
  /servlet
  servlet-mapping
servlet-nameMyService/servlet-name
url-pattern/MyService.svc/usr-pattern
  /servlet-mapping
 
  And in my GWT code I create my service target like this:
 
  target.setServiceEntryPoint( GWT.getModuleBaseURL() +
  MyService.svc );
 
  I did this because I had troubles with the 'JkMount /* ajp13'
 entry,
  but when I used /*.svc the problems cleared up.)
 
  workers.properties
 
  workers.tomcat_home=/usr/tomcat/apache-tomcat-6.0.16
  workers.java_home=/usr/java/jdk1.6.0_06
  worker.list=ajp13
  worker.ajp13.port=8009
  worker.ajp13.host=localhost
  worker.ajp13.type=ajp13
  worker.ajp13.lbfactor=1
  worker.loadbalancer.type=lb
  

Re: GWT team, please post latest to repo1.maven.org

2010-02-18 Thread Martin D'Aloia
check http://repo1.maven.org/maven2/com/google/gwt/gwt-user/2.0.2/

it's uploaded :)

thanks to who did that

On Wed, Feb 17, 2010 at 6:36 PM, Yaakov Chaikin yaakov.chai...@gmail.comwrote:

 Well, doesn't have to be someone from Google though??? The central
 maven repository has a policy where you have to prove that you own
 the domain before you can upload artifacts with com.google.x.

 Yaakov.

 On Wed, Feb 17, 2010 at 3:03 PM, Isaac Truett itru...@gmail.com wrote:
  This question comes up with every release, it seems. The GWT team
  doesn't maintain GWT  versions in the maven repository. I don't know
  the name of the person who does, but you might be able to find it in a
  past discussion.
 
 
 
  On Wed, Feb 17, 2010 at 1:58 PM, Yaakov yaakov.chai...@gmail.com
 wrote:
  Does anyone have any updates regarding this? Is this imminent or is it
  going to be a while before it's posted?
 
  (Yes, I know I can just import it myself by creating my own custom
  pom, but I'd rather not have to do that.)
 
  thank you,
  Yaakov.
 
  On Feb 16, 1:49 pm, Yaakov yaakov.chai...@gmail.com wrote:
  Dear GWT team,
 
  Could you please post the latest release of GWT SDK (2.0.2) to the
  maven repository site repo1.maven.org? Currently, only release up to
  2.0.1 are posted there.
 
  Thank you,Yaakov.
 
  --
  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-toolkit@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.



Re: Authenticate before loading the application

2010-02-09 Thread Martin D'Aloia
it's not enough for you doing something like this?

filter
 filter-nameSecurityFilter/filter-name
 filter-classcom.domain.app.filter.SecurityFilter/filter-class
 /filter
filter-mapping
 filter-nameSecurityFilter/filter-name
 url-patternoneServletURL/url-pattern
/filter-mapping
filter-mapping
 filter-nameSecurityFilter/filter-name
 url-patternanotherServletURL/url-pattern
/filter-mapping
filter-mapping
 filter-nameSecurityFilter/filter-name
 url-pattern*.js/url-pattern
/filter-mapping
filter-mapping
 filter-nameSecurityFilter/filter-name
 url-pattern*.css/url-pattern
/filter-mapping

... and more filter-mapping for your other resources files.


On Tue, Feb 9, 2010 at 6:20 PM, Simon sp.ma...@gmail.com wrote:

 @dougx
 Thanks for your post, I didn't knew that app engine did not support
 304.

 One difference: I want the files to be accessed *only* by servlet, ie
 the servlet should serve the files, not redirect to them.

 On 9 fév, 09:44, dougx douglas.lin...@gmail.com wrote:
  Serve content via servlet, it's fair easy. For an example look here:
 http://blog.goodcamel.com/2010/01/08/workaround-for-google-app-engine...
 
  You can then check in the servlet for authentication via cookie / id
  and refuse to serve unauthenticated users.
 
  ~
  Doug.
 
  On Feb 9, 6:26 am, Simon sp.ma...@gmail.com wrote:
 
 
 
   Yes that is the basics of app engine security. I use it to get the
   Google account of the user.
 
   This is the first step of the login: Google authentication.
   Second step I want to validate the Google account against my own set
   of users,
   Last step I want to send to the user the whole javascript app.
 
   On 8 fév, 23:04, Youngster aecdej...@gmail.com wrote:
 
Did you have a look at this page:
 http://code.google.com/appengine/docs/java/config/webxml.html#Securit...
?

 --
 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: GWT and java mail api

2010-02-02 Thread Martin D'Aloia
I think this is not GWT related topic (wrong group), but to try to help you
if doesn't find the library is because you don't have them in classpath...
check these items:

- Remove all Google AppEngine related jars

- If you use Java SE 6 then you only have to download
http://java.sun.com/products/javamail/downloads/index.html and include the
necessary jars (see the README)  (if you use Maven:
http://download.java.net/maven/2/javax/mail/mail/ )

- If you don't use Java SE 6 you also need
http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html



On Tue, Feb 2, 2010 at 6:04 AM, loucat lou...@gmail.com wrote:

 I removed it from the classpath but I couldn't use java mail api (it
 didn't find the library), now I'm ever more confused :(
 I've tried to use again the Google App Engine but now it says it's
 impossible

 On 31 Gen, 12:34, jocke eriksson jock...@gmail.com wrote:
  Remove appengine-api-1.0-sdk-1.2.6.jar from class path if you do not use
 it.
 
  2010/1/31 loucat lou...@gmail.com
 
   Maybe I wasn't clear... I'm NOT using AppEngine, it's disabled and I
   don't want to use it...
   So I don't know if this is the right place to ask help but my mail
   method works outside GWT and doesn't work inside a GWT project...
   I don't know maybe the thing I'm trying to do can't be done in GWT
   hosted mode...
 
   On 30 Gen, 21:48, Cristian Nicanor Babula nicanor.bab...@gmail.com
   wrote:
You want your application to run on appengine? If not, please make
 sure
to disable appengine integration for your project.
 
On 1/30/2010 8:16 PM, Jeff Schnitzer wrote:
 
 You should try the AppEngine mailing list.  Your problem is
 unrelated
   to GWT.
 
 Jeff
 
 On Sat, Jan 30, 2010 at 8:14 AM, loucatlou...@gmail.com  wrote:
 
 Hi everybody!
 
 I'm trying to send a mail through an RPC call.
 The server method uses Java mail api.
 I used tha same method in different project and I'm able to send
 the
 email both using Junit or Tomcat... but when I use it in my GWT
 project, even if the RPC call gives the result onSuccess, I have
 this exception:
 
 --
 Loading META-INF/javamail.providers from jar:file:/C:/documenti/
 workspaces/javalou/provatesina/war/WEB-INF/lib/appengine-api-1.0-
 sdk-1.2.6.jar!/META-INF/javamail.providers
 DEBUG: loading new provider protocol=gm,
 className=com.google.appengine.api.mail.stdimpl.GMTransport,
 vendor=null, version=null
 javax.mail.NoSuchProviderException: Unable to locate provider for
 protocol: smtp
 
  
 -
 
 I'm using GWT 1.7.1 without the AppEngine...
 
 do I have to include something or fix something?
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
 For more options, visit this group athttp://
   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
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@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.



Re: Problems with SSL and hosted mode

2010-01-12 Thread Martin D'Aloia
I think that you have to change some settings... I have developed a GWT 1.5
app with the same declaration in web.xml and it worked perfect on
development systems. I was using a external Tomcat 6.0.17, not the built-in
tomcat

do you have changed the -startupUrl to https:// ?


On Mon, Jan 11, 2010 at 2:05 PM, Rob Tanner caspersg...@gmail.com wrote:

 Hi,

 I moved a new application (my first using GWT) on to our production
 Tomcat server and then realized that I wasn't requiring SSL.  The way
 I normally do that is in the web.xml file under the security-
 constraint:

security-constraint
web-resource-collection
web-resource-namesome-resource-name/web-resource-name
url-pattern/*/url-pattern
/web-resource-collection
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint

 Naturally, I made the change on my development system since the war
 file that gets copied to the production server includes the web.xml
 file.  The problem is that in hosted mode on my development system,
 instead of the app coming up I get a 403 Forbidden error.  All the
 apps I write require SSL and I don't want to have to remember to
 modify the web.xml file each time a move a GWT app into production. I
 can't imagine that there's not a solution to this, I just don't know
 what it is.  Can anybody help?

 Thanks,
 Rob

 --
 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: Listen for Browser resize event

2010-01-08 Thread Martin D'Aloia
You can do it in GWT 1.6+ with:

Window.addResizeHandler(new ResizeHandler() {
@Override
public void onResize(ResizeEvent event) {
 put your code here
}
});

or in GWT prior 1.6 with:

Window.addWindowResizeListener(new WindowResizeListener() {
@Override
public void onWindowResized(int arg0, int arg1) {
 put your code here
}
});

On Thu, Jan 7, 2010 at 7:56 AM, mariyan nenchev
nenchev.mari...@gmail.comwrote:

 Hi,

 I have one popup that has absolute positioning. It is positioned according
 some other widget which is not absolute. But when i resize the browser the
 popup must be repositioned.
 Is it possible to listen for such resize event?

 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=en.



Re: GWT dev mode with pre-installed tomcat

2010-01-08 Thread Martin D'Aloia
Create a new Run configuration in Eclipse with these parameters:

Main class: com.google.gwt.dev.DevMode
Arguments: -noserver -startupUrl
http://localhost:8080/your_context/com.package.to.your.AppModule
In Classpath tab: under User Entries add your source folder.

On
http://code.google.com/intl/es/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.htmlunder
the title Using an IDE with Development Mode you have an example
with ant and one with the command-line



On Fri, Jan 8, 2010 at 10:21 AM, Nuno brun...@gmail.com wrote:

 Hello everybody,

 I'm implementing gwt on a existing project. and i need to use dev mode with
 the already installed tomcat.

 Can anybody help me configure this?

 I'm using gwt 2.0


 Att

 Bruno Bilescky

 --
 Wants to learn Javascript? Read my blog / Quer aprender a programar? leia
 meu blog
 http://tcninja.blogspot.com



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