Re: AssertionError running in dev mode with -noserver in Tomcat

2012-01-15 Thread Thomas Broyer
This is really weird; it looks like you have a malformed JAR in your classpath. Can you set a breakpoint (e.g. on AssertionError exceptions) and report here the value of the 'name' argument in PrefixPathSet#assertValidAbstractResourcePathName and the name of the JAR (set -logLevel to DEBUG, it

Re: Problem creating Editor

2012-01-15 Thread Thomas Broyer
On Sunday, January 15, 2012 2:46:08 AM UTC+1, jmbz84 wrote: Hello, I´m trying to create a simple app using editors and requestfactory, but when I try to declare for the first time the editor (articuloEditor = new ArticuloEditor();) I get the following error: [ERROR] [tecmovin]

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-15 Thread Thomas Broyer
I've read a few times people complaining about HeaderPanel. Have you tried putting a ResizeLayoutPanel between the HeaderPanel and your TabLayoutPanel? It shouldn't be necessary, but there might be a bug in HeaderPanel. Also, out of curiosity, is your HeaderPanel in a ProvidesResize widget?

Doubts in implementing MVP

2012-01-15 Thread Qrunk
Hi, I was reading through one of the earlier post and was unable to understand the following lines : Gal Dolber Post reply 12/07/2010 There no right or wrong way to implement MVP, its just a pattern and you can implement it as you like. The only points I think are important are: -

Re: MVC and Code Splitting

2012-01-15 Thread Xybrek
On 1/15/2012 4:12 AM, Thomas Broyer wrote: On Saturday, January 14, 2012 8:12:44 PM UTC+1, Xybrek wrote: In my application there are many views and controllers, however not all are needed at once, mostly the view that is loaded depends on the URL fragment(s). In what way or

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-15 Thread James Scott
Wrapping the TabLayoutPanel in a ResizeLayoutPanel, and then adding the RLP as the content widget of the HeaderPanel, resulted in nothing rendering in the content area. Here's my test code for my original case - I'm adding the HeaderPanel directly to the RootLayoutPanel. public class

what are the steps to download gwt's 3rd party jars?

2012-01-15 Thread Elhanan
hi.. i've followed all the steps required for getting gwt's source code, but it won't compile as it needs loads of jars, but they aren't in the source repo, so how can i get them (or do i need to manually download them each?!?!) -- You received this message because you are subscribed to the

Re: The RequestFactory ValidationTool must be run for the RequestFactory type

2012-01-15 Thread Thomas Broyer
Eclipse seems to have issues with annotation processors (it regularly generates errors when I modify source code; generally it resolves itself after either a new change, a refresh or a rebuild). Is your app working if you compile your code outside Eclipse? As for your build.properties does not

Re: Doubts in implementing MVP

2012-01-15 Thread Thomas Broyer
On Sunday, January 15, 2012 11:58:43 AM UTC+1, Qrunk wrote: Hi, I was reading through one of the earlier post and was unable to understand the following lines : Gal Dolber Post reply 12/07/2010 There no right or wrong way to implement MVP, its just a pattern and you can

Re: what are the steps to download gwt's 3rd party jars?

2012-01-15 Thread Thomas Broyer
See http://code.google.com/webtoolkit/makinggwtbetter.html#compiling -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/q7act6hSlr0J. To post to

Re: what are the steps to download gwt's 3rd party jars?

2012-01-15 Thread Elhanan
i'm talking about 3rd party jars , does the ant script downloads them itself? On Jan 15, 7:56 am, Thomas Broyer t.bro...@gmail.com wrote: Seehttp://code.google.com/webtoolkit/makinggwtbetter.html#compiling -- You received this message because you are subscribed to the Google Groups Google Web

Re: what are the steps to download gwt's 3rd party jars?

2012-01-15 Thread Thomas Broyer
. Check out the GWT prerequisite tools and third-party libraries: ~/gwt$ svn checkout http://google-web-toolkit.googlecode.com/svn/tools/ tools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

How to inspect GWT generated javascript in Internet Explorer?

2012-01-15 Thread mariyan nenchev
Hi, I am unable to inspect GWT generated javascript code in IE? Any ideas how to do 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-toolkit@googlegroups.com. To unsubscribe from

Re: Getting CellBrowser width, (re)position and re-size panel

2012-01-15 Thread Tibo
Thank you for your answer. That is actually what I was thinking, but I hoped that it might be a workaround. I will take some time to re-think my interface then! On Jan 14, 12:38 pm, Thomas Broyer t.bro...@gmail.com wrote: CellBrowser is a RequiresResize panel

code builds with javac but then fails when run in ant devmode

2012-01-15 Thread dsw
I am building a web app using GWT and GAE. I was getting an onFailure(Throwable caught) in one of my RPC calls, so I thought I would print it out. I wrote some code to call caught.printStackTrace() on a PrintWriter wrapped around a CharArrayPrintStream, which I was then going to send to the

DataGrid and mouse wheel scrolling with AsyncDataProvider

