Re: DateTimeFormat - format month bug

2009-09-22 Thread MiSt
Reported as http://code.google.com/p/google-web-toolkit/issues/detail?id=4069 --~--~-~--~~~---~--~~ 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: Apache tomcat

2009-09-22 Thread Vitaly Parfonov
It's not tomcat! GWT 1.6.x migrate to Jetty server. 2009/9/22 ak kondal...@gmail.com: What is the Apache Tomcat Version used by GWT 1.6.4? -- Best regards, Vitaly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Apache tomcat

2009-09-22 Thread Kondala Rao
Part of servlet code is there at GWT 1.6.4 At svn ( http://code.google.com/p/google-web-toolkit/source/browse/#svn/tools/lib/tomcat) mentioned 5.0.28, But files are not matching to this version. On Tue, Sep 22, 2009 at 1:30 PM, Vitaly Parfonov vitaly.parfo...@gmail.comwrote: It's not tomcat!

Re: rpc serialization problem

2009-09-22 Thread Angel
i have the same problem On 5 ago, 04:52, mike m...@introspect.com wrote: I have a simple one-to-many betwen two entities.  The parent entity uses List to contain the child entities.  I am able to persist these entities in the datastore without problems. However, when reading a root entity

Re: Help Needed for 404 error when I use HttpServlet with formPanel

2009-09-22 Thread Thomas Broyer
On 22 sep, 07:03, er.9...@yahoo.com.cn er.9...@yahoo.com.cn wrote: Hi,    I got Http 404 : The requested resource  is  unavailable when I run my project.    What I did is that 1. web.xml.  servlet         servlet-namedatabaseServlet/servlet-name        

Re: MySQL Connection

2009-09-22 Thread Chamira Fernando
Hi, Im Using GWT + AppEng is that the problem here? Lets say I have an existing database which I want to use for my GWT application what is the possible solution you reckon ? On Tue, Sep 22, 2009 at 7:08 AM, Sripathi Krishnan sripathi.krish...@gmail.com wrote: If you are using Google App

Re: Hint: Previous compiler errors may have made this type unavailable

2009-09-22 Thread BMax
No Thomas, I have only this error!!! On 21 Set, 15:51, Thomas Broyer t.bro...@gmail.com wrote: On 21 sep, 11:06, BMax massimo.bo...@gmail.com wrote: Hi dougx, thanks a lot for your message! Sorry if I reply only at this time! I checked my code and its setting... I saw that it's already

Re: Suddenly getting exceptions during compile in TypeOracle annotation processing

2009-09-22 Thread Youlian
Hi Martijn! Finally it works. I forgot to include ejb3-persistence.jar in the classpath. The reason for this - byside me beeing a dullard - was that I am using NetBeans, which comes with two Hibernate library templates. One which includes ejb3-persistence.jar and one which does not. Cheers,

(Issue 2374) Generic Methods on RPC....

2009-09-22 Thread PJ Gray
(I posted this to the gwt-dispatch list, but figure I'd mention it here toolarger audience and whatnot) I am implementing the command pattern as per Ray Ryan's fantastic talk. I have it working, however I ran across a known issue in GWT when implementing my servlet (Which Ray Ryan skips

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread purplehaze
Hi *, I have jdk 1.6 only installed. So I set plugin groupIdorg.apache.maven.plugins/ groupId artifactIdmaven-compiler-plugin/ artifactId configuration

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Norman Maurer
I Roman could you open a jira issue for it so I can keep track. https://issues.apache.org/jira/browse/Hupa Thx, Norman Ps: Hupa just moved from labs to james as subproject so the new svn url is http://svn.apache.org/repos/asf/james/hupa 2009/9/22 purplehaze roman.i...@gmail.com: Hi *, I

StatusCodeException with no message

2009-09-22 Thread jd
Hi, I am getting a StatusCodeException caught on the client in hosted mode but the message is an empty string. I have put a breakpoint in the servlet in doUnexpectedFailure but it is never hit and nothing is logged in the Eclipse console or the hosted mode console. Thanks, John

Re: Running GWT JUnit on Eclipse

2009-09-22 Thread Jason Parekh
Hi Pion, Could you try the steps below? I performed these locally and found success. 1) Extract GettingStarted.zip somewhere 2) Eclipse's File Import General Existing projects, choose the extracted StockWatcher directory 3) Right-click on the StockWatcher project, and choose Properties.

Re: Running Apache Hupa sample of GWT MVP

2009-09-22 Thread Daniel Simons
Actually what is most likely happening is that when you changed the color property value it kicked off a fresh buildtry changing the color value back to grey to see if that was the case. Regards, daniel On Tue, Sep 22, 2009 at 9:32 AM, purplehaze roman.i...@gmail.com wrote: Hi *, I have

Project: Building REST APIs using GWT

2009-09-22 Thread student cummins
Hi all, I am an engineering student and my group is supposed to make REST APIs for a web service using GWT.. We are complete newbies and currently lost about where to begin... Is there any documentation about how can we make our own REST APIs using GWT??? Actually we don't know how to build

Resizing a window is very slow in Firefox

2009-09-22 Thread SEI
Hello, we created a very generic application. It is possible to edit some XML- Files and the UI changes completely. Unfortunately this causes a very bloated DOM-tree. We have some panels which consist of many other panels which again consist of other panels and so on. The maximum depth of the

form.submit

2009-09-22 Thread sriram_gwt
Hi I am developing a web application using GWT, Servlets. I am calling a servlet from FormPanal through form.submit. Servlet is called successfully in Hosted Mode but when i deployed the same in to Tomcat/Glass Fish Application server, 404 error message is returned when i click the submit button.

GWT-FX cover flow demo source ?

2009-09-22 Thread Frank
On http://code.google.com/p/gwt-fx/ there is a demo of a coverflow widget. I am interested in using such a coverflow widget on my website. Is the source code for this widget available somewhere ? --~--~-~--~~~---~--~~ You received this message because you are

Input Validation

2009-09-22 Thread mohan
Hi, I am very new to GWT. I have a form with Name,phone and email. I need to validate the input. How can i do that? Kindly guide me. Thanks in advance. Cheers!!! Mohan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Running GWT JUnit on Eclipse

2009-09-22 Thread Pion
Thanks, Jason. I really appreciate your help. I just followed your step-by-step instructions below. Unfortunately, It still give me The input type of the launch configuration does not exist. Also, I right-click the StockWatcherTest.java and select Run As - Run Configurations, it shows the

Re: Hint: Previous compiler errors may have made this type unavailable

2009-09-22 Thread Thomas Broyer
On 22 sep, 14:41, BMax massimo.bo...@gmail.com wrote: No Thomas, I have only this error!!! :-S Send me your code (if you can), and I'll have a look (if I find time!) I'm sorry, there's not much more I (we) can do here... --~--~-~--~~~---~--~~ You received

Re: Advice for bundling RPC calls in ONE HTTP request

2009-09-22 Thread maku
MyServiceAsync async = GWT.create(MyService.class); ((ServiceDefTarget) async).setRpcRequestBuilder(MyCustomRpcRequestBuilder()); I don't see the possibility to set a RequestBuilder to a com.google.gwt.user.client.rpc.ServiceDefTarget instance (the interface has not such a method).

Re: Project: Building REST APIs using GWT

2009-09-22 Thread Thomas Broyer
On 22 sep, 12:23, student cummins becomp4...@gmail.com wrote: Hi all, I am an engineering student and my group is supposed to make REST APIs for a web service using GWT.. We are complete newbies and currently lost about where to begin... Is there any documentation about how can we make

Re: Resizing a window is very slow in Firefox

2009-09-22 Thread Thomas Broyer
On 22 sep, 15:18, SEI s...@isr.de wrote: Hello, we created a very generic application. It is possible to edit some XML- Files and the UI changes completely. Unfortunately this causes a very bloated DOM-tree. We have some panels which consist of many other panels which again consist of

How to change the knob image in sliderbar widget

2009-09-22 Thread balachandra maddina
Hi There, Any one knows how to change the SliderBar widget knob image from default to a custom one? if so could you share the details please. Thank you, bala. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How to change the knob image in sliderbar widget

2009-09-22 Thread Venkatesh Babu
Try using the SliderBar constructor that accepts your implementation of SliderBarImages:

Multiple modules and Servlet mapping (not RPC but RequestBuilder)

2009-09-22 Thread Ittai
Hello all, I'm going through my first project which has multiple modules and I'm getting a bit stuck. First of all I'll say that all the things I'm trying to do here I've done already in a small one module project based on the StockWatchers tutorial and that for all sorts of reasons I need to use

Re: How to change the knob image in sliderbar widget

2009-09-22 Thread balachandra maddina
Hi Venkatesh, Thx for the reply. i didnt understand how an imagebundle works earliar. when i looked at it now its more clear. could you tell me what is the use of LabelFormatter in SliderBar widget pls? Thank you, bala. On Tue, Sep 22, 2009 at 10:49 PM, Venkatesh Babu

New GWT event system performance problems during onMouseMove

2009-09-22 Thread yilativs
Hello, I faced performance problems when I tried to migrate my application to new GWT event system for onMouseMove events. my application uses onMouseMove for dragNdrop and the performance dramatically reduced after migration. The problems I see as a reason are: before we had public void

Re: How to change the knob image in sliderbar widget

2009-09-22 Thread Venkatesh Babu
I haven't used the sliderbar, so not really sure. But i looked at the class source code and looks like labelformatter is used to format the label numbers present on the top of bar. Also, I noticed that if you don't require a labelformatter, you can pass a null to the constructor. You can check the

how to add higher Z-index to collapsible panel which will not override the menubar z-index

2009-09-22 Thread Jerome
Hi, I am using the gwt-incubator scrolltable and CollapsiblePanel. Initially had problems with z-index of CollapsiblePanel since it was tucked under the Scrolltable so i added higher z-index to it and that worked fine but in the event the i have menu which got tucked under the CollapsiblePanel

DTO and Compound Objects

2009-09-22 Thread Thomas Holmes
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

Re: HttpSession NullPointerException

2009-09-22 Thread mdwarne
- Forward to page /account and read the HttpSession (not working) Does your /account url map to a different context or a different servlet? Maybe having two context or 2 servlets causes your problem. For my app, I use just one service Implementation class, and that service may call other

A well-behaved, browser independent layout framework

2009-09-22 Thread kozura
I've been using GWT for over 2 years now for developing large scale web applications, and think it's a fantastic toolkit for doing clean, browser-independent development. However, there is one conspicuous place where it does not meet its stated goals, where I incidentally spend an inordinate

Re: A well-behaved, browser independent layout framework

2009-09-22 Thread Venkatesh Babu
Guess you should take a look at the UiBinder framework that is present in the latest GWT trunk. The framework doesn't solve the layout problem as such, it rather takes a different approach - it allows one to place GWT widgets inside HTML code. So, if you delegate all layout headache etc... to be

Re: help with suggest box

2009-09-22 Thread John Restrepo
Thanks ;) On 16 sep, 23:33, Sripathi Krishnan sripathi.krish...@gmail.com wrote: You would have to write a custom SuggestOracle and pass it to the constructor of your SuggestBox. Your implementation of SuggestOracle would need to implement the requestSuggestions() method. In that method,

Re: DTO and Compound Objects

2009-09-22 Thread Paul Robinson
That should be fine. Serializable objects don't have to be trivial and the system is fairly robust. It's hard to break gwt serialization (although you can - for example see http://code.google.com/p/google-web-toolkit/issues/detail?id=3577) BTW - if you put your DTOs in a client package, that

Re: Advice for bundling RPC calls in ONE HTTP request

2009-09-22 Thread Sripathi Krishnan
It is available on gwt trunk. I am using a version of gwt straight from svn, and I didn't realize this method was not present in older versions. The advice still holds good, but you may not be able to use it unless you compile from trunk. sorry for the trouble! --Sri 2009/9/22 maku

Allowing JavaScript injection using innerHTML

2009-09-22 Thread JohnJ
I would like to allow the following... (I know this could cause XSS issues but the users of this system are trusted). DOM.getElementById('someid').setInnerHTML(scriptalert('hello!');/ script); If run this in hosted mode it appears to do nothing. If I compile and browse this with Firefox/Firebug

Is there a tool to convert my GWT RemoteServiceServlet into the correct Service and ServiceAsync interfaces?

2009-09-22 Thread AsaAyers
I'm working on a GWT project and I find it very tedious to have to add a function to my servlet, then copy and paste the function signature into my Service interface, then copy and paste it into my ServiceAsync interface and change the return parameter to be a callback. Is there a tool or a

Re: Is there a tool to convert my GWT RemoteServiceServlet into the correct Service and ServiceAsync interfaces?

2009-09-22 Thread Geraldo Lopes
You can try 1) Update the service interface 2) To update automagically the AsyncInterface use Google Eclipse plugin 3) To update your servlet use eclipse (add unimplemented methods) Good luck, Geraldo On 22 set, 19:54, AsaAyers asa.ay...@gmail.com wrote: I'm working on a GWT project and I

