gwt-maven-archetypes with multiple client modules
Hi there, i start using this for gwt-modular webapp, quite great, but now i put a second gwt-module in the client package, how to configure the pom file so that both are avail. in -Ddev ? thanx -- 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 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-maven-archetypes with multiple client modules
On Friday, December 7, 2012 9:45:19 AM UTC+1, kim young ill wrote: Hi there, i start using this for gwt-modular webapp, quite great, Thanks but now i put a second gwt-module in the client package, how to configure the pom file so that both are avail. in -Ddev ? You'll have to replace the module with modules in the gwt-maven-plugin configuration, and add the modules as module child elements. You'd probably want to introduce another property in addition to gwt.module. Note that I made this dev profile only to make it easier to start up, but I highly recommend you to launch the DevMode from your IDE. gwt:run is far from ideal in this multi-module setup. -- 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/-/lndV5ZfJaZUJ. To post to this group, send email to google-web-toolkit@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: Mix Elemental and Widget
Thanks Broyer. It works. J.Ganeasn DropEvent#getDataTransfer() returns a DataTransfer, which is a JavaScriptObject, so you can cast() it to element.js.dom.JsClipboard. -- 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/-/1jhvnnz4e5oJ. To post to this group, send email to google-web-toolkit@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.
IDE for GWT.
Please, anyone can help me, I need IDE for gwt, I was working a aplicacion web at Eclipse Juno, but haven´t IDE as Visual Studio oriented to desing and controls.? Thanks You. -- 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/-/FKmIyj5X_fwJ. To post to this group, send email to google-web-toolkit@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 apply sorting to columns with individual header and these columns are merged under a common header also
https://lh5.googleusercontent.com/-3l8DaFsEPeo/UMHFiiTl8dI/A10/PfrRT4ppQTI/s1600/TABLE.JPG SO THIS IS A TABLE FOR EX.. I AM HAVING A,B,C AS MAIN HEADERS AND D,E,F,G AS THE SUB HEADERS UNDER C. sO HOW TO APPLY SORTING FOR THESE SUB HEADERS ALSO. -- 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/-/fjSV-jy2SmUJ. To post to this group, send email to google-web-toolkit@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: Adsense Subscription for GWT Based Website
i am facing the same problem, did you find a solution? thanks On Monday, October 1, 2012 12:00:51 PM UTC+3, sachin sreenivasan wrote: Hello everyone, Can someone help me with this issue? I am not finding enough posts which might give me information about this. Regards, Sachin On Sun, Sep 30, 2012 at 6:27 PM, sachin sreenivasan sachin.sre...@gmail.com javascript: wrote: Hello people, I have developed an image sharing website using GWT. I have been trying to subscribe to Google Adsense program, but my application is getting rejected repeatedly and the reason given is that there is Insufficient content. The further details indicated that my website should have enough text data and complete sentences. Although I have enhanced my website repeatedly to add more and more text content, the application is still getting rejected repeatedly. Has this got something to do with the fact that my website is Ajax-based and view source of the html page would not show enough text? Should I implement the AJAX based history mechanism, i.e., the #! history mechanism so that the SEO spiders can pick up the text in my website? Is this a functionality that needs to be implemented before submitting to the Adsense? Is there any other thing that needs to be taken care of while submitting the site to Adsense? Regards, Sachin -- 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/-/wENL3k2iGsgJ. To post to this group, send email to google-we...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com javascript:. 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 view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/C_8RAgfNm7gJ. To post to this group, send email to google-web-toolkit@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 Web Cam
Hi Christopher, accessing the webcam is something the browser may be unable to do: recent browsers (just chrome afaik) that implement WebRTC's getUserMedia (http://www.webrtc.org/) may provide access to the stream coming from the webcam, else you're forced to use a plugin, for instance flash. If you want to use WebRTC, moving to GWT 2.5 and Elemental is in my opinion a good choice. If you want, you can find some info here http://jooink.blogspot.it/2012/11/gwt-augmented-reality-howto-step-2.html (just the first few lines, up to the copy into a canvas, then canvas's toDataURL() will give you the snapshot). Ciao, Alberto. On Thu, Dec 6, 2012 at 8:53 AM, Christopher sahayachristop...@gmail.comwrote: Hi All, My GWT version is 2.4.0 My Query is , In my application a requirement to capture images through webcam . What is the best way to do it. Thanks, Christopher -- 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/-/qzT_xi0lM_0J. To post to this group, send email to google-web-toolkit@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-toolkit@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.
FieldUpdater
Hi, I set a FieldUpdater on a column and I expect the update method to be called when an onblur has occured. This works for ie9, crome and firefox however on ie8 the update method is not called when an blur event occures. Any thoughts or workarounds? 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-toolkit@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: Absolute positioning relative to other widgets
I'm not exactly aware of the reason why do I repeatedly return to this topic. But it seem like there have been existing an issue of what is described here all the time for me. And I've already encountered it countless times on my way with implementing tooltips, popups, sliding menus, suggest boxes and so on. Perhaps, it's all about the sense, that there must exist some sort of solution for all this stuff, that would be both pretty, and effective. As an example of such magic, I can give you the Element#scrollIntoView() method, which can scroll the area right to the specified element, and do whatever it's possible to ensure that the latter will become visible to user. If browser can do that, why wouldn't it help us to adjust the positioning of our absolutely positioned widgets? So there's only one suitable solution, that I could come up with: - supply your absolutely positioned widgets with some sort of recalculator instead of statically allocating it upon the construction. This recalculator would have methods like: public double getLeft(); // returns absolute left, that is relative to some widget public double getTop(); ...etc. Once an event, that might somehow break your layout occurred (say, window got resized, or the whole layout switched in some sort of sliding animation), make sure the objects, which were responsible for creation of those absolutely positioned widgets, or the widgets themselves, are listeners of such sort of events, and that they call recalculator's methods to handle the event properly. The best way not to make it too ugly is to have an access to one global EventBus and fire/catch those events in means of the latter. Ugly? Well, in absence of other solution it's worth to try. At least this one works for me. On Sunday, May 3, 2009 11:00:53 AM UTC+5, Adam T wrote: Hi Stephen, I feel this is just one of those challenging areas in GWT. There's no event in GWT that tells you DOM has finished layout activities, but there is a point where you expect this to be the case in the normal lifecycle of a widget. In the Widget lifecycle there are four key points you can override that in a way act as events: * onAttach() - called when a widget is attached to the browser's document. * onLoad() - called immediately after a widget becomes attached to the browser's document. * onUnload() - called immediately before a widget will be detached from the browser's document. * onDetach() - called when a widget is detached from the browser's document The one of interest here is onLoad(), where it's fairly safe to assume that everything DOM attribute wise is sorted out by then. I've still found it wise to give the browser some time by wrapping any dimension stuff in a DeferredCommand within the onLoad() method; I'm not 100% convinced it is necessary, but I like to live on the safe side in an effect library I'm building (http://code.google.com/p/gwt-fx/). I have to admit, I'm not aware of a onResize() method to override in Widget or Composite class, so can't really comment on how that would work (out of interest, where is it in standard GWT?). DeferredCommand itself is a little bit of a trick, although it says allows you to execute code after all currently pending event handlers have completed it's really based on timers rather than hooking into the browser event queue and checking all is done before firing your command - that said, it works. Hope that gives you a bit more info. //Adam On 3 Maj, 02:00, Stephen Cagle same...@gmail.com wrote: First of all, Thank You Adam. This is one of those things that I spent like 4 hours on and finally just asked about. I put my absolute positioning code inside a DefferedCommand. Have not seen it fail yet. So thank you, it seems to work. Still, I do wonder. What is the deterministically appropriate way to deal with this? For all I know the DefferedCommand may be the appropriate way to deal with this, as it may truly guarantee that code is not run till after all other events are run. Assuming that repositioning stuff as things are added to the DOM is just another event, then as long as DefferedCommand always guarantees that it will add to the end, then it is probably correct. However, is there some more direct way to do this. Like, could I wrap a widget in something (or override some handler) such that I can guarantee execution of code only after the widget has been fully positioned and their currently exist not other DOM modifying events in the queue? Also, in closing, is there more information somewhere on exactly how widgets are added, positioned, and rendered. I would also be interested in any callbacks (or equivalent) that I can override at any point in said process. Thanks all. On May 1, 11:14 pm, Adam T adam.t...@gmail.com wrote: sometimes it's worth wrapping any repositioning up in
Re: GWT and Web Cam
Thanks, actually I do not want a dependency on flash but in case your project will be our first test :) My target, in the post I cited ,was doing 'capture' in javascript only so the real interest was on WebRTC, but I suppose Christopher will certainly like the project. Looking at the code adding webrtc support to the lib may be not so terrible just in case one want to use 'native' support when available and flash as a fallback, don't know if may be useful. Ciao, Alberto. On Sat, Dec 8, 2012 at 1:40 AM, Daniel Mauricio Patino León ceo.lion@gmail.com wrote: Hey Alberto. Use http://code.google.com/p/gwt-webcam/ I just finished a project where i used it and works very well. It wraps the JSWebcam library, i add an example widget using it. Best regards 2012/12/7 Alberto Mancini ab.manc...@gmail.com Hi Christopher, accessing the webcam is something the browser may be unable to do: recent browsers (just chrome afaik) that implement WebRTC's getUserMedia (http://www.webrtc.org/) may provide access to the stream coming from the webcam, else you're forced to use a plugin, for instance flash. If you want to use WebRTC, moving to GWT 2.5 and Elemental is in my opinion a good choice. If you want, you can find some info here http://jooink.blogspot.it/2012/11/gwt-augmented-reality-howto-step-2.html (just the first few lines, up to the copy into a canvas, then canvas's toDataURL() will give you the snapshot). Ciao, Alberto. On Thu, Dec 6, 2012 at 8:53 AM, Christopher sahayachristop...@gmail.comwrote: Hi All, My GWT version is 2.4.0 My Query is , In my application a requirement to capture images through webcam . What is the best way to do it. Thanks, Christopher -- 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/-/qzT_xi0lM_0J. To post to this group, send email to google-web-toolkit@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-toolkit@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. -- ISC. Daniel Mauricio Patiño León. Director ejecutivo Liondev S.A. de C.V. -- 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 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-toolkit@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 Web Cam
May bad. I should have quoted to Christopher. Sorry. Webrtc it's nice, but, what we do with the down fall back on other browsers. 2012/12/7 Alberto Mancini ab.manc...@gmail.com Thanks, actually I do not want a dependency on flash but in case your project will be our first test :) My target, in the post I cited ,was doing 'capture' in javascript only so the real interest was on WebRTC, but I suppose Christopher will certainly like the project. Looking at the code adding webrtc support to the lib may be not so terrible just in case one want to use 'native' support when available and flash as a fallback, don't know if may be useful. Ciao, Alberto. On Sat, Dec 8, 2012 at 1:40 AM, Daniel Mauricio Patino León ceo.lion@gmail.com wrote: Hey Alberto. Use http://code.google.com/p/gwt-webcam/ I just finished a project where i used it and works very well. It wraps the JSWebcam library, i add an example widget using it. Best regards 2012/12/7 Alberto Mancini ab.manc...@gmail.com Hi Christopher, accessing the webcam is something the browser may be unable to do: recent browsers (just chrome afaik) that implement WebRTC's getUserMedia (http://www.webrtc.org/) may provide access to the stream coming from the webcam, else you're forced to use a plugin, for instance flash. If you want to use WebRTC, moving to GWT 2.5 and Elemental is in my opinion a good choice. If you want, you can find some info here http://jooink.blogspot.it/2012/11/gwt-augmented-reality-howto-step-2.html (just the first few lines, up to the copy into a canvas, then canvas's toDataURL() will give you the snapshot). Ciao, Alberto. On Thu, Dec 6, 2012 at 8:53 AM, Christopher sahayachristop...@gmail.com wrote: Hi All, My GWT version is 2.4.0 My Query is , In my application a requirement to capture images through webcam . What is the best way to do it. Thanks, Christopher -- 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/-/qzT_xi0lM_0J. To post to this group, send email to google-web-toolkit@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-toolkit@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. -- ISC. Daniel Mauricio Patiño León. Director ejecutivo Liondev S.A. de C.V. -- 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 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-toolkit@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. -- ISC. Daniel Mauricio Patiño León. Director ejecutivo Liondev S.A. de C.V. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Modal Dialog/Non-busy Wait
On Monday, September 5, 2011 1:01:29 PM UTC-4, melody wrote: I wish to embed an asynchronous call to the server inside a method that MUST NOT return until the server has responded. So I am looking for a way to achieve a non-busy wait in GWT. I thought I could use a modal popup dialog to stop the next line from being executed until the dialog is closed and only after the response from server arrives. Unfortunately the GWT modal dialog does not do what I thought it would do -- which is block everything and wait at the line where the PopupPanel.show() method is called. See method below code public boolean doPost(String url, String postData) { RequestBuilder builder = new RequestBuilder(RequestBuilder.POST, url); final int STATUS_CODE_OK = 200; final PopupPanel dlg = new PopupPanel(); dlg.setModal(true); dlg.setGlassEnabled(true); try { builder.setHeader(Content-Type, application/x-www-form- urlencoded); builder.sendRequest(postData, new RequestCallback() { public void onError(Request request, Throwable exception) { dlg.hide(); } public void onResponseReceived(Request request, Response response) { int li_status = response.getStatusCode(); if (li_status == STATUS_CODE_OK) { //bravo } dlg.hide(); } }); builder.setTimeoutMillis(3000); dlg.show(); return true; } catch (RequestException e) { GWT.log(e.getLocalizedMessage()); } return false; } /code I want the line code return true; /code to be executed only after the dialog is closed just like what would happen if I used Window.confirm to achieve the modality as shown below. code Window.confirm(yes or no); return true; /code Any ideas on how I can achieve this. Thanks, Melody -- 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/-/CHczoRW3l8EJ. To post to this group, send email to google-web-toolkit@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 with Window.Location.assign(url)
i have create an issue reporthttp://code.google.com/p/google-web-toolkit/issues/detail?id=7835 for this baby On Wednesday, July 16, 2008 8:50:07 PM UTC+2, jarrod wrote: My application has a page using a GWT module, such that the url is something like: http://my.domain.com/app-context/moduleA.html The HTML in moduleA.html includes references to the module: src=com.domain.my.ModuleA/com.domain.my.ModuleA.nocache.js Module A loads fine. It contains some code that requires a redirect to moduleB.html, such that the url should become: http://my.domain.com/app-context/moduleB.html Similarly, Module B is all correctly referenced and loads up just fine. However, in ModuleA, when I call the following: Window.Location.assign(moduleB.html) The browser is redirected to: http://my.domain.com/app-context/com.domain.my.ModuleA/moduleB.html In effect, the location redirect is doing so relative to the current module's source JS file, not the browser's current URL. I looked at the source for Window.Location, and all I can wonder is WTF? I cannot hard code the complete target URL, as my application runs on different domains and under different contexts. I should be able to redirect to a relative page easily enough, right? What's going wrong? P.S. using GWT 1.5 RC1 -- 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/-/KfKGPAiDcEAJ. To post to this group, send email to google-web-toolkit@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.
Enterprise Application Development (Wizard) using GWT
As part of one of my projects (mutual fund industry) I need to develop a 5-7 step wizard to purchase a mutual fund. In order to carry out the journey I need to interact with web services (JAX-WS) and databases. The traditional thinking is use Struts 2 MVC with Spring framework. Following are the requirements of the project 1. Select Investment Options (basically product) 2. On 2nd step choose funds, get relevant charges, ask the user to input amount to be invested 3. Payment details 4. Playback the details 5. Placed Order details (order reference numbers etc) *Non Functional Requirements* 1. Rich UI 2. Response time for each page must be less than 3 sec 3. Need to support more than 500 users at the same time. *Queries* 1. How GWT can help me in this? 2. Can GWT itself provide me rich UI or I need to go to Smart GWT? 3. Like any struts applications do we have any standard way. Obviously I would not like to write a restful invocation for each step. Any kind of help will be usefull Regards, Lalit Kumar -- 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/-/vWNeXSmphtkJ. To post to this group, send email to google-web-toolkit@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-contrib] Super Dev Mode Can't find any GWT Modules on this page.
Hi, I want to use the super dev mode and in my pom I have added the follows dependency: dependency groupIdcom.google.gwt/groupId artifactIdgwt-codeserver/artifactId version2.5.0-rc2/version /dependency And in my modules.gwt.xml I have added: !-- enable the SuperDevMode book marklets -- add-linker name=xsiframe/ set-configuration-property name=devModeRedirectEnabled value=true/ !-- enable source maps -- set-property name=compiler.useSourceMaps value=true / When I run the command: # mvn gwt:run-codeserver Show the follows page: http://localhost:9876/ in that page I have two buttons and when I click in Dev Mode On appears the next message Can't find any GWT Modules on this page.! Someone has suggestions to fix this? Thanks, Ana -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Super Dev Mode Can't find any GWT Modules on this page.
You have to gwt:compile and deploy (or mvn jetty:start or mvn tomcat7:run or similar) with the modified gwt.xml before you can use the bookmarklets. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors