Re: Diagramming Library
David Vree writes: > > Does anyone know of a GWT-based diagramming tool for creating visio- > like diagrams? > > I found a javascript library called mxGraph, which *seems* perfect: > > http://www.jgraph.com/mxgraph.html > > But it doesn't have a GWT wrapper and in their documentation they say > this: > > "In summary, consider GWT for simpler projects, but be careful of > placing to much emphasis on it as a tool that avoids having to learn > JavaScript properly." > > Not making me feel warm and fuzzy there. And the $6k price tag is > a bit much > You can use draw2d and gef(eclipse Graphical Editing Framework) to develop your GWT Diagram App Now. look at this: http://code.google.com/p/trufun-webrcp/ the GWT framework with completely open source based on html5 technology, is used to transplant eclipse RCP to GWT WEB. -- 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: Accessint GWT's HIstory Stack
> > I like the idea, but I'm finding that the value change event only fires > when prefix portion of the token changes. > > Thanks for your reply... By the way, am I right that the value change > event only fires this way? > History.addValueChangeHandler() always fires a ValueChangeEvent if the history stack changes. Otherwise it wouldn't be possible to switch between places of the same type but with different internal state (e.g. #DetailsPlace:1 and #DetailsPlace:2). Honestly I wouldn't skip any history tokens when a user hits the back button. When the user edits 3 documents in a row then he maybe wants to switch between them back and forth for some reason. I found it more natural if I would have to hit 3 times the back button to be back at the INDEX place if I have navigated to three different documents. Thats what you would expect from normal web navigation. In addition your app can provide a link like "back to index view" so that the user can directly jump back to the INDEX place if I really wants to. -- J. -- 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/-/JjJwnNTneYsJ. 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: User visible urls
works like a sharm! thanks buddy! On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote: > > On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote: >> >> Hi Thomas, could you share the one that you wrote to use pushState? >> Thanks! >> > > Here's a skeleton implementation: https://gist.github.com/1883821 > -- 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/-/OjZDD6XpY5gJ. 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 Precompress on tomcat 7
Hello i am trying to use com.google.gwt.precompress.Precompress in my project. i am adding to my gwt.xml file and enabling tomcat compression but when i compile and run the application on tomcat the application doesn't run. what exactly i am missing?? i am using GWT version 2.4 thanks a lot -- 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: uibinder for mobile
You might want to take a look at mgwt ( http://www.m-gwt.com ). THose are mobile widgets that work with uibinder. 2012/2/27 Luke > what is the portability way to create uibinder (view with computer web > browser) so that easily ported to mobile version and viewable nicely > in android/iphone (small sceen)? > > from what i know , have to create entire web layer for mobile. Any > more easier way? > > -- > 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: Accessint GWT's HIstory Stack
I like the idea, but I'm finding that the value change event only fires when prefix portion of the token changes. It does NOT fire when the token changes from: #INDEX:/2///$/// to #INDEX:/3///$/// But it DOES fire when it changes from: #INDEX:/2///$/// to #EDIT:FOO This makes it impossible to keep track of the last INDEX place the user was on this way... I suppose I could track it in the constructor of the INDEX place activity... i.e. make a call to your hypothetical LastIndexTrackerclass in the Index place activity's constructor... Thanks for your reply... By the way, am I right that the value change event only fires this way? On Monday, February 27, 2012 2:07:47 PM UTC-5, Ovidiu Mihaescu wrote: > > Add your own valueChangeHandler that keeps track of the last Index state: > > class LastIndexTracker implements ValueChangeHandler { >Index lastIndex; > >... >void onValueChange(ValueChangeEvent event) { >if (isIndexToken(...)) { > lastIndex = ; >} >} > >Index getLastIndex() { > return lastIndex; >} > } > > > > On Mon, Feb 27, 2012 at 10:14 AM, Lars wrote: > >> Been searching for an answer to the following problem I have an >> application with 2 Places: "Index" and "Edit" each have representative >> tokens that carry state information. >> >> My desire: >> I want for the user to be able to return to the last "Index" state after >> many possible "Edit" states, so say these tokens are on the history stack: >> 1. INDEX:--23--pg1 >> 2. INDEX:--23--pg2 >> (user sees the document they want to edit and thus enter EDIT place) >> 3. EDIT:--docFOO >> (see anther document from a widget in the EDIT place) >> 4. EDIT:--docBAR >> (and another) >> 5. EDIT:--docBING >> >> Now arrives the problem... I want the user to be able to go back to the >> last INDEX state. Right now my solution is to carry the token (in this >> example "INDEX:--23--pg2") around on the query string as part of the EDIT >> token. What I don't like about this solution is that if the user bookmarks >> a particular EDIT token the INDEX token that is part of the EDIT token gets >> bookmarked as well obviously, and i cannot tell whether the user really >> came from that INDEX state or not. >> >> Preferred solution: Search the History stack for the last INDEX token. >> >> Alternative solution: Use a cookie with a fairly short expiration time to >> store the last INDEX token. >> >> Thoughts? Is there a way to loop through the History stack to find >> particular tokens? >> >> Thanks in advance. >> > -- 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/-/GfdczveiW6UJ. 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: how to test GWT app through a proxy
I don't think it's directly related to the proxy pattern that Dan mentioned. It seems to be that your user doesn't have great internet access, or there is some issue in the connection between that user and your web server. It seems that the error message happens when the browser is not able to communicate (reliably) with the web server. Here is a related link that could help you out: http://stackoverflow.com/questions/5258434/unable-to-initiate-the-asynchronous-service-invocation On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote: > > Thanks that is interesting. What I know is, > I am writing the "MyDataService" part, and somehow > GWT must be writing the "MyDataService_Proxy" part. > > And then there is this one (thankfully) very vocal > user, whose access to the RPC needed by the application > goes through the "MyDataService_Proxy" part, > and it works for him only occasionally. > > I would like to be able to test the "MyDataService_Proxy" > part from where I am developing, or at least from > somewhere nearby. > > On Feb 26, 7:20 am, Dan wrote: > > That error message suggests a different kind of proxy, > http://en.wikipedia.org/wiki/Proxy_pattern. > > > > On Feb 25, 8:40 pm, John Malpas wrote: > > > > > > > > > > > > > > > > > I have several GWT (2.4) applications out there. > > > > > One in a while, a user writes in with a problem, > > > where it is clear the RPC is not working, and it > > > is clear there is some proxy involved in their access > > > to the application. > > > > > (Most recent: "Unable to initiate the asynchronous service invocation > > > (MyDataService_Proxy.login)") > > > > > I need to figure out some way to test access to the > > > applications through a proxy, so I can at least see what > > > these users are seeing. The same applications work fine > > > for me on a variety of browsers and computers. > > > (My own computers get to the web through ATT DSL with > > > no proxy involved.) > > > > > Has anyone else faced this problem (need to test through > > > a proxy)? On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote: > > Thanks that is interesting. What I know is, > I am writing the "MyDataService" part, and somehow > GWT must be writing the "MyDataService_Proxy" part. > > And then there is this one (thankfully) very vocal > user, whose access to the RPC needed by the application > goes through the "MyDataService_Proxy" part, > and it works for him only occasionally. > > I would like to be able to test the "MyDataService_Proxy" > part from where I am developing, or at least from > somewhere nearby. > > On Feb 26, 7:20 am, Dan wrote: > > That error message suggests a different kind of proxy, > http://en.wikipedia.org/wiki/Proxy_pattern. > > > > On Feb 25, 8:40 pm, John Malpas wrote: > > > > > > > > > > > > > > > > > I have several GWT (2.4) applications out there. > > > > > One in a while, a user writes in with a problem, > > > where it is clear the RPC is not working, and it > > > is clear there is some proxy involved in their access > > > to the application. > > > > > (Most recent: "Unable to initiate the asynchronous service invocation > > > (MyDataService_Proxy.login)") > > > > > I need to figure out some way to test access to the > > > applications through a proxy, so I can at least see what > > > these users are seeing. The same applications work fine > > > for me on a variety of browsers and computers. > > > (My own computers get to the web through ATT DSL with > > > no proxy involved.) > > > > > Has anyone else faced this problem (need to test through > > > a proxy)? On Monday, February 27, 2012 1:56:32 PM UTC-5, John Malpas wrote: > > Thanks that is interesting. What I know is, > I am writing the "MyDataService" part, and somehow > GWT must be writing the "MyDataService_Proxy" part. > > And then there is this one (thankfully) very vocal > user, whose access to the RPC needed by the application > goes through the "MyDataService_Proxy" part, > and it works for him only occasionally. > > I would like to be able to test the "MyDataService_Proxy" > part from where I am developing, or at least from > somewhere nearby. > > On Feb 26, 7:20 am, Dan wrote: > > That error message suggests a different kind of proxy, > http://en.wikipedia.org/wiki/Proxy_pattern. > > > > On Feb 25, 8:40 pm, John Malpas wrote: > > > > > > > > > > > > > > > > > I have several GWT (2.4) applications out there. > > > > > One in a while, a user writes in with a problem, > > > where it is clear the RPC is not working, and it > > > is clear there is some proxy involved in their access > > > to the application. > > > > > (Most recent: "Unable to initiate the asynchronous service invocation > > > (MyDataService_Proxy.login)") > > > > > I need to figure out some way to test access to the > > > applications through a proxy, so I can at least see what > > > the
Re: Accessint GWT's HIstory Stack
Add your own valueChangeHandler that keeps track of the last Index state: class LastIndexTracker implements ValueChangeHandler { Index lastIndex; ... void onValueChange(ValueChangeEvent event) { if (isIndexToken(...)) { lastIndex = ; } } Index getLastIndex() { return lastIndex; } } On Mon, Feb 27, 2012 at 10:14 AM, Lars wrote: > Been searching for an answer to the following problem I have an > application with 2 Places: "Index" and "Edit" each have representative > tokens that carry state information. > > My desire: > I want for the user to be able to return to the last "Index" state after > many possible "Edit" states, so say these tokens are on the history stack: > 1. INDEX:--23--pg1 > 2. INDEX:--23--pg2 > (user sees the document they want to edit and thus enter EDIT place) > 3. EDIT:--docFOO > (see anther document from a widget in the EDIT place) > 4. EDIT:--docBAR > (and another) > 5. EDIT:--docBING > > Now arrives the problem... I want the user to be able to go back to the > last INDEX state. Right now my solution is to carry the token (in this > example "INDEX:--23--pg2") around on the query string as part of the EDIT > token. What I don't like about this solution is that if the user bookmarks > a particular EDIT token the INDEX token that is part of the EDIT token gets > bookmarked as well obviously, and i cannot tell whether the user really > came from that INDEX state or not. > > Preferred solution: Search the History stack for the last INDEX token. > > Alternative solution: Use a cookie with a fairly short expiration time to > store the last INDEX token. > > Thoughts? Is there a way to loop through the History stack to find > particular tokens? > > Thanks in advance. > > -- > 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/-/qq1ghGpQ6oIJ. > 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: event.stopPropagation()
Yes it does, thank you Jens. 2012/2/27 Jens : > Maybe StackLayoutPanel uses ClickEvent/ClickHandler instead of > MouseUpEvent/MouseUpHandler (haven't looked into the source, but feel free > to do it yourself). If so, you should stop propagation of ClickEvents > instead of MouseUpEvents.. > > -- J. > > > Am Montag, 27. Februar 2012 16:41:02 UTC+1 schrieb Wojtek Mamrak: >> >> Hello group, >> >> I defined a header in my StackLayoutPanel as a composition of few >> other components (i.e. text node and label inside an HTMLPanel). When >> the label is clicked, I would like to stop the mouseUp event from >> bubbling to the header, so that the animation is not generated. I've >> been googling for few hours and tested such solutions as [1] and [2], >> but with no success. >> >> myLabel.addMouseUpHandler(new MouseUpHandler() { >> @Override >> public void onMouseUp(MouseUpEvent event) { >> event.stopPropagation(); //[1] >> >> DOM.eventCancelBubble(DOM.eventGetCurrentEvent(), >> true); //[2] >> } >> }); >> >> How to overcome such issue? Thanks for help! > > > Am Montag, 27. Februar 2012 16:41:02 UTC+1 schrieb Wojtek Mamrak: >> >> Hello group, >> >> I defined a header in my StackLayoutPanel as a composition of few >> other components (i.e. text node and label inside an HTMLPanel). When >> the label is clicked, I would like to stop the mouseUp event from >> bubbling to the header, so that the animation is not generated. I've >> been googling for few hours and tested such solutions as [1] and [2], >> but with no success. >> >> myLabel.addMouseUpHandler(new MouseUpHandler() { >> @Override >> public void onMouseUp(MouseUpEvent event) { >> event.stopPropagation(); //[1] >> >> DOM.eventCancelBubble(DOM.eventGetCurrentEvent(), >> true); //[2] >> } >> }); >> >> How to overcome such issue? Thanks for help! > > -- > 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/-/YuZ3STQRqqYJ. > 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: how to test GWT app through a proxy
Thanks that is interesting. What I know is, I am writing the "MyDataService" part, and somehow GWT must be writing the "MyDataService_Proxy" part. And then there is this one (thankfully) very vocal user, whose access to the RPC needed by the application goes through the "MyDataService_Proxy" part, and it works for him only occasionally. I would like to be able to test the "MyDataService_Proxy" part from where I am developing, or at least from somewhere nearby. On Feb 26, 7:20 am, Dan wrote: > That error message suggests a different kind of > proxy,http://en.wikipedia.org/wiki/Proxy_pattern. > > On Feb 25, 8:40 pm, John Malpas wrote: > > > > > > > > > I have several GWT (2.4) applications out there. > > > One in a while, a user writes in with a problem, > > where it is clear the RPC is not working, and it > > is clear there is some proxy involved in their access > > to the application. > > > (Most recent: "Unable to initiate the asynchronous service invocation > > (MyDataService_Proxy.login)") > > > I need to figure out some way to test access to the > > applications through a proxy, so I can at least see what > > these users are seeing. The same applications work fine > > for me on a variety of browsers and computers. > > (My own computers get to the web through ATT DSL with > > no proxy involved.) > > > Has anyone else faced this problem (need to test through > > a proxy)? -- 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.
GWT DataGrid Widget unpredictable row height issue...
Hi all, I'm loading the new DataGrid Widget with the results of a SQL query. I have noticed that some rows (just a few) are appearing with a larger row height than others, on a load of about 1000 rows. I tried setting each column of the row to a fixed value (not using the results of the query), to see if maybe some potential overflow of field widths was occuring, maybe causing a "wrap", which would explain the larger row height. But, I found this was not the case. And for info purposes, I am using the default font from the FireFox Browser. Are there issues with getting a consistent row height out of GWT 2.4/ DataGrid widget? Are there workarounds? I saw some others noting issues of rowHeight from the CellTable widget. Are there issue's with this widget? Or would an issue like this have to be originating from my application? Appreciate any insight! Thanks, Bill M. -- 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: Date box pop up seems to ignore default css
Any suggestion pls... On Sun, Feb 26, 2012 at 1:06 AM, Deepak Singh wrote: > Hi All, > > I have a ui:binder and am using date box as follows > > > > Java: > DateTimeFormat df = DateTimeFormat.getFormat("EEE, MMM d, "); > Format f = new DateBox.DefaultFormat(df); > agPacValidityFrom.setTitle("Validity date"); > agPacValidityFrom.setFormat(f); > agPacValidityFrom.addValueChangeHandler(new ValueChangeHandler() { > > @Override > public void onValueChange(ValueChangeEvent event) { > Date date = event.getValue(); > String dateString = > DateTimeFormat.getMediumDateFormat().format(date); > agPacValidityHiddenFrom.setText(dateString); > } > }); > > > The problem i am getting is that the date popup is not shown properly. The > pop up appears without any css applied to it. So the look n feel of pop up > is totally disturbed. > > Am i missing something here ? > > Thanks > Deepak Singh > -- Deepak Singh -- 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: How do I call getServletContext from within GWT?
Thanks! On Feb 22, 7:49 pm, Daniel Mauricio Patino León wrote: > getServletContext().getRealPath("/") > > Since RemoteServiceServlet is a subclass of HttpServlet > > Will give you the path. This on server side ofcourse. > > 2012/2/22 Bill M > > > > > > > Hi all, > > > Can someone explain to me how to call getServletContext() from within > > GWT? > > > I need to obtain the servlet's real path so I can open a file. > > > Could someone shoot me some sample code on how to do this? > > > Thanks so much. > > > PS - Are there any GWT books out there that are uptodate on the > > current features of GWT? > > I haven't seen any. > > > -- > > 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.- Hide quoted text - > > - Show quoted text - -- 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: event.stopPropagation()
Maybe StackLayoutPanel uses ClickEvent/ClickHandler instead of MouseUpEvent/MouseUpHandler (haven't looked into the source, but feel free to do it yourself). If so, you should stop propagation of ClickEvents instead of MouseUpEvents.. -- J. Am Montag, 27. Februar 2012 16:41:02 UTC+1 schrieb Wojtek Mamrak: > > Hello group, > > I defined a header in my StackLayoutPanel as a composition of few > other components (i.e. text node and label inside an HTMLPanel). When > the label is clicked, I would like to stop the mouseUp event from > bubbling to the header, so that the animation is not generated. I've > been googling for few hours and tested such solutions as [1] and [2], > but with no success. > >myLabel.addMouseUpHandler(new MouseUpHandler() { > @Override > public void onMouseUp(MouseUpEvent event) { > event.stopPropagation(); //[1] > > DOM.eventCancelBubble(DOM.eventGetCurrentEvent(), > true); //[2] > } > }); > > How to overcome such issue? Thanks for help! Am Montag, 27. Februar 2012 16:41:02 UTC+1 schrieb Wojtek Mamrak: > > Hello group, > > I defined a header in my StackLayoutPanel as a composition of few > other components (i.e. text node and label inside an HTMLPanel). When > the label is clicked, I would like to stop the mouseUp event from > bubbling to the header, so that the animation is not generated. I've > been googling for few hours and tested such solutions as [1] and [2], > but with no success. > >myLabel.addMouseUpHandler(new MouseUpHandler() { > @Override > public void onMouseUp(MouseUpEvent event) { > event.stopPropagation(); //[1] > > DOM.eventCancelBubble(DOM.eventGetCurrentEvent(), > true); //[2] > } > }); > > How to overcome such issue? Thanks for help! -- 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/-/YuZ3STQRqqYJ. 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: M x N cell grid
If I've understood your problem correctly, I can think of a couple of approaches - a cell list with the cells styled to float? an adapter with the same API as cell list but which wraps a cell table? I don't think there is anything out the box, I suppose it depends on which definition of clean you're striving for. Chris On 27 Feb 2012 12:23, "Olivier Scherler" wrote: > Hello everybody, > > I would like to display a somewhat large amount of data in a grid, not a > table. That is, I would like an M cols x N rows grid that displays M items > per row on N rows, with a custom cell that displays the properties I > need. Then I’d like to scroll that grid, vertically or horizontally, and > page it if I have too much data. > > However, all the CellXYZ or table widgets seem to display one item per row > and one property per column, which is not what I want, and I don’t feel > like hacking them by feeding them a data source that returns M objects per > row, it doesn’t seem clean. > > Can anyone give me a lead on how to approach this problem? > > Cheers, > > Olivier > > -- > 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.
Accessint GWT's HIstory Stack
Been searching for an answer to the following problem I have an application with 2 Places: "Index" and "Edit" each have representative tokens that carry state information. My desire: I want for the user to be able to return to the last "Index" state after many possible "Edit" states, so say these tokens are on the history stack: 1. INDEX:--23--pg1 2. INDEX:--23--pg2 (user sees the document they want to edit and thus enter EDIT place) 3. EDIT:--docFOO (see anther document from a widget in the EDIT place) 4. EDIT:--docBAR (and another) 5. EDIT:--docBING Now arrives the problem... I want the user to be able to go back to the last INDEX state. Right now my solution is to carry the token (in this example "INDEX:--23--pg2") around on the query string as part of the EDIT token. What I don't like about this solution is that if the user bookmarks a particular EDIT token the INDEX token that is part of the EDIT token gets bookmarked as well obviously, and i cannot tell whether the user really came from that INDEX state or not. Preferred solution: Search the History stack for the last INDEX token. Alternative solution: Use a cookie with a fairly short expiration time to store the last INDEX token. Thoughts? Is there a way to loop through the History stack to find particular tokens? Thanks in advance. -- 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/-/qq1ghGpQ6oIJ. 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 RPC not working behind Apache and Tomcat
Hi! Thanks for your reply. We are using AJP. WIth one App in ROOT it is working fine - but for two apps with two domains it doesn't work. Thanks for your help. Greetz, Markus On 26 Feb., 17:05, Lukasz Plotnicki wrote: > Hi, > > our GWT App is running in this particular setting without any problems. > Apache forwards anything with **/OurApp* to tomcat via *AJP* protocol > (apache tomcat AJP connector). > > Are you also using AJP or mod_rewrite? > > Cheers, > Lukasz > > Am Samstag, 25. Februar 2012 18:25:24 UTC+1 schrieb mukarev: > > > > > > > > > > > > > Hi folks, > > > I'try to serve two gwt webapps via one apache from one tomcat with JK > > and I'm always running in the same error. Apache sends a 404 and tells > > me that it's not able to find the servlet if I try to communcate via > > RPC. > > > I have two virtual hosts pointing at the directories within tomcat > > webapps. The webapps are running successfully as long as I don't try > > to communicate via RPC. It seems that Apache isn't able to resolve the > > requested service. > > > Need help, I'm sitting here around hopeless. > > > Thanks! > > > Markus > > Am Samstag, 25. Februar 2012 18:25:24 UTC+1 schrieb mukarev: > > > > > > > > > > > Hi folks, > > > I'try to serve two gwt webapps via one apache from one tomcat with JK > > and I'm always running in the same error. Apache sends a 404 and tells > > me that it's not able to find the servlet if I try to communcate via > > RPC. > > > I have two virtual hosts pointing at the directories within tomcat > > webapps. The webapps are running successfully as long as I don't try > > to communicate via RPC. It seems that Apache isn't able to resolve the > > requested service. > > > Need help, I'm sitting here around hopeless. > > > Thanks! > > > Markus -- 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 RPC not working behind Apache and Tomcat
web.xml in web-inf from first app http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";> rpc de.class.server.RPCServiceImpl rpc /app1/rpc Base.html web.xml from second app http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5" xmlns="http://java.sun.com/xml/ns/javaee";> Filter com.app.server.Filter Filter /* mail com.app.server.MailServiceImpl mail /app2/mail home.html the virtual host for first app ServerName app1.de ServerAlias www.app1.de ServerAdmin ad...@domain.de DocumentRoot /var/lib/tomcat6/webapps/app1 JkMount /app1.ro/* worker2 virtual host for second app ServerName app2.de ServerAlias www.app2.de ServerAdmin ad...@doamin.de # DirectoryIndex index.php index.html index.htm index.shtml index.cgi index.pl index.xhtml DirectoryIndex app2.html DocumentRoot /var/lib/tomcat6/webapps/app2 LogLevel warn ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log combined ErrorDocument 400 /error/400.html ErrorDocument 401 /error/401.html ErrorDocument 403 /error/403.html ErrorDocument 404 /error/404.html ErrorDocument 405 /error/405.html ErrorDocument 500 /error/500.html ErrorDocument 503 /error/503.html ScriptAlias /cgi-bin/ /home/admin/users/username/example.com/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl Options +ExecCGI Options -Indexes AllowOverride All Order allow,deny Allow from all JkMount /app tomcat6 JkMount /app/* tomcat6 I am new to deploy with mod_jk and serving tomcat via apache - so please excuse the errors I made. Maybe you can help me a little. here jk.conf: # We need a workers file exactly once # and in the global server #JkWorkersFile /etc/libapache2-mod-jk/workers.properties # Our JK error log # You can (and should) use rotatelogs here JkLogFile /var/log/apache2/mod_jk.log # Our JK log level (trace,debug,info,warn,error) JkLogLevel info # Our JK shared memory file JkShmFile /var/log/apache2/jk-runtime-status # Define a new log format you can use in any CustomLog in order # to add mod_jk specific information to your access log. # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User- Agent}i\" \"%{Cookie}i\" \"%{Set-Cookie}o\" %{pid}P %{tid}P % {JK_LB_FIRST_NAME}n %{JK_LB_LAST_NAME}n ACC %{JK_LB_LAST_ACCESSED}n ERR %{JK_LB_LAST_ERRORS}n BSY %{JK_LB_LAST_BUSY}n %{JK_LB_LAST_STATE}n %D" extended_jk # This option will reject all requests, which contain an # encoded percent sign (%25) or backslash (%5C) in the URL # If you are sure, that your webapp doesn't use such # URLs, enable the option to prevent double encoding attacks. # Since: 1.2.24 # JkOptions +RejectUnsafeURI # After setting JkStripSession to "On", mod_jk will # strip all ";jsessionid=..." from request URLs it # does *not* forward to a backend. # This is useful, if all links in a webapp use # URLencoded session IDs and parts of the static # content should be delivered directly by Apache. # Of course you can also do it with mod_rewrite. # Since: 1.2.21 # JkStripSession On # Start a separate thread for internal tasks like # idle connection probing, connection pool resizing # and load value decay. # Run these tasks every JkWatchdogInterval seconds. # Since: 1.2.27 JkWatchdogInterval 60 # Configure access to jk-status and jk-manager # If you want to make this available in a virtual host, # either move this block into the virtual host # or copy it logically there by including "JkMountCopy On" # in the virtual host. # Add an appropriate authentication method here! # Inside Location we can omit the URL in JkMount JkMount jk-status Order deny,allow Deny from all Allow from 127.0.0.1 # Inside Location we can omit the URL in JkMount JkMount jk-manager Order deny,allow Deny from all Allow from 127.0.0.1 # If you want to put all mounts into an external file # that gets reloaded automatically after changes # (with a default latency of 1 minute), # you can define the name of the file here. # JkMountFile conf/extra/uriworkermap.properties # Example for Mounting a context to the worker "balancer" # The URL syntax "a|b" instantiates two mounts at once, # the first one is "a", the second one is "ab". # JkMount /myapp|
event.stopPropagation()
Hello group, I defined a header in my StackLayoutPanel as a composition of few other components (i.e. text node and label inside an HTMLPanel). When the label is clicked, I would like to stop the mouseUp event from bubbling to the header, so that the animation is not generated. I've been googling for few hours and tested such solutions as [1] and [2], but with no success. myLabel.addMouseUpHandler(new MouseUpHandler() { @Override public void onMouseUp(MouseUpEvent event) { event.stopPropagation(); //[1] DOM.eventCancelBubble(DOM.eventGetCurrentEvent(), true); //[2] } }); How to overcome such issue? Thanks for help! -- 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.
problem editing entity that extends abstract class using gwt editor mechanism
Hi We are developing webapp with lots of forms and complex model. To make it faster we decided to use gwt editors. We use nested editors in few places. We run into troubleafter refactoring model and making few classes extend common abstract class. The editor does not seem to see the fields that are declared in abstract class. To make it more specyfic: the model: public abstract class AbstractAccount { protected String id; protected String fullName; protected VCardInfo vcard = new VCardInfo(); ... } public class Contact extends AbstractAccount implements Serializable { private static final long serialVersionUID = 1L; private String firstName; private String lastName; private String organization; private String jobRole; private String department; ... } In Contact editor i have defined @Path("vcard.workAddress") @UiField VCardAddressEditor address; Now if Contact class does not extend AbstractAccount and just contains fields visible in AbstractAccount - then everything works. But if I try to acces (via editor) fields declared in abstract class (e.g. vcard) than it does not work. I would like to know if this is a bug - or i'm doing it wrong - or this just can not be implemented using editors (reflection problems etc.?) -- 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/-/G7j8k7XfTmgJ. 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.
uibinder for mobile
what is the portability way to create uibinder (view with computer web browser) so that easily ported to mobile version and viewable nicely in android/iphone (small sceen)? from what i know , have to create entire web layer for mobile. Any more easier way? -- 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: Is there a way to determine if a GWT app is active or inactive?
Did not find that on stackoverflow. :( That and following two more cascading links from there certainly told me everything I need to be able to roll my own. Thanx very much! I was trying to hook into the events of builtin object "Window" last week but was failing. Either I or another on my team will try other things. Do you or any other reader know does GWT offer us "normalization" in that it fires the events onFocus and onBlur in a manner that is consistent across browsers like Chrome / IE / FF / Safari / Others , or are the inconsistencies [it seems moreso with onBlur] across different browsers [and versions of them] still there? Thanx again. -steve -- 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: Sporadic errors during compilation, Checking type argument 0 of type 'java.util.Arrays.ArrayList, no default constructor.
On Sunday, February 26, 2012 2:22:47 AM UTC+1, Dan wrote: > > > [WARN] Checking all subtypes of Object which qualify for serialization > > This is your problem. See http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html#DevGuideSerializableTypes -- 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/-/yxq47hYfbGIJ. 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.
Question about Dynamic Forms in GWT.
Hi All, I'm new to using GWT (Version 2.4 with Eclipse). I have a question about dynamic forms. For a web application I would like to make a dynamic form with two columns of comboboxes. At the beginning only one combobox (cb1_1) on the left column exists. As soon as a value has been chosen from this first combobox, a new combobox will be created in the the right column (cb1_2). When a value is chosen in that combobox a new line will be started (again first only the left column combobox, etc). The right column combobox is always dependant on the chosen value in the right column combobox. Following a bad timeline sketch of the two columns: - = new combobox (no value chosen yet) O = combobox where user has chosen a value 1) - row 1 2) O-row 1 3) OO row 1 - row 2 4) OO row 1 O-row 2 5) OO row 1 OO row 2 - row 3 etc My questions to you - How would you implement this? Would you first define a limit of rows and prepare the comboboxes in the background, hide them and disable them until needed or would you create them dynamically? - How would you create a common handler for either all of the comboboxes or at least for each column? Thank you for any help/comments. pimuri -- 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.
M x N cell grid
Hello everybody, I would like to display a somewhat large amount of data in a grid, not a table. That is, I would like an M cols x N rows grid that displays M items per row on N rows, with a custom cell that displays the properties I need. Then I’d like to scroll that grid, vertically or horizontally, and page it if I have too much data. However, all the CellXYZ or table widgets seem to display one item per row and one property per column, which is not what I want, and I don’t feel like hacking them by feeding them a data source that returns M objects per row, it doesn’t seem clean. Can anyone give me a lead on how to approach this problem? Cheers, Olivier -- 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: Additional plugins are required to display all the media on this page - Firefox 10.0.2
Thanks Edgin. When I attempt to load my gwt application in firefox 10.0.2. I got plugin missing (Additional plugins are required to display all the media on this page) error message in top of the page, the same message shown for chrome browser also but not happened for IE browser. How could we solve that an issue using gwt coding level? On Friday, February 24, 2012 9:46:04 PM UTC+5:30, Tony Edgin wrote: > > The plugin is only for development mode. The deployed app does not > use it, so your users won't ever be asked to install it. > > Cheers. > Tony > > On Fri, Feb 24, 2012 at 03:40, Jee wrote: > > Thanks Broyer. > > > > Do we have any possible way to deal this an issue with gwt program level. > > Because we don't want user press button(Install missing button) for every > > firefox browser. > > Strictly we planning to avoid this kind of issue with browser. Is there > any > > possibility better approach to avoid plugin issues before loading gwt > > application. > > > > Thanks > > -Jee > > > > -- > > 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/-/hYECccy8NwkJ. > > > > 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. > > -- > Tony Edgin > Software Architecture and Design Leader > LBT Observatory > 933 N. Cherry Ave., Tucson AZ 85721-0065 > p:520-626-8951, c:520-419-8821, f:520-626-9333 > > On Friday, February 24, 2012 9:46:04 PM UTC+5:30, Tony Edgin wrote: > > The plugin is only for development mode. The deployed app does not > use it, so your users won't ever be asked to install it. > > Cheers. > Tony > > On Fri, Feb 24, 2012 at 03:40, Jee wrote: > > Thanks Broyer. > > > > Do we have any possible way to deal this an issue with gwt program level. > > Because we don't want user press button(Install missing button) for every > > firefox browser. > > Strictly we planning to avoid this kind of issue with browser. Is there > any > > possibility better approach to avoid plugin issues before loading gwt > > application. > > > > Thanks > > -Jee > > > > -- > > 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/-/hYECccy8NwkJ. > > > > 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. > > -- > Tony Edgin > Software Architecture and Design Leader > LBT Observatory > 933 N. Cherry Ave., Tucson AZ 85721-0065 > p:520-626-8951, c:520-419-8821, f:520-626-9333 > > -- 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/-/J2UssvTCkBMJ. 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 Timer doesn't work
Try this, Timer timer = new Timer() { public void run() { // Do Rpc. i.e., retrieveCollection @Override public void onFailure(Throwable throwable) { // if needed timer.schedule(100); } @Override public void onSuccess(Result result) { // do logic timer.schedule(100); } } }; timer.schedule(100); On Mon, Feb 27, 2012 at 4:08 AM, Patrick Tucker wrote: > You should execute the Timer right away, by directly calling its > run(). Then in the run() determine whether or not it needs to run > again. If so, use schedule(int) to make it run() again. The process > should be similar to how an IncrementalCommand would work... > > On Feb 24, 3:36 pm, "Peter D." wrote: > > Has a solution been found to this issue? I have encountered the same > > thing, with no luck. > > > > On Jan 19, 2:24 am, Hanna Varakhobava wrote: > > > > > > > > > > > > > > > > > Hey, somebody... > > -- > 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. > > -- *S*antosh *K*umar *K* -- 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.
Calendar performance issue
Hi, I have calendar application using gwt. But when loading more data with calendar iam getting script too large stack . How i can remove this error . Is it possible to use json data for calendar instead of java objects as datasource and dynamically load when click on each week from server, If any help reagarding that will helpful Regards -- 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.