Re: RequestFactory takes long time to handle responce

2011-10-23 Thread Miroslav Genov
Forgot to mention that the my version of GWT is 2.4.0 -- 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/-/IfsM6uHF6DAJ. To post to this group, send

GaeAuthFilter and RequestFactory

2011-10-23 Thread Bernd
Hi, I have implemented the GaeAuthFilter (from expenses example ) in my GWT Application. filter-mapping filter-nameGaeAuthFilter/filter-name url-pattern/gwtRequest/*/url-pattern /filter-mapping So all calls to gwtRequests will be filtered and the authentication will be

GWT advantages

2011-10-23 Thread Navindian
Hi We have decided to go with GWT and dropping the option of JSF for google maps application. I need to prepare a slide to support the same. Please suggest the parameters where GWT passes and JSF fails. It should be very generic such that Quality people appreciate it. thanks navajyothi -- You

SOLVED how to Put a GWTPanel into a html div/div

2011-10-23 Thread Lindomir Avelar
Hi guys! I solved a trouble a I need to broadcast it!! First you need to put a div tag with a ID like this in your html code div id=main /div Second in your ImageViewer.java you have to add a VerticalPanel (you can use GWT designer it is very easy) see the code below public class ImageViewer

GWT compiler doesn't create symbol maps files

2011-10-23 Thread Alexander
Hello. GWT compiler doesn't create directory symbolMaps deploy. Already for a long time I'm trying to solve this problem. Every time I spend on it about a day without results. Folder rpcPolicyManifest created in WEB-INF/deploy folder, but symbolMaps not. I tried to compile and through

Re: DataGrid auto-set column width

2011-10-23 Thread misko237
Yeah, it might be a solution (not so nice and clean, but solution)... But, look at this http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid They've made GridTable without setting column width (there is no width attribute on any element). On Oct 22, 5:18 pm, jaga

Re: GWT compiler doesn't create symbol maps files

2011-10-23 Thread Alexander
A miracle happened, I found the reason. inherits name=com.google.gwt.junit.JUnit/ I don't even know how much time I have spent. On Oct 23, 6:13 pm, Alexander azi...@gmail.com wrote: Hello. GWT compiler doesn't create directory symbolMaps deploy. Already for a long time I'm trying to solve

Re: RequestFactory takes long time to handle responce

2011-10-23 Thread Thomas Broyer
Have you tried putting logs all over the place (use a ServiceLayerDecorator that overrides every method to add some logs, and override the RequestFactoryServlet's doPost to log before and after) to try to see where the sluggishness comes from? Do you have any servlet filter (e.g. managing

Re: GaeAuthFilter and RequestFactory

2011-10-23 Thread Thomas Broyer
Do not use request.getRequestURI() as an argument to createLoginURL. Instead, pass the URL as a header in the request. See http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/src/main/java/com/google/gwt/sample/gaerequest/ -- You received this message because

Re: SOLVED how to Put a GWTPanel into a html div/div

2011-10-23 Thread Thomas Broyer
How is that different from RootPanel.get(main).add(getVLayout()) ? (or maybe RootPanel.get(main).add(getVLayout(), 156, 52), I never use absolute positionning so I don't know how it works when you move your VLayout from RootPanel.get() to RootPanel.get(main)) Did I miss anything? -- You

Re: GWT advantages

2011-10-23 Thread Thomas Broyer
JSF is a failure per se, so it shouldn't be hard to find arguments there (you don't have to search long on the web to find many). Not only is it a failure, it's a mistake and an anti-pattern. Besides that (statefulness, anti-Web-style, etc. of JSF), the main difference will be that GWT (any

Re: future of gwt who use gwt

2011-10-23 Thread Ed
Don't worry, it will be supported for long time beside the fact, Of course, as Google uses it a lot internal, but I think what's more important: adding new features that people are waiting for as time passes and applications demand more rich features. I am more worried about the future of GWT's

Re: RequestFactory takes long time to handle responce

2011-10-23 Thread Miroslav Genov
Hello Thomas, I added some more logging statements to my code (doPost method and in the ServiceLayerDecorator) and here are the results: 2011-10-23 20:04:17.441 invoke executed in: 12 ms 2011-10-23 20:04:17.805 getProperty executed in: 0 ms 2011-10-23 20:04:19.273 - (all getProperty

Re: RequestFactory takes long time to handle responce

2011-10-23 Thread Miroslav Genov
It seems that GWT-RPC is working correctly, cause I have another part of my code which is retrieving the same list of entities with the same properties using GWT-RPC and the whole request is executed in: ~50ms I think that there is a big performance bottleneck in RF's response handling. --

Re: GWT advantages

2011-10-23 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 what about telling them why you chose to use the GWT? :) as someone who just worked on a google maps integration (for 2 month) using the GWT, i would say that the GWT gives the programmer a lot more power in general, development speed and

Re: GWT advantages

2011-10-23 Thread Roger Studner
As someone who uses GWT, but also knows HTML/CSS/jQuery… I will at least honestly (flames expected) say that developing with GWT, while great for 'java devs' is far slower and more painful than just doing traditional html/css/js development (if you know what you are doing that is) Roger On

Re: future of gwt who use gwt

2011-10-23 Thread Rori Stumpf
I have a greater fear of having to use plain old Javascript/JQuery and the minefield of cross-browser compatibility, than GWT's product path... :-) On Oct 22, 1:27 pm, krespo ma...@gmail.com wrote: when I good understand, google wanted for some period support GWT, but they don't want to

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

2011-10-23 Thread Gregor
When I added the option verbose=false to the Annotation Processing the .apt_generated folder got populated with the blaFactoryObfuscatorBuilder(s)and then it got also compiled to the classes directory in the war. I can only underline the importance of this option (strange as it might seem).

Re: future of gwt who use gwt

2011-10-23 Thread Roger Studner
jquery != problem with browser compatibility. People will make sure jquery 'still works' *long after* Google stops working on GWT and open sources it. (Not good or bad, just obviously true) Roger On Oct 23, 2011, at 1:57 PM, Rori Stumpf wrote: I have a greater fear of having to use plain

Starting with GWT

2011-10-23 Thread Ari
Hi, I'm interested in learning to develop web applications with GWT and I'd appreciate insight on what resources (books, websites, etc.) will be most helpful in my endeavour. Furthermore, could someone explain or point me to where I can find out how GWT interacts with server-side code, i.e. Is

Re: can we control what element will build in widget?

2011-10-23 Thread wahaha
why there is nobody knows? -- 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 this group, send email to

Re: can we control what element will build in widget?

2011-10-23 Thread Gal Dolber
You cannot change the element a widget uses internally. If you are looking for span implementations(instead of div) you can use: InlineLabel, InlineHTML Otherwise you can create your own widgets, checkout the source code of HTML or Label, its not hard to do. Regards On Sun, Oct 23, 2011 at

Re: why does the HTML widget do not have a name attribute?

2011-10-23 Thread wahaha
if name wont help for css as you say,then what is the substitute for the id attribute in html? On Oct 21, 6:31 pm, Thomas Broyer t.bro...@gmail.com wrote: name won't help for CSS. Seehttp://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html#He... ui:style .myLabel { coor: red;}

Re: can we control what element will build in widget?

2011-10-23 Thread wahaha
anybody knows? On Oct 21, 2:19 pm, wahaha il...@yahoo.com.cn wrote: for example,the Label widget will be compiled as a div element in browser. can we control what kind of element will be compiled in browser? this is to say,if we are defining a widget,then can we control the element's kind by

Re: can we control what element will build in widget?

2011-10-23 Thread wahaha
i hava checkouted the source code of Label(and its super class),but i hava no clue. On Oct 24, 10:54 am, Gal Dolber gal.dol...@gmail.com wrote: You cannot change the element a widget uses internally. If you are looking for span implementations(instead of div) you can use: InlineLabel,