Re: Upgrade to 2.1.0m3 failed.
Be sure to delete all generated files (hosted.htmt *.js etc ...). On Tue, Oct 5, 2010 at 4:00 PM, skippy al.leh...@fisglobal.com wrote: I tried upgrading to version 2.1.0m3 to pick up some fixes related to blank/white pages. After the upgrade on our Solaris servers, all my RPC calls are failing when the first page is trying to load. Thoughts? -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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.
[gwt-contrib] Serialization white list generation question.
Hi all, Is there a way to build the gwt.rpc files at server start time (dev mode of course). AFAIK the file are generated during the first service call, this is no longer working with WTP 3.2.2. One working solution consist in a custom serialization provider which is waiting until the file is generated, but It will be easier to generate the file at server start. Thanks. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: GWT 2.0 + maven
hi, Insure that GWT (GEP) container lib is before Maven dependency container. HIH On Mon, Sep 27, 2010 at 11:12 AM, aces2805 ace...@gmail.com wrote: Hi Guys, Need help on configuring maven and GWT 2.0 no idea on how to handle Invalid GWT home, just a newbie in it. 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 . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: de-mavenize a project
On Sat, Sep 18, 2010 at 12:10 AM, John nesre...@gmail.com wrote: On Fri, Sep 17, 2010 at 11:06 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Or learn maven ;) There are s many interesting things to learn, rails, groovy, python, and on and on. It's hard to justify taking time to learn something that solves problems you don't have. For sure ... but IMHO It really worth to give a try with maven because a mavenized project is very easy to install / try as soon as maven is bootstraped. In your case,you'll just have to unzip the maven binaries adapth your path and try. As some might found this thread OT with GWT, if you want to try and encounter some issues don't hesitate to contact me on my mail directly. Cheers, Olivier More seriously, you can easy de mavenize aproject, but maven will help you: mvn dependency:copy-dependencies will copy all dependencies in a folder target/dependency Then you'll just have to add those lib in your build classpath. mvn eclipse:clean eclipse:eclipse will build for you the .classpath (among others) file to run in eclipse without m2eclipse. I had to re-install the project (but maven was still installed). So Maven didn't install into my Eclipse workspace--I don't know why, but it did not give me that choice. Normally there is a little checkbox (in non-maven imports) to import into Eclipse workspace. Since it stuck everything arbitrarily into my home directory, I found out that maven wasn't in my path, so I couldn't try what you suggested. But thanks, I do appreciate the reply. I guess I could set paths and whatever, to get the the NEXT problem, but it's probably not worth spending more time on it. I'm happy to use the standard GWT fileuploader widget--I was just curious, because GWTUploader does seem like a nice way to do things. John -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: de-mavenize a project
Or learn maven ;) More seriously, you can easy de mavenize aproject, but maven will help you: - mvn dependency:copy-dependencies will copy all dependencies in a folder target/dependency Then you'll just have to add those lib in your build classpath. - mvn eclipse:clean eclipse:eclipse will build for you the .classpath (among others) file to run in eclipse without m2eclipse. On Fri, Sep 17, 2010 at 4:47 PM, Brad barbedwire...@gmail.com wrote: Just grab the GWTUpload jar and add it to your classpath. On Sep 16, 12:20 pm, John nesre...@gmail.com wrote: A few weeks ago I was interested in GWTUpload, and I wanted to install it on Eclipse. I saw the project maintainer had written: The project has been mavenized,... Well, over the past couple of years, I've seen people rant about how great maven is, and I've gone and looked at it. My eyes glaze over after a few minutes. FOR ME(!) it seems that maven is a lot of extra stuff to solve a problem I don't have. I don't do large complicated projects--I'm totally content to push the little red suitcase with a C on it. I was so motivated to try poking at GWTUpload, I actually installed Maven on my Eclipse, and then installed GWTUpload, but when I saw the huge mess, I just deleted the entire project. Doesn't seem reasonable to go through all the learning curve to solve a problem I don't have. What WOULD be nice though, is if there was a tutorial on how to de-mavenize a specifically GWT project (like GWTUpload), step 1, step 2, step 3. Could it be that easy? Hoping there might be an easy (ie minutes for both comprehending, and doing) way, and that I don't get flamed too much for a dumb question. John -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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.
[gwt-contrib] GEP open source status
Hi all, First of all thanks you all Google Inc friend for all GWT ecosystem. I'm studying a plugin to let: - maven via m2eclipse - GWT / GAE via m2eclipse-gdt ( our plugin ). - WTP via m2eclipse-wtp coexist smoothly. I have 2 simple question: - do you plan to support maven in near future ( GEP 1.4 ) or not. - is there some API doc somewhere to find things like GWTNature.addNature() by other way than using eclipse java completion ... Thanks again. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Passing values between 2 screens (popups)
Hi, If your modules live in two different windows, and if you don't want to communicate via the server, the client side communication should use a top or opener frame to communicate. Cheers Imagination is more important than knowledge.: Albert Einstein Le 29 juil. 2010 à 03:58, Reinaldo \(Gmail\) reinaldo.manz...@gmail.com a écrit : Hi All. I`d like to know how would be the best approach to pass some data (attributes) from Screen A to Screen B. (Kind of popups) I want to avoid any request. I heard about putting the values in a cookie and get them later but I did not like that solution. Thanks Manza -- 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: UTF-8 Encoding Problem
AFAIK gwt expect UTF-8 encoding. On Tue, Jul 20, 2010 at 9:37 AM, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: Welcome all , now i face a problem with UTF-8 Encoding Problem how to support it in GWT project -- You received this message because you are subscribed to the Google 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: Serialization policy is driving me crazy
Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: Serialization policy is driving me crazy
Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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. -- Christian Goudreau -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: Serialization policy is driving me crazy
There is no magic ;) GWT compiler must find working dto implied in some serialization (service interface). Perhaps a cache issues :-/ but I don't really think it is :) Best regard, Olivier. On Tue, Jul 20, 2010 at 9:02 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok it work now... While pasting the code here I saw a little something... public class GetResultsT implements Result { I changed this line for : public class GetResultsT extends DTO implements Result { And now it works... what I still don't understand is why some were working and others were not ! Cheers, On Tue, Jul 20, 2010 at 3:00 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Yes they are... public class GetCountries extends ActionImplGetResultsCountry { public GetCountries() {} } public class GetDepartments extends ActionImplGetResultsDepartment { public GetDepartments() {} } Exact sane declaration. public class GetResultsT implements Result { private ListT results; public ListT getResults() { return results; } @SuppressWarnings(unused) private GetResults() {} public GetResults(final ListT results) { this.results = results; } } This is for the result. On Tue, Jul 20, 2010 at 2:56 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Ok, I don't remember the detail but is departement is declared/exposed in the type of an action or a result On Tue, Jul 20, 2010 at 8:46 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I'm using command pattern from Gwt-Dispatch. GetDepartments is my action, Action interface extends isSerializable and that being said, country had the exact same chain and work. On Tue, Jul 20, 2010 at 2:41 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Just for information: does it appear (Departement) in a remote service interface method ? On Tue, Jul 20, 2010 at 8:26 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: I have two objects, they implements the same interfaces the only difference between them is their name and the name of their fields... one of them go through rpc just fine and the other one don't... Type 'ca.ulaval.apapul.shared.model.Department' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = ca.ulaval.apapul.shared.model.departm...@8a9a1a Empty constructor, implements isSerializable fields are simple string and a long... Don't know where to see anymore and it's driving me crazy. Note that yesterday the same classe was running fine. *.gwt.rpc - some informations ca.ulaval.apapul.shared.model.Country, true, true, true, true, ca.ulaval.apapul.shared.model.Country/3594740056, 3594740056 - this one works fine. ca.ulaval.apapul.shared.model.Department, false, false, true, true, ca.ulaval.apapul.shared.model.Department/3079600257, 3079600257 - this one don't ca.ulaval.apapul.shared.dispatch.action.GetCountries, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetCountries/2299775089, 2299775089 ca.ulaval.apapul.shared.dispatch.action.GetDepartments, false, false, true, true, ca.ulaval.apapul.shared.dispatch.action.GetDepartments/3827258256, 3827258256 ca.ulaval.apapul.shared.dispatch.result.GetResults, true, true, true, true, ca.ulaval.apapul.shared.dispatch.result.GetResults/3469687742, 3469687742 ca.ulaval.apapul.shared.model.DTO, true, false, true, false, ca.ulaval.apapul.shared.model.DTO/1434028420, 1434028420 -- Christian Goudreau -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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. -- Christian Goudreau -- 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
Re: How to find correctly the client's locale?
Hi, Don't much about recent GWT version. But I the beginning of GWT I18N a simple solution was to use the I18N resolution ... Simply provide in a key locale( ex: locale=en ) with the correct value in each bundle, then just bind this key like another i18n label and you're done ... HIH On Mon, Jul 19, 2010 at 10:24 AM, Sorinel C scristescu...@hotmail.comwrote: I have in my module .gwt.xml file definition the following lines: inherits name=com.google.gwt.core.Core / inherits name=com.google.gwt.user.User / inherits name=com.google.gwt.i18n.I18N / inherits name=com.google.gwt.i18n.CldrLocales / inherits name=com.google.gwt.user.theme.standard.StandardResources / So, maybe something else is wrong, but I don't catch it :( Thanks! PS: some other GWT tricks you can find here: http://ui-programming.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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: orcades spring gwt sample, Startup Warnings
Hi, Look like this sample application is outdated because the servlet tag is deprecated in gwt = 1.5 Remove those décoration from the *.gwt.XML files Envoyé de mon iPad Le 8 juil. 2010 à 20:59, mfreitag freit...@gmail.com a écrit : Hi @all, now i try to start orcades-spring-gwt-sample in Eclipse with righClick- RunAs-WebApplication. The application starts successfully, but i see no login panel and in console there are the following Warnings: snip I [WARN] Module declares a servlet class 'org.springframework.web.context.support.HttpRequestHandlerServlet' with a mapping to '/springsample.SampleModule/sampleService2- unsecure.gwt', but the web.xml has no corresponding mapping; please add the following lines to your web.xml: servlet-mapping servlet-nameshell2/servlet-name url-pattern/springsample.SampleModule/sampleService2-unsecure.gwt/ url-pattern /servlet-mapping /snip I checked out: http://net-orcades-spring.googlecode.com/svn/trunk/ net-orcades-spring. What i am do wrong? Thanks for 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: how to use GIN ?
hi Google to gwt-presenter HIH On Sun, Jun 27, 2010 at 12:51 PM, yves yves.ko...@gmail.com wrote: Hi Everybody, I've read the the official tutorial at http://code.google.com/p/google-gin/wiki/GinTutorial, but I still doesn't understand how to use GIN (as it is mainly based on Guice that I don't know) and how it could help me :-( Sorry for the tutorial writer :-) I'm currently developping an MVP based app mainly inspired by the google IO 2009 presentation http://code.google.com/intl/fr/events/io/2009/sessions/GoogleWebToolkitBestPractices.html and also the article http://code.google.com/intl/fr/webtoolkit/articles/mvp-architecture.html. Here is an example of the code I would like to simplify using DI (as I understand, GIN could do some part for me) : public class SearchPresenter implements Presenter { public interface Display { HasClickHandlers getSearchButton(); } Display display; public void bind(Display d) { display = d; display.getSearchButton().addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { doSearch(event); } }); } As I understand, perhaps I am wrong, GIN could do the bind() for me ? But, how should I use GIN for that (if it is really suited for this) ? Thanks for your help ! Yves -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: Pass a method as parameter in GWT
keep cool ;) You can pass a Runnable (Command) as parameter ... like a clikHandler On Wed, Jun 23, 2010 at 4:29 PM, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Plz, someone? On Jun 23, 10:45 am, Thiago Miranda de Oliveira thiago...@gmail.com wrote: Hi. Im building a logic here that a class A instantiate a object of another class B. B has a specified clickHandler that does a animation. I want that the class A can pass a method to the class B as a parameter to do the animation and some extra stuff that I wanna do in the class A. So I was thinking in something like that: class A Button trigger = new Button(); trigger.addClickHandler(new ClickHandler(){ //doStuff callBack(); } class B A a = new A(); a.setCallBack(doThis()); public void doThis(){ Window.alert(test); } How can I do that in GWT? Thanks for the attention Cheers -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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 2.0 - Spring Security
Helo Tom, Please take a look at http://code.google.com/p/orcades-gwt-spring/ for MVP integration http://code.google.com/p/orcades-gwt-spring/and http://code.google.com/p/net-orcades-spring/ http://code.google.com/p/net-orcades-spring/You will find some info. On Mon, Jun 21, 2010 at 8:07 PM, Tom thomas.coz...@gmail.com wrote: Hi, I have an GWT 2.0 application using Spring and Hibernate. (GWT-SL GXT) I would like to add a security layer and a profile handler. So I turn on Spring security. I don't find any samples of a GWT 2.0 Spring security 3.0. In fact, I would like a snippet of Spring security configuration. If anyone can help me to find the good way to start? Best regards Tom -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception
Hi, the getThreadLocalRequest() as it sound returns the request stored *during* the request/response in a ThreadLocal. So if it return null it's because it is not the same thread ;) On Tue, Jun 8, 2010 at 11:05 AM, KenJi_getpowered mikael.k...@gmail.comwrote: Hello every body, I can't figure out why there is a Null Pointer Exception here. I am trying to share informations through sessions within my application. I have a regular servlet that sets the session and insert a login. then I wanted to retrieve that login into a RemoteServiceServlet with that instruction : HttpSession session = getThreadLocalRequest().getSession(); but as I said it gives me a NPE. What is wrong? Also I can't find any good documentation on working with sessions with GWT. Do you have any solution? or at least explanation? -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: problem with using EMF model in GWT
FYI: http://wiki.eclipse.org/EMF/New_and_Noteworthy/Helios#Support_for_Google_Web_Toolkit_.28GWT.29 On Thu, May 6, 2010 at 7:24 PM, kidsos roccab...@googlemail.com wrote: It doesn't matter. When I set source path='shared' / in the module file I still get more No source code is available for type ... errors than before. I've found out when settting to source path='shared.impl' / I get the same errors like in my first post. I have absolutely no idea whats going wrong. Doesn't EMF support GWT? I have found an interesting project named UFaceKit on http://www.eclipse.org/ufacekit/ Could this probably help me? -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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 anyone provide a step by step maven + gwt mvp tutorial?
Hi, There is there a example of what your are looking for (I guess ;) http://code.google.com/p/orcades-gwt-spring/ But there is also a spring spring security integration. HIH http://code.google.com/p/orcades-gwt-spring/ On Thu, May 6, 2010 at 12:45 AM, crojay78 croja...@googlemail.com wrote: Hi, now that I have a bit experience with gwt in mvp style, I am looking for an example for using maven as build tool for gwt, I found a few posts here and on other sources but nothing made it really clear for me. I have to say that I am new to maven. I installed maven and also installed the maven gwt eclipse plugin. I was able to create a project with the gwt archetype and configured it for eclipse with mvn eclipse:eclipse (both form the command line). The creation of a new maven project from inside eclipse does not work. So this is my situation. My aim is that I can create in a fast way a valid gwt project (this is possible now with the archetype). Then I have to do the changes so that I have an MVP project. Or does an archetype exist that creates an mvp like structure??? So from this point I do not know how to proceed??? Can somebody show me how to work with this new project. How can I build it and use the developement mode in eclipse? Hopefully somebody can help me with that Best 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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 JAAS
@eaudet For sure, but to do this you'll need a JAASRealm (or something like that) and to secure the hosted page or the whole site. If you want to perform authentication and security at a service level (GWT-RPC) spring integration will ease the process at least at my POV ;) On Thu, Apr 8, 2010 at 8:05 PM, eaudet eau...@jarics.com wrote: Why use Spring? You can use JAAS standard calls directly in the RemoteServiceServlet. So when you application server is configured correctly, you only need to call this line of code : GWT.getThreadLocalRequest.isUserInRole({role defined in your web.xml}); This is the standard way of knowing the role of your JAAS logged in user. On 8 avr, 10:22, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, AFAIK JAAS doesn't expose anything through http so you'll need some container configuration. You should take a look at spring security, it exposes security service (even jaashttp:// static.springsource.org/spring-security/site/docs/3.0.x/refere... ). Then you should easy found some technics to marshall/unmarshall security payload to/from GWT-RPC HIH On Thu, Apr 8, 2010 at 11:21 AM, luigi thuza...@gmail.com wrote: Hi , I have been surfing through the net about JAAS and GWT. All I see is the question. no body cannot give the right answer. If somebody know about this JAAS and GWT for Authentication and Authorization staff, I will be glad to hear your solution and sample code. I desperately need all of your help. Thank you for any reply. -- 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.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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 JAAS
Hi, AFAIK JAAS doesn't expose anything through http so you'll need some container configuration. You should take a look at spring security, it exposes security service (even jaas http://static.springsource.org/spring-security/site/docs/3.0.x/reference/jaas.html ). Then you should easy found some technics to marshall/unmarshall security payload to/from GWT-RPC HIH On Thu, Apr 8, 2010 at 11:21 AM, luigi thuza...@gmail.com wrote: Hi , I have been surfing through the net about JAAS and GWT. All I see is the question. no body cannot give the right answer. If somebody know about this JAAS and GWT for Authentication and Authorization staff, I will be glad to hear your solution and sample code. I desperately need all of your help. Thank you for any reply. -- 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. -- Computers are useless. They can only give you answers. - Pablo Picasso - -- 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: Session management in GWT
hi, If you've change the window location, you can: - give some info if in the url, limited and ugly. - provide a (remote) service to expose user details to the new module (I suppose AdminDashboard.jsp is hosting another GWT module). - for the JSP you can access to the servlet api to retrieve users details depending of your auth framework. On Tue, Mar 30, 2010 at 5:53 AM, Vik vik@gmail.com wrote: hie yes gwt (ui)/ can u please point me to a bit more details on gwt-rpc/json mechanism on doing so? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Mon, Mar 29, 2010 at 2:39 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, Do you mean I GWT (ui) code when talk in admindashboard.jsp. If true: provide a service (GWT-RPC/json) to retrieve information from. else: not a GWT question. On Mon, Mar 29, 2010 at 6:20 AM, Vik vik@gmail.com wrote: Hie I have a index.html page with a login module (build in gwt) embedded into it. Once the user provide authentication details and hit login button I am redirecting the user to a new page named AdminDashboard.jsp Now, I will be creating and embedding a dashboard using GWT components on this page. The question I have is how do i pass the user details from the login module to admindashboard.jsp? Please note that I am using Window.Location.replace(/ui/page/AdminDashboard.jsp); to navigate to dashboard page. Further, what is used in GWT to store the data in a session and then validating it before user actions? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.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-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. -- 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-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. -- 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-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: Session management in GWT
Hi, Do you mean I GWT (ui) code when talk in admindashboard.jsp. If true: provide a service (GWT-RPC/json) to retrieve information from. else: not a GWT question. On Mon, Mar 29, 2010 at 6:20 AM, Vik vik@gmail.com wrote: Hie I have a index.html page with a login module (build in gwt) embedded into it. Once the user provide authentication details and hit login button I am redirecting the user to a new page named AdminDashboard.jsp Now, I will be creating and embedding a dashboard using GWT components on this page. The question I have is how do i pass the user details from the login module to admindashboard.jsp? Please note that I am using Window.Location.replace(/ui/page/AdminDashboard.jsp); to navigate to dashboard page. Further, what is used in GWT to store the data in a session and then validating it before user actions? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.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. -- 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-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 Spring
Server side or Client side ? Client side you should take a look at GIN. Server side, many solution exist IMHO I prefer solution without xml configuration (annotation detection based). It very easy an instructive to build your own solution. You can take a look at my (hobby) project http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandlerI think this solution i rather simple. HIH On Sat, Mar 27, 2010 at 2:26 PM, Marley nathaniel.au...@gmail.com wrote: Does anyone know of an up to date guide on how to integrate GWT and Spring IOC? When i google it i see a lot of out of date material. -- 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. -- 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-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 RPC Thread safe
IMHO GWT doesn't change anything On Thu, Mar 25, 2010 at 11:33 AM, Muhammad Saifullah msaif.muham...@gmail.com wrote: simply use the keyword synchronized in your servlet doService() or doGet() or doPost() method. thats it.Then concurrent threads cant enter at the same time. one after another. On Thu, Mar 25, 2010 at 7:08 PM, Ho Jimmy jimmyyl...@gmail.com wrote: Hi, I am new to GWT. So, this is a newbie question but I have google it a while but I am not able to find a simple example. How can I create the servlet thread safe? For traditional servlet, we use Threadlocal. So how can we define the similiar for GWT RPC servlet? Pls also describe a bit about the thread pool and I can have some direction of my learning. 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 . 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. -- 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-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 Acegi
Hi, Called now Spring security now. The simplest integration is to secure the hosting page (before GWT). You could look http://code.google.com/p/orcades-gwt-spring/ to see how to integrate spring security in a GWT / MVP application and be able to secure at GWT-RPC level. HIH On Fri, Mar 19, 2010 at 7:18 PM, Apolo v.mayor...@gmail.com wrote: Hello, I've just started with GWT. I've started a project where it's needed an integration with Acegi Security. I really had no idea about Acegi and after reading the documentation and watch the examples i still don't get how to integrate with GWT. I've also checked http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi but this doesn't tells anything to me. Could anyone 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-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. -- 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-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 2.0.3 + Maven2 + Eclipse
Hi all, Could you try the procedure in http://code.google.com/p/orcades-gwt-spring/ Wiki Install Run sample. http://code.google.com/p/orcades-gwt-spring/ But I'm using GWT + Maven + WTP + Spring HIH On Wed, Mar 17, 2010 at 4:06 PM, Bert roexb...@gmail.com wrote: I'm also very interested in setting up a Project like this. Any sample code from anyone? On Mar 17, 1:44 am, zggame zgg...@gmail.com wrote: I think the latest gwt-maven-plugin is gwt 1.6.4. Not 2.0.3 On Mar 15, 3:30 pm, Sergio s3rgio...@gmail.com wrote: Hello everybody, I'm beginning with GWT development and I have a problem. I've already configured Eclipse 3.5 with gwt plugin and m2eclipse plugin. I create a new maven project with gwt-maven-plugin archetype, but I'm not able to communicate client side with server side. I've read the same problem is happened other people but no solution. I'm trying to debug the sample application with gwt:debug goal and then Run remote java application in Debug configuration. I don't know if I am doing anything wrong. Any idea? Thank you and sorry for my English. -- 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. -- 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-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: noserver option, maven, and real-time java code compilation
Rather than using sym link you could use the wtp manifest to deploy the GWT stuff. wb-resource deploy-path=/search source-path=war/search/ Then then dev mode will work (refresh) ... as long as you provide the magic url parameter :) On Thu, Mar 11, 2010 at 4:08 PM, romant roman.te...@gmail.com wrote: Hi, some of you definitely has some experience with the noserver option. I use GWT 2.0.2, gwt-maven-plugin version 1.2. I run my GWT application, compiled by maven with the noserver option turned on, in Tomcat. In Tomcat the /webapp directory contains a symbolic link to the /target/myapplication directory which is located in my project and which is created by maven. The /target/ myapplication directory contains the exploded war file, so Tomcat can easily run it. It works. When I compile it by maven it works. The problem is that when I make a change in the java code of my application and when I refresh the browser the changes are not visible there. I tried to check the class files in the /target/myapplication/ web-inf/classes directory and it seems that they were just not compiled automatically again when I changed the java code. Does the development mode save the recently compiled class files somewhere else? Or am I missing something else? Thnx. -- 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. -- 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-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: Servlet Mapping Noob Question
java.lang.NoClassDefFoundError: com/co/ SSISSERVER/users/UserServiceImpl On Wed, Mar 10, 2010 at 5:34 PM, Ed ej19...@gmail.com wrote: Thanks, I was using that as an example to show that the service is answering. It is doing what is expected because it is a rpc service. Any other ideas, Perhaps it is not possible to this with separate source code trees. e 2010/3/10 Víctor Llorens Vilella victor.llor...@gmail.com I don't know now what the problem is, but you should start googling for GWT 405, and you will surelly have the solution within the first set of links. Greetings, On 10 March 2010 17:12, Ed ej19...@gmail.com wrote: Can some at least tell me what to search for... I know this has happened to others but cant seem to get any answers. Thanks in advance. On Wed, Mar 10, 2010 at 9:51 AM, Ed ej19...@gmail.com wrote: Hi Everyone, I hope I am able to get an answer to this. I am trying to tie a backend servlet process to a GWT servlet. How do I map this to work properly I am using Jetty 6 GWT 2.01 Eclipse Ganymeade Here is the code package com.co.SSIS.server; import com.co.SSISSERVER.users.User; import com.co.SSISSERVER.users.UserService; import com.co.SSISSERVER.users.UserServiceImpl; import com.co.SSIS.client.LoginInfo; import com.co.SSIS.client.LoginService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import com.google.gwt.user.server.rpc.RemoteServiceServlet; @RemoteServiceRelativePath(/ssisajaxserver/User) public class LoginServiceImpl extends RemoteServiceServlet implements LoginService { public LoginInfo login(String loginURL) { UserService userService = UserServiceImpl.getUserService(); User user = userService.getCurrentUser(); LoginInfo loginInfo = new LoginInfo(); if (user != null) { loginInfo.setLoggedIn(true); loginInfo.setUserName(user.getUserName()); loginInfo.setAuthority(user.getAuthority()); loginInfo.setBuilding(user.getBuilding()); loginInfo.setTeacher(user.getTeacher()); } else { loginInfo.setLoggedIn(false); } return loginInfo; } } Here is the web.xml for the backend = web-app display-nameSSISJAXSERVER/display-name descriptionSSIS Version 6 Web Appliction/description !-- Servlets SSIS Processing -- servlet servlet-nameSSISAJAXSERVER/servlet-name servlet-classcom.co.SSISSERVER.server.SSISProducer/servlet- class /servlet servlet servlet-nameUserServiceImpl/servlet-name servlet-classcom.co.SSISSERVER.users.UserServiceImpl/servlet- class /servlet !-- SSISProducer for SSIS Processing -- servlet-mapping servlet-nameSSISAJAXSERVER/servlet-name url-pattern/login.html/url-pattern /servlet-mapping servlet-mapping servlet-nameUserServiceImpl/servlet-name url-pattern/User/url-pattern /servlet-mapping Here is the servlet path /ssisajaxserver/User Here the servlet path is answering to a get which of course does not work === HTTP ERROR: 405 HTTP method GET is not supported by this URL RequestURI=/ssisajaxserver/User Here is gwt.xml ?xml version=1.0 encoding=UTF-8? module rename-to='ssisajax' !-- Inherit the core Web Toolkit stuff.-- inherits name='com.google.gwt.user.User'/ !-- Inherit the default GWT style sheet. You can change -- !-- the theme of your GWT application by uncommenting -- !-- any one of the following lines.-- inherits name='com.google.gwt.user.theme.standard.Standard'/ !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/ -- !-- inherits name='com.google.gwt.user.theme.dark.Dark'/ -- !-- Other module inherits -- !-- Specify the app entry point class. -- entry-point class='com.co.SSIS.client.SSISAJAX'/ !-- Specify the paths for translatable code-- source path='client'/ source path='shared'/ servlet path='/ssisserver/User' class='com.co.SSISSERVER/users/ UserServiceImpl'/ /module Here is the Stack Trace 2010-03-10 09:35:17.026:/ssisajax:WARN: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.co.SSIS.client.LoginInfo com.co.SSIS.client.LoginService.login(java.lang.String)' threw an unexpected exception: java.lang.NoClassDefFoundError: com/co/
Re: Google Plugin for Eclipse 1.3 Preview is now available
Hi Keith On Mon, Mar 8, 2010 at 10:06 PM, Keith Platfoot kplatf...@google.comwrote: Hi Olivier, No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + wtp). * Same classloader (than GEP 1.2) issues with spring namespace handler in dev mode. I'm not familiar with this problem. Is there a bug on the GWT issue tracker I can review to get more details? I've just submitted an issues http://code.google.com/p/google-web-toolkit/issues/detail?id=4730 With a sample project. Tell me if you cannot reproduce the issue. HIH -- 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-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: Google Plugin for Eclipse 1.3 Preview is now available
hi keith, And thx you all for the new upcoming release ! No new issues with this release (eclipse 3.5.1 + maven + sts + aspectj + wtp). * Same classloader (than GEP 1.2) issues with spring namespace handler in dev mode. * I cannot figure out how to work with wtp (noserver mode). For the moment I have to manually modify the wtp manifest to publish the GWT resources (compiled js img). * What is the state of support for the input only assumption for maven src/main/webapp ? Since the beginning (before the first GEP release) I working with the noserver mode without blocking issues with maven. IMHO The only missing killing feature would be a facet (wtp) to be able to detect and publish the GWT module to WTP deployement. Thx again. On Thu, Mar 4, 2010 at 5:40 PM, Keith Platfoot kplatf...@google.com wrote: Hey again, Just wanted to mention that to actually customize your project's WAR directory (enhancement bullet 1 in the announcement email), you'll need to navigate to Google Web Application in your project properties dialog. You can use any project-relative path as the WAR directory (e.g. src/main/webapp) and you can also use the checkbox below to toggle whether or not you want to launch and deploy from that directory, by default. If you uncheck that option, Eclipse will prompt you for a location the first time you launch your project, and will not mess with the JARs in WAR/WEB-INF/lib or try to move your build output directory to WAR/WEB-INF/classes. You can think of the checkbox as the *Keep your hands off my runtime WAR directory!* option. :-) If anyone runs into issues or has questions about any of the new features, don't hesitate to ask. Thanks! Keith On Wed, Mar 3, 2010 at 7:25 PM, Keith Platfoot kplatf...@google.comwrote: Hi everyone, Last month, I announced some of the changes we had planned for the 1.3 version of the Google Plugin for Eclipse. To recap, this release is focused on making life easier for developers using GWT/App Engine alongside third-party tools, including Maven and Eclipse for Java EE. In my post, I promised we'd let you download a preview of 1.3 to get some hands-on testing of the new features and provide us with your feedback before the official release. I'm happy to announce that the time has come. An early preview of 1.3 is now available for download at the following URLs: http://dl.google.com/eclipse/plugin/3.5/zips/com.google.gdt.eclipse.suite.e35.feature_1.2.101.v201003031407.zip http://dl.google.com/eclipse/plugin/3.4/zips/com.google.gdt.eclipse.suite.e34.feature_1.2.101.v201003031407.zip http://dl.google.com/eclipse/plugin/3.3/zips/com.google.gdt.eclipse.suite.e33.feature_1.2.101.v201003031407.zip Note: Ensure that your version of Eclipse has Eclipse's Web Standard Tools (WST) installed before installing the plugin. WST can be installed by navigating to the Software Installation section, and selecting the the appropriate WST feature from the update site for your version of Eclipse. The update sites and feature names are provided below: - 3.5 (Galileo): Galileo Web, XML, and Java EE Development Eclipse Web Developer Tools - 3.4 (Ganymede): Ganymede Update Site Web and Java EE Development Web Developer Tools - 3.3 (Europa): Europa Discovery Site Web and JEE Development Web Standard Tools Project This is a preview build, so the usual caveats and warnings apply: it is not officially supported, and we recommend using a clean installation of Eclipse and a new workspace. Also, we're distributing this preview as a zip file so be sure to follow the instructions on our Installing the Google Plugin for Eclipse from zip files page ( http://code.google.com/eclipse/docs/install-from-zip.html). *Known Issues* - If you change launch configuration settings in the Server or GWT tab, you'll need to switch to the Arguments tab before clicking Apply or Run/Debug. This will be fixed in the final release. That being said, we are very interested in your experience with this new release, which we hope will allow the Google plugin to interoperate much better with alternative project structures and third-party tools. The tentative 1.3 release notes are as follows: Enhancements - Configurable WAR directory to allow better integration with Eclipse for Java EE http://www.eclipse.org/downloads/moreinfo/jee.php and projects built with Maven http://maven.apache.org/ - Web Application launch configurations now display and allow editing of generated Program and VM arguments - Errors/Warnings preference page for customizing the severity of any generated problem marker - Projects can reference GWT/App Engine SDKs directly via JARs instead of through SDK library - GWT+App Engine projects automatically configured for optimal caching Fixes - GWT Issue 3583http://code.google.com/p/google-web-toolkit/issues/detail?id=3583: Google
Re: using a js library from a native method
Did you try: $wnd.functionFromAJsLibrary(...) On Mon, Mar 1, 2010 at 1:40 PM, nou inghedebr...@gmail.com wrote: hello let's say I have a native method like this public static native void showBody() /*-{ var el = $doc.getElementById(whole); functionFromAJsLibrary(el); }-*/; where I try to use the function functionFromAJsLibrary that belongs to an external js library. Well ... I noticed GWT console tells me functionFromAJsLibrary doesnt exist even though the lib file is imported b4 any other js in the host page. It looks like the js code inside a native GWT method is sort of isoleted from the rest of the real JavaScript code. Any workaround to make GWT native js code to see old fashioned js libraries? 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 . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-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: Apache2 / Tomcat 6 / GWT 2.0 / Eclipse Questions
On Thu, Feb 18, 2010 at 3:10 PM, Eric er...@tmstechnologies.com wrote: Thanks for your reply. Where would you hard code the GWT-RPC url? When *not* using the annotation you can specify by code the remote end point. I have verified that there isnt a leading / in the GreetingService.java file. See below: package com.sample.myproject.client; i Okai for the GWT code. I'm still believe it's a path issue. 2 tracks : What is the contextPath of your webapp ? If it is simple then you should remove the simple token from your servlet mapping. How does apache forward the request to tomcat? If it is a jk mapping issues you're app will work with tomcat only (8080). HIH -- 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-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: Apache2 / Tomcat 6 / GWT 2.0 / Eclipse Questions
Last try ... What is the name of your webapp ? In the past I had some issue when the ROOT (contextPath=/) webapp was not is the ROOT webapps folder. Could you give a try ? On Thu, Feb 18, 2010 at 4:07 PM, Eric er...@tmstechnologies.com wrote: I dont believe jk mapping is the issue because i get the same results if i use port 8080 or port 80. I do have apache2 in front of Tomcat6 but everything seems to be working correctly. Like i said the webapp works when i turn on the invoker code in the tomcat web.xml so i am guessing it has something to do with tomcat6/gwt. Here is my context info: Context displayName=test.domain1.org docBase=/var/lib/tomcat6/domain1/ path=/ antiResourceLocking=false privileged=true / Thank you again for your help. On Feb 18, 9:48 am, olivier nouguier olivier.nougu...@gmail.com wrote: On Thu, Feb 18, 2010 at 3:10 PM, Eric er...@tmstechnologies.com wrote: Thanks for your reply. Where would you hard code the GWT-RPC url? When *not* using the annotation you can specify by code the remote end point. I have verified that there isnt a leading / in the GreetingService.java file. See below: package com.sample.myproject.client; i Okai for the GWT code. I'm still believe it's a path issue. 2 tracks : What is the contextPath of your webapp ? If it is simple then you should remove the simple token from your servlet mapping. How does apache forward the request to tomcat? If it is a jk mapping issues you're app will work with tomcat only (8080). HIH -- 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-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. -- 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-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 Integration with Acegi or other libraries
Hi, You could take a look at: http://code.google.com/p/orcades-gwt-spring/ for a MVP approach or http://code.google.com/p/net-orcades-spring/ for a more raw and deprecaded (!) approach. HIH On Tue, Feb 16, 2010 at 5:06 AM, Shyam Visamsetty shyamsunder...@gmail.comwrote: Hi, I would like to know if GWT can be integrated with Acegi. I have read the link below. But, looking for more detailed information. http://code.google.com/p/gwt-ent/wiki/IntegrationGWTWithAcegi Can anyone provide any better ways of providing form based login. I know that it can be done by sending a cookie and starting a session as described in http://code.google.com/p/google-web-toolkit-incubator/wiki/LoginSecurityFAQ . But, my question is, does GWT give us a way to protect a resource and provide access to it based on login? Please provide any resources or ideas. Looking forward for the reply. Thanks, Shyam Visamsetty -- 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. -- 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-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 2 using Eclipse with plugin and Spring
Hi, I've run into many problem with embeded jetty and Spring (even more under maven ). Then for now I don't use jetty anymore, and with WTP GWT application run perfertly well with tomcat. The next version of GEP should be more easy to use. HIH On Mon, Feb 15, 2010 at 7:51 PM, Paul S paulsschw...@gmail.com wrote: Any further thoughts on this from anyone? It seems a lot like a problem between Jetty (imposed by GWT) and Spring 3.0, but then how is it possible that I am the only one/first one to face this issue? My actual project code is very simple so I've managed to isolate the problem down to Jetty not wanting to load an applicationContext.xml file. Any idea? I can put my code up if anyone can tell me what they need to see? Thanks, Paul On Feb 15, 8:02 pm, Paul S paulsschw...@gmail.com wrote: I believe so, I downloaded spring 3 and the actual jar in question would be this one: org.springframework.web-3.0.0.RELEASE.jar However, in my frustration I just copied ALL the springframework modules and pasted them into my WEB-INF/lib folder just to be sure, but still the same issue. Normally ClassNotFoundException is easy to solve, as a last resort I go to findjar.com and download the nearest match. But this one is strange. I used to develop using a GWT + GWT-SL + Gilead + Spring + Hibernate + Tomcat stack and all went smoothly, but now I'm not sure what the offending component is. On Feb 15, 7:56 pm, Paul Grenyer paul.gren...@gmail.com wrote: Hi [WARN] Could not instantiate listener org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener Have you got all the necessary Spring JARs in WEB-INF/lib? -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.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. -- 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-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 2 using Eclipse with plugin and Spring
Hi Paul G, The issue a was making reference is: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1If you have a working solution I would really appreciate you to share. thx On Tue, Feb 16, 2010 at 9:48 AM, Paul Grenyer paul.gren...@gmail.comwrote: Hi On Tue, Feb 16, 2010 at 8:44 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, I've run into many problem with embeded jetty and Spring (even more under maven ). Then for now I don't use jetty anymore, and with WTP GWT application run perfertly well with tomcat. The next version of GEP should be more easy to use. I'm astounded. It's worked perfectly for me every time. On Windows and on Linux. I've even sent Paul S the steps I use. Thanks Paul -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.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. -- 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-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 2 using Eclipse with plugin and Spring
You're are definitely rigth on those 2 points. not OPs issue: in fact it's rather a Maven/GEP issue. file must be copied in WEB-INF/lib: just for the dev mode. Thanks you and I apologize for the confusion (but as an early maven user I tend to suppose that everybody uses maven ... ) On Tue, Feb 16, 2010 at 10:36 AM, Paul Grenyer paul.gren...@gmail.comwrote: Hi On Tue, Feb 16, 2010 at 9:07 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi Paul G, The issue a was making reference is: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 If you have a working solution I would really appreciate you to share. That's not the OPs issue, but I've had this issue too and fixed it by adding a missing JAR. IIRC (and I can't check at the moment) it was caused by a missing org.springframework.security.config JAR. It's important that all the necessary JARs are available in WEB-INF\lib, not just added to your Eclipse project. -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com b: paulgrenyer.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. -- 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-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: Maven users survey
Hi Keith, Great great !!! In fact currently it may works but it is need some twix in the WTP metadata project file. BTW it a very comfortable environment, where it is easy and efficient to test general integration (WEB1 + WEB2). Very efficient, because you can choose or not to debug client/server part, so it can (re)start very quickly. The only small issue I have is that I have to add the extra gwt.codesvr parameter to use the dev mode, will it be still the case with GEP 1.3 or could we activate/force the usage of dev mode without altering the url ? Many many thx for GWT. Best regards, Olivier On Fri, Feb 5, 2010 at 4:22 PM, Keith Platfoot kplatf...@google.com wrote: Hi Olivier, GPE 1.3 should be compatible with WTP/Eclipse EE. For example, you'll be able to easily add GWT and/or App Engine to an existing Dynamic Web Project, and then debug the application using the GPE Web Application launch configurations. For GWT projects that have a separate backend (e.g. an existing Tomcat or Jetty instance), you will be able to launch your GWT font-end in the existing server, so you can debug both client-side code and server-side code simultaneously. If you change your GWT code during a debugging session, you can refresh to get the updates immediately, and of course do the same for server-side code and static resources changes as well (if your server adapter supports it). Keith On Fri, Feb 5, 2010 at 3:17 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Thx a lot for all this, it will clearly simplify GWT with Maven, but did you plan to add some WTP support in the next GEP release ? On Thu, Feb 4, 2010 at 8:33 PM, Keith Platfoot kplatf...@google.comwrote: Yes, I've been meaning to reply back to this thread. Thanks for reminding me, Brian! :-) Our plans for the next release of the Google Plugin for Eclipse (1.3) include 4 changes designed to make integration with Maven and J2EE projects easier: 1. The WAR directory can now be configured to be *any*project-relative path (e.g. src/main/webapp if you're using Maven). You'll also be able to specify whether that directory is source-only (typical Maven/J2EE scenario), or whether it should also function as the WAR output directory from which to run/debug or deploy to App Engine. If your WAR directory is input * and* output (which will remain the default for new Web App projects), the plugin will manage synchronizing the contents of WEB-INF/lib WEB-INF/classes with your project's build path and compiled output. Otherwise, we'll leave your WAR source directory alone and you'll need to specify your WAR output location when launching, deploying, etc (the plugin will remember the location once you set it the first time). 2. The Web App launch configuration UI is being redesigned to allow you to see, and if necessary change, *any* of the launch arguments. Previously, we were waiting until launch time to set many of these arguments based on heuristics that were invisible and inaccessible to you. Now you'll be in full control of how your projects get launched. Also, we're adding the capability to automatically migrate your launch configurations when necessary, for example, updating the -javaagent flag when changing App Engine SDKs. 3. GWT/App Engine projects will no longer require our SDK library on the classpath. This means Maven users will be able to pull in JAR files from their M2 repository as they're accustomed to and the plugin won't mind a bit. 4. The severity of any problem marker generated by the plugin will be fully customizable via an Errors/Warnings preference page (similar to the Java Errors/Warnings page), letting you specify either Error, Warning, or Ignore. We'll also be including a few smaller features and bug fixes as well. What does everyone think about the 4 changes outlined above? We've been testing the plugin against various Maven and J2EE configurations to try to ensure that we've eliminated the most critical roadblocks. However, we're very interested in also having you folks take it for a spin before the official release date (slated for next month). We're not quite ready yet, but stay tuned for a 1.3 preview build to be made available hopefully in a few weeks. We'll distribute it as a zip file for dropin installationhttp://code.google.com/eclipse/docs/install-from-zip.html so it will come with the standard warnings and caveats (use with a clean Eclipse install and workspace, use at your risk, etc.). However, it will hopefully give you a chance to give us any last-minute feedback about our changes before the final release. Thanks, Keith On Thu, Feb 4, 2010 at 12:55 PM, bkbonner brian.bon...@paraware.comwrote: Keith, are you going to give the folks who replied to your message some sort of thoughts on what you're going to implement and hopefully let us try
Re: Maven users survey
Thx a lot for all this, it will clearly simplify GWT with Maven, but did you plan to add some WTP support in the next GEP release ? On Thu, Feb 4, 2010 at 8:33 PM, Keith Platfoot kplatf...@google.com wrote: Yes, I've been meaning to reply back to this thread. Thanks for reminding me, Brian! :-) Our plans for the next release of the Google Plugin for Eclipse (1.3) include 4 changes designed to make integration with Maven and J2EE projects easier: 1. The WAR directory can now be configured to be *any* project-relative path (e.g. src/main/webapp if you're using Maven). You'll also be able to specify whether that directory is source-only (typical Maven/J2EE scenario), or whether it should also function as the WAR output directory from which to run/debug or deploy to App Engine. If your WAR directory is input *and* output (which will remain the default for new Web App projects), the plugin will manage synchronizing the contents of WEB-INF/lib WEB-INF/classes with your project's build path and compiled output. Otherwise, we'll leave your WAR source directory alone and you'll need to specify your WAR output location when launching, deploying, etc (the plugin will remember the location once you set it the first time). 2. The Web App launch configuration UI is being redesigned to allow you to see, and if necessary change, *any* of the launch arguments. Previously, we were waiting until launch time to set many of these arguments based on heuristics that were invisible and inaccessible to you. Now you'll be in full control of how your projects get launched. Also, we're adding the capability to automatically migrate your launch configurations when necessary, for example, updating the -javaagent flag when changing App Engine SDKs. 3. GWT/App Engine projects will no longer require our SDK library on the classpath. This means Maven users will be able to pull in JAR files from their M2 repository as they're accustomed to and the plugin won't mind a bit. 4. The severity of any problem marker generated by the plugin will be fully customizable via an Errors/Warnings preference page (similar to the Java Errors/Warnings page), letting you specify either Error, Warning, or Ignore. We'll also be including a few smaller features and bug fixes as well. What does everyone think about the 4 changes outlined above? We've been testing the plugin against various Maven and J2EE configurations to try to ensure that we've eliminated the most critical roadblocks. However, we're very interested in also having you folks take it for a spin before the official release date (slated for next month). We're not quite ready yet, but stay tuned for a 1.3 preview build to be made available hopefully in a few weeks. We'll distribute it as a zip file for dropin installationhttp://code.google.com/eclipse/docs/install-from-zip.html so it will come with the standard warnings and caveats (use with a clean Eclipse install and workspace, use at your risk, etc.). However, it will hopefully give you a chance to give us any last-minute feedback about our changes before the final release. Thanks, Keith On Thu, Feb 4, 2010 at 12:55 PM, bkbonner brian.bon...@paraware.comwrote: Keith, are you going to give the folks who replied to your message some sort of thoughts on what you're going to implement and hopefully let us try it before you end up releasing the next release of the plugin? Brian On Jan 13, 11:35 am, Keith Platfoot kplatf...@google.com wrote: Hi folks, For the next release of the Google Plugin for Eclipse, we're planning on making a few tweaks to make life easier for Maven users. That's right: we've seen the stars on the issue tracker, and have decided it's time to act. I would say, we feel your pain, but the problem is, we don't. Which is to say, nobody on the plugin team actually uses Maven (everybody around here uses Ant). However, I've been researching Maven to determine exactly what changes we should make to allow it to work more seamlessly with the Google Eclipse Plugin. I've read the relevant issues and groups postings, so I think I have a rough idea of what needs to happen. However, before we go and make any changes, I wanted to ask for the community's advice. So, here are some questions for you. What is the typical workflow of a GWT developer using Maven? I've installed Maven and the gwt-maven-plugin 1.2-SNAPSHOT and managed to create a GWT 2.0 app with the provided archetype. After some tweaking, I'm able to GWT compile, debug with Eclipse (though not via our Web App launch configuration), create a WAR, etc. However, I'm more interested in how you all are doing things. For example: How do you... - Create a new project? - Perform GWT compiles? - Debug with Eclipse? - Run your tests? - Create a WAR for
Re: GWT 2.0.1 out but Eclipse says There is nothing to update
Yep it is just because it's a SDK Update and *not* a plugin update... On Fri, Feb 5, 2010 at 2:22 AM, Sky myonceinalifet...@gmail.com wrote: Go to Help - Install new software... then choose Google Plugin - http://dl.google.com/eclipse/plugin/3.5; from the drop down or else add it if it isn't already there. It should show both the App Engine and GWT under SDKs. Check SDKs and click Next. I had the same thing as you, but this way worked for me. Hope this helps. On Feb 4, 6:15 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Ive just noticed GWT 2.0.1 has been released, so I wanted to check how does my bug do in the new release, but Eclipse says there's nothing to update from the update site. When I browse available software from Google within Available Software the new version is actually listed (also when I check Hide items that are already installed). Am I the only one experiencing this? Am I missing something? Regards J. Záruba -- 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. -- 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-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 server side and maven
Hi Take a look at http://code.google.com/p/orcades-gwt-spring/ http://code.google.com/p/orcades-gwt-spring/ I use maven, wtp and GWT. But AFAIK, the springframework jetty embed server doesn't fit well and I cannot use jettty embed server. On Wed, Feb 3, 2010 at 9:35 AM, joe7935 joseph.p...@gmail.com wrote: Hello all, I try to build a gwt server side project in maven . I was looking for example in the web , i found examples in this site : http://code.google.com/p/gwt-maven/ I have some questions : 1. Do I have to start with maven project ( by selected an archetype maven-gwt-plugin) 2. if any one have an example , i love to get it. please 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-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. -- 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-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: Local events dispatch/handling. Don't wanna go through the EventBus...
Hi, IMHO the EventBus should be used as it. Nevertheless (just suggestion), you could try to use another EventBus (named and signeton) or perhaps I don't know it it a viable sulution with GIN define a new Scope (ui hiearchical scope) to put this bus into. HIH On Fri, Jan 29, 2010 at 8:46 AM, Mirco Dotta mirco.li...@gmail.com wrote: Hi, This is a question I've been asking myself several times, here is the use case: I've got an action happening in a ChildPresenter, such as a DeleteElementEvent. The ParentPresenter would like to register to this type of events so that a correct reaction can be triggered. Now, a possible way to go is to pass the Event in the EventBus and having the ParentPresenter registering on the EventBus for such events. This is going to work, but I really don't like this solution as the Event is not application-wide and therefore should not be polluting the event bus. I'd rather have a local event, but how can I achieve this? Should I create a HandlerManager it in the ParentPresenter... but then hwo can I pass it to the children (GIN injection?!, but how?). I'm looking for a pattern, if anyone faced the problem and came up with a solution, please share :) -- Mirco -- 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. -- 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-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: Maven users survey
Hi all, from the current version IMHO there are 2 issues. 1- layout issue (as you mention) src/main/webapp or equivalent must be input only. 2- classloader issues when using spring namespace handlers with DevMode. A working workaround is to work with WTP (without jetty server) and let WTP deploy the GWT generated stuff (JS). - I let maven share to same class output folder but I maintain the src/main/webapp in only: build outputDirectorywar/WEB-INF/classes/outputDirectory /build - I'm adding this in wtp deployement descriptor (.settings/org.eclipse.wst.common.component): wb-resource deploy-path=/search source-path=war/search/ In this case the GWT module is named search, and its GWT resources are deployed in WTP server, without polluing the src/main/webapp folder. Then: - the server side code must run under WTP. - the client side (GWT) code can: - run compiled under WTP - run not compiled with dev mode *without* jetty. - maven build process(gwt-maven-plugin:1.2) is not impacted. I'm working (on my free time) on a plugin to detect GWT module and customize the WTP descriptor without by-hand intervention on the .settings/org.eclipse.wst.common.component file. HIH On Wed, Jan 13, 2010 at 5:35 PM, Keith Platfoot kplatf...@google.comwrote: Hi folks, For the next release of the Google Plugin for Eclipse, we're planning on making a few tweaks to make life easier for Maven users. That's right: we've seen the stars on the issue tracker, and have decided it's time to act. I would say, we feel your pain, but the problem is, we don't. Which is to say, nobody on the plugin team actually uses Maven (everybody around here uses Ant). However, I've been researching Maven to determine exactly what changes we should make to allow it to work more seamlessly with the Google Eclipse Plugin. I've read the relevant issues and groups postings, so I think I have a rough idea of what needs to happen. However, before we go and make any changes, I wanted to ask for the community's advice. So, here are some questions for you. What is the typical workflow of a GWT developer using Maven? I've installed Maven and the gwt-maven-plugin 1.2-SNAPSHOT and managed to create a GWT 2.0 app with the provided archetype. After some tweaking, I'm able to GWT compile, debug with Eclipse (though not via our Web App launch configuration), create a WAR, etc. However, I'm more interested in how you all are doing things. For example: How do you... - Create a new project? - Perform GWT compiles? - Debug with Eclipse? - Run your tests? - Create a WAR for deployment? What specific pain points do Maven users run into when using the Google plugin? I know one major obstacle is that our plugin currently treats the war directory as both an input (e.g. static resources, WEB-INF/lib, WEB-INF/web.xml) and output (WEB-INF/classes, GWT artifacts like nocache.js and hosted.html) . Maven convention, however, says that /src/main/webapp should be input only, which means that hosted mode (or development mode, in GWT 2.0) needs to run from a staging directory (e.g. gwt:run creates a /war folder on demand). This mismatch results in the plugin creating spurious validation errors and breaks our Web App launch configuration. Another incompatibility is that Maven projects depend on the GWT Jars in the Maven repo, whereas our plugin expects to always find a GWT SDK library on the classpath. Are my descriptions of these pain points accurate? If so, one possible solution would be for the plugin to allow the definition of an input war directory (e.g. src/main/webapp) separate from a launch-time staging directory, and for us to relax the requirement that all GWT projects must have a GWT SDK library. So tell me: would these changes adequately reduce the friction between Maven and the Google plugin? Also, are there other problems Maven users are running into when using the plugin? Thanks in advance for all feedback, Keith, on behalf of the Google Plugin for Eclipse team -- 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. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at
Re: Anything better than the current gwt-dispatch...
hi, I can't figure out what you consider an issue in using a DI dispatch. Just to understand :) On Sun, Jan 24, 2010 at 8:15 AM, Henry q8e...@gmail.com wrote: I took a quick look at http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler Not bad, but it still needs managed beans which is managed via a .xml file or annotations. I'm suggesting something that doesn't even need that ... the caveat is that my soln uses a name-design pattern (which might not be a caveat) Cheers, Henry On Jan 23, 2:16 am, olivier nouguier olivier.nougu...@gmail.com wrote: Hi It's quite easy to implement a GWT dispatcher. At least with spring, then use autoscan feature: http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler HIH On Fri, Jan 22, 2010 at 7:13 PM, Henry q8e...@gmail.com wrote: So far, I found there are a few ways to redirect your serviceimpl, namley 1) logic in web.xml 2) gwt-dispatch 3) various framework plugins (for struts, jsf) But each of these solns above require you to edit a config file (or modify a java file with guice) everytime you add a new serviceimpl. Would it be possible to have an auto-config, so that if you follow the standard naming convention of XXXService.java XXXServiceAsync.java XXXServiceImpl.java that you won't have to add any more configurations. i.e. the service endpoint is something like /gwt/GwtNameDispatcher and GwtNameDispatcher is written so that it invokes the respective ServiceImpl w/o reading any configs files. GwtNameDispatcher knows which ServiceImpl to invoke based upon what Service object was passed in the GWT-RPC post param. The caveat is that you must follow the XXXService.java XXXServiceAsync.java XXXServiceImpl.java pattern, but if I write such a GwtNameDispatcher beast, would this be useful to the GWT community? Is there a better soln? Cheers, Henry -- 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. -- 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-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. -- 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-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: Anything better than the current gwt-dispatch...
Hi It's quite easy to implement a GWT dispatcher. At least with spring, then use autoscan feature: http://code.google.com/p/orcades-gwt-spring/wiki/orcadesGWTSpringHandler HIH On Fri, Jan 22, 2010 at 7:13 PM, Henry q8e...@gmail.com wrote: So far, I found there are a few ways to redirect your serviceimpl, namley 1) logic in web.xml 2) gwt-dispatch 3) various framework plugins (for struts, jsf) But each of these solns above require you to edit a config file (or modify a java file with guice) everytime you add a new serviceimpl. Would it be possible to have an auto-config, so that if you follow the standard naming convention of XXXService.java XXXServiceAsync.java XXXServiceImpl.java that you won't have to add any more configurations. i.e. the service endpoint is something like /gwt/GwtNameDispatcher and GwtNameDispatcher is written so that it invokes the respective ServiceImpl w/o reading any configs files. GwtNameDispatcher knows which ServiceImpl to invoke based upon what Service object was passed in the GWT-RPC post param. The caveat is that you must follow the XXXService.java XXXServiceAsync.java XXXServiceImpl.java pattern, but if I write such a GwtNameDispatcher beast, would this be useful to the GWT community? Is there a better soln? Cheers, Henry -- 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. -- 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-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: On secure logins
Hi all, I've implemented some integration of Spring Security and GWT. It is exactly the process described by Andrey: * http://code.google.com/p/net-orcades-spring/ is using pattern (URL filtering). * http://code.google.com/p/orcades-gwt-spring/ is using MVP pattern with secured at method level. The later project, is not very well documented, but if your are fluent with GWT Spring and Maven it shouldn't be an issue. HIH PS: Currently, my current jobs is not GWT based :(, it's on my free time. On Thu, Jan 21, 2010 at 3:14 PM, Alexander the.malk...@gmail.com wrote: +1 I do always authorise user action at services. I cant find out any other solution. 2010/1/21 ailinykh ailin...@gmail.com By this way you secure the main page only. What is pretty much useless. All client/server communication is done through AJAX. You can't secure it by a traditional servlet filter, because GWT serialization doesn't know anything about redirect. You will have something like serialization Exception. Also you have to think about user authorization. Users with different roles allowed to have access to different resources. I see the only way to do it- in every RPC call check user identity and permissions, then throw application defined exception if something is wrong. On client side you have to catch that exception and redirect to login page. Thank you, Andrey On Jan 21, 6:35 am, FKereki fker...@gmail.com wrote: Hi! I was just checking the consensus on how to do a secure login and it seems to be along the lines of: * set a simple login application to run athttps:// your.own.site.com/login * set the rest of your application to run athttp:// your.own.site.com/main * if the user tries to directly go tohttp://your.own.site.com/main, redirect him tohttps://your.own.site.com/login * on successful login, set a cookie, and redirect tohttp:// your.own.site.com/main Is this it? Am I missing something? Any better ways to do 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. -- Regards, Alexander -- 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. -- 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-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: Maven users survey
As a complement I like to say that when using noserver mode - using a classic WTP deployment approach for server side component - GEP in this case manage only the GWT (client) code In this case, it works perfectly as you expected. It is just the embedded jetty server classpath that doesn't fit. On Wed, Jan 20, 2010 at 6:04 PM, Eelco Hillenius eelco.hillen...@gmail.comwrote: 6. In eclipse we just start Debug as Web application. (with all libraries manually copied into war/WEB-INF/lib) This is our main problem, and I don't think it is related to only maven builds. Instead of using the project's class path including references to other projects and external jars like any other Eclipse runner would do, Google's plugin decides to skip all of this and insists on using the jars in WEB-INF/lib. Quite against what I expected tbh, and the run configurations don't hint that either. What would really help us is for the plugin to use the class path as it is defined for the project, and not use the jars in WEB-INF/libs at all. This way, you can break your project up in modules which themselves are eclipse projects, so that you don't have to do a complete jar build and copy the results to the WEB-INF/lib dir of the GWT project, but instead can just keep working. This would help us develop more efficiently, and it would also be more 'correct' in the sense that there is no difference between what the project uses to compile and run. -- 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. -- 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-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: App Runs in IE - Nothing Happens in Firefox (Link Included)
compile and deploy with pretty instead of OBS :) On Thu, Jan 21, 2010 at 4:35 PM, Russ r...@epcinternet.com wrote: Here is a link to my App: http://www.epcinternet.com:8080/GroupChart/GroupChart.html It runs just fine in IE, but I get nothing in Firefox. The console error I get in Firebug says: 'a' is null. Since I can't make heads or tails of the obfuscated javascript, I don't know what 'a' is null means. Can anyone offer suggestions? Thanks in advance, -Russ -- 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. -- 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-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 + Maven + JBOSS Issue
How to you run your server ? WTP Launch ? On Mon, Jan 18, 2010 at 10:45 AM, Alexander the.malk...@gmail.com wrote: I meant there is no need to use them in production (e.g. in real server) 2010/1/18 cupakob sira...@gmail.com i think, the parameter is needed for both - Host and Dev Mode. On 15 Jan., 17:03, Alexander the.malk...@gmail.com wrote: This parameter is only need when you run DevMode, right? 2010/1/15 cupakob sira...@gmail.com hi all, i have a project, which use GWT for the frontend. I can compile and run the module with maven (mvn compile war:exploded gwt:run) and it works fine. After that i package (mvn war:exploded package) the app as war and deploy it into jboss. When i call http://localhost:8080/module-frontend/index.html i get follwoing message GWT module 'XYZ' may need to be (re)compiled I found, that the ?gwt.codesvr parameter is missing. I've tried again with: http://localhost:8080/module-frontend/index.html?gwt.codesvr=172.16.0. .. but now i get this error message: Plugin failed to connect to hosted mode server at 172.16.0.43:9997 Any suggestions, how to solve the problem? -- 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. -- Regards, Alexander -- 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. -- Regards, Alexander -- 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. -- 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-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: Maven users survey
Hi It's a great new - Create a new project? Just a maven process, I've never used the perhaps-existing maven-gwt-plugin archetype because I use very custom - Perform GWT compiles? With maven-gwt-plugin during packaging (clean install). Some time with GEP when I want to test integration with other JSP code. But IMHO when using spring the noserver mode is hightly preferable (classloader issues). - Debug with Eclipse? Simple Eclipse debug usage. With tomcat / WTP for server side code. - Run your tests? Maven - Create a WAR for deployment? Maven I've just commited my spring / security integration project where I encounter some classloading problem with the namespace handler of spring configuration file. IMHO this project is complicated enough to illustrate a GWT / WTP / Maven integration. http://code.google.com/p/orcades-gwt-spring/ There are two wiki pages to install test HIH On Wed, Jan 13, 2010 at 5:35 PM, Keith Platfoot kplatf...@google.comwrote: Hi folks, For the next release of the Google Plugin for Eclipse, we're planning on making a few tweaks to make life easier for Maven users. That's right: we've seen the stars on the issue tracker, and have decided it's time to act. I would say, we feel your pain, but the problem is, we don't. Which is to say, nobody on the plugin team actually uses Maven (everybody around here uses Ant). However, I've been researching Maven to determine exactly what changes we should make to allow it to work more seamlessly with the Google Eclipse Plugin. I've read the relevant issues and groups postings, so I think I have a rough idea of what needs to happen. However, before we go and make any changes, I wanted to ask for the community's advice. So, here are some questions for you. What is the typical workflow of a GWT developer using Maven? I've installed Maven and the gwt-maven-plugin 1.2-SNAPSHOT and managed to create a GWT 2.0 app with the provided archetype. After some tweaking, I'm able to GWT compile, debug with Eclipse (though not via our Web App launch configuration), create a WAR, etc. However, I'm more interested in how you all are doing things. For example: How do you... - Create a new project? - Perform GWT compiles? - Debug with Eclipse? - Run your tests? - Create a WAR for deployment? What specific pain points do Maven users run into when using the Google plugin? I know one major obstacle is that our plugin currently treats the war directory as both an input (e.g. static resources, WEB-INF/lib, WEB-INF/web.xml) and output (WEB-INF/classes, GWT artifacts like nocache.js and hosted.html) . Maven convention, however, says that /src/main/webapp should be input only, which means that hosted mode (or development mode, in GWT 2.0) needs to run from a staging directory (e.g. gwt:run creates a /war folder on demand). This mismatch results in the plugin creating spurious validation errors and breaks our Web App launch configuration. Another incompatibility is that Maven projects depend on the GWT Jars in the Maven repo, whereas our plugin expects to always find a GWT SDK library on the classpath. Are my descriptions of these pain points accurate? If so, one possible solution would be for the plugin to allow the definition of an input war directory (e.g. src/main/webapp) separate from a launch-time staging directory, and for us to relax the requirement that all GWT projects must have a GWT SDK library. So tell me: would these changes adequately reduce the friction between Maven and the Google plugin? Also, are there other problems Maven users are running into when using the plugin? Thanks in advance for all feedback, Keith, on behalf of the Google Plugin for Eclipse team -- 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. -- 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-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 2.0 maven plugin and eclipse plugin
With a Non Maven GWT GEP project you should notice that: - All GWT nature must be present ! - GWT Library (eclipse) must be on classpath Hosted mode: Right Click on *.gwt.xml Run As web app application No Server Mode: WTP metadata should be provided. On Mon, Jan 11, 2010 at 2:53 PM, anis.chaaba anis.cha...@gmail.com wrote: Hello, I've generated a gwt project using the codehaus plugin and added gwt nature and web app nature to the eclipse project, but when i lunch the developpement mode from eclipse it does'nt display the test url, how can i solve that ? PS: when i run mvn gwt:run it works but what i want to do is to run my projects from eclipse. thanks in advance for 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. -- 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-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 2.0 maven plugin and eclipse plugin
Sorry I meant dev mode ... On Mon, Jan 11, 2010 at 3:09 PM, anis.chaaba anis.cha...@gmail.com wrote: That's what i've done, GWT Library are on classpath and all GWT nature are present. What i want to do is to run Dev mode not Hosted mode :S On 11 jan, 14:58, olivier nouguier olivier.nougu...@gmail.com wrote: With a Non Maven GWT GEP project you should notice that: - All GWT nature must be present ! - GWT Library (eclipse) must be on classpath Hosted mode: Right Click on *.gwt.xml Run As web app application No Server Mode: WTP metadata should be provided. On Mon, Jan 11, 2010 at 2:53 PM, anis.chaaba anis.cha...@gmail.com wrote: Hello, I've generated a gwt project using the codehaus plugin and added gwt nature and web app nature to the eclipse project, but when i lunch the developpement mode from eclipse it does'nt display the test url, how can i solve that ? PS: when i run mvn gwt:run it works but what i want to do is to run my projects from eclipse. thanks in advance for 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.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-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. -- 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-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 shindig (or any other war) in development mode
Yes but IMHO you should not use the embed jetty server and use the old-named noserver mode. By doing this, you let your legacy (WTP for me) server side environment managed the server side code. And GWT Dev mode is only driving the GWT code. On Fri, Jan 8, 2010 at 11:06 PM, David Self dws...@gmail.com wrote: I'm working on a project that will be using shindig as a gadget container within a gwt-based application. This means that I need to deploy shindig.war in my web server when in production mode, which is easy enough to do. Is it possible, though, to also deploy this war file while in development mode? Thanks, David -- 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. -- 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-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: How to cache DTD in Eclipse for GWT 2.0
In eclipses: Preferences XML Catalog In User part you can add your custom catalog. On Fri, Jan 8, 2010 at 4:10 PM, Sagar sagar.i...@gmail.com wrote: Hi I just installed fresh copy of eclipse and gwt plugin on it. but now the problem is each time i am doing something in ui.xml file, eclipse is trying to fetch the dtd. i am behind proxy which is 1000 miles away is there any way to cache the http://dl.google.com/gwt/DTD/xhtml.ent in eclipse, so it dosent try to fetch it every time. i read somewhere that i can use XML Catalog feature, but dont know how it works, also in that XML Catalog window i see red mark next to following two entries. Location: http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd URI:http://dl.google.com/gwt/dtd/com.google.gwt.user.client.ui.xsd Key Type: Namespace Name Key:urn:import:com.google.gwt.user.client.ui Location: http://dl.google.com/gwt/dtd/uibinder.xsd URI:http://dl.google.com/gwt/dtd/uibinder.xsd Key Type: Namespace Name Key:urn:ui:com.google.gwt.uibinder -- 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. -- 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-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: pls help !!!!!!!!!!
You should use firebug to learn more ! On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com wrote: i have a presentation tomorrow and every thing works great i am using gwt 2.0 but when i compile and run from the compiled version all of the http request does not work -- 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. -- 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-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: pls help !!!!!!!!!!
euh your backend is full php ? If true I have no knowlegde :( On Wed, Jan 6, 2010 at 6:11 PM, ben fenster fenster@gmail.com wrote: i use it and no errors there also i am accessing php pages threw http request the php works ok and when i use it in hosted mode every thing is great but when i use it in compile nothing works On Jan 6, 7:03 pm, olivier nouguier olivier.nougu...@gmail.com wrote: You should use firebug to learn more ! On Wed, Jan 6, 2010 at 5:55 PM, ben fenster fenster@gmail.com wrote: i have a presentation tomorrow and every thing works great i am using gwt 2.0 but when i compile and run from the compiled version all of the http request does not work -- 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. -- 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-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. -- 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-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: Step-by-Step tutorial how to use external Tomcat with GWT 2.0
Hi, 1: You'll just need to deploy your server side application. 2: Start the external server. 3: Start the GWT Server (GWT application with eclipse plugin) *without* the embded server. 4: browse to your html/jsp page hosting your gwt application with the extra parameter: ?gwt.codesvr=134.40.251.239:9997 (adapt of course with your IP address). Without this parameter you will use the deployed(js compiled) GWT code. HIH On Tue, Jan 5, 2010 at 10:54 AM, ojay oliver.ja...@googlemail.com wrote: Hi, I am looking for a tutorial about using an external tomcat server with gwt 2.0. I could only find discussions about older GWT versions, and actually I am stuck at this step. Does somebody can show me the steps how I can use the sample gwt project, which will be created by the google eclipse plugin, on an external tomcat server? Thanks a lot. -- 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. -- 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-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: Step-by-Step tutorial how to use external Tomcat with GWT 2.0
Hi Yes I use maven too :) But with m2eclipse and WTP. Maven set up to redirect the build in war folder I'm also using Spring, and the external server works really better than the embeded server (there is some classloader issues http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 ) On Tue, Jan 5, 2010 at 1:14 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: Hi, I tried this before, but i am also using maven for project building. So i added pom.xml to my Web Application project (created with GEP) and when i executed mvn eclipse:eclipse (in order to add my dependencies to the web app project) dev mode stopped working( no change is made after refresh the browser). The change is done only if i compile the web app project. Do you have any expirience with GEP + maven + external server? Regards. On Tue, Jan 5, 2010 at 12:09 PM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, 1: You'll just need to deploy your server side application. 2: Start the external server. 3: Start the GWT Server (GWT application with eclipse plugin) *without* the embded server. 4: browse to your html/jsp page hosting your gwt application with the extra parameter: ?gwt.codesvr=134.40.251.239:9997 (adapt of course with your IP address). Without this parameter you will use the deployed(js compiled) GWT code. HIH On Tue, Jan 5, 2010 at 10:54 AM, ojay oliver.ja...@googlemail.comwrote: Hi, I am looking for a tutorial about using an external tomcat server with gwt 2.0. I could only find discussions about older GWT versions, and actually I am stuck at this step. Does somebody can show me the steps how I can use the sample gwt project, which will be created by the google eclipse plugin, on an external tomcat server? Thanks a lot. -- 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. -- 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-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. -- 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-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 2.0 problem: maven-googlewebtoolkit2-plugin compiles cache.js files and GEP compiler cache.html
This works perfectly Build: groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version1.2/version On Tue, Jan 5, 2010 at 2:02 PM, mariyan nenchev nenchev.mari...@gmail.comwrote: With fire bug i can see that there is generated style G3vhxeuA, but it is missing. -- 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. -- 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-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 2/Eclipse Project References
Hi The java *source* folder must be added to the classpath. HIH On Tue, Dec 29, 2009 at 1:09 PM, Matt matt.seab...@gmail.com wrote: I have the situation where the POJOs which are used within the EntryPoint (i.e. compiled to Javascript) are located in another Eclipse project. If I configure the GWT project to refer to the other project the Java compiles okay, but when attempting to compile to Javascript it complains No source code is available for How do you get GWT to recognise the externally located source without compiling the lot into the webapp? On Dec 11, 5:28 pm, Rajeev Dayal rda...@google.com wrote: This is a general problem with having your GWT or App Engine project depend on another project that ultimately contributes artifacts to the war/WEB-INF/lib folder. We're going to address this in a future version of the plugin. Even though this appears to work in GWT, you'll still have to revert to the clunky technique (exporting the files from the parent project and copying them into the war/WEB-INF/lib folder of the child project) when you perform a deployment; the Google Plugin for Eclipse will not automatically do this for you. On Fri, Dec 11, 2009 at 7:09 AM, Graham graham.mor...@gmail.com wrote: This seems to be related to the AppEngine, which I don't need. Problem solved! On Dec 11, 11:51 am, Graham graham.mor...@gmail.com wrote: Sorry, just to clarify - I am referring specifically to development mode. On Dec 11, 11:49 am, Graham graham.mor...@gmail.com wrote: I've successfully upgraded to GWT 2.0 using the GWT Eclipse Plugin. All seems well, with one exception. I write all of my servlets in a seperate project, which worked under well under 1.* by simply adding the project to the build path. Unfortunately after moving to GWT 2.0 the project is being ignored at run time, and the servlets are not found (although the project appears in the Classpath tab in my run configuration). Is there anyway to specify other projects to be included in the classpath? If I export my servlets to a JAR file and drop them into the WEB-INF/ lib directory it works, but it is a bit clunky, especially as the servlets are modified frequently! -- 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.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- 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. -- 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-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: how to associate Onclick event with a static hyperlink in the HTML page
hi, Of course it can be achieved :) Please look at http://googlewebtoolkit.blogspot.com/2008/07/getting-to-really-know-gwt-part-1-jsni.html Part: Creating JavaScript libraries with GWT HIH A l'an que ven On Mon, Dec 28, 2009 at 2:34 PM, newUser diwakar...@gmail.com wrote: Hi, I am new to GWT. What I am trying to achieve is to have multiple Hyperlinks in my webpage and associate a click handlers with all the hyperlinks. the HTML code is something like: div id=navhome ul lia href=Home.html HOME/a/li /ul /div div id=navcontrol ul lia href=#CONTROL/a/li /ul /div Now, i have some widgets in the Home.html page which i want to control when the user clicks on Control hyperlink. whatever i have tried so far has failed. the recent one is something like: Element ControlRoom = DOM.getElementById(navcontrol); DOM.setEventListener(ControlRoom, new EventListener (){ public void onBrowserEvent (Event event) { switch(DOM.eventGetType(event)) { case Event.ONCLICK: onClickControl(); } } }); } public void onClickControl() { Panel.remove(Display); } Questions: 1. first of all, can this be achieved. As far as I am concerned, this seems a very basic thing and should be achievable. 2. If it is achievable, can someone suggest how? 3. If not, then what are my alternatives? So far, i have though of creating a HTML widget and use it. Not tried it yet. The other option is to have buttons and not hyperlinks. But the problem is, using buttons in my webpage will destroy the cosmetics. Thanks to help. ~Diwakar -- 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. -- 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-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: Developement mode is not loading spring context
Yep, same conclusion under maven project ... Being tired with this I'm finally using the noserver configuration (running tomcat/wtp) that works perfectly well. On Thu, Dec 24, 2009 at 2:49 PM, fuzebest mgordie...@gmail.com wrote: Same here with GWT 2.0 final. I think the problem is in the GWT provided Jetty classloader (somewhere in com.google.gwt.dev.shell.jetty.JettyLauncher $WebAppContextWithReload) which ignores project classpath and includes only the war directory content. But this is only a wild guess... -- 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. -- 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-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-voices
hi AFAIK you can't access local file :) deploy your audio file and use http:// with repect to SOP (Same Origin Policy) HIH On Mon, Dec 21, 2009 at 8:31 PM, Alexei Telles alexeitel...@gmail.comwrote: Hello guys, I am trying to start using the gwt-voices in my GWT project. To start I tried the example: SoundController soundController = new SoundController(); Sound sound = soundController.createSound (Sound.MIME_TYPE_AUDIO_MPEG, file:///home/alexei/teste.mp3); sound.play(); But the mp3 never plays My Sound object is like: OBJECT(audio/mpeg, file:///home/alexei/teste.mp3, not streaming) and its loadState property is: LOAD_STATE_NOT_SUPPORTED Dos anybody could give me a little help please? 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. -- 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-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 + Spring Security
Hi jonathan, Are you using maven ? If the answer is yes: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a?pli=1 On Thu, Dec 10, 2009 at 8:40 PM, jonathan.hollo...@gmail.com jonathan.hollo...@gmail.com wrote: I'm having issues with the Spring Security and GWT. Defining the following in my Spring config file: beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:security=http://www.springframework.org/schema/security; xsi:schemaLocation=http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.4.xsd; and referencing spring security elements as follows: security:http entry-point-ref=samlEntryPoint security:intercept-url pattern=/** access=IS_AUTHENTICATED_FULLY/ security:intercept-url pattern=/logout.jsp filters=none/ security:intercept-url pattern=/login.jsp filters=none/ security:intercept-url pattern=/favicon.ico filters=none/ /security:http results in: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security] Offending resource: class path resource [server-config.xml] at org.springframework.beans.factory.parsing.FailFastProblemReporter.error (FailFastProblemReporter.java:68) at org.springframework.beans.factory.parsing.ReaderContext.error (ReaderContext.java:85) at org.springframework.beans.factory.parsing.ReaderContext.error (ReaderContext.java:80) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error (BeanDefinitionParserDelegate.java:281) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement (BeanDefinitionParserDelegate.java:1294) Has anybody come across/solved this issue at all? It's definitely a GWT issue as I'm able to load the config up normally in a standard Java application. Many 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 . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-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: How can I share classes (code) between 2 projects
You need to define a GWT Module. - Module: build a jar with .class and .java inside. + gwt.xml file - Application 1 2: add the jar to classpath import the module. On Mon, Nov 30, 2009 at 2:32 PM, tedpottel tedpot...@gmail.com wrote: Hi, I would like to make some genrick classes that I could share between multple gwt projects. Does anybody know how I would do this? - Ted -- 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. -- 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-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: Should we use maven or not for a project?
Hi, Maven and GWT can work nicely together but need some trick with the hosted mode. It not easy but IMHO it worth the effort. If you're new to maven and new to GWT it will be hard to understand the IDE strange behaviour (classloader etc etc ). You should first take the time to learn those to tools independently then try to mix their use. Sorry for staying vague but details could be quickly cumbersome. HIH On Thu, Nov 26, 2009 at 10:46 PM, jbdhl jbirksd...@gmail.com wrote: I'm about to start a new GWT project but can't decide weather to use maven or not - partly because I'm completely new to maven. Are there really large benefits from using maven? I've heard, that not even google is using it, and this worries me a little. Our project will be a bit of a mix of various stuff and I don't know how well this fits into the maven structure: * besides the usual client/servlet code, we will build a few smaller java tools to be run periodically by cron. * we will use a bunch of scripts written in various languages to solve different tasks * the project will include a bunch of documentation and text documents All in all: what is your recomendation? Maven or not? -- 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. -- 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-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: Question about RPC calls
Hi, Basically: rpc_funct_A(){ onSuccess(){ rpc_funct_B(){ onSuccess(){ // some code to execute only when both functions get to an end. } } } } A look at MVP + Event Driven should give you some nice design/pattern. On Tue, Nov 17, 2009 at 3:04 PM, Zenon zeno...@gmail.com wrote: Hello, I was wandering how to find out when 2 RP calls finish in order to execute some code. An example: rpc_funct_A(); rpc_funct_B(); // some code to execute only when both functions get to an end. As you know, *some code* could probably begin before rpc_funct ends their execution and I don't want that. 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=. -- 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-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: GWT eclipse plugin and moving war folder
Hi norman, Did you try the other solution which is to change the mavens outputs ? - outputDirectory to war/WEB-INF/classes (build section) - warSourceDirectory to war (maven-war-plugin) On Thu, Nov 12, 2009 at 3:51 PM, Norman Maurer nor...@apache.org wrote: Hi all, I'm using maven2 to build a multi-module GWT project. I have an extra module which contains the client code. So I moved the war folder into this module. compiling via mAven2 works fine, the only problem seems to be the hosted mode. It seems like the hosted mode needs to find the war folder in the root folder or the project. I See no Option to Tell the Plugin to Look at à different Location. I worked adound this with greating a symbolic Link but thats more a hack. So, is there an Option to specify à different Location ? Thx, norman -- 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=. -- 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-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: GWT Maven2 (1.7.1) Possible?
Hi, Reponses intertwined. On Mon, Oct 26, 2009 at 6:46 AM, J.V. jvsr...@gmail.com wrote: I'm trying to get a first app up and running with GWT. Welcome :) What I would like to do is download the jars and compile with maven2. Good luck ;) Has anyone been able to do this successfully? I can not find any documentation anywhere that actually leads me to a working example. Are the latest 1.7.1 jars available in any public maven repo? http://mvnrepository.com/artifact/com.google.gwt/gwt-user Is there any sort of commitment at all from Google to support Maven2? AFAIK google gwt team is rather ant than maven. But support for Maven with org.codehaus.mojo:gwt-maven-plugin is very good. If anyone can help on getting GWT to compile/work with maven I will post the instructions for others in a readable format. I don't think an experienced maven user encounter big issues ... with GWT only. Where the game becomes tricky is when you also whant to plays with: - GWT - Maven - Eclipse (m2eclipse) - Eclipse (WTP) - Spring (or guice) You can encounter some issues with Hosted mode classloader. ( http://groups.google.com/group/google-web-toolkit/browse_thread/thread/be6b6681192aa54a/00b1f125d31c11b8?#00b1f125d31c11b8 ) I have a pretty (it's mine, so ... :) demo application working with all of this plus: - Spring security - MVP implementation (http://code.google.com/p/gwt-mvp/) Working under: Maven + GWT (1.7 - 2.0 ) + Spring with and/or without eclipse. I'm rather busy for the moment on my fulltime job (not GWT :( ). So I've not updated this project, but If some are interested, I can make some evening work :) Best regards. If I'm the first to try and get this to run with Maven, let me know. Definitively not ;) thanks J.V. -- 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 -~--~~~~--~~--~--~---
Re: GWT 2.0 Milestone 1: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing
Or simply copy gwt-dev.jar to gwt-dev-windows.jar in gwt install dir. On Tue, Oct 6, 2009 at 12:14 PM, hezjing hezj...@gmail.com wrote: Hi Sebastien, Are you suggesting to update the existing classpath to GWT 2.0 classpath manually? I'm not sure if Google plugin will solve this problem in the next release? On Tue, Oct 6, 2009 at 12:11 PM, Sebastien chassa...@gmail.com wrote: (a tiny problem of keyboard later ...) This change is nice when the developpement team is cross plaform. Due to this change you have to update your eclipse classpath. Regards, Seb On 6 oct, 06:07, Sebastien chassa...@gmail.com wrote: Hi, The announce said the distribution is no more specific to a platform. So I suppose gwt-dev-*.jar have been replaced by a single and portable jar: gwt-dev.jar. On 6 oct, 05:29, hezjing hezj...@gmail.com wrote: Hi I'm trying to configure GWT 2.0 milestone 1 in Google plugin following the steps: Extracted gwt-2.0.0-ms1.zip to C:\gwt-2.0.0-ms1, in Eclipse 3.5, right click a project - Google - Web Toolkit Settings... - Configure SDKs... , in Preferences (Filtered) window, click Add... , in Add Google Web Toolkit SDK window, enter Installation directory: C:\gwt-2.0.0-ms1 Display name: GWT 2.0 Milestone 1 Error: C:\gwt-2.0.0-ms1\gwt-dev-windows.jar is missing -- Hez -- Hez -- 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 -~--~~~~--~~--~--~---
Re: jGrowl from GWT
Hi don't know much about jGrowl But JNSI call should rather look like $wnd.$.jGrowl(blah blah); HTH On Mon, Oct 5, 2009 at 3:11 PM, ledzgio giorgiomarci...@gmail.com wrote: Hi, how can i call jGrowl notification library from a GWT class? i made a native method, added the js files to the gwt.xml file and did: $wnd.jGrowl(notify message); but it doesn't work..how can i fix it? which is the right way to call the js function? thanks a lot The js file library is here: http://stanlemon.net/projects/jgrowl.html -- 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 -~--~~~~--~~--~--~---
Re: SerializationException on the server side
Hi, What is 'fr.km.server.KMServiceImpl$5 this anonimous class ? What is this method add(...) it's seem to produce a wrapper on Article classes ? On Thu, Oct 1, 2009 at 11:17 AM, Richard richard.fa...@gmail.com wrote: Hi All, I've tried my first GWT RPC project without success. I think I' missing something but I don't find what. Can you help me finding what's wrong ? === The exception === 1 oct. 2009 11:06:18 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1254387978424000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'fr.km.server.KMServiceImpl$5' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. ===My model === package fr.km.client.model; import java.util.ArrayList; import com.google.gwt.user.client.rpc.IsSerializable; public class Article implements IsSerializable { private int id; private String title; private ArrayListString tags; private String content; public Article() {} public Article(int id, String title, ArrayListString tags, String content) { this.id = id; this.title = title; this.tags = tags; this.content = content; } public int getId() { return id; } public String getTitle() { return title; } public ArrayListString getTags() { return tags; } public String getContent() { return content; } } =My RPC Impl= public class KMServiceImpl extends RemoteServiceServlet implements KMService { public ArrayListArticle findArticles(String keywords) { final Article a = new Article(0, Title 1, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); final Article b = new Article(0, Title 2, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); final Article c = new Article(0, Title 3, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); final Article d = new Article(0, Title 4, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); return new ArrayListArticle(){{add(a);add(b);add(c);add(d);}}; } } -- 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 -~--~~~~--~~--~--~---
Re: SerializationException on the server side
Sorry, not easy to read java code in mail ... I think your anonymous array list are not (GWT) serializable. Indeed, you seem to use array list in a very strange way... Please try to replace: final Article b = new Article(0, Title 2, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); By: ArrayListString list = new ArrayListString(); list.add(J2EE); list.add(Eclipse); final Article b = new Article(0, Title 2, list, some content); On Thu, Oct 1, 2009 at 11:38 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, What is 'fr.km.server.KMServiceImpl$5 this anonimous class ? What is this method add(...) it's seem to produce a wrapper on Article classes ? On Thu, Oct 1, 2009 at 11:17 AM, Richard richard.fa...@gmail.com wrote: Hi All, I've tried my first GWT RPC project without success. I think I' missing something but I don't find what. Can you help me finding what's wrong ? === The exception === 1 oct. 2009 11:06:18 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1254387978424000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'fr.km.server.KMServiceImpl$5' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. ===My model === package fr.km.client.model; import java.util.ArrayList; import com.google.gwt.user.client.rpc.IsSerializable; public class Article implements IsSerializable { private int id; private String title; private ArrayListString tags; private String content; public Article() {} public Article(int id, String title, ArrayListString tags, String content) { this.id = id; this.title = title; this.tags = tags; this.content = content; } public int getId() { return id; } public String getTitle() { return title; } public ArrayListString getTags() { return tags; } public String getContent() { return content; } } =My RPC Impl= public class KMServiceImpl extends RemoteServiceServlet implements KMService { public ArrayListArticle findArticles(String keywords) { final Article a = new Article(0, Title 1, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); final Article b = new Article(0, Title 2, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); final Article c = new Article(0, Title 3, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); final Article d = new Article(0, Title 4, new ArrayListString() {{add(J2EE);add(eclipse);}}, some content); return new ArrayListArticle(){{add(a);add(b);add(c);add(d);}}; } } -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- 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 -~--~~~~--~~--~--~---
Re: GWT 1.6 + Spring Security issue
hi I add the same issues with all namespace handler (aop, sec etc). As a workaround I found the copy the spring jar (spring-aop, ...) solved the problem for the hosted mode. HTH On Tue, Jun 2, 2009 at 3:58 PM, tim.clymer tim.cly...@gmail.com wrote: As a follow up, I switched to -noserver mode and it works just fine now. Must've been a conflict with running it in the bundled jetty. Thanks for the tips! On May 14, 2:36 pm, tim.clymer tim.cly...@gmail.com wrote: Sure. I'm using Maven2 for my dependency management and project structure, though I do have myspringconfig files and web.xml in the GWT /war directory to simplify hosted mode. I use Eclipse 3.4.2 as my development IDE. I'm using the latest GWT 1.6 release and these are myspringdependencies: dependency groupIdorg.springframework.security/groupId artifactIdspring-security-core/artifactId version2.0.4/version /dependency dependency groupIdorg.springframework.security/groupId artifactIdspring-security-core-tiger/artifactId version2.0.4/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-core/artifactId version2.5.6/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.5.6/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-context/artifactId version2.5.6/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-webmvc/artifactId version2.5.6/version /dependency dependency groupIdnet.entropysoft.transmorph/groupId artifactIdtransmorph/artifactId version2.1.2/version /dependency dependency groupIdaspectj/groupId artifactIdaspectjrt/artifactId version1.5.3/version /dependency Basically, I'm trying to use the latest of everything. Hope this helps, and thanks for your help. Tim On May 14, 9:08 am, Salvador Diaz diaz.salva...@gmail.com wrote: Could you share more information with us ? It'll be difficult to help without knowing your project structure, the tools you're using (eclipse ? maven ? GEP ? ant ? netbeans), and how you're launching/ debugging your project. Cheers, Salvador On 14 mai, 14:49, tim.clymer tim.cly...@gmail.com wrote: Thanks for the tip. I think I may try that just to avoid having to redeploy every time I want to test. Can anyone who's familiar with the inner workings of GWT speak as to why this may be happening? Tim On May 13, 8:38 am, Arthur Kalmenson arthur.k...@gmail.com wrote: It could very well be. When running a more complex server side (i.e. withSpringSecurity, etc), it's usually recommended that you use -noserver. InGWT1.5 with the Google Codegwt-maven plugin, you could set it up to automatically copy configurations over to the embedded Tomcat. I'm not sure how it works in 1.6. -- Arthur Kalmenson On Tue, May 12, 2009 at 8:43 AM, tim.clymer tim.cly...@gmail.com wrote: I've been seeing a strange issue when attempting to useGWTwith SpringSecurity as described here: http://code.google.com/p/gwt-incubator-lib/ I can deploy the application as a war and run it just fine in Tomcat, however when I try to run it in hosted mode with jetty I get the following error: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locateSpringNamespaceHandler for XML schema namespace [ http://www.springframework.org/schema/security] Offending resource: ServletContext resource [/WEB-INF/aop- applicationContext.xml] I've posted this to theSpringforums and they mention it's a classpath issue, that there may be more than one instance of the SpringSecurity jars on my classpath. I've double-checked my jars and this doesn't seem to be an issue (especially since I package them with my app and it works fine). I'm wondering if somehow jetty orGWTis using a class that might be interfering with the resolution of the namespace. Prior to incorporatingsecurityin my app it was running fine in hosted mode, even with otherSpringbeans, so this makes me think it's related toSpringSecurity (and not justSpringitself) somehow. Any ideas? -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi --~--~-~--~~~---~--~~ You received this message because you are
Re: GWT 1.6 + Spring Security issue
Sorry send to fast ... hi I add the same issues with all namespace handler (aop, sec etc). As a workaround I found that copying the spring jar (spring-aop, ...) in the war/WEB-INF/lib solved the problem for the hosted mode. HTH On Wed, Sep 30, 2009 at 2:20 PM, olivier nouguier olivier.nougu...@gmail.com wrote: hi I add the same issues with all namespace handler (aop, sec etc). As a workaround I found the copy the spring jar (spring-aop, ...) solved the problem for the hosted mode. HTH On Tue, Jun 2, 2009 at 3:58 PM, tim.clymer tim.cly...@gmail.com wrote: As a follow up, I switched to -noserver mode and it works just fine now. Must've been a conflict with running it in the bundled jetty. Thanks for the tips! On May 14, 2:36 pm, tim.clymer tim.cly...@gmail.com wrote: Sure. I'm using Maven2 for my dependency management and project structure, though I do have myspringconfig files and web.xml in the GWT /war directory to simplify hosted mode. I use Eclipse 3.4.2 as my development IDE. I'm using the latest GWT 1.6 release and these are myspringdependencies: dependency groupIdorg.springframework.security/groupId artifactIdspring-security-core/artifactId version2.0.4/version /dependency dependency groupIdorg.springframework.security/groupId artifactIdspring-security-core-tiger/artifactId version2.0.4/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-core/artifactId version2.5.6/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.5.6/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-context/artifactId version2.5.6/version /dependency dependency groupIdorg.springframework/groupId artifactIdspring-webmvc/artifactId version2.5.6/version /dependency dependency groupIdnet.entropysoft.transmorph/groupId artifactIdtransmorph/artifactId version2.1.2/version /dependency dependency groupIdaspectj/groupId artifactIdaspectjrt/artifactId version1.5.3/version /dependency Basically, I'm trying to use the latest of everything. Hope this helps, and thanks for your help. Tim On May 14, 9:08 am, Salvador Diaz diaz.salva...@gmail.com wrote: Could you share more information with us ? It'll be difficult to help without knowing your project structure, the tools you're using (eclipse ? maven ? GEP ? ant ? netbeans), and how you're launching/ debugging your project. Cheers, Salvador On 14 mai, 14:49, tim.clymer tim.cly...@gmail.com wrote: Thanks for the tip. I think I may try that just to avoid having to redeploy every time I want to test. Can anyone who's familiar with the inner workings of GWT speak as to why this may be happening? Tim On May 13, 8:38 am, Arthur Kalmenson arthur.k...@gmail.com wrote: It could very well be. When running a more complex server side (i.e. withSpringSecurity, etc), it's usually recommended that you use -noserver. InGWT1.5 with the Google Codegwt-maven plugin, you could set it up to automatically copy configurations over to the embedded Tomcat. I'm not sure how it works in 1.6. -- Arthur Kalmenson On Tue, May 12, 2009 at 8:43 AM, tim.clymer tim.cly...@gmail.com wrote: I've been seeing a strange issue when attempting to useGWTwith SpringSecurity as described here: http://code.google.com/p/gwt-incubator-lib/ I can deploy the application as a war and run it just fine in Tomcat, however when I try to run it in hosted mode with jetty I get the following error: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locateSpringNamespaceHandler for XML schema namespace [ http://www.springframework.org/schema/security] Offending resource: ServletContext resource [/WEB-INF/aop- applicationContext.xml] I've posted this to theSpringforums and they mention it's a classpath issue, that there may be more than one instance of the SpringSecurity jars on my classpath. I've double-checked my jars and this doesn't seem to be an issue (especially since I package them with my app and it works fine). I'm wondering if somehow jetty orGWTis using a class that might be interfering with the resolution of the namespace. Prior to incorporatingsecurityin my app it was running fine in hosted mode, even with otherSpringbeans
Re: Project Structure in GWT-2.0
Hi all, The current war layout (1.7), allow quite easily the m2eclipse and wtp plugin to work with GWT. Thanks to maven customization. The only issues remaining are: - mix of generated resources in the war/ folder - strange classloader behaviour, with spring namespace handler( http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/be6b6681192aa54a?pli=1) Is there another issues with the GWT 1.7 layout ? 2009/9/30 Hermod hermod.opstv...@gmail.com +1 for maven layout -Opprinnelig melding- Fra: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] På vegne av Tom Malone Sendt: 30. september 2009 13:14 Til: google-web-toolkit@googlegroups.com Emne: Re: Project Structure in GWT-2.0 +1 For maven layout 2009/9/30 Gaetan Zoritchak g.zoritc...@gmail.com: -1 Maven is cool for the dependency management. For project like gwt ones a small ant script is more productive. The dependancy can then be handled by ivy (and possibly based on a maven repo). On 30 sep, 11:39, Harald Pehl harald.p...@googlemail.com wrote: +1 for Maven nested module friendliness. On 30 Sep., 08:46, Michał Sędzielewski m.sedzielew...@gmail.com wrote: and what is the opinion of Googlers? On 29 Wrz, 20:37, Daniel Jue teamp...@gmail.com wrote: +1 for Maven nested module friendliness. On Tue, Sep 29, 2009 at 12:25 PM, Iain Shigeoka iain.shige...@gmail.com wrote: +1 Maven friendly is ideal. Less ideal but better than current +is separation of source and compiled code as the original poster mentioned. -iain On Sep 29, 2009, at 9:02 AM, Michał Sędzielewski wrote: I agree, it would be nice to have maven structure in GWT 2.0 On 28 Wrz, 15:45, logicpeters logicpet...@gmail.com wrote: Can anyone tell me if there are plans to rework the way the currentGWTproject structure is configured for2.0? Mxing the source and compiled code in the /war folder has been a real pain in the butt for build scripts and source control. I've been trying to mavenize our project, and find the various solutions to be un-elegant hacks that wind up confusing the structure even more. -- 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 -~--~~~~--~~--~--~---
Re: DTO and Compound Objects
Hi, http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html AFAIK DTO should not be composed. HIH On Tue, Sep 22, 2009 at 11:06 PM, Thomas Holmes thomas.j.hol...@gmail.comwrote: I am working on a test GWT_RPC application. I have Hibernate POJO's that use annotations, and I have declared those in the Spring 2.5.6 applicationContext xml file. So, I also created a bunch of DTO POJO's, and my question is ... do these RPC POJO's need to be VERY basic, or can they be compound objects. For example, I have the following: webapp.client.dto.ADTO webapp.client.dto.BDTO webapp.client.dto.TestDTO public class TestDTO implements Serializable { private int id; private String name; private Date date; private ADTO a; private BDTO c; ... public getters/setters ... } Will this be ok to define? A and B DTO might also be a compound objects, but they still ALL live under the client umbrella. Thanks! Tom -- 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 -~--~~~~--~~--~--~---
Re: Renaming war folder in GWT project
-war The war directory to write output files into (defaults to war) More generally: -help (as program argument). On Tue, Sep 8, 2009 at 8:40 AM, rjcarr rjc...@gmail.com wrote: There is nothing magic about the 'war' folder name with respect to the ant build file. You'd need to 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 kumar.gane...@gmail.com 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 -~--~~~~--~~--~--~---
Re: dubuger does not stop on breakpoints pls help
Hi, Probably a jdk issue: http://stackoverflow.com/questions/1022007/why-are-my-breakpoints-ignored-with-gwt-eclipse-and-java-1-6-014 On Tue, Sep 8, 2009 at 3:02 PM, ben fenster fenster@gmail.com wrote: im using eclipse galliano 3.5 and althouge im in debug mode the damm thing wont stop at the breakpoints pls help !!! -- 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 -~--~~~~--~~--~--~---
Re: JSNI Issue
Hi, I cannot test from here but could you try to replace (call and function definiotion of course ;) : initializeCBs(); by: initializeCBs(this); HIH On Thu, Aug 13, 2009 at 4:30 PM, CI-CUBE e...@ci-cube.info wrote: Hi, I'm assigning a Java method M to a JS Callback. If M is static it works. If M is non-static I get an error when calling the M via JS. // THE BASE CLASS package com.egr.x4gpl.apps.saturn.client; abstract class Application { protected Application(String pUnused) { initializeCBs(); } protected native void initializeCBs() /*-{ $wnd.x4ResizeAppCB = th...@com.egr.x4gpl.apps.saturn.client.application::resizeCB(); $wnd.x4ResizeAppCB(); }-*/; abstract public void resizeCB(); } // THE DERIVED CLASS public class Saturn extends Application implements EntryPoint { Saturn() { super(Unused); } public native void resizeCB() /*-{ $wnd.alert(non-static invoke); }-*/; // THE ERROR (on calling, not on assingment) [ERROR] Failed to create an instance of 'com.egr.x4gpl.apps.saturn.client.Saturn' via deferred binding com.google.gwt.core.client.JavaScriptException: (RangeError): Instance method 'resizeCB' needed a qualifying instance (did you forget to prefix the call with 'this.'?) number: -2146828279 description: Instance method 'resizeCB' needed a qualifying instance (did you forget to prefix the call with 'this.'?) at com.egr.x4gpl.apps.saturn.client.Application.initializeCBs(Native Method) at com.egr.x4gpl.apps.saturn.client.Application.init (Application.java:5) at com.egr.x4gpl.apps.saturn.client.Saturn.init(Saturn.java:19) TIA for any kinda support! Ekki -- 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 -~--~~~~--~~--~--~---
Re: How can you wait until GWT is ready externally? (after onEnterModule)
hi, On simple solution: * In your html/js code define a: function toBeCalledByGWT{ NetLoaderAPI.startUnitTests(); } * Call this function by JNSI at the end of onModuleLoad(). public void onModuleLoad(){ /* ... Standard GWT code. */ callJSInPage(); } public void native callJSInPage() /*-{ $wnd.toBeCalledByGWT()(); }-*/; HIH On Thu, Aug 6, 2009 at 8:09 AM, dougx douglas.lin...@gmail.com wrote: How can you wait until after onModuleLoad() has been invoked for an application in external javascript? Should be quite a simple matter: - I have a GWT aplication that publishes a static JS API via JSNI. - I have a page that uses that API. I should be able to do this: body onload=apiTest(); script src=js/NetLoaderAPI/NetLoaderAPI.nocache.js/script script function apiTest() { NetLoaderAPI.startUnitTests(); } /script /body However, I can't use it, beacause I get an error like this: TypeError: window.NetWorkerAPI is undefined What? How is there some kind of delay between scripts loaded and run, and the document ready event? I have, for reference, compiled in xs mode, so the gwt code is not being loaded in an external iframe. ie. The API js is being included directly into the page header, firebug shows it as: script src=http://localhost:8080/js/NetLoaderAPI/ 9B08C2C4C155D60688C70B5ED70CC3CA.cache.js.../script ~ Doug. -- 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 -~--~~~~--~~--~--~---
Re: Basic Response redirect Question GWT
Hi It's must be easier to perform this redirection before the GWT phase aka JSP / controller. Nevertheless you can access the underlying JS object location and URL to perform your job via the Window.location ( http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/Window.Location.html) object. HIH On Fri, Jul 31, 2009 at 1:59 AM, Guess What gang...@gmail.com wrote: I am a newbie to GWT . This is an issue which i am running into since all along I have been working on HTML and JSP . Lets say I have a scenario , where I have a url /myapp/test.jsp? oderId= 123 Now my Entry Point class for this test.jsp is say Test.java onModuleLoad of Test.java { is this Possible . if(orderId == null) response.rediret(error.jsp) } PS: I did figire put how to get orderID from request into on Entry Point class. Thanks to this group . -- We can live without religion and meditation, but we cannot survive without human affection. -- Dalai Lama --~--~-~--~~~---~--~~ 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: Handing Events
hi, AFAIK nothing to do in that case :) http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks On Fri, Jul 31, 2009 at 4:21 PM, Donald W. Long donald.w.l...@gmail.comwrote: Hi all, This is a question about how GWT deals with events. If you create a button (for example) and assign event to it and then later you wish to delete the button, what happens to the event. What the real question is, what is the procedure to remove a widget in GWT that has an event assigned to it. I would assume you would have to do something to delete the assigned event to stop memory leaks. Thanks Donald W. Long -- We can live without religion and meditation, but we cannot survive without human affection. -- Dalai Lama --~--~-~--~~~---~--~~ 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: Passing a javascript object as parameter to java method
Hi Did you follow those instruction ? http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface HIH On Tue, Jul 28, 2009 at 8:26 AM, rohit a attamro...@gmail.com wrote: Hi, I need to pass a javascript object that i get from a remote method call to seam to the java method in gwt. Right now i am trying to pass the javascript object to a method which takes a JavaScriptObject as parameter. I am unable to call the methods in my js object with the JavaScriptObject. I am unable to call methods on the object at all. Can anyone help me in this regard?? -- We can live without religion and meditation, but we cannot survive without human affection. -- Dalai Lama --~--~-~--~~~---~--~~ 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: Most polite way to wait for applet load in onModuleLoad in Safari?
Hi, You could also let the applet call a JS function on init(), and then complete your applet dependent code. HIH On Fri, Jul 17, 2009 at 3:32 PM, Domenec domenec.sos.val...@gmail.comwrote: Hello and thanks in advance... This is a Safari issue, this browser seems not wait to for onLoad JavaScript event. My onModuleLoad communicates with a Java applet and what works on FF+IE (they wait for the applet to load, then trigger onLoad) does not work for Safari, which triggers onLoad regardless of a applet load completion. I can check for applet load with some JSNI call (just a matter of capturing the produced exception in JavaScript and returning true/ false). So, should I go with some timer / wait / sleep, or there is some magic / polite way to wait until some function returns true? Thanks again. -- We can live without religion and meditation, but we cannot survive without human affection. -- Dalai Lama --~--~-~--~~~---~--~~ 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: Servlet threading?
Hi Not specific to GWT, but AFAIK session are *not* synchronized. HIH On Fri, Jul 10, 2009 at 2:01 PM, David Given d...@cowlark.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Does anyone have any information on threading issues as applied to the RPC server code? I've been unable to find anything on the 'net. In particular, I need to know about any synchronisation guarantees between RPC function handlers. What happens if the client makes two RPC requests at the same time? Am I guaranteed to get all requests from a single session serialised? What about requests from multiple sessions? I assume that since all this is being handled by a servlet, eventually, the servlet may allocate new threads as it sees fit --- but I can't find any information about what it *actually* does. Any information gratefully appreciated... - -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ │ They laughed at Newton. They laughed at Einstein. Of course, they │ also laughed at Bozo the Clown. --- Carl Sagan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpXLZoACgkQf9E0noFvlzhlSQCgs3QlfUDKlZjsw+mzmaaHU/eS zAYAniWsoRBn4divs+T/B6HdT4NP6Y5w =PDpc -END PGP SIGNATURE- -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: HELP
(poor subject) The module path requested, /isp/CEL1234/, is not in the same web application as this servlet, /cel-secure. Default serialization policy doesn't support your layout ( != module). You should provide your own serialization policy if you want/need this layout. On Wed, Jun 24, 2009 at 4:51 AM, loongest loong...@gmail.com wrote: Hi, I had a gwt + spring application and it run fine in my test server. But when i deploy it to the production server, i'm facing a problem to RPC call. Basically the function is just a button and it will validate the kaptcha and send the input by GWT-RPC call and email to the admin. Actually i'm not sure what's going on. Can any body give me a hints ! thanks. INFO: ERROR: The module path requested, /isp/CEL1234/, is not in the same web application as this servlet, /cel-secure. Your module may not be properly configured or your client and server code maybe out of date. Jun 24, 2009 4:41:06 AM org.apache.catalina.core.ApplicationContext log INFO: WARNING: Failed to get the SerializationPolicy '6CCA71B5AF75B26803520C1038251FD5' for module 'http://www.cel- secure.com/isp/CEL1234/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result. Jun 24, 2009 4:41:06 AM org.apache.catalina.core.ApplicationContext log SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract boolean com.fsecure.web.client.form.CommentService.validatecaptcha (java.lang.String)' threw an unexpected exception: java.lang.NullPointerException at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure (RPC.java:361) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse (RPC.java:547) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall (RemoteServiceServlet.java:265) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost (RemoteServiceServlet.java:187) at net.fsecure.web.controller.GwtRPCController.handleRequest (GwtRPCController.java:29) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle (SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch (DispatcherServlet.java:874) at org.springframework.web.servlet.DispatcherServlet.doService (DispatcherServlet.java:808) at org.springframework.web.servlet.FrameworkServlet.processRequest (FrameworkServlet.java:523) at org.springframework.web.servlet.FrameworkServlet.doPost (FrameworkServlet.java:463) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java: 190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java: 283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection (ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt (ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:690) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at com.fsecure.web.server.CommentServiceImpl.validatecaptcha (CommentServiceImpl.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse (RPC.java:528) ... 25 more Jun 24, 2009 4:45:30 AM org.apache.catalina.core.ApplicationContext log SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract boolean com.fsecure.web.client.form.CommentService.validatecaptcha (java.lang.String)' threw an
Re: show/hide widget based on user's credentials
2 solutions: * 2 gwt applications user and admin (you could use a custom properties/permutation). * 1 gwt application and applicative (if(userInRole(admin)) customization. HIH On Tue, Jun 23, 2009 at 2:28 PM, ailinykh ailin...@gmail.com wrote: Hello, everybody! I have a widget (Tab in TabPanel, for example) which is dedicated to some administrative tasks. Only administrator is supposed to use it. I don't want to bother everyone by this widget, I want to show it only if user logged in as Administrator. What is the best way to implement it? Thnak you, Andrey -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: show/hide widget based on user's credentials
On Tue, Jun 23, 2009 at 5:04 PM, ailinykh ailin...@gmail.com wrote: Thank you! I'm thinking about second solution. It brings up next question- how to get user role on client side? Right now I see only one way - ask the server through RPC. Does GWT provide any session management? Nope for client side GWT. Server side provide a thread localized request accessor, which give you access to sevlet session. You should, use a standard authen/autho (basic|form), then 2 choices (again:): * a service might expose the granted authorities to GWT client. * in the hosting page you can write some js variable who contains the granted authorities. Thank you, Andrey On Jun 23, 7:34 am, olivier nouguier olivier.nougu...@gmail.com wrote: 2 solutions: * 2 gwt applications user and admin (you could use a custom properties/permutation). * 1 gwt application and applicative (if(userInRole(admin)) customization. HIH On Tue, Jun 23, 2009 at 2:28 PM, ailinykh ailin...@gmail.com wrote: Hello, everybody! I have a widget (Tab in TabPanel, for example) which is dedicated to some administrative tasks. Only administrator is supposed to use it. I don't want to bother everyone by this widget, I want to show it only if user logged in as Administrator. What is the best way to implement it? Thnak you, Andrey -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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 Filters
Hi, You can take a look at http://code.google.com/p/net-orcades-spring/source/browse/trunk/orcades-spring-gwt/src/main/java/net/orcades/spring/gwt/component/GWTPayloadHelper.java And see how it's not so difficult to unmarshall the GWT RPC request. This code works for GWT 1.5 but is not optimal in the sense that I had to CutAndPaste some internal GWT code. HIH On Thu, Jun 11, 2009 at 9:48 AM, eags eagsala...@gmail.com wrote: Anyone have any idea about this or know where I can look/read to find out more? I'm totally at a loss here. It looks like there are a bunch of interesting methods for the ServletRequest class but HttpServletRequest doesn't have much I can do with it. On Jun 10, 3:31 pm, eags eagsala...@gmail.com wrote: I'd like to use Filter to implement all my security checks as a gateway to each gwt rpc call. I'm going to include a sessionID from the client as an argument to each RPC call. I'd like my filter in doFilter to be able to pull off that argument and check if the user is logged in and see what their role is. In the example's I've seen, when implementing the doFilter() method it isn't clear how I can get that argument off the request. I looked at the methods for HttpServletRequest and didn't say anything useful. Also, once I have the request I'd like to be able to check if the role is appropriate for the method being invoked but it isn't clear to me how I can do this either without having groups of methods for each role and a specific filter that checks the specific role for each group. Maybe not a bad idea I guess. I've seen other slicker stuff using annotations that maybe the Filter could access the value of to compare the user's role with the annotated required role for the called method? Any info would be good here. In either case I would just throw an AuthenticationException right there and let the client handle it in the AsyncCallback's onFail(). Thanks for any help. -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: maven and gwt1.6
hi, http://bigohno.blogspot.com/2009/04/google-app-engine-java-and-maven.html Not tested yet :( On Fri, Jun 5, 2009 at 11:12 AM, imgnik ytbr...@gmail.com wrote: hi all, since gwt1.6 is integrated with gae. I wonder is there any tutorial or plugin to mavenise my gwt application. imgnik -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: Role-based validation for RPC calls on a separate server
Hi, You could analyse (deserialize) the GWT payload with a j2ee filter on the validation server than forward (proxy) the request on the service server. As an example you could look at http://code.google.com/p/net-orcades-spring/source/browse/trunk/orcades-spring-gwt/src/main/java/net/orcades/spring/gwt/component/GWTPayloadHelper.javato see how to decode the gwt payload. Then you have access the the GWT service class (Interface called, Method etc ...) to apply your security policy. HIH On Thu, May 28, 2009 at 10:16 AM, Oscar ssenecal.w...@gmail.com wrote: We currently have role-based validation implemented for all of our RPC calls, however, our PSG guys don't want the validation to occur on the same machine. Ideally, they want 1 machine to validate the RPC request (in the DMZ), and if it succeeds, then it gets passed along into the Tomcat instance which is deployed on the Internal Network. Does anyone know how to do this? Obviously one solution is to have GWT deserialize the request on the validation server (DMZ), validate the request, and if it succeeds, pass the request along. However, this seems like a lot of work to me. Is there a way to inspect the POST payload and extract the RPC call being made (as a String) and then check it against a permission table? I know that for the the package name and RPC name are in the POST as plain-text, so it should be possible, but I'm not sure of a reliable way of extracting that information. If anyone has any ideas, I would love to hear them! Thanks -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: Function is not working
Hi, Your java function should receive an int as parameter ... Nope ? On Tue, Apr 21, 2009 at 4:32 PM, Chuck kurtz.lu...@cyber-art.ch wrote: Hi there! Unfortunately my popup function is not working and I think that I found the reason. Please have a look at the JS code, could it be that com.google.gwt.client.Index::createPopup()(); is wrong? How can I find out what the real path is of my class called Index? Can anybody help? It works without any error messages but the GWT function is never executed. My Java code: package website.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.Window; /** * Entry point classes define codeonModuleLoad()/code. */ public class Index implements EntryPoint { // EntryPoint! public void onModuleLoad() { // Für JavaScript Interface setShowTrigger(this); } public native void setShowTrigger(Index x) /*-{ $wnd.runApp = function () { x...@com.google.gwt.client.index::createPopup()(); }; }-*/; public void createPopup(int i) { Window.alert(I'm a GWT function); } } My HTML code: input type=button onclick=runApp() text=click me value=Test me/ Thanks in advance for helping me!!! -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: Function is not working
replace: com.google.gwt.client.Index::createPopup()() by website.client.Index::createPopup(I)(i); Which seem to be your client package ... On Tue, Apr 21, 2009 at 5:10 PM, Chuck kurtz.lu...@cyber-art.ch wrote: Yes, you're right, thank you. Unfortunately this didn't solve the problem. I got an error now: Unresolvable native reference to type 'com.google.gwt.client.Index' Do you know how to reference my own class? Do I have to include the name of the package? On 21 Apr., 16:52, olivier nouguier olivier.nougu...@gmail.com wrote: Hi, Your java function should receive an int as parameter ... Nope ? On Tue, Apr 21, 2009 at 4:32 PM, Chuck kurtz.lu...@cyber-art.ch wrote: Hi there! Unfortunately my popup function is not working and I think that I found the reason. Please have a look at the JS code, could it be that com.google.gwt.client.Index::createPopup()(); is wrong? How can I find out what the real path is of my class called Index? Can anybody help? It works without any error messages but the GWT function is never executed. My Java code: package website.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.Window; /** * Entry point classes define codeonModuleLoad()/code. */ public class Index implements EntryPoint { // EntryPoint! public void onModuleLoad() { // Für JavaScript Interface setShowTrigger(this); } public native void setShowTrigger(Index x) /*-{ $wnd.runApp = function () { x...@com.google.gwt.client.index::createPopup()(); }; }-*/; public void createPopup(int i) { Window.alert(I'm a GWT function); } } My HTML code: input type=button onclick=runApp() text=click me value=Test me/ Thanks in advance for helping me!!! -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: how to get the file path from client side code
hi, GWT client won't access to file out of the public (webapp) www files. If you want to access file out of webapp, you will have to proxify it (servlet) with some well known security issues. On Mon, Apr 20, 2009 at 4:55 PM, Neo deepak.krv2...@gmail.com wrote: In my server side code, I create a xml file using the following line of code : PrintWriter out = new PrintWriter(new FileOutputStream (tasks.data.xml)); The file gets created in the Project's root directory. Next, inside my client side code I want to get the path of the file created. Hence, i use : GWT.getModuleBaseURL()+tasks.data.xml But I run into an exception saying the file was not found. Can anybody please help me out in this. I want the path of the file. -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: how to get the file path from client side code
In your deployed application: WEBAPP/WEB-INF/classes/your.pakage/server/. --- server classes WEBAPP/WEB-INF/classes/your.pakage/client/. -- client classes WEBAPP/your.package/ -- public resources And yes client (GWT) has only access to public resources: * under WEBAPP * outside WEB-INF On Mon, Apr 20, 2009 at 5:17 PM, Neo deepak.krv2...@gmail.com wrote: In my GWT project, I have three standard directories : - client - server - public So do u mean that any code inside the client directory wont have access to anything outside the public directory ? On Apr 20, 7:55 pm, Neo deepak.krv2...@gmail.com wrote: In my server side code, I create a xmlfileusing the following line of code : PrintWriter out = new PrintWriter(new FileOutputStream (tasks.data.xml)); Thefilegets created in the Project's root directory. Next, inside my client side code I want togetthepathof thefile created. Hence, i use : GWT.getModuleBaseURL()+tasks.data.xml But I run into an exception saying thefilewas not found. Can anybody please help me out in this. I want thepathof thefile. -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: XML Parser problem...
Hi, What it the output ? Did you inherit XML module. On Thu, Apr 16, 2009 at 9:04 AM, Soren Johnson soren.john...@gmail.comwrote: I can't seem to get XMLParser.parse() to work, even with what looks like valid XML. Do I need to remove all the '\n' and '\r' from the String? Is there another common gotcha? thanks... -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: GWT 1.6 Compilation Errors
hi, don't know (yet) how to ignore test case, but you could: - put them in another project - add your test *source* folder in the classpath of your launch config. On Sun, Apr 12, 2009 at 2:44 PM, Paul Grenyer paul.gren...@gmail.comwrote: Hi All Is there a way I can tell the GWT compiler to ignore my tests? I have them in a separate folder, but it always tries to build them and I get: [ERROR] Errors in 'file:/C:/Users/Paul/Documents/Sandbox/EclipseWorkspace/Tracker/test/uk/co/marauder/tracker/client/model/IssueTest.java' [ERROR] Line 31: No source code is available for type org.junit.Assert; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Paul/Documents/Sandbox/EclipseWorkspace/Tracker/test/uk/co/marauder/tracker/client/model/UserTest.java' [ERROR] Line 14: No source code is available for type org.junit.Assert; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Paul/Documents/Sandbox/EclipseWorkspace/Tracker/test/uk/co/marauder/tracker/client/model/NoteTest.java' [ERROR] Line 22: No source code is available for type org.junit.Assert; did you forget to inherit a required module? -- Thanks Paul Paul Grenyer e: paul.gren...@gmail.com w: http://www.marauder-consulting.co.uk b: paulgrenyer.blogspot.com -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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: GWT 1.6 with Maven and build system questions/survey...
On Sun, Apr 12, 2009 at 7:35 PM, Daniel Kurka kurka.dan...@googlemail.comwrote: Currently we are trying to update our buildsystem from gwt 1.5 + gwt-maven from google code We are trying to use the trunk of gwt-maven from codehaus since those two plugins are merging. We were able to sucessfully compile a gwt project, but we still have some open issues. Has anyone a working installation of GWT 1.6 and Maven? Yes (mac os x, during week) linux zindozs during week. -- “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” Sir Charles Anthony Richard Hoare --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---