Lost runtime exceptions when in hosted mode

2009-09-22 Thread tieTYT
When I'm in hosted mode, if my client code throws a runtime exception, it seems to be swallowed and not reported. For example, if I put a throw new NullPointerException() at the end of a method. I can use the debugger to find the exact line that's throwing the exception but when it occurs it

Re: Why Not Bypass The Middle Man

2009-09-22 Thread DuoCentillion
I think currently the browser is more general, more secure, and more streamlined a model for broadcasting and communication than anything else yet proposed. We dont rely exclusively on java programs or applets to do everything because it is not general and is not secure and certainly came after

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-09-22 Thread t . broyer
My 2 c€nts. Overall, it leads to reworking the patch as an: if (method is GET (or HEAD)) { if (url contains .nocache.) { set no-cache headers } else if (url contains .cache.) { set forever-cache headers } } // otherwise (non-GET/HEAD, or non-nocache/cache URL), just do

[gwt-contrib] Re: source - src in ui:style

2009-09-22 Thread jgw
On 2009/09/22 00:28:46, Ray Ryan wrote: Joel, can you review this small change that will probably make biggish ripples in your world? Since html uses src all over the place, we should too. Agreed. LGTM. http://gwt-code-reviews.appspot.com/67809

[gwt-contrib] Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread jgw
Reviewers: Ray Ryan, Please review this at http://gwt-code-reviews.appspot.com/68805 Affected files: M samples/mail/src/com/google/gwt/sample/mail/Mail.gwt.xml M samples/mail/src/com/google/gwt/sample/mail/client/AboutDialog.java A

