Re: [POLL] Maven project layout, what to "standardize"?

2012-11-15 Thread Brian Slesinsky
It will be more convenient for Google if all Java code and Java resources (that is, things in the classpath) are contained in directories named either "java" or "javatests", and the path from there is where the file should show up in the classpath. We can copy files but it makes builds or mirro

Re: GWT 2.5 GA is Here!

2012-11-15 Thread Arash
Yes I am using STS which comes with m2e, also I do have the following in my pom org.apache.maven.plugins maven-eclipse-plugin 2.7 ... On Thursday, November 15, 2012 5:37:09 PM UTC-6, Thomas Broyer wrote: > > > > On Friday, Novembe

Re: GWT 2.5 GA is Here!

2012-11-15 Thread Thomas Broyer
On Friday, November 16, 2012 12:29:03 AM UTC+1, Arash wrote: > > I just tried upgrading to gwt 2.5 in my pom.xml (eclipse). After clean > build, I am getting: "The SDK is not installed". The current pom.xml is > running 2.5.0-rc1 perfectly fine. Am I missing something? Are you using M2Eclipse

Re: GWT 2.5 GA is Here!

2012-11-15 Thread Arash
I just tried upgrading to gwt 2.5 in my pom.xml (eclipse). After clean build, I am getting: "The SDK is not installed". The current pom.xml is running 2.5.0-rc1 perfectly fine. Am I missing something? Thanks, Arash -- You received this message because you are subscribed to the Google Groups "

Question on ConditionalProperties

2012-11-15 Thread FKereki
Hi! I was just checking the Wiki page on Conditional Properties, and I think an example is off by one. Given: the text says "instead of having [user.agent] * [mobile.user.agent] = 6 * 3 = 18 permutations, this will produce [user.agent] + [mobile.user.agent] = 9permutation

Re: Is it possible to create auto scroling text from bottom to top in GWT? ( not scrolling bars)

2012-11-15 Thread Sridhar V
Is there any widget or panel in GWT which makes text to auto scroll? Don't want to use marquee tag... On Thursday, November 15, 2012 12:54:22 PM UTC-5, KevMo wrote: > > You can always use the marquee tag. > > Your upward scrolling text goes > here > > Or some CSS3 http://www.hongkiat.com/blog/

GWT Maps api v3 Custom overlays

2012-11-15 Thread Giorgos Kritsotakis
Hello, I have implemented a gwt map widget for the company that i'm working for. Everything works great with markers, rectangles et cetera. The problem is that we need labels (like the white labels used for country names on the map for instance) on the map and there seems to be a problem with

How to tell if a servlet is running in hosted mode?

2012-11-15 Thread Nano Elefant
Hello, Is there a reliable way to determine if a servlet is running in hosted mode or on a production server (for example from compiled code)? GWT.isScript() and GWT.isProdMode() can't be used on the server side. So there must be an other way... -- You received this message because you are sub

Re: Code reuse in GWT from common Java projects

2012-11-15 Thread Abraham Lin
I think that Joerg's proposal is exactly what you're looking for, though what may not be immediately obvious is how the various components relate to one another. The basic idea is that myproject-componentN-client depends on myproject-componentN-shared and that myproject-componentN-server depends

Re: Is it possible to create auto scroling text from bottom to top in GWT? ( not scrolling bars)

2012-11-15 Thread KevMo
You can always use the marquee tag. Your upward scrolling text goes here Or some CSS3 http://www.hongkiat.com/blog/css3-animation-advanced-marquee/ But please, don't have auto scrolling text. I beg you. On Thursday, November 15, 2012 7:01:12 AM UTC-8, Sridhar V wrote: > > any one has any clu

Re: Urgent help with GWT dev mode performance required

