Re: Should we use maven or not for a project?

2009-11-28 Thread Jan Ehrhardt
Yes, Maven can be complex, but if your project has a clear structure, it can be very powerful. Another option, I haven't tried yet, could be Gradle. It is a build tool, that uses Groovy for writing build scripts. The benefit is, that it's based on Ant and Ivy, so it allows you to use all the Ant

Re: GWT1.7 + Spring3 intégration

2009-11-28 Thread Jan Ehrhardt
I don't know, how your application is structured, but why don't you use Spring 3 with REST and JSON? Spring 3 comes with a cupel of nice features to create RESTful APIs on top of Spring Controllers. This fits much better into the Spring world, than GWT RPC could ever do. On the other hand, GWT +

Re: PDF Viewer Widget

2009-11-28 Thread Jan Ehrhardt
Creating such a simple Widget shouldn't be to difficult. Just take an 'iframe' and let it show the PDF. Regards Jan Ehrhardt On Fri, Nov 27, 2009 at 12:55 PM, marcelpsouza marcelpso...@gmail.comwrote: Hi people, Does anyone know if there is a GWT widget to view PDF files? I know that I can

Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi I've just done a completely fresh Eclipse and GWT 2.0 RC2 install including the new plugin: 1.Extracted eclipse-java-galileo-SR1-win32.zip to C:\Program Files (x86). 2.Ran Eclipse, set up a new workspace workspace at C:\Users\Paul\Documents\Sandbox\EclipseWorkspace and selected “Use this as

Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi All I should really know by now, that the Internet is a wonderful, wonderful thing! On the page I quoted: http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC there is a comment, currently second from bottom, on November 23rd by a.revolution.ultra.blue, which states, in response to

Youtube video not displayed

2009-11-28 Thread Zé Vicente
Hello all, I have a problem when trying to display youtube videos in my gwt application. I have the youtube video url in my data base. Then i try to display the player by doing that: String htmlTag = getEmbedTag(linkPublication.getLinkURL()); HTML html = new HTML();

Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi Hi I've got a bit further So, I am now a little further. I have a Java Application Run Configuration that uses com.google.gwt.dev.DevMode as the Main class and has the arguments: -port Gwt2RC2 (my project is called Gwt2RC2). However, i still have a problem when I run it:

GWT 2.0 - startupUrl field

2009-11-28 Thread Andrey
Hello! Why is startupUrl field removed from run configuration in RC2? For example, I use a servlet as a main page, GWT plugin obviously cannot determine the servlet's url itself and gives me incorrect url by default. Now I need to set -startupUrl in program arguments. It would be better if your

Re: GWT 2.0 - startupUrl field

2009-11-28 Thread Filipe Sousa
On Nov 28, 11:03 am, Andrey mino...@gmail.com wrote: Hello! Why is startupUrl field removed from run configuration in RC2? For example, I use a servlet as a main page, GWT plugin obviously cannot determine the servlet's url itself and gives me incorrect url by default. Now I need to set

Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Thomas Broyer
On 28 nov, 10:27, Paul Grenyer paul.gren...@gmail.com wrote: Hi I've just done a completely fresh Eclipse and GWT 2.0 RC2 install including the new plugin: 1.Extracted eclipse-java-galileo-SR1-win32.zip to C:\Program Files (x86). 2.Ran Eclipse, set up a new workspace workspace at

Re: Controlling desktop windows size and position.

2009-11-28 Thread Patrick Simons
I'm sure there is a way, I've seen Java applications do this before On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer martin.trum...@24act.atwrote: you can't do that with html/javascript, so GWT can't help you On 19 Nov., 18:35, PatrickJ patrickjsim...@gmail.com wrote: Is there and

Re: GWT 2.0.0rc2 ::: Unknown argument: -portHosted

2009-11-28 Thread Paul Grenyer
Hi Thomas 5.Then copied gpe-e35-1.2rc1.zip\eclipse\plugins to C:\Program Files (x86)\eclipse\plugins 1) Why are you using 1.2rc1? it won't work with GWT 2.0.0 RC2 wrt the - portHosted vs. -codeServerPort naming change. There you go. I was obviously suffering brain fade and really not paying

Re: dynamic Messages/ImageBundle possible?

2009-11-28 Thread denis56
Thanks a lot, that's indeed what i needed. It took me sometime to realize what the requirement to put Messages.properties files in classpath root really means. Is there a possibility to have Messages.properties reside within the same package where the code using it (maybe though an interface),

Re: JSON - When to use JSONParser and when JavaScript object