2012-01-15 Thread Achim Breuer
Hi @ all, I am using the new Datagrid component in a project and try to get it working with an AsyncDataProvider. Setting KeyboardPagingPolicy.INCREASE_RANGE works fine, means once I scroll down to the end of the visible data using the keyboard, I get an onRangeChanged in my data provider so I

when combined with GAE, app.yaml / web.xml user authentication and login/logout not really working

2012-01-15 Thread dsw
I'm writing a web app using GWT and GAE (Java). I know GAE pretty well, especially the Python version; I'm new to GWT and the Java version of GAE. I tried to set up my app so that the user had to be logged in to access; from app.yaml. application: myapp version: 1 runtime: java welcome_files:

Activity Feed widget

2012-01-15 Thread Xybrek
Hi is there any Activity feed widget (much like those found with Social Network sites) that is for GWT. I'm not looking for full-featured widget, but just something to start with. Cheers. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-15 Thread Neil
I have seen a bug with tab layouts and EM sizing in IE8. When I switch from Unit.EM to Unit.PX it worked. TabLayoutPanel tp = new TabLayoutPanel(40, Unit.PX); Unix.EM worked in Chrome, but apparently at the time calculations are done in IE, the height is still 0. Also, the HeaderPanel is not a

Re: TabLayoutPanel inside HeaderPanel - tab body doesn't show

2012-01-15 Thread Thomas Broyer
On Sunday, January 15, 2012 7:42:52 PM UTC+1, Neil wrote: Also, the HeaderPanel is not a Layout Panel, and that will cause issues (I could never get a tab panel to have a height of 100% when place in a non-layout panel. Yes it is. It's a RequiresResize. It doesn't implement

how do you cause the body element to scroll?

2012-01-15 Thread jones34
Hi I have a very simple layout, with a header, footer and variable length center element. I want to do two things: 1. wrap the entire thing in a div class=container element so I can use Twitter's Bootstrap CSS to layout my work. 2. Have the whole thing scroll using the native browser scrollbar

Re: how do you cause the body element to scroll?

2012-01-15 Thread jones34
figured it out: mixing the two layout frameworks in a bad way. On Jan 15, 5:54 pm, jones34 ljw1...@gmail.com wrote: Hi I have a very simple layout, with a header, footer and variable length center element. I want to do two things: 1. wrap the entire thing in a div class=container element so I

Re: Problem creating Editor

2012-01-15 Thread jmbz84
Thomas, Yes that did the trick . Thank You. I have another problem , it seems it is not possible to create a ValueBoxEditorDecorator of the type Integer, I get the error: Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String at

Re: Problem creating Editor

2012-01-15 Thread Thomas Broyer
You have to use an IntegerBox, not a TextBox. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/qR6zVlA-UlcJ. To post to this group, send email to

Re: when combined with GAE, app.yaml / web.xml user authentication and login/logout not really working

2012-01-15 Thread Shawn Brown
I'm writing a web app using GWT and GAE (Java).  I know GAE pretty well, especially the Python version; I'm new to GWT and the Java version of GAE. Uuugh, an evil GAE python user who always gets features before us Java users. ...just kidding...  security-constraint    

Re: Problem creating Editor

2012-01-15 Thread jmbz84
Thank You again Thomas. The editor works perfectly On 15 ene, 20:12, Thomas Broyer t.bro...@gmail.com wrote: You have to use an IntegerBox, not a TextBox. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Doubts in implementing MVP

2012-01-15 Thread Qrunk
Hi Thomas, As you asked, I went through the link( http://www.google.com/events/io/2010/sessions/gwt-continuous-build-testing.html ) but there it was a bit difficult for me to understand the basic reason as to *why* 1.* * we shouldn't use *view.getSaveButton().addClickHandler()* i.e to say

Doubts on Handling of events in Presenter

2012-01-15 Thread Qrunk
Hi Thomas, As you asked, I went through the link( http://www.google.com/events/io/2010/sessions/gwt-continuous-build-testing.html ) but there it was a bit difficult for me to understand the basic reason as to *why* 1.* *we shouldn't use *view.getSaveButton().addClickHandler()* i.e to say

MVP in terms of UI and View

2012-01-15 Thread Qrunk
What does the following mean ?? GOALS in GWT Develeopment We need dumb Views, not dumb UIs (What does View mean here and whats UI in MVP ?? its confusing, , please explain with a small example, a simple one) • Avoid state within Views (Which state is it talking about, please explain with a

Re: How to inspect GWT generated javascript in Internet Explorer?

2012-01-15 Thread karim duran
Hi Mariyan Tools to inspect javascript code in IE are difficult to find. There is a solution to do that with Mozilla / Firefox 1) Download the WebDeveloper tools for mozilla and install it https://addons.mozilla.org/en-US/firefox/addon/web-developer/ You have all you need to inspect your page (

Re: How to handel Day Light Saving in GWT2.0

2012-01-15 Thread Paul Robinson
Timezones are a pain in javascript because it just doesn't do them. If you have a javascript Date on the client, it will always display in the client's timezone. If you want to apply timezone offsets, you must do that on the server. You can't then simply transfer the resulting java.util.Date