2012-11-15 Thread Jens
2-3 minutes really hurts! How large is your app? We have about 150k LOC and a refresh in Firefox takes ~5 seconds. As DevMode with Firefox seems to be leaking memory sometimes I have configured DevMode to use 1,5G heap space and 1G permgen space. Our app uses GWT-RPC (single service with lots of

Re: Using OAuth2Login Google authenticator with Security constraint

2012-11-15 Thread Jamie
That is something that is not going to happen... the servlet container knows nothing about OpenID or OAuth2Login. Well, at least, any servlet container that I've worked with. Your best bet would probably be to write a Filter that ch

Re: Code reuse in GWT from common Java projects

2012-11-15 Thread Marius Grama
Hi Joerg, my situation is similar to what Thad is having. We are using code, that exists in projects that contain generic business logic functionality (used by different modules - not only gwt web ones), and among this functionality there are some utility classes that i need in GWT. I am sear

Re: SuperDevMode not so super

2012-11-15 Thread Thomas Broyer
On Thursday, November 15, 2012 5:55:44 PM UTC+1, Paul Stockley wrote: > > One tip in the chrome dev tools to find a source file is to select the > sources window and just start typing the name of the file. This will take > you to the files that match as you type. > Or Ctrl+O. -- You received

Re: Code reuse in GWT from common Java projects

2012-11-15 Thread joerg.hohwil...@googlemail.com
Hi Marius, we are also doing maven and have a simple and consistent setup for GWT projects: +myproject | +-+myproject-component1 | | | +-+myproject-component1-shared | | | +-+myproject-component1-client | | | +-+myproject-component1-server | ... +-+myproject-componentN | +-+myproject

Re: [POLL] Maven project layout, what to "standardize"?

2012-11-15 Thread Christoph Henrici
I am not quite sure why super-sources should / must be treated differently? Back i am probably lacking experience and knowledge here I like the notion the *gwt.xml files are actuallly part of the sources and not resources for gwt libraries. So that would be Option 1, without understandin

Re: SuperDevMode not so super

2012-11-15 Thread Paul Stockley
One tip in the chrome dev tools to find a source file is to select the sources window and just start typing the name of the file. This will take you to the files that match as you type. On Wednesday, November 14, 2012 3:24:35 AM UTC-5, Stefan Röck wrote: > > In a larger GWT multi project app and

Urgent help with GWT dev mode performance required

2012-11-15 Thread joerg.hohwil...@googlemail.com
We have created a large application based on GWT (and SmartGWT). The more the application has grown the longer it takes to start the dev mode or to refresh a page in the browser. I have read a lot of posts in the web about this problem, like e.g. this one: http://blog.trifork.nl/2007/11/30/optim

Re: SuperDevMode not so super

2012-11-15 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If I could hook Eclipse up to Firefox or Chrome and step through code, that would make SDM much more workable. Is that currently possible? If so, is it possible to inspect the internal state of an object defined in Java, compiled to JS, and running i

GWT and Comet

2012-11-15 Thread Magnus
Hi, I want my server to send events to clients. It is very important to me to minimize the changes to my project, i. e. the best case would be a jar file and some classes, not a large framework with a lot of other functionality I do not need. I spent some time now trying to get atmosphere work

Re: SuperDevMode not so super

2012-11-15 Thread Clint Gilbert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/14/2012 08:33 PM, Oliver Krylow wrote: > Also the promise of gwt is NOT to abstract the browser or web > technologies and semantics away from you, but rather to bring good > and structured workflow and tooling to web development . Well, sort of

Re: [gwt-2.5-rc1] Cannot reference a field before it is defined

2012-11-15 Thread Erez
public enum LogLevel implements Serializable { FATAL(LogLevel.FATAL_INT), ERROR(LogLevel.ERROR_INT), WARN(LogLevel.WARN_INT), INFO(LogLevel.INFO_INT), DEBUG( LogLevel.DEBUG_INT); public static final int FATAL_INT = 32; public static final int ERROR_INT = 16; public static final

Re: Code reuse in GWT from common Java projects

2012-11-15 Thread Thad
(answers inline) On Thursday, November 15, 2012 10:48:10 AM UTC-5, Marius Grama wrote: > > Hi Thad, > thanks for the feedback. > > do you also work with maven? > No. (1) I've have had dismal record in getting even GWT's samples that use maven to build. They often just WON'T BUILD; (2) there is m

Re: Code reuse in GWT from common Java projects

2012-11-15 Thread Marius Grama
Hi Thad, thanks for the feedback. do you also work with maven? In your IDE, when you have to edit a common javadev class (which is used in GWT as well) do you have to rebuild the library (through the ant task exposed above) in order to have the GWT project knowing about it - because the GWT p

Re: Code reuse in GWT from common Java projects

2012-11-15 Thread Thad
I think I've a similar situation which I managed to solve without duplicating code. I've a large number of classes representing various database tables in a server app. These classes are used by a variety of applications--some command line, some JSP, some GWT, etc. The developement directory is

Re: Is it possible to create auto scroling text from bottom to top in GWT? ( not scrolling bars)

2012-11-15 Thread Sridhar V
any one has any clue on this? On Wednesday, November 14, 2012 3:24:31 PM UTC-5, Sridhar V wrote: > > Is it possible to create auto scroling text in GWT? if so, please guide > me how to do that. > > please note that I am NOT referring to horizontal/vertical scroll bars. I > am talking the text t

Re: Best practice to implement hash bang tokens in activities and places keeping @WithTokenizers

2012-11-15 Thread Robert Hoffmann
Thanks for the quick reply. Some of my thoughts regarding the different options. 1) @Prefix - Since the hash bang is part of a a global scheme and the @Prefix a personal attribute of a Place, I don't feel comfortable to add it there. 2) Extending DefaultHistorian - This does not 'force' the dev

Re: addDomHandler and event bubbling

2012-11-15 Thread Ümit Seren
Thanks for the explanation. On Thu, Nov 15, 2012 at 3:16 PM, Thomas Broyer wrote: > > > On Thursday, November 15, 2012 1:42:56 PM UTC+1, Ümit Seren wrote: >> >> I have some troubles understanding event bubbling and GWT. >> >> Let's assume I have following structure: >> >> >> >>Te

Re: addDomHandler and event bubbling

2012-11-15 Thread Thomas Broyer
On Thursday, November 15, 2012 1:42:56 PM UTC+1, Ümit Seren wrote: > > I have some troubles understanding event bubbling and GWT. > > Let's assume I have following structure: > > > >Text > > > > When I want to handle click events on the elements nested in the HTMLPanel > I a

addDomHandler and event bubbling

2012-11-15 Thread Ümit Seren
I have some troubles understanding event bubbling and GWT. Let's assume I have following structure: Text When I want to handle click events on the elements nested in the HTMLPanel I add a DOM handler to the HTMLPanel: HTMLPanel.addDomHandler(new ClickHandler() { @O

Re: Needed Urgent Help:How to display PDF conent of page in GWT Panel or frame or HTML in HtmlPanel + source code

2012-11-15 Thread Christof Kaller
Hi, Philipe is wright. The user needs to install a plug-in. An alternative indeed is using a javascript rendering engine- don't remember the name of it, but know that there is one. Another way is to use google docs for it, then u can actually view it in an iframe as well. try: http://docs.goog

Re: Needed Urgent Help:How to display PDF conent of page in GWT Panel or frame or HTML in HtmlPanel + source code

2012-11-15 Thread Philippe Lhoste
On 14/11/2012 13:52, singh ajay wrote: I am generating PDF file using JRXML using Java JASPEREXPORTMANAGER. but i don't know how to view pdf in gwt UI. any frame or special container require. Most of the time, the PDF file is downloaded, unless the user installed and activated some plugin to s

Re: Running a Maven/GWT project

2012-11-15 Thread Jens
Simply check for updates in Eclipse. You should see updates for Google Eclipse Plugin and GWT SDK. GWT 2.5 has officially been released. -- J. Am Donnerstag, 15. November 2012 04:58:55 UTC+1 schrieb Magnus: > > Looks like you have to use GWT 2.5. > > > Ok. > > I always used GWT with the eclipse

Code reuse in GWT from common Java projects

2012-11-15 Thread Marius Grama
On the GWT project on which I am working we have dependencies to some common utility methods from libraries that are to be used by other modules for their business logic in order to avoid code redundancy. e.g. : the logic used for calculating a gross price based on a set of given parameters (net

Re: Best practice to implement hash bang tokens in activities and places keeping @WithTokenizers

2012-11-15 Thread Thomas Broyer
On Wednesday, November 14, 2012 10:38:50 PM UTC+1, Robert Hoffmann wrote: > > Hi, > > I am currently using: > - PlaceHistoryMapper historyMapper = > GWT.create(AppPlaceHistoryMapper.class); > - @WithTokenizers({FrontPlace.Tokenizer.class, ...}) on PlaceHistoryMapper > > I'd like to use now hash b

Re: Dealing with subeditors and null proxy values

2012-11-15 Thread Thomas Broyer
On Thursday, November 15, 2012 8:20:05 AM UTC+1, Aleks wrote: > > Hi all, > > I've only recently started playing with GWT editors and have run into what > I think is a simple problem but have not been able to find a solution to > it. > > Basically, I have the class Person/Address scenario, wit

Best practice to implement hash bang tokens in activities and places keeping @WithTokenizers

2012-11-15 Thread Robert Hoffmann
Hi, I am currently using: - PlaceHistoryMapper historyMapper = GWT.create(AppPlaceHistoryMapper.class); - @WithTokenizers({FrontPlace.Tokenizer.class, ...}) on PlaceHistoryMapper I'd like to use now hash bang tokens for places to support bot crawling. What is the best way (minimal change) to d

Dealing with subeditors and null proxy values

2012-11-15 Thread Aleks
Hi all, I've only recently started playing with GWT editors and have run into what I think is a simple problem but have not been able to find a solution to it. Basically, I have the class Person/Address scenario, with a PersonEditor/PersonValueProxy and AddressEditor/AddressValueProxy. The A

Is it possible to create auto scroling text from bottom to top in GWT? ( not scrolling bars)

2012-11-15 Thread Sridhar V
Is it possible to create auto scroling text in GWT? if so, please guide me how to do that. please note that I am NOT referring to horizontal/vertical scroll bars. I am talking the text that is scrolling in a box/nugget/widget.. etc -- You received this message because you are subscribed to t