2009-11-28 Thread Jeff Chimene
Thanks, very nice. I'll give it a try. On Fri, Nov 27, 2009 at 2:30 PM, Thomas Broyer t.bro...@gmail.com wrote: On 27 nov, 16:56, Jeff Chimene jchim...@gmail.com wrote: On 11/12/2009 12:45 PM, Thomas Broyer wrote: And actually, now that I've switched to GWT 2.0, I use interfaces to

Oooops! - GWT 1.7.1 + JDK 6.17 + VistaFei 1.0.0.2b3 On WINXP Pro SP3

2009-11-28 Thread Tony
HI I hope someone may be able to advise! Completely new to GWT Java but thought it about time I investigated GWT. Have installed tools (as listed in subject) to enable drag drop design in attempt to get started. When trying to run, in hosted mode, simple 'Hello World' app I get following error,

Re: HMVP design pattern?

2009-11-28 Thread SteveS
MVP structure with item duplication prevented by checking proposed additions to a shopping cart against all the others via the event bus. This is basically what I've done in my first GWT hierarchical MVP app. One of its functions is to collect two password recovery question choices, one from

Re: lacking an interface with setEnabled method

2009-11-28 Thread SteveS
I ended up writing a bunch of small *Ext classes (TextBoxExt, etc.) that implement some interfaces of my creation, HasEnablement (clunky naming, I know) being one of them. I second the request that such an interface be added to GWT. On Nov 23, 9:37 am, Michel Daviot mdav...@gmail.com wrote: Hi,

ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code.