[gwt-contrib] Re: source - src in ui:style

2009-09-22 Thread Ray Ryan
Committed at r6188 On Tue, Sep 22, 2009 at 7:09 AM, j...@google.com wrote: On 2009/09/22 00:28:46, Ray Ryan wrote: Joel, can you review this small change that will probably make biggish ripples in your world? Since html uses src all over the place, we should too. Agreed. LGTM.

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread rjrjr
I'm still reviewing, but I thought I should get this AttributeParser issue in front of you early. http://gwt-code-reviews.appspot.com/68805/diff/1/24 File user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java (right): http://gwt-code-reviews.appspot.com/68805/diff/1/24#newcode68

[gwt-contrib] Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread rice
Reviewers: jat, Description: Currently the check for a 32-bit VM never gets run on Linux. This CL moves it into SwtHostedModeBase where it can run for all platforms. Please review this at http://gwt-code-reviews.appspot.com/68806 Affected files:

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread jgw
On 2009/09/22 18:59:16, Ray Ryan wrote: I'm still reviewing, but I thought I should get this AttributeParser issue in front of you early. http://gwt-code-reviews.appspot.com/68805/diff/1/24 File user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java (right):

[gwt-contrib] Re: Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread דניאל רייס
Hi John - You say more generic but your comment seems to be suggesting greater specificity (use versus how to use). Do you have some language in mind? Dan On Tue, Sep 22, 2009 at 3:18 PM, j...@google.com wrote: LGTM assuming you have tested it on all platforms, with minor nits.

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread jgw
Assuming we make parsing attributes using AttributeParsers required (which makes perfect sense to me), I think we'll need to change writer.getAttributeParser(JParam...) to take (JType...) instead. This method only ever uses the types of the parameters, and many consumers of attributes aren't

[gwt-contrib] Re: Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread John Tamplin
On Tue, Sep 22, 2009 at 3:27 PM, Daniel Rice (דניאל רייס) r...@google.comwrote: You say more generic but your comment seems to be suggesting greater specificity (use versus how to use). Do you have some language in mind? I am suggesting that either we make the language more generic, such as

[gwt-contrib] Re: Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread דניאל רייס
O.K., I'll stick with the one-line version for non-Mac platforms. On Tue, Sep 22, 2009 at 3:39 PM, John Tamplin j...@google.com wrote: On Tue, Sep 22, 2009 at 3:27 PM, Daniel Rice (דניאל רייס) r...@google.com wrote: You say more generic but your comment seems to be suggesting greater

[gwt-contrib] Re: Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread John Tamplin
On Tue, Sep 22, 2009 at 3:40 PM, Daniel Rice (דניאל רייס) r...@google.comwrote: O.K., I'll stick with the one-line version for non-Mac platforms. Another option might be to point at a Wiki page that we could update with recipes for different platforms over time. -- John A. Tamplin Software

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread Ray Ryan
On Tue, Sep 22, 2009 at 12:23 PM, j...@google.com wrote: On 2009/09/22 18:59:16, Ray Ryan wrote: I'm still reviewing, but I thought I should get this AttributeParser issue in front of you early. http://gwt-code-reviews.appspot.com/68805/diff/1/24 File

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread Ray Ryan
I was going to ask you. Yeah, I think it makes sense. Might as well keep the JParam method as a convenience? On Tue, Sep 22, 2009 at 12:38 PM, j...@google.com wrote: Assuming we make parsing attributes using AttributeParsers required (which makes perfect sense to me), I think we'll need to

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread jgw
Addressed individual comments. How about we leave off the consumeAttribute() thing for a moment, as you suggest, and then I fix it in a subsequent patch? http://gwt-code-reviews.appspot.com/68805 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread rjrjr
Still LGTM I mean one rethrow nit below HERE http://gwt-code-reviews.appspot.com/68805/diff/1/24 File user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java (right): http://gwt-code-reviews.appspot.com/68805/diff/1/24#newcode115 Line 115: writer.die(Unexpected: Unable to find %s

[gwt-contrib] Re: Adds parsers for Dock Stack layout panels. Updates Mail sample to use UiBinder.

2009-09-22 Thread Isaac Truett
Hey guys, The autoformater will change this to @UiField Button closeButton; which sucks. I want to fix that for annoations with no arguments, but have no idea how to. You have any clue to share? Bugs the crap out of me too. I can't find any annotation-related settings in the