Re: Maven repository for GWT 2.1.1

2010-12-25 Thread Mike Guo
you need compile first before you run http://127.0.0.1:/Expenses.html -- 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 ema

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread Mike Guo
it's already in a docklayoutpanle: -- 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 email to google-web-toolkit+unsub

Re: Purposes of three JAR files

2010-12-25 Thread zixzigma
1- gwt-servlet scope: default(compile) 2- gwt-user - scope: provided default scope is "compile", therefore you dont need to specify it com.google.gwt gwt-servlet ${gwt.version} com.google.gwt gwt-user

Re: How to fail gracefully when the main GWT js file fails to load

2010-12-25 Thread Y2i
What about setting a JS timer and checking in the callback if the main app has been loaded? http://www.w3schools.com/js/js_timing.asp On Dec 25, 9:47 pm, Icky wrote: > hi there, > > I have an app where the main HTML file contains a loading div with a > "Loading, please wait..." message, and when

How to fail gracefully when the main GWT js file fails to load

2010-12-25 Thread Icky
hi there, I have an app where the main HTML file contains a loading div with a "Loading, please wait..." message, and when the GWT app loads, it will remove the loading div and start rendering the application. However i am running into a problem where if the GWT js file fails to be retrieved (ie.

TreeViewModel and AsyncDataProvider

2010-12-25 Thread Sydney
I have a 3 level CellBrowser. Everything is working fine using a ListDataProvider except that it's too long to grab the data from the server. So I want to use the AsyncDataProvider to fetch only the data that the user actually needs. Basically what I want to do is when the user selects the leve

Re: Maven repository for GWT 2.1.1

2010-12-25 Thread ailinykh
I tried to run it (mvn gwt:run) If I use URL as http://127.0.0.1:/Expenses.html?gwt.codesvr=127.0.0.1:9997 everything looks good, but if I point browser to http://127.0.0.1:/Expenses.html I get popup dialog with message "GWT module may need to be (re)compile" Is it supposed to happen or I

Re: RequestFactory: /gwtRequest not found

2010-12-25 Thread Matthew Hill
Fixed by adding a servlet handler for com.google.gwt.requestfactory.serve.RequestFactoryServlet in web.xml -- 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 unsub

RequestFactory: /gwtRequest not found

2010-12-25 Thread Matthew Hill
HTTP ERROR: 404 NOT_FOUND RequestURI=/gwtRequest *Powered by Jetty:// * * * I've been following this, but get the above error when running my app. Presumably I need to set up some kind of se

Re: Editor Framework Questions

2010-12-25 Thread Y2i
There are two driver types - SimpleBeanEditorDriver to work with simple bean-like objects - RequestFactoryEditorDriver integrated with RequestFactory and RequestContext objects The pros are best described in the goals: http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html#Goals The

Purposes of three JAR files

2010-12-25 Thread David Pinn
What purposes are served by each of the main GWT JAR files: gwt-user.jar, gwt-servlet.jar, and gwt-dev.jar? I'm putting together a project definition in Intellij IDEA, and would like to know which JAR files to include, and at which scope (compile, test, provided, runtime) -- You received this

Re: Editor Framework Questions

2010-12-25 Thread Matthew Hill
Hi; thanks for your answer! I'm beginning to understand it better now. A few more questions though...: - Is it best used with RequestFactory? - What are the pros and cons? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread nino ekambi
found it thx 2010/12/25 zixzigma > nino, > its to the right side of the main page. > > see here: http://oi53.tinypic.com/2hnvwno.jpg > > -- > 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-

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread zixzigma
nino, its to the right side of the main page. see here: http://oi53.tinypic.com/2hnvwno.jpg -- 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

Re: get "plugin failed to connect to hosted mode server on ...." error with Chrome GWT developer plugin but works fine with Firefox

2010-12-25 Thread egar
I'm still seeing this issue. Plugin version is 1.0.9274. The GWT plugin icon stays red and shows host 127.0.0.1 is allowed to use the plugin. There is no problem when using Firefox though. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Implement TreeTable

2010-12-25 Thread Vano Beridze
Hello Is it possible to implement TreeTable using existing Cell Widgets? -- 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 email

Re: ClassNotFoundException: org.slf4j.LoggerFactory

2010-12-25 Thread zixzigma
1- is this line of code on your server side, or on the client ? new Configuration().configure().buildSessionFactory(); 2- are you using Log4J on the client or server ? you cannot use any of these in GWT, for logging on clientside, use this: http://code.google.com/webtoolkit/doc/latest/DevGuideLo

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread nino ekambi
Off topic question guys :) How do i access the new google group ? Greets, Alain 2010/12/25 Matthew Hill > Oops, sorry. > > Maybe try putting it in a dock layout panel? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread Matthew Hill
Oops, sorry. Maybe try putting it in a dock layout panel? -- 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 email to google-web-

Re: Can Flash communicate with GWT?

2010-12-25 Thread Patrick Tucker
On Dec 24, 6:34 am, BogdanB wrote: > Hy, > > How can I return a value or set a parameter at the end of a flash > movie and then get it using gwt2swf? > I need to know when the flash movie ended so I can make another widget > visible. > > Thanks. before loading the flash object attach a function,

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread Mike Guo
yes i said in my question i followed the cellList example, but they are different: cellList has a fixed height which make it scroll. my question is how to make the table *occupy the center page* just like google group center view does, rather than a fixed height. do i make it clear? -- You re

Re: how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread Matthew Hill
You could use a CellList. http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellList That example has the exact behavior that you're looking for. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to

how to make table auto-extend, just like new google group UI 's content view?

2010-12-25 Thread Mike
hi all: if you are using the new version of google group now, you must be feeling that it's much much more comfortable than the old ones, it's just like a desktop app with wonderful user experience. i'm more interested in the auto-extend cellList, i.e. if the scrollbar hit the end it display m

ClassNotFoundException: org.slf4j.LoggerFactory

2010-12-25 Thread branni
Hi, I'd like to use hibernate with gwt and maven, but I get an exception this point: new Configuration().configure().buildSessionFactory(); -- Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader$1.run(Unknown Source) at j

Re: cellTable paging: server side query return wrong result using JPA

2010-12-25 Thread Mike
another question, the JPQL query seems rarely function well, i checked if i use: List rl = em.createQuery( "select o from Person o" ).setFirstResult( startIndex ).setMaxResults( maxCount ).getResultList(); my first query using the startIndex=0; and maxCount=35, it return 35 obj

Re: Editor Framework Questions

2010-12-25 Thread Mike
hi : i'm new to the Editor too, but to my understand, Editors are for displaying/editing data directly from server side. for example you have data in your DB, you retrieved it as Entity in your web server side, by using Editor you can edit and/or display it at client side with ease. seems like

cellTable paging: server side query return wrong result using JPA

2010-12-25 Thread Mike
hi all: follow the well know expense example, i see the following code in Report.java: @SuppressWarnings("unchecked") public static List findReportEntries(int firstResult, int maxResults) { EntityManager em = entityManager(); try { List reportList = em.createQuery(