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 נובמבר, 11

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 (conta

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); p.addN

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 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 > wrote: > > > you can't do that with html/javascript, so GWT can't help you > > > On 19 Nov., 18:35, Patri

Re: DatePicker starting week on Monday

2009-11-28 Thread Thomas Broyer
On 12 nov, 00:20, santins 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 determined and how 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 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 below. > > The probl

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: 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: 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 t

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 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" Sent: Saturday, Novemb

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 e

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 wrote: > Welcome, look there: > http://blog.jdevelop.eu/2009/11/11/create-a-gwt-application-from-scratch/ > > On 28 Nov., 10:44, Vki wrote: > > Hi Friends i'm beginner in Google We

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 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 idea friends

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 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 email to goog

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 google-web-tool.

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 su

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, se

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 wrote: > Yes, Maven can be complex, but if your projec

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 ArrayList getAMIs() { ArrayList amis = new ArrayList(); int n; AMI ami = new AMI(); GetResources amiResourceXML = new GetResources(); try

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 wrote: > Hi, > > I think an i

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 fro

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: 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 wrote: > > > On 27 nov, 16:56, Jeff Chimene 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 > > > model my objects, with R

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), s

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

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 wrote: > you can't do that with html/javascript, so GWT can't help you > > On 19 Nov., 18:35, PatrickJ wrote: > > Is there and equivalent functional in GWT to VB's FindWindow, > >

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

2009-11-28 Thread Thomas Broyer
On 28 nov, 10:27, Paul Grenyer 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 > C:\Users\Paul\Documen

Re: GWT 2.0 - startupUrl field

2009-11-28 Thread Filipe Sousa
On Nov 28, 11:03 am, Andrey 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 -startupUrl in

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 r

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:

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

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 t

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 wrote: > Hi people, > > Does anyone know if there is a GWT widget to view PDF files? > I know that I can open a window and s

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 + J

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 s