2009-11-28 Thread Dave
I have the following code on my server public ArrayListAMI getAMIs() { ArrayListAMI amis = new ArrayListAMI(); int n; AMI ami = new AMI(); GetResources amiResourceXML = new GetResources(); try

Re: Should we use maven or not for a project?

2009-11-28 Thread Adligo
I would suggest using ant, it provides more flexibility. I have been on a GWT project with Maven and Ant, and Ant hit a lot less roadbumps. Also if you want to build GWT itself it uses Ant. Cheers, Scott On Nov 28, 2:47 am, Jan Ehrhardt jan.ehrha...@googlemail.com wrote: Yes, Maven can be

Getting Sarted

2009-11-28 Thread Vki
Hi Friends i'm beginner in Google Web Toolkit.Anyone give me idea where to start and which software i need to create the new project. Please give me idea friends -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,

Which Security and Workflow frameworks are recomended with GWT+google App engine?

2009-11-28 Thread Ravdeep Singh
Hi, We are building a Volunteering system for underprevilaged schools. We are using GWT+Google App engine+Spring MVC. Have 2 questions: 1. We need to have a framework for managing roles and permissions and use Single Sign on. Spring Security sounds promising but Google App Engine doesent fully

protocol buffer? anyone tried?

2009-11-28 Thread asianCoolz
anyone tried using PB on GWT? from my research i came across saying performance issues with PB http://tinyurl.com/yem57ud any comments? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: DatePicker starting week on Monday

2009-11-28 Thread John V Denley
Yes, Id like to know this too On Nov 11, 11:20 pm, santins sant...@gmail.com wrote: Is there a way to change the first day of the week from Sunday to Monday? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: Getting Sarted

2009-11-28 Thread gwtfanb0y
Welcome, look there: http://blog.jdevelop.eu/2009/11/11/create-a-gwt-application-from-scratch/ On 28 Nov., 10:44, Vki vkijus...@gmail.com wrote: Hi Friends i'm beginner in Google Web Toolkit.Anyone give me idea where to start and which software i need to create the new project. Please give me

Re: Getting Sarted

2009-11-28 Thread Vicky Thakor
Thanks a lot gwtfanb0y. can we be friend on chat.my id is vkijust4u On Sat, Nov 28, 2009 at 11:50 PM, gwtfanb0y siegfried.b...@googlemail.comwrote: Welcome, look there: http://blog.jdevelop.eu/2009/11/11/create-a-gwt-application-from-scratch/ On 28 Nov., 10:44, Vki vkijus...@gmail.com

GWT, Wave extensions API tutorials/resources

2009-11-28 Thread Angel Marquez
Anyone know of any good resources for developing wave extensions with gwt? -a -- 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

Re: ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code.

2009-11-28 Thread Alessandro Loche
This is because you are using XMLParser in server side. Otherwise you should put that code under the client package. (p.s. Why returning ArrayList instead of List? Separate interface from implementation...) -- From: Dave ladjo...@gmail.com Sent:

Re: Controlling desktop windows size and position.

2009-11-28 Thread Yozons Support on Gmail
Please tell us you're not confusing Java and Javascript running in a web browser -- 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,

Re: ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code.

2009-11-28 Thread Paul Robinson
Alessandro Loche wrote: (p.s. Why returning ArrayList instead of List? Separate interface from implementation...) With GWT, it is better to use concrete implementations in your RPC API. If you use List instead of ArrayList, then the GWT compile will look for every List implementation to

Re: Should we use maven or not for a project?

2009-11-28 Thread jbdhl
Thanks for all your insightful comments! It seems that there is no de- facto correct answer to my original question, so let me instead, for simplicity, ask for elaboration of the three following questions: * The pro-maven replies above all states something like maven makes a lot of things easy,

Re: How to create a login in gwt?

2009-11-28 Thread Jacek Żebrowski
salvador.ce pisze: look at this linkhttp://www.dariusz-borowski.com/wp/?p=20 Thats actually ueless - no auth stuff mentioned at all :) -- Jacek -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Running GWTTestCase in Netbeans IDE and Java heap space error

2009-11-28 Thread pjulien
http://codepimpsdotorg.blogspot.com/2009/10/netbeans-and-gwttestcase.html On Nov 27, 5:27 am, danielgue eco...@googlemail.com wrote: Hi List! I use Netbeans 6.7.1 and GWT 1.7. I already tried to find if this problem has been reported before and indeed found one thread which I mention

Re: DatePicker starting week on Monday

2009-11-28 Thread Thomas Broyer
On 12 nov, 00:20, santins sant...@gmail.com wrote: Is there a way to change the first day of the week from Sunday to Monday? It's automatic depending on the locale. See http://code.google.com/webtoolkit/doc/1.6/DevGuideI18nAndA11y.html#DevGuideSpecifyingLocale to learn how the locale is

Re: Controlling desktop windows size and position.

2009-11-28 Thread bch...@gmail.com
Java is not Javascript. On Nov 28, 8:01 pm, Patrick Simons patrickjsim...@gmail.com wrote: I'm sure there is a way, I've seen Java applications do this before On Mon, Nov 23, 2009 at 10:09 AM, Martin Trummer martin.trum...@24act.atwrote: you can't do that with html/javascript, so GWT

LayoutPanel support in RC2

2009-11-28 Thread Benju
Has anybody managed to get the GWT layout panels to work in RC2? In the javadoc for SplitLayoutPanel has the following example that does not work for me, it just shows a blank page. SplitLayoutPanel p = new SplitLayoutPanel(); p.addWest(new HTML(navigation), 128);

Re: Should we use maven or not for a project?

2009-11-28 Thread Jan Ehrhardt
I think there is an Ant integration for Maven, so it should be possible to reuse existing Ant builds. But I'm not sure how well it works. So the reasons, why Maven is easy for our GWT project is simple. We do Java development and all our GWT modules are build as plain Java projects, as JARs

Re: VerticalPanel insert and index

2009-11-28 Thread Ittai
If anyone else ever wonder about this issue I looked in the source code and the index range is actually set using the getWidgetCount() which I think is wrong but nevermind. As a workaround I'm using another grid with 1 column and k rows for each column so I can have an uneven grid On 25 נובמבר,

[gwt-contrib] Re: Avira is showing warning when accessing gwt-generated files

2009-11-28 Thread dflorey
Thanks for your suggestion! I've uploaded a generated file and will post the response to this thread. I was wondering if all gwt-generated files will be classified as malware by Avira or if it depends on some generated javascript snippets. On Nov 24, 4:58 pm, Matt Mastracci matt...@mastracci.com

[gwt-contrib] com.google.gwt.junit.RunStyle is package-protected, wasn't it rather meant to be public?

2009-11-28 Thread Thomas Broyer
Hi all, the -runStyle argument documentation from JUnitShell says you can pass the fully qualified name of a class. What it doesn't say, first, thought that's somehow implicit, is that this class has to extend RunStyle. But RunStyle is package-protected, forcing you to put your class in the

[gwt-contrib] Re: Avira is showing warning when accessing gwt-generated files

2009-11-28 Thread Thomas Broyer
On 28 nov, 12:29, dflorey daniel.flo...@gmail.com wrote: Thanks for your suggestion! I've uploaded a generated file and will post the response to this thread. I was wondering if all gwt-generated files will be classified as malware by Avira or if it depends on some generated javascript

Re: [gwt-contrib] Re: Avira is showing warning when accessing gwt-generated files

2009-11-28 Thread Ray Ryan
Does one app make heavier use of CssResource than the other? A bell is ringing about mhtml security concerns. Or did we back out our mhtml use? On Nov 28, 2009 7:22 AM, Thomas Broyer t.bro...@gmail.com wrote: On 28 nov, 12:29, dflorey daniel.flo...@gmail.com wrote: Thanks for your suggestion!

Re: [gwt-contrib] question about GWT RichTextArea

2009-11-28 Thread John LaBanca
Try this: richTextArea.getFormatter().setJustification(Justification.FULL); The RichTextArea uses execCommand() to modify the currently selected contents of the editable area. Some of the inputs to execCommand() do not match similar CSS style names exactly. Thanks, John LaBanca

Re: [gwt-contrib] com.google.gwt.junit.RunStyle is package-protected, wasn't it rather meant to be public?

2009-11-28 Thread Thomas Broyer
On Sat, Nov 28, 2009 at 4:16 PM, John Tamplin j...@google.com wrote: On Sat, Nov 28, 2009 at 10:14 AM, Thomas Broyer t.bro...@gmail.com wrote: I don't think that's what you really want though; it seems like RunStyle was meant to be public so you can extend it in any package you like, and then

Re: [gwt-contrib] com.google.gwt.junit.RunStyle is package-protected, wasn't it rather meant to be public?

2009-11-28 Thread John Tamplin
On Sat, Nov 28, 2009 at 12:05 PM, Thomas Broyer t.bro...@gmail.com wrote: Well, actually, it wouldn't change much things for me at the moment 'cause HtmlUnit is too deeply nested into GWT's internals (many direct references to HtmlUnitSessionHandler instead of e.g. a factored-out

[gwt-contrib] Re: Fix for issue 3528

2009-11-28 Thread t . broyer
On 2009/09/03 19:48:25, jgw wrote: On 2009/08/26 15:21:26, t.broyer wrote: Just so you know, I haven't forgotten about this, but I'm really swamped this week. I'm out next week, but will have a look at this as soon as I get back (unless someone else beats me to it). Just so you know ;-)

[gwt-contrib] Refactor SessionHandler and BrowserChannelClient to allow other OOPHM clients than HtmlUnit

2009-11-28 Thread t . broyer
Reviewers: amitmanjhi, Description: There's a TODO(amitmanjhi) in HtmlUnitSessionHandler to refactor SessionHandler, and the current situation makes it impossible for me to implement OOPHM in Adobe AIR (well, unless I write a full-fledged OOPHM client). So here's a patch that factors out a

Re: [gwt-contrib] com.google.gwt.junit.RunStyle is package-protected, wasn't it rather meant to be public?

2009-11-28 Thread Thomas Broyer
On Sat, Nov 28, 2009 at 8:08 PM, John Tamplin wrote: On Sat, Nov 28, 2009 at 12:05 PM, Thomas Broyer wrote: Do you think HtmlUnit integration is stable enough so this refactoring could happen before 2.0 ship? (I could –try to– contribute the refactoring in time, if needed) Such a change

[gwt-contrib] Re: Fix for issue 3388

2009-11-28 Thread t . broyer
Ping! will it make it into GWT 2.0? seems unlikely unfortunately, whereas the patch was LGTM three months ago :-( I'm submitting an updated patch, just in case, as the tests were changed due to FF3.5 supporting CORS (i.e. not throwing an exception in the cross-origin test)

[gwt-contrib] Adds manual user tests (-runStyle Manual) targets to user/build.xml

2009-11-28 Thread t . broyer
Reviewers: jat, Description: This patch adds -runStyle Manual test targets to user/build.xml; the number of clients is set in the ${gwt.hosts.web.manual} and ${gwt.hosts.dev.manual} properties. This is a follow-up to our discussion at

[gwt-contrib] Re: Adds manual user tests (-runStyle Manual) targets to user/build.xml

2009-11-28 Thread t . broyer
OK, ignore this one; I was patiently waiting for the Please navigate X browsers to this URL when I realized the stdout was redirected. So back to remote and selenium tests :-( http://gwt-code-reviews.appspot.com/114802 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Refactor SessionHandler and BrowserChannelClient to allow other OOPHM clients than HtmlUnit

2009-11-28 Thread jat
I really think this is too big a change to make between the RC and the final release. I would rather wait until after we ship 2.0 and spend a bit more time on it to clean up some of the other rough edges before getting it into trunk. http://gwt-code-reviews.appspot.com/114801 --

[gwt-contrib] Re: Refactor SessionHandler and BrowserChannelClient to allow other OOPHM clients than HtmlUnit

2009-11-28 Thread Amit Manjhi
Thanks for the patch. I agree with John that this is way too late for 2.0 at this point. I will get back to this for 2.1. Please file a public issue for this refactoring and attach the patch to that. Regards, Amit On Sat, Nov 28, 2009 at 6:41 PM, j...@google.com wrote: I really think this is