The Compiler is Compiling Only One Permutation
I am trying to compile all 5 permutation for my GWT App. For some reason it is only compiling 1. I've tried with the following line in my .gwt.xml and without the line. I'm using Eclipse Galileo with Eclipse Plugin 3.5 Thanks, Daniel -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New Website with a huge database using GWT
Hi gal, Thanks for that. Does anyone know some nice hosting service providers who would provide tomcat hosting? ~ Rahul On Fri, Sep 10, 2010 at 1:16 AM, Gal Dolber wrote: > I think that anything you can do in javascript, GWT can do it better... the > alternative is server-side-only.. but we all like ajax > > 2010/9/9 Rahul Vijay > >> Hi All, >> >> I am planning to start a new website where the consumer and the >> producer interact directly over the website. I am planning to use GWT >> for implementing this website. I will be making use of a significantly >> large MySQL database. Is GWT good enough for such kind of a website? >> And also what kind of hosting should I go in for if I am using tomcat >> as my application server? Can someone suggest some nice hosting >> websites where I can get sufficiently large / unlimited DB space at a >> very affordable price? >> >> Thanks, >> Rahul >> >> -- >> 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+unsubscr...@googlegroups.com >> . >> For more options, visit this group at >> http://groups.google.com/group/google-web-toolkit?hl=en. >> >> > > > -- > Guit: Elegant, beautiful, modular and *production ready* gwt applications. > > http://code.google.com/p/guit/ > > > > -- > 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+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Variable UI
What you are describing is very similar to worldofsolitaire.com. I suggest that you play around with it for a bit and use firebug to inspect how he does things in html. I believe he is using just one image for each card and letting the browser scale it. This way you only need one image for each card and you just let the browser handle the sizing. He is also doing some stuff that I have had difficulty getting to work in the past, but is a necessity with such an application. You need to be able to sense both when the browser resizes(easy) or when the layout is changed on the screen(more difficult as this requires you to set up your own eventing for whenever the size of anything changes and therefore becomes very heavy). I do however believe you will be able to get away with just one set of cards letting the browser resize it for you. Like I said in order to do so you will need to use the img tag, therefore ImageBundle is not a good solution because it creates an image with the background therefore not allowing for client side resizing. Firebug is your friend with GWT development, so if you aren't sure what the Java code is producing inspect it with firebug and make sure it's what you want. On Sep 9, 5:46 pm, pete wrote: > This one app is a card game, with approx. some hundred cards when > fully designed. So each card has a small image shown in the UI > (dragable, if possible 2 rows a 5 small cards independent of the > resolution) and on click shows a popup with the full image including > card description. Furthermore 5 small views of stacks to the left on > top of each other, which mainly consist of smaller versions of the > same cards. The popups from the small stacks are the same images in > different sizes once again... > > I created widgets for this card type, to take care of presenting the > small image with possibility to display the full one, etc. Furthermore > options to automatically scale the card to a certain height (by using > the setHeight() , setWidth() methods). It all works, once the browser > was refreshed. I also dynamically create the playfield, left an area > for card stacks, right side a play field with drag and drop support. > But even the play area is not proportioned correctly until refresh... > (I set 1/5 percentage of Window.getClientWidth() for the card stack > area) > > The caching of the images is right now to present each card image once > on the screen, cause I only know that way to cache the images in the > browser (since ImageBundle doesn't work for my case I guess...). So I > have a timer running switching through every possible card with a > certain speed low enough to show the cards on screen... > > So this all together is everything but satisfying... For the cards I > either need different resolutions on the server, so I can adjust to > the client window size, or I have to create them dynamically... > I want this to run on the GAE for now, so the more work the client > does, the better, right? (With respect to quotas) > > Anyway, I really appreciate your help :-) You're quite right that I > don't have much experience in web development ;-) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Adding Event Handlers on the body element...
Similarly you should probably also check the type. and you could emulate the normal handler style of the rest of the GWT architecture. Event.addNativePreviewHandler(new NativePreviewHandler() { @Override public void onPreviewNativeEvent(NativePreviewEvent event) { NativeEvent ne = event.getNativeEvent(); if (KeyDownEvent.getType().getName().equals(ne.getType())) System.out.println("Yipeee!"); } }); On Sep 9, 5:11 pm, Carlos Aguayo wrote: > You can try something like this: > > Event.addNativePreviewHandler(new NativePreviewHandler() { > @Override > public void onPreviewNativeEvent(NativePreviewEvent event) { > int KEY_F8 = 119; > if ("keyup".equals(event.getNativeEvent().getType()) && > event.getNativeEvent().getKeyCode() == KEY_F8) { > // do something onkeyup && f8 > } > } > }); > > On Aug 6, 8:45 pm, "seth.ho...@gmail.com" > wrote: > > > Hello, > > > I'm using GWT for 2 years now and i did many great things with it. > > However, i'm still looking for how to implements KeyboardHandlers on > > the BodyElement. > > The only way i found is writing something like this in the HTML file : > > > > onkeydown="returnkeyDown(event);" onkeyup="return keyUp(event);"> > > > And something like that in the EntryPoint > > > public void onModuleLoad() { > > // publish();} > > > private native final void publish() /*-{ > > $wnd["keyPress"] = function(event) { > > > > @webapp.client.Application::keyPress(Lcom/google/gwt/dom/client/ > > NativeEvent;)(event); > > } > > $wnd["keyUp"] = function(event) { > > > > @webapp.client.Application::keyUp(Lcom/google/gwt/dom/client/ > > NativeEvent;)(event); > > } > > $wnd["keyDown"] = function(event) { > > > > @webapp.client.Application::keyDown(Lcom/google/gwt/dom/client/ > > NativeEvent;)(event); > > } > > > }-*/; > > > But i'm really not satisfied with that solution. > > Any ideas please ? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to get HTTP Response headers?
Works fine for me: @Override public void onResponseReceived(Request request, Response response) { String toPop = ""; for (Header header:response.getHeaders()) toPop += header.getName() + ": " + header.getValue() + "\n"; Window.alert(toPop); } pops up: X-Powered-By: Servlet/3.0 Server: GlassFish Server Open Source Edition 3.0.1 Content-Type: application/json Transfer-Encoding: chunked Date: Thu, 09 Sep 2010 23:46:05 GMT On Sep 9, 5:07 pm, ussuri wrote: > Does the silence mean this is impossible? Or just very difficult? > > MG > > On Sep 8, 8:45 pm, ussuri wrote: > > > Hello! > > > I can't figure out how I can get HTTP Response header. In > > com.google.gwt.http.client.RequestCallback.onResponseReceived() method > > (a callback from RequestBuilder) there is a Response parameter that > > has getHeder() and getHeaders() methods, but these always return empty > > strings or nulls. > > > FireBug shows that the headers are there, but I can't get them in > > GWT... > > > THanks, > > MG -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Variable UI
This one app is a card game, with approx. some hundred cards when fully designed. So each card has a small image shown in the UI (dragable, if possible 2 rows a 5 small cards independent of the resolution) and on click shows a popup with the full image including card description. Furthermore 5 small views of stacks to the left on top of each other, which mainly consist of smaller versions of the same cards. The popups from the small stacks are the same images in different sizes once again... I created widgets for this card type, to take care of presenting the small image with possibility to display the full one, etc. Furthermore options to automatically scale the card to a certain height (by using the setHeight() , setWidth() methods). It all works, once the browser was refreshed. I also dynamically create the playfield, left an area for card stacks, right side a play field with drag and drop support. But even the play area is not proportioned correctly until refresh... (I set 1/5 percentage of Window.getClientWidth() for the card stack area) The caching of the images is right now to present each card image once on the screen, cause I only know that way to cache the images in the browser (since ImageBundle doesn't work for my case I guess...). So I have a timer running switching through every possible card with a certain speed low enough to show the cards on screen... So this all together is everything but satisfying... For the cards I either need different resolutions on the server, so I can adjust to the client window size, or I have to create them dynamically... I want this to run on the GAE for now, so the more work the client does, the better, right? (With respect to quotas) Anyway, I really appreciate your help :-) You're quite right that I don't have much experience in web development ;-) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Adding Event Handlers on the body element...
You can try something like this: Event.addNativePreviewHandler(new NativePreviewHandler() { @Override public void onPreviewNativeEvent(NativePreviewEvent event) { int KEY_F8 = 119; if ("keyup".equals(event.getNativeEvent().getType()) && event.getNativeEvent().getKeyCode() == KEY_F8) { // do something onkeyup && f8 } } }); On Aug 6, 8:45 pm, "seth.ho...@gmail.com" wrote: > Hello, > > I'm using GWT for 2 years now and i did many great things with it. > However, i'm still looking for how to implements KeyboardHandlers on > the BodyElement. > The only way i found is writing something like this in the HTML file : > > onkeyup="return keyUp(event);"> > > And something like that in the EntryPoint > > public void onModuleLoad() { > // publish();} > > private native final void publish() /*-{ > $wnd["keyPress"] = function(event) { > > @webapp.client.Application::keyPress(Lcom/google/gwt/dom/client/ > NativeEvent;)(event); > } > $wnd["keyUp"] = function(event) { > @webapp.client.Application::keyUp(Lcom/google/gwt/dom/client/ > NativeEvent;)(event); > } > $wnd["keyDown"] = function(event) { > > @webapp.client.Application::keyDown(Lcom/google/gwt/dom/client/ > NativeEvent;)(event); > } > > }-*/; > > But i'm really not satisfied with that solution. > Any ideas please ? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to get HTTP Response headers?
Does the silence mean this is impossible? Or just very difficult? MG On Sep 8, 8:45 pm, ussuri wrote: > Hello! > > I can't figure out how I can get HTTP Response header. In > com.google.gwt.http.client.RequestCallback.onResponseReceived() method > (a callback from RequestBuilder) there is a Response parameter that > has getHeder() and getHeaders() methods, but these always return empty > strings or nulls. > > FireBug shows that the headers are there, but I can't get them in > GWT... > > THanks, > MG -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Translating already compiled Java?
I have been battling this issue for a while and the solution really depends on your architecture. The question is are they truly POJOs or do they have JAXB annotations? If they have JAXB annotations GWT will blow up, if not you can trick the GWT compiler into letting you use an external library, but you will also need a jar with the source in the classpath of the GWT compile too. Lets assume the following package structure: POJOs: // you will need your ejb jar and a jar that contains the source, but the source is only needed for the ejb compilation(you might even be able to get away with just pointing to the src dir in the classpath of the compile) com.example.ejb.entity GWT: com.example.gwt EntryPointModule.gwt.xml // include com.example.ejb.PojoResourceModule com.example.ejb PojoResourceModule.gwt.xml // add this file to allow you to include the pojos as a module, this should have entity On Sep 8, 3:56 am, Gary Madden wrote: > Hello, > > Sorry if this is a silly question but I was wondering whether it's > possible to get the GWT compiler to translate already compiled Java > code into JavaScript? I know that you can specify Java source code to > translate using the elements in the XML module file. The > reason is, I have a JAR that is generated from a WSDL. My GWT web app > makes SOAP requests using this JAR. There is a problem in that I have > to write a lot of classes at the moment that basically replicate the > POJOs in the JAR just so they can be used in GWT. This may lead to > bugs where not all the fields are properly set from the SOAP objects. > In fact, I've already found and fixed quite a few bugs relating to > this. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Variable UI
I think you are making thins too complicated. What are you doing with so many images? Browsers can do client-side scaling of images for you if you use the tag (background image scaling is coming in CSS3). It seems like you are a thick client developer and don't have much experience with web development, am I correct. When doing textures and gradients for web development you usually make something that can be repeated. Also, if you can select a CSS3 compatible browser you can use gradients and rounded corners built in so you don't even need images for those. If you must do image generation real time some cool stuff has come out with SVG lately(http:// raphaeljs.com/). Dealing with an HTML UI is a much different mindset from thick clients. In thick clients you have to tell it exactly what to do, in HTML you describe what you want it to do and it will handle the layout and such real time. So I guess for more targeted help please describe what the purpose of the majority of your images are and why you believe you need to generate them real time on the server. On Sep 9, 9:13 am, pete wrote: > Hmm, I guess I was stupid, I should just use a service to dynamically > create images of the right size on the server-side and flush them to > the client, then I have variable resizing and can use 100% size in the > browser, right? (sorry, I'm not too experienced in programming web- > apps) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
JSNI Reserved Word ?
Hello People, i trying to call the export Method from a library through JSNI like follow public final native String export(String type) -{ return this.export(type); }-;*/ but i m getting an error " missing name after . operator". is the export word reserved in JSNI ? Greets E -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to use external JS from GWT?
> In your example, where and how do you include the jQuery UI datepicker > widget? I defined them in the HTML file containing my GWT code. Just a simple JavaScript reference the same way I would in any other HTML page. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Development Mode UI - Not Updating Startup URL
Hi, I have created two GWT projects in Eclipse using the GWT Eclipse and m2eclipse plugins. For each I have a run configuration set up that does mvn clean compile gwt:run which starts up the GWT Development Mode UI. The "Startup URL" in the UI for both applications is the same, which happens to be for the first project I created. It appears the URL is being cached somewhere and I don't know how to clear it. Any thoughts? 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to use an obfuscated css selector in a css file in a depending project
I've asked this on Stack Overflow, but noone seems to know: http://stackoverflow.com/questions/3612146/use-obfusticated-css-name-from-clientbundle-in-down-stream-css I've got a library with some CSS, and a depending project that expands on the CSS. I'm trying to move both of them to ClientBundle. Currently, library.css is: .smallWindow { min-width: 10px; outline: none; } And depProject.css is: .sectionA .smallWindow { color: blue; } I moved library.css and depProject.css into ClientBundles (LibraryBundle and DepProjectBundle) in their respective projects, but had to mark smallWindow as external in both. Is there a way to link smallWindow in depProject.css to smallWindow in library.css and still have smallWindow be obfusticated? I'm hoping that instead of marking @external .smallWindow I could leave it alone in library.css, and put something like @replaceWithObfusticated smallWindow DepProjectBundle.css.smallWindow at the top of depProject.css -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT RPC offline caching
Thanks for your hints, guys. Here is my solution: -- OfflineRequestCallback: used to get serialized response and handle it appropriately. public class OfflineRequestCallback implements RequestCallback { // This String we can save in localStorage. private static String serializedResponse; private RequestCallback callback; public OfflineRequestCallback(RequestCallback callback) { this.callback = callback; } @Override public void onResponseReceived(Request request, Response response) { if (response.getStatusCode() == 200) { serializedResponse = response.getText(); callback.onResponseReceived(request, response); } else { callback.onResponseReceived(request, getOldResponse()); } } @Override public void onError(Request request, Throwable exception) { callback.onResponseReceived(request, getOldResponse()); } private Response getOldResponse() { return new Response() { @Override public String getText() { return serializedResponse; } @Override public String getStatusText() { return null; } @Override public int getStatusCode() { return 200; } @Override public String getHeadersAsString() { return null; } @Override public Header[] getHeaders() { return null; } @Override public String getHeader(String header) { return null; } }; } } -- OfflineRequestBuilder: uses OfflineRequestCallback as a wrapper class. public class OfflineRequestBuilder extends RequestBuilder { public OfflineRequestBuilder(Method httpMethod, String url) { super(httpMethod, url); } @Override public Request send() throws RequestException { String requestData = super.getRequestData(); OfflineRequestCallback requestCallbackWrapper = new OfflineRequestCallback( super.getCallback()); return super.sendRequest(requestData, requestCallbackWrapper); } } -- Client code: ... private final TestServiceAsync testService = GWT.create(TestService.class); public void onModuleLoad() { ... RpcRequestBuilder builder = new RpcRequestBuilder() { @Override protected RequestBuilder doCreate(String serviceEntryPoint) { return new OfflineRequestBuilder(RequestBuilder.POST, ((ServiceDefTarget) testService).getServiceEntryPoint()); } }; ((ServiceDefTarget) testService).setRpcRequestBuilder(builder); ... // RPC call testService.serviceFunction(param, callback); } Regards, Alex -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to use external JS from GWT?
Thanks Zack ;) In your example, where and how do you include the jQuery UI datepicker widget? (I tried in UiBinder .ui.xml files, but didn't work for me with ) Marius On Sep 9, 2:53 pm, Zack Grossbart wrote: > You are having a timing problem that is common for GWT. Consider how > this would work in pure JavaScript. > > 1. The page loads > 2. The external JavaScript files load > 3. The page renders > 4. Your JavaScript code is called and you make your field > alphanumeric. > > With GWT the order of operations changes. This is because GWT has a > bootstrap mechanism they use to load the correct GWT files based on > your browser and language. In GWT the order looks like this: > > 1. The page loads > 2. The external JavaScript files load > 3. The page renders > 4. Your JavaScript code is called > 5. GWT JavaScript loads the new HTML page with your JavaScript code > 6. GWT calls your onModuleLoad method > 7. GWT add the HTML controls to the DOM > > In your example you are trying to access DOM elements in step six, but > they aren't available until step seven. I had a similar problem when > I wanted to use the JQuery date picker on a GWT text box. The > solution is the onAttach method in > com.google.gwt.user.client.ui.Widget. > > My class looks like this: > > public class DatePickerTextBox extends TextBox > { > public DatePickerTextBox(String id) > { > super(); > getElement().setId(id); > } > > public void onAttach() > { > super.onAttach(); > addDatePickerJS(getElement().getId()); > } > > private static native void addDatePickerJS(String id) /*-{ > $wnd.$('#' + id).datepicker(); > }-*/; > > } > > In this case I require the field to have an ID so I can use JQuery to > find it. I then wait until the attach happens because I call my > JQuery function. Now my order of operations looks like this: > > 6. GWT calls your onModuleLoad method > 7. GWT add the HTML controls to the DOM > 8. GWT calls the onAttach method and I call my JavaScript function > > It is also worth noting that this pattern creates a reusable widget > that internalizes all of the JavaScript. Code using this widget has > no idea that it is using JavaScript and I could easy replace the > implementation without breaking the contract of the control. > > I hope this helps, > Zack -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: New Website with a huge database using GWT
I think that anything you can do in javascript, GWT can do it better... the alternative is server-side-only.. but we all like ajax 2010/9/9 Rahul Vijay > Hi All, > > I am planning to start a new website where the consumer and the > producer interact directly over the website. I am planning to use GWT > for implementing this website. I will be making use of a significantly > large MySQL database. Is GWT good enough for such kind of a website? > And also what kind of hosting should I go in for if I am using tomcat > as my application server? Can someone suggest some nice hosting > websites where I can get sufficiently large / unlimited DB space at a > very affordable price? > > Thanks, > Rahul > > -- > 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+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Guit: Elegant, beautiful, modular and *production ready* gwt applications. http://code.google.com/p/guit/ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE 7 bug? LayoutPanels cease resizing after first time displayed
Indeed, I am doing a container.clear() then container.add(panel). I will try to hide and show instead. Thanks! On Sep 9, 1:53 pm, Paul Smith wrote: > When you navigate between the screens are you removing the prior > panel? If so then you're probably encountering a bug that I > found:http://code.google.com/p/google-web-toolkit/issues/detail?id=5245 > > You could workaround it by hiding the previous panel instead of > removing it. Or you can call forcelayout recursively... > > On Sep 8, 3:42 pm, mjeffw wrote: > > > > > I have an application that contains two screens, both of which are > > using DockLayoutPanel as their outermost container. > > > The app is using Standards mode, and I am adding the panels to the > > RootLayoutPanel with code that looks like this: > > > // container is my RootLayoutPanel > > container.clear(); > > container.add(dockLayoutPanel); > > > dockLayoutPanel is an instance of a Composite created via the > > UIBinder; it's topmost element is a DockLayoutPanel: > > > > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > > > > > > ... (remainder elided) > > > Both screens are defined in this same way, but with different > > contents. > > > I am also using History to manage navigation between the two screens. > > > When the user starts the app, the first screen appears and correctly > > resizes with the browser window. Then the user click a button that > > leads him to the second page. At this point, that screen is also > > resizing properly. > > > Then the user goes back to the first screen using the browser back > > button. The screen comes up but no longer resizes with the browser > > window. If the user then navigates back to the second screen, it too > > is no longer resizing properly. > > > To reproduce this error, I am using IE 7. > > > If I use Safari or Chrome, it seems to work fine. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Newbie:: devmode (same origin policy) with PHP REST backend
Are you familiar with the "-noserver" option? Check it out http://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s On Thu, Sep 9, 2010 at 11:00 AM, Ketan Shah wrote: > Hi All, > > I am in process of exploring GWT as a potential candidate for my REST > based API developed in PHP (served via nginx and php-fpm). The devmode > startsup gwt server at port while I have my backend at port > 8080. I am trying to use RequestBuilder but I dont want to use *jsonp* > since I dont intend to open up my API as of now (fyi .. I tried with > jsonp by having a callback argument in the url - didnt work, got a > blank response). Obviously I am running into 'same origin policy'. I > know once I deploy the GWT app in production I would not run into > 'same origin policy' . > > Is there any robust solution for achieving this? Any help on this > would be appreciated. > > Thanks, > -Ketan. > > -- > 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+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT and Spring - More Generation Options
In case you missed it, the replay of last week's "MyEclipse for Spring 8.6: Generate GWT and Flex Apps in Minutes" webinar is now available at http://bit.ly/avsZEj Thanks, Christiana On Aug 26, 3:03 pm, Christiana Thompson wrote: > Formoreinformation on this topic, please join us for a free webinar > on Tuesday, August 31, 2010 at 11:00 AM – 12:00 PM CDT > > This webinar deep dives into the new Google Web Toolkit (GWT) > scaffoldingoptionsthat are available in MyEclipse for Spring 8.6. > We’ll cover the following: > > -- How does it work? See how to quickly generate working GWT > applications from existing DB tables, Java Beans and JPA entities in a > matter of minutes. > -- What gets generated? One of the biggest learning curves is > understanding what gets generated – we’ll do a deep dive into the > generated artifacts to help users understand what exactly comes out of > MyEclipse for Spring. > -- How does it compare to other GWT/Flex scaffolding technologies? > > Register athttps://www2.gotomeeting.com/register/691323002 > > Attend this webinar if you want to see how MyEclipse for Spring (ME4S) > is delivering unprecedented Rich Internet Application scaffoldingoptionsto > the Spring Community. > > For developers who are new to GWT, MyEclipse for Spring 8.6 allows > them to quickly create their own contextual examples that they can > then reference while getting up to speed on the new technology. > Meanwhile, developers who are GWT experts can stop worrying about the > boilerplate code, and let MyEclipse for Spring take care of all the > mundane, repetitive tasks. > > All webinar registrants will receive a 30 percent discount off of > MyEclipse for Spring – just for registering. > Visithttps://www2.gotomeeting.com/register/691323002to register and get > your coupon code today. > > On Aug 11, 1:56 pm, Jack wrote: > > > > > MyEclipse For Spring (ME4S) 8.6 is now generally available with > > support for GWT front endgenerationas well as Spring back endgeneration. > > > We also posted an article on DZone > > here:http://java.dzone.com/articles/generating-enterprise-class > > You can download the software and getmoreinformation > > here:http://www.myeclipseide.com/me4s/ > > > We are anxious to get feedback from the GWT community so please let us > > know what you think. > > > Thanks, > > Jack > > > On Jul 12, 3:38 pm, Jack wrote: > > > > Hello Stefan, > > > > Thanks for the question. > > > > First let me say that I am a fan of the work that is being done by the > > > Roo and GWT teams. Our goal in releasing additional generative > > > tooling forSpringhas always been to give developers additional > > >optionsand capabilities that largely complement the freeoptions > > > available from SpringSource. > > > > We have a page that highlights some of the key differences in approach > > > between Roo > > > andMyEclipseforSpringhere:http://www.myeclipseide.com/me4s/faqs/faqs_tool_comparison.php > > > > Specific to GWT, the most important difference for developers to > > > consider is the GWT version. ME4S supports GWT 2.0.x which is the > > > current GA version and is based on the best practices presentation > > > from Ray Ryan at Google I/O 2009. You can find that presentation > > > here:http://www.youtube.com/watch?v=PDuhR18-EdM > > > > The Roo integration for GWT is targeted at GWT 2.1 which looks to be a > > > great set of additions to GWT, however it is still a work in progress. > > > Most of the low level variances in the code that is generated reflect > > > the difference in GWT version supported. > > > > Another difference is that ME4S generates code that does not use > > > separate aspect files or design time annotations . Our goal is to > > > generate reusable software components from your existing technology > > > assets like RDBMS tables, WSDL Documents, POJO's or Entities as > > > quickly as possible giving youoptionsas to which project, source > > > folder, and package you would like the generated code to go into. > > > > You can review videos of the GWT and other scaffoldingoptionsfrom > > > ME4S in action here:http://www.youtube.com/user/myeclipseforspring > > > > Finally, we have an option to let you generate JUST the GWT front end > > > and Service stub without requiring the use of any specific back end > > > implementation includingSpring. > > > > ME4S can start from your existing Java code, WSDL, or RDBMS definition > > > and generate reusable GWT front end components that are tied to your > > > data model and which follow a strong MVP / Command pattern. These > > > components can be mixed and matched together to buildmorecomplicated > > > downstream applications that go beyond CRUD. The Remote Services are > > > stubbed out to allow you to integrate with the server side technology > > > of your choice, or you can accept the defaults and let ME4S build out > > > a layered CRUD backend that includes JPA Entities, DAO’s, and Services > > > all wired up usingSpring. > > > > I hope th
looking for GUI
Really hoping for a GWT GUI interface soon. Any ideas on timeline. Starting a big project, and would like to plan... -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT Newbie:: devmode (same origin policy) with PHP REST backend
Hi All, I am in process of exploring GWT as a potential candidate for my REST based API developed in PHP (served via nginx and php-fpm). The devmode startsup gwt server at port while I have my backend at port 8080. I am trying to use RequestBuilder but I dont want to use *jsonp* since I dont intend to open up my API as of now (fyi .. I tried with jsonp by having a callback argument in the url - didnt work, got a blank response). Obviously I am running into 'same origin policy'. I know once I deploy the GWT app in production I would not run into 'same origin policy' . Is there any robust solution for achieving this? Any help on this would be appreciated. Thanks, -Ketan. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No GWT support found for this system.
OS: MacOS 10.6.4 Eclipse: Eclipse IDE for SOA Developers Version: Helios Release Build id: 20100617-1415 GWT: 2.0.4 I get the following error when attempting to open with windowbuilder editor: No GWT Support found for this system The product can't find support for the OS, OS architecture or windowing system you're using. Please check the prerequisites and if your system matches it, try to re-install product. I've tried reinstallingany ideas? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to use external JS from GWT?
You are having a timing problem that is common for GWT. Consider how this would work in pure JavaScript. 1. The page loads 2. The external JavaScript files load 3. The page renders 4. Your JavaScript code is called and you make your field alphanumeric. With GWT the order of operations changes. This is because GWT has a bootstrap mechanism they use to load the correct GWT files based on your browser and language. In GWT the order looks like this: 1. The page loads 2. The external JavaScript files load 3. The page renders 4. Your JavaScript code is called 5. GWT JavaScript loads the new HTML page with your JavaScript code 6. GWT calls your onModuleLoad method 7. GWT add the HTML controls to the DOM In your example you are trying to access DOM elements in step six, but they aren't available until step seven. I had a similar problem when I wanted to use the JQuery date picker on a GWT text box. The solution is the onAttach method in com.google.gwt.user.client.ui.Widget. My class looks like this: public class DatePickerTextBox extends TextBox { public DatePickerTextBox(String id) { super(); getElement().setId(id); } public void onAttach() { super.onAttach(); addDatePickerJS(getElement().getId()); } private static native void addDatePickerJS(String id) /*-{ $wnd.$('#' + id).datepicker(); }-*/; } In this case I require the field to have an ID so I can use JQuery to find it. I then wait until the attach happens because I call my JQuery function. Now my order of operations looks like this: 6. GWT calls your onModuleLoad method 7. GWT add the HTML controls to the DOM 8. GWT calls the onAttach method and I call my JavaScript function It is also worth noting that this pattern creates a reusable widget that internalizes all of the JavaScript. Code using this widget has no idea that it is using JavaScript and I could easy replace the implementation without breaking the contract of the control. I hope this helps, Zack -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to use non standard CSS selectors in a CSSResource
Hello, I am trying to use styles for the scrollbars in webkit. The CSS selectors are looking like this: ::-webkit-scrollbar-corner ::-webkit-scrollbar-track-piece:disabled and so on. When I use those in a ClientBundle as a CSSResource, the compiler is complaining about those selectors. This results in warnings during compile time, not errors. But those styles aren't being applied. I tried to escape the colons, dashes etc. without luck. The literal function doesn't apply here either as it is only used in combination with values, not selectors. I also used the @external annotation to avoid obfuscation of the selectors. Nothing seems to work. Has anyone an idea how to get those styles into my ClientBundle? Greetings, Matthias -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Get regular update for long running servlet call.
Hello, We have a SmartGWT application, Few Servlet calls in the application can take around couple of minutes or some times even longer to complete. We need to show the client the progress that is geing made, this is not a progress tool bar but Information logging for e.g. Connection extablished Getting data for User Getting data for User Auth . . . Can some forward me to any article or send me any tips to implement this. In summary, This should allow my GWT to call the Servlet to do an action. This action will take long time. Then this servlet or another servlet must be called every 10 secs to get an update. Those updates must be displayed to the client using SmartGWT/GWT widget. Any help is appreciated. Jatin Bhadra -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
how can make the GWT richtextarea auto scroll
i use the GWT richtextarea and i want it to auto scroll to the end every time i add some text or pic ,how can i make it? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
New Website with a huge database using GWT
Hi All, I am planning to start a new website where the consumer and the producer interact directly over the website. I am planning to use GWT for implementing this website. I will be making use of a significantly large MySQL database. Is GWT good enough for such kind of a website? And also what kind of hosting should I go in for if I am using tomcat as my application server? Can someone suggest some nice hosting websites where I can get sufficiently large / unlimited DB space at a very affordable price? Thanks, Rahul -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: dumb / dto domain model
Our model got all the rules for showing elements or not. So a ui element is observing these changes in the model. This is done so we can always validate our model (also on sever) to see if all the needed and calculated values are there. How to solve that in MVP? Will the model than put his changed values/ properties on the bus? I'm thinking in a way to make bindings between domain and view. These binding are than converting and syntax checking the values from the ui elements to the 'typed' data in the model. Is this a good way to go, or do you strongly advise to go another way? I don't want to program my business (showing/not showing fields etc) in the presenter for the ui logic and on the server for model validating. Twice. Regards, Jeroen Wolff On Aug 25, 10:46 pm, John Ivens wrote: > Won't the event bus and presenters solve this problem for you? The > Model-View-Presenter paradigm? > > On Wed, Aug 25, 2010 at 11:51 AM, Jeroen Wolff wrote: > > > > > Hi, where are in the middle of designing a big app with a lot off > > difficult forms. > > On these forms there will be a lot of questions and based on the > > results more questions. Also lot of field validation. > > The current app is a standalone app and the domain model is a big tree > > with the Observable patterns (property change) > > If a user is changing a field a lot of other data will than be > > trigger to change also. > > > Now we want to port is to a web based application, and because with > > GWT we can write the same model and produce client side > > the same domain as in the old stand alone app. But.in Ray Ryan's > > talk about architecting GWT apps for production he said: > > > "When you are in a web app, we've encouraged you to make your model, > > you're so-called model a very simple object. > > We don't really think that JavaBeans with property change events and > > that kind of thing work terribly well. > > We encourage you instead to use more of a DTO for your model portion. > > The odds are that the object that embodies the things that the > > users are thinking about is a dumb little bag of properties." > > > Can somebody explain to me why it is not done? Why only DTO's at the > > client side? > > The business model lives on the server only than? How can i know and > > where do i specify what the next step or question or validation is > > when the user change a value is a form? > > > It would be great to get some help on this design issue. > > > Regard, > > > Jeroen > > > -- > > 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+unsubscr...@googlegroups.com > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: IE 7 bug? LayoutPanels cease resizing after first time displayed
When you navigate between the screens are you removing the prior panel? If so then you're probably encountering a bug that I found: http://code.google.com/p/google-web-toolkit/issues/detail?id=5245 You could workaround it by hiding the previous panel instead of removing it. Or you can call forcelayout recursively... On Sep 8, 3:42 pm, mjeffw wrote: > I have an application that contains two screens, both of which are > using DockLayoutPanel as their outermost container. > > The app is using Standards mode, and I am adding the panels to the > RootLayoutPanel with code that looks like this: > > // container is my RootLayoutPanel > container.clear(); > container.add(dockLayoutPanel); > > dockLayoutPanel is an instance of a Composite created via the > UIBinder; it's topmost element is a DockLayoutPanel: > > xmlns:g="urn:import:com.google.gwt.user.client.ui"> > > > > > ... (remainder elided) > > Both screens are defined in this same way, but with different > contents. > > I am also using History to manage navigation between the two screens. > > When the user starts the app, the first screen appears and correctly > resizes with the browser window. Then the user click a button that > leads him to the second page. At this point, that screen is also > resizing properly. > > Then the user goes back to the first screen using the browser back > button. The screen comes up but no longer resizes with the browser > window. If the user then navigates back to the second screen, it too > is no longer resizing properly. > > To reproduce this error, I am using IE 7. > > If I use Safari or Chrome, it seems to work fine. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt and nokia phones
I think the reason this is happening is that Nokia's browser is not supported in GWT. What's probably happening is the initial selector script which picks the appropriate .cache.js/html based on the user agent of the browser doesn't understand Nokia's user agent and therefore doesn't know which implementation to pull down. Furthermore, I'm pretty sure that the Nokia browser has very limited support for Javascript. -- Arthur Kalmenson On Sat, Sep 4, 2010 at 2:12 AM, ben fenster wrote: > ??? > > On 3 ספטמבר, 13:38, ben fenster wrote: >> i wrote a gwt app and it runs on all major desktop browsers and even >> on the iphone >> but it wont run on any nokia phones in nokia phone i see a white empty >> screen > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
UIBinder and event model
Hello, When using UIBinder to tie a piece of html to your widget or panel, the elements you get will not be connected to the event model right? So how could I achieve this? If i have a uibinder file looking something like this: Search --- And i want to connect a keypressevent to the tag there, how can I listen to this? Or "force" gwt compiler to add the event handling mechanisms to the Input tag? If not using UIBinder and extending a FocusWidget for instance it works just like I want it to when using the binder. Regards /David -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Wave in a Box
On Sep 9, 5:19 pm, Stefan Bachert wrote: > Google will make a subset of Google Wave as "Wave in a Box" open > source. > > Does anyone have seen any source code yet? > > Analyzing the current Wave code looks like Wave consists of a total > own but not GWT core widget set. > Does some one know more? http://code.google.com/p/wave-protocol/ ? The blip editor is already there. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Any news on when super dev mode will be released?
On Sep 9, 6:06 pm, Paul Stockley wrote: > Thanks, If I have time to build trunk I will give it a go. Will the > profiling option be in the > next milestone release of 2.1? It's already working in 2.1M3, but it'll give you more info in the next milestone -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Any news on when super dev mode will be released?
Yes, the profiling will be in the next release. On Thu, Sep 9, 2010 at 12:06 PM, Paul Stockley wrote: > Thanks, If I have time to build trunk I will give it a go. Will the > profiling option be in the > next milestone release of 2.1? > > On Sep 8, 6:21 pm, Chris Conroy wrote: > > P.S. that flag needs to get passed in the JVM arguments. Also note you'll > > need to enable local file access for SpeedTracer in the > chrome://extensions > > page. > > > > > > > > > > > > On Wed, Sep 8, 2010 at 6:20 PM, Chris Conroy wrote: > > > Paul, > > > > > We're actively working on it. Note that 'super dev mode' isn't quite in > > > existence yet, it's more of a goal than a concrete thing at the moment. > > > Though there was a short lived branch with that name--most of those > > > particular changes have already gone in. > > > > > If you like, you can profile DevMode by running GWT from trunk and > passing > > > -Dgwt.speedtracerlog="/path/to/myproject-st.html" which will cause > DevMode > > > to output a SpeedTracer log to that file. You can then use the Chrome > > > Extension SpeedTracer to inspect the generated log to see where DevMode > is > > > spending time for your app. If you'd like to share, you can feel free > to > > > post screenshots of the SpeedTracer detail view for your Module Init. > > > > > On Tue, Sep 7, 2010 at 5:26 PM, Paul Stockley >wrote: > > > > >> Speeding up reloads would very much be appreciated. > > > > >> -- > > >> 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+unsubscr...@googlegroups.com cr...@googlegroups.com> > > >> . > > >> For more options, visit this group at > > >>http://groups.google.com/group/google-web-toolkit?hl=en. > > > > > -- > > > Chris Conroy > > > Software Engineer > > > Google, Atlanta > > > > -- > > Chris Conroy > > Software Engineer > > Google, Atlanta > > -- > 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+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Chris Conroy Software Engineer Google, Atlanta -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Any news on when super dev mode will be released?
Thanks, If I have time to build trunk I will give it a go. Will the profiling option be in the next milestone release of 2.1? On Sep 8, 6:21 pm, Chris Conroy wrote: > P.S. that flag needs to get passed in the JVM arguments. Also note you'll > need to enable local file access for SpeedTracer in the chrome://extensions > page. > > > > > > On Wed, Sep 8, 2010 at 6:20 PM, Chris Conroy wrote: > > Paul, > > > We're actively working on it. Note that 'super dev mode' isn't quite in > > existence yet, it's more of a goal than a concrete thing at the moment. > > Though there was a short lived branch with that name--most of those > > particular changes have already gone in. > > > If you like, you can profile DevMode by running GWT from trunk and passing > > -Dgwt.speedtracerlog="/path/to/myproject-st.html" which will cause DevMode > > to output a SpeedTracer log to that file. You can then use the Chrome > > Extension SpeedTracer to inspect the generated log to see where DevMode is > > spending time for your app. If you'd like to share, you can feel free to > > post screenshots of the SpeedTracer detail view for your Module Init. > > > On Tue, Sep 7, 2010 at 5:26 PM, Paul Stockley wrote: > > >> Speeding up reloads would very much be appreciated. > > >> -- > >> 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+unsubscr...@googlegroups.com >> cr...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > Chris Conroy > > Software Engineer > > Google, Atlanta > > -- > Chris Conroy > Software Engineer > Google, Atlanta -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
LightweightMetrics - network transport measurement?
Hey all, I'm looking at what the LightweightMetrics can supply (opposed to hand- rolling your own), but it is not clear to me if it handles metrics on both the client and the server side to capture network latency issues (or, to be more general, network transport time) inbetween the client and the server. client request sent: 1234567890 -->network latency:200ms server receive request: 1234568090 (+/- client/server time offsets) server sending response: 1234568140 (+/- client/server time offsets) -->network latency:200ms client receive response: 1234568340 Is this something that I (more than likely) just do not understand about the current LightweightMetrics, or is this out of scope or something someone else may have solved with a different approach/ library? usecase: if you have optimized server and client code as much as possible, but someone is using dial-up or mobile network connection, want to be able to identify and record when that occurs. thanks! -D -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Adding to and clearing LayoutPanels
Hi, I am using a DockLayoutPanel with uibinder to structure my app. In the of the DockLayoutPanel I have put a LayoutPanel, with ui:field="myLayoutPanel". My intention is to clear this panel and replace the view like so: myLayoutPanel.clear(); myLayoutPanel.add(MySplitLayoutPanel); ... elsewhere ... myLayoutPanel.clear(); myLayoutPanel.add(MyOtherSplitLayoutPanel); etc. Is this the correct strategy for this? It seems that when I load the MyOtherSplitLayoutPanel, the previous one does not disappear from the UI and the new one is overlaid on top of it. Thanks! Maurice -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Wave in a Box
Google will make a subset of Google Wave as "Wave in a Box" open source. Does anyone have seen any source code yet? Analyzing the current Wave code looks like Wave consists of a total own but not GWT core widget set. Does some one know more? Stefan Bachert http://gwtworld.de -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Variable UI
Hmm, I guess I was stupid, I should just use a service to dynamically create images of the right size on the server-side and flush them to the client, then I have variable resizing and can use 100% size in the browser, right? (sorry, I'm not too experienced in programming web- apps) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: UiBinder: ClientBundle with ImageResource & . How?
Hi Marius, Thanks for your help again. and are very different. I'm still lost on this one, but thanks for chipping in :) On Thu, Sep 9, 2010 at 7:04 AM, marius.andreiana wrote: > On Sep 8, 5:17 pm, Andrew Hughes wrote: > > But when MyView and MyResources are in different packages, > > resource="{res.loading}" never works. Is this expected and does it work > for > > you? > It does work here > > http://code.google.com/p/puzzlebazar/source/browse/src/com/puzzlebazar/client/core/view/SplitMainView.ui.xml > (see > -- > 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+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Variable UI
So you're suggesting, I should have every image ready for every possible resolution? It is just that I have a lot of images, it would be really nice to keep all the values in percentage inside of my app and scale whatever I need accordingly. At least I would consider that more elegant, it's a shame, that there is so much problem with that :- ( (Especially cause in one app I may as well have like 200-300 images each of ~100Kb, and it would be very desirable to have each of those one time, in a sufficient resolution, and scale, instead of having different resolution copies and by that getting over 1000 images...) If there is really no way to solve that with momentary technology (this app is a private project where I give a rat's ass if it's compatible with IE, Firefox is fine ;-) then I surely hope that browser's and html will soon do a step forward to be more application style compatible... Anyway, thanks for your reply though :-) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
RE: Translating already compiled Java?
You can automatically generate POJO classes from the same WSDL. Why are you doing this manually? In my GWT app I used SUN jax rpc for that http://java.sun.com/webservices/jaxrpc/overview.html Let me know if you need more info -Sergey -Original Message- From: google-web-toolkit@googlegroups.com [mailto:google-web-tool...@googlegroups.com] On Behalf Of Gary Madden Sent: Wednesday, September 08, 2010 5:56 AM To: Google Web Toolkit Subject: Translating already compiled Java? Hello, Sorry if this is a silly question but I was wondering whether it's possible to get the GWT compiler to translate already compiled Java code into JavaScript? I know that you can specify Java source code to translate using the elements in the XML module file. The reason is, I have a JAR that is generated from a WSDL. My GWT web app makes SOAP requests using this JAR. There is a problem in that I have to write a lot of classes at the moment that basically replicate the POJOs in the JAR just so they can be used in GWT. This may lead to bugs where not all the fields are properly set from the SOAP objects. In fact, I've already found and fixed quite a few bugs relating to this. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. _ This electronic message and any files transmitted with it contains information from iDirect, which may be privileged, proprietary and/or confidential. It is intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please delete it and immediately notify the sender. _ -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problem when server is ofline
I'm ruing appliaction on windows 7. I'm connected to network using cable and everything is fine, but when i unplug cable(and lose connection to net) application doesn't work. If I deploy some other applications that are developed for example using Spring MVC or Wicket... applications are behave normal. I get error for every RPC call.. "IOW, set up Tomcat on your system, disconnect it from the net, adn see if you can still access the Tomcat web page via a web browser on your computer." this is working. On Sep 8, 6:06 pm, Greg Dougherty wrote: > What OS are you running? Does it completely turn off TCP/IP when you > don't have a net connection? > > IOW, set up Tomcat on your system, disconnect it from the net, adn see > if you can still access the Tomcat web page via a web browser on your > computer. > > If you can't see anything on Tomcat, the problem is your OS. If you > just can't see your app, then the problem is with your app. > > Greg > > On Sep 8, 8:18 am, Vesin Dusko wrote: > > > > > Hi. > > > For past 2 years i develop applications using GWT and recently I face > > with new problem to me. > > > Application that i create is for demo purpose, so i want to have > > application on my laptop deployed on tomcat, and to access to it from > > web browser that is on that machine. So i access it with > > localhost. > > > When i do that everything is fine until i have internet connection, > > but when my computer is offline(unplugged from network) i cant access > > to application... > > > Do you have any clue what is happening? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Client side serialization and deserialization of GWT objects
RPC serialization is not symetric, so you wil lnot be able to serialize/deserialize objects on the client side using this mechanism. We achieved just what you describe by creating a JSON serializer/deserializer on the client side. I'm sorry that I'm not allowed to shar e this code. :-/, but I know some pretty good opsen source JSON serializers are under development. regards, Etienne 2010/9/9 bconoly : > Hey All, > I need to create an EventBus implementation that will serialize > and deserialize event data objects solely on the client side to allow > for event sharing between mulitple GWT modules on a single page. Does > anyone know of an easy way for me to do that or possibly an example or > implementation that has already been done? > Thanks in advance > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Client side serialization and deserialization of GWT objects
Hey All, I need to create an EventBus implementation that will serialize and deserialize event data objects solely on the client side to allow for event sharing between mulitple GWT modules on a single page. Does anyone know of an easy way for me to do that or possibly an example or implementation that has already been done? Thanks in advance -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT war file inside a EAR file
Hi folks! So, i finally get it working! I reviewed my ear packaging and realized there wasn't a lib folder with dependences jars. All my jars was scattered inside the ear. Sooo i created the lib folder and packaged all my libs, including gwt-servlet.jar, what definitely made the difference. I really appreciate your help. Thank you very much!!! 2010/9/8 Jatin Bhadra > > Can you check the jars that you have packaged in the WEB-INF/lib. > Please check if there any j2ee.jar or servlet.jar in your EAR package > > Jatin Bhadra > www.apartech.co.uk > > > > > On Sep 8, 1:51 pm, Marcelo Balloni wrote: > > At the moment i'm not packaging anything else besides the gwt war file > and > > and related jars. > > Just a test to proceed and move on with ear package. > > > > For now i'm without new ideas, desperate i would say hahaha > > > > I'm try now, but i'm running out of alternatives. > > > > Thank you very much! > > > > 2010/9/8 jocke eriksson > > > > > Well I hardly think this is GWT related. You should seek advice from > your > > > EJB server support, FAQ or mailing list. > > > > > 2010/9/8 Marcelo Balloni > > > > >> I made a thousand testes and nothing is working here =/ > > >> As an war file it works pretty fine, but i really need a ear package > =/ > > > > >> Any sugestions please? > > > > >> Thank you!! > > > > >> 2010/9/6 Marcelo Balloni > > > > >> Bad news. > > > > >>> Still no working. > > > > >>> I created the weblogic-application.xml descriptor file and it is > still > > >>> not working =/ > > > > >>> I got the following error: > > >>> An error occurred during activation of changes, please see the log > for > > >>> details. > > >>> weblogic.application.ModuleException: > > >>> com/c/w/server/MyServiceImpl : > > >>> com/google/gwt/user/server/rpc/RemoteServiceServlet > > > > >>> Any idea? If i package like a simple war file it works pretty fine. > > > > >>> Thank you! > > > > >>> 2010/9/5 KevMo > > > > >>> I've successfully created an EAR with GWT and glassfish, it wasn't > too > > difficult. I used gilead with hibernate for persistence. The only > > trick was getting GWT to compile, as my entities are in the EJB, and > > GWT was in the WAR. I simply made sure the .java files we available > > to the WAR. I can provide a sample project if needed. > > > > Cheers, > > Kevin > > > > On Sep 4, 5:51 pm, Marcelo Balloni > wrote: > > > Hi Mariano, > > > > > Thank you very much. > > > > > I Already have an application.xml descriptor with exactly all > proper > > > configurations. > > > > > What i don't have is a weblogic-application.xml descriptor, but > i'll > > try it > > > no later than monday. > > > > > But i must ask, what if i try to deploy on glassfish or jboss per > > example > > > (real situation here)? do i need some particular descriptor to? > > > > > Actually i haven't tested deploying it on glassfish before, gonna > do > > that. > > > > > One more time thank you very much. > > > > > 2010/9/4 Mariano > > > > > > Hi Marcelo, > > > > > > Some weeks ago I've implemented exactly what you are trying > (putting > > > > the WAR inside an EAR file and deploying it into a Weblogic > server). > > > > > > Doing it it was pretty straightforward in my case, I didn't need > any > > > > change regarding GWT coding or deployment. > > > > > > The steps I followed were: > > > > > > 1. Create an "application.xml" descriptor > > > > 2. Create a "weblogic-application.xml" descriptor > > > > 3. Do all the proper EAR packaging (see next paragraph for my > > > > directory layout) > > > > > > After doing that in order to deploy it in Weblogic, just copy > that > > EAR > > > > file into your /autodeploy directory OR deploy it thru > > > > WebLogic's console as any usual application. > > > > > > This is my directory layout: > > > > > > /META-INF/MANIFEST.MF > > > > /META-INF/application.xml > > > > /META-INF/weblogic-application.xml > > > > /myapp.war > > > > > > And the contents of my deployment descriptor files are: > > > > > > Content of META-INF/application.xml: > > > > > > > > > > > > J2EE > > > > Application 1.3//EN' ' > http://java.sun.com/dtd/application_1_3.dtd'> > > > > > > > > > > My Application > > > > My Application description > > > > > > > > > > > > > > > > > > myapp.war > > > > myapp > > > > > > > > > > > > > > > > > > > > Content of META-INF/weblogic-application.xml: > > > > > > > > > > > > > WebLogic Application 8.1.0//EN" " > > http://www.bea.com/servers/wls810/dtd/ > > > > weblogic-application_2_0.dtd"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hope it h
Re: Expenses Sample project
I got the same javax.validation error. The error is thrown out during the gwtc process. Something wrong with the gwt trunk version? -Super On Sep 8, 1:01 pm, Travis Camechis wrote: > I just did a fresh maven build it ran successfully. I did get some errors > due to javax.validation problems but the build still ran. Make sure your up > to date as well as your GWT_TOOLS. > > > > On Wed, Sep 8, 2010 at 11:58 AM, superdama wrote: > > Travis, > > > Good for mvn compile, no good for mvn gwt:compile. > > Any advice? > > > On Sep 7, 10:07 am, Travis Camechis wrote: > > > try running "tools/scripts/maven_script.sh" from the root of the GWT > > > checkout. This will build a current copy of GWT and them to your local > > > maven repo. You should then be able to do a "mvn compile", "mvn > > > gwt:compile", "mvn gw:run". > > > > On Sun, Sep 5, 2010 at 9:08 AM, superdama wrote: > > > > Hi guys, > > > > > I got the same issue. Still don't know how to solve the problem. > > > > Frustrating. > > > > > -Zack > > > > > On Aug 25, 9:22 pm, tc wrote: > > > > > Does anyone know why I would get this error when trying to run the > > > > > samples/expensesapp via maven. > > > > > > : java.lang.NoClassDefFoundError: org/datanucleus/ > > > > > PersistenceConfiguration > > > > > java.lang.NoClassDefFoundError: Could not initialize class > > > > > com.google.gwt.sample.expenses.server.domain.EMF > > > > > > I am running this by using these commands. > > > > > > mvncompilemvngwt:compilemvngwt:run > > > > > > I also tried to usemvngae:run but get the same error. > > > > > > This is the sample project in the trunk of the GWT samples area. > > > > > -- > > > > 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+unsubscr...@googlegroups.com > > > cr...@googlegroups.com> > cr...@googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- > > 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+unsubscr...@googlegroups.com > cr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Dev plugin for firefox 3.7
On Sep 9, 2:38 am, csillag wrote: > > I hope this gets fixed soon, because my GWT apps totally fail with > FF4, > and I can not even start to debug them until I have a dev plugin > ready. In the mean time, can't you compile with "-style PRETTY" and debug using Firebug? (or the Web Console? haven't tried it yet) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.