Re: Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
Doh! That was it. Thank you. On Monday, October 21, 2013 4:21:50 PM UTC-5, Abraham Lin wrote: > > Integer#compare(int, int) was added in Java 7, which isn't supported by > GWT 2.5.1. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To

Re: Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
Thanks for looking... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
public class Reservation { public int reservationID; public int getReservationID() { return reservationID; } } public class Booking { public int bookingID; public int getBookingID() { return bookingID; } } -- You received this message because you are subscribed to the Google Groups "Google We

Re: Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
My Comparators all look something like: class ReservationComparator implements Comparator { > @Override > public int compare(Reservation o1, Reservation o2) { > return Integer.compare(o1.getReservationID(), o2.getReservationID()); > } > } Where Reservation.getReservationID() returns a simple "i

Re: Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
The "gwy-unitCache" messages go away if i delete that folder by hand before each compile attempt. That also takes care of the Stack Overflow issue. I am left with the odd "method compare(int, int) is undefined for the type Integer" messages though and then a vast listing of "java.lang.NullPoin

Re: Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
Well, according to this post http://stackoverflow.com/questions/16188929/failure-in-unit-cache-map-load-gwt deleting the unit cache item in Eclipse took care of the Unit cache errors. I still get the stack overflow though and the "compare" messages -- You received this message because you ar

Unusual (for me) GWT compile messages

2013-10-21 Thread seven.reeds
Hi, I am running Eclipse with GWT 2.5.1 and the ADT bundle on a Windows 7 box. I've been writing simple GWT apps for a while now. I am not a java expert but things have generally worked out. I am seeing a number of compile issues that i have not seen before and i am looking for guidance. Fi

Re: HTML widget eats first DIV in string input

2013-05-25 Thread seven.reeds
I found a workaround. Instead of using setHTML I am now doing "getElement().setInnerHTML". -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-too

HTML widget eats first DIV in string input

2013-05-24 Thread seven.reeds
This is odd and I am probably missing something simple but... I am using GWT 2.5.1; Eclipse Juno (on Win 7) and target platform is a RedHat box I have a RequestBuilder that makes a POST request and has a JSONObject returned. This works. The HTTP response returned to the RequestBuilder is: St

Re: adding custom widget to FormPanel

2013-02-28 Thread seven.reeds
Saw a post in a different forum that suggested putting a "Hidden" widget in the custom one that would receive the actual custom "name" and "value". It suggested that the form would find the Hidden widget and sent that properly. Makes sense to me. My test this morning says, No, that does not

adding custom widget to FormPanel

2013-02-27 Thread seven.reeds
Hi, I am using GWT 2.5.0. I have a FormPanel that has several "normal" form widgets. I have a custom widget that extends Composite and implements HasName and HasValue. All the setters and getters are implemented. However, when the form is submitted it does not seem to recognized the custo

Re: JSONParser.parseStrict() exception "Unexpected token <"

2012-08-01 Thread seven.reeds
Hi Colin, Thanks! Your ideas moved me towards a solution. Turns out that FormPanel->onSubmitComplete returns whatever is returned as "html". My result was surrounded by PRE tags. I sucked the getResult output into a HTML instance and then used the getText method to get what I wanted. This i

JSONParser.parseStrict() exception "Unexpected token <"

2012-07-31 Thread seven.reeds
Hi, GWT 2.4.0 Eclipse Juno Ubuntu I am using a GWT Form. In the form.addSubmitCompleteHandler() I do the following: try { Info = JSONParser.parseStrict(event.getResults()).isObject(); } catch (NullPointerException e) { RootPanel.get("list").clear(); RootPanel.get("list").add(new HTML("" + eve

math error: modulo

2011-07-15 Thread seven.reeds
Hi All, I have a case where I am trying to issue the following calculation int x = 0; int y = -1; x = y % 12; In other languages I get the result: x = 11. In GWT/java I get "-1". Is there a better way? -- You received this message because you are subscribed to the Google Groups "Google Web T

Re: FlexTable and clickHandler depreciated?

2011-07-13 Thread seven.reeds
Thank you, thank you! I found the issue with Project->Clean! I had not used that before. The real issue was that when I was typing the "addClickHandler" line Eclipse underlined the ClickHandler portion and offered me the option to include one of several headers for ClickHandler. I picked one fo

FlexTable and clickHandler depreciated?

2011-07-12 Thread seven.reeds
Hi, gwt: 2.3.0 eclipse: 3.6.2 I must be doing something wrong. I have a FlexTable and I try to add a ClickHandler but I am told it is depreciated. FlexTable panel = new FlexTable(); SponsorrList() { initWidget(panel); panel.setStyleName("Speaker

CGI scripts + CellTable + AsyncCallback, is this doable?

2011-03-01 Thread seven.reeds
I am perhaps about to make you all cringe... I am still a java and GET newbie, but that is not the cringing part. I would like to use the new CellTable widget but the exapmles I see all end up using servlets for asyc data gathering calls. I do not have access to Tomcat or other servlet containers

Re: array of suggestBox?

2010-11-15 Thread seven.reeds
Thanks, I am still such a java newbie that I was not thinking about the what I was really trying to accomplish. I didn't need an array of suggest boxes. Duh, on me. What I do need though is the proper way to get to the "protected" methods of the nested class: SuggestBox.SuggestionDisplay In th

array of suggestBox?

2010-11-10 Thread seven.reeds
Hi, I am trying to play with SuggestBox in a small test. I am not a Java wizard though. In my test i have an oracle that holds all the countries in the world. The form I am building will ask for a country as a SuggestBox. Now, If I want the person filling out the form to enter all of the count

Re: Pre-History access?

2010-10-28 Thread seven.reeds
Sigh, ignore this. It was trivial... and my fault. My own code was producing the alert. Duh on me -- 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

Pre-History access?

2010-10-28 Thread seven.reeds
Hi, I am running GWT 2.0.4, Eclipse 3.6.1 and firefox 3.4.x I have just started playing with History. I can follow the examples in the History class docs; I have seen the example in the tutorials. I can start my spp and do a little navigation and build up some History. I can use the Back & Forw

Re: eclipse 3.5.2 and gwt

2010-06-02 Thread seven.reeds
I still have no idea what the issue was but I had to un-install eclipse and delete the ".eclipse" dir in my home directory then reinstall Eclipse and re-add the GWT plug-in for it to show up. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

Re: eclipse 3.5.2 and gwt

2010-06-01 Thread seven.reeds
Installing as a priv user did nothing. Going into the .eclipse dir and removing the com.google.* stuff from the plugin dir and re- installing has not helped. I must be missing something trival. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" gr

eclipse 3.5.2 and gwt

2010-06-01 Thread seven.reeds
Hi, I have had to rebuild and reinstall the Ubuntu box on which I have been running Eclipse + GWT for a long time but something is strange. After reinstalling and booting the box I started Eclipse as an unprivileged user. The GWT buttons were not on the application tool- bar where I expected the

gwt 2.0.2: FileUpload and set(Visible/Enabled)

2010-02-23 Thread seven.reeds
Hi, I am using a FileUpload widget for the first time. It is in a place where I want to allow the visitor to either do the FileUpload or enter a URL in a TextBox. I have set up a RadioButton group to toggle between the two choices. In the onClick method for the RadioButtons I can setEnabled or

Re: copy&paste and TextBox

2010-02-10 Thread seven.reeds
Oh! Those links are brilliant! Thank you. -- 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

Re: copy&paste and TextBox

2010-02-10 Thread seven.reeds
Ok, yikes. I created the following tiny sample to try and find out which events fire when. I did have a handler for *every* possible TextBox event but the mouse over and move events just flooded everything -- I removed those. Now I load the test. I select some text that is outside of the text b

copy&paste and TextBox

2010-02-10 Thread seven.reeds
Hi, Which of the gwt 2.0 style event Handlers recognize pasting text into a TextBox? I have ChangeHandler, KeyUpHandler and MouseUpHandlers installed on a TextBox but no joy. I am trying to accomplish the following: I have a TextBox group together with a button. In the start state the TextBox i

Re: probably silly FormPanel vs FireBug question

2010-01-29 Thread seven.reeds
Doh! of course. thanks guys -- 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...@googlegrou

probably silly FormPanel vs FireBug question

2010-01-29 Thread seven.reeds
I must be missing something. I am trying to use a FormPanel to do a GET request on an existing CGI script. I need to pass query string values to the script. My understanding of FormPanel suggests that any of the recognized form elements (textBox, listBox, Hidden, etc) that exist within the FormP

Re: naive 1.6 Web App creator question

2009-05-15 Thread seven.reeds
.xml that gets generated if you make a new > GWT/App Engine project with the Eclipse plugin. > > Hope this helps! > > > > > > On Fri, May 15, 2009 at 4:52 PM, seven.reeds wrote: > > > Hi, > > > I am *just* trying out 1.6.  I have created a couple of test

naive 1.6 Web App creator question

2009-05-15 Thread seven.reeds
Hi, I am *just* trying out 1.6. I have created a couple of test projects using the Web App creator thing but i have a question. I may have to create a project called Foo but the resulting GWT html items should be named .../index... The web server is configured to deal with index.html by defaul

Re: debug freeze

2009-04-07 Thread seven.reeds
As always, it was my fault. I was using a null object. I was finally able to put try/catch blocks around the right thing. Thanks for your suggestions On Apr 7, 8:31 pm, Vitali Lovich wrote: > Are you sure the address you give the app is correct?  Is my.host.com the > name of your machine or s

Re: debug freeze

2009-04-07 Thread seven.reeds
Yes, I have tried waiting. The status line in the lower left corner of the hosted browser will say "Transferring data from my.host.com" and it will sit there for minutes (it has been over 5 minutes since i started this reply). Maybe this is a particularly slow app in hosted mode. I'll let it ru

debug freeze

2009-04-07 Thread seven.reeds
Hi, I am trying to debug a GWT app in hosted mode (I think that is the correct term). I run the project-shell script (linux) and a sort-of console window appears and a sort-of browser appears. In my app I display a single line of "header" text and the word "loading" below that. In time the wor

Idea help needed please

2009-03-09 Thread seven.reeds
Hi, I am working on a app that will display scheduled tasks in different "calendar views" (day, week, month). The month view is not a problem. The day and week views are proving more difficult to design. I am looking for ideas. The plan so far has been to create a FlexTable that, in the case

exception handling

2009-03-03 Thread seven.reeds
Hi, I'm still a java newbie. I have an exception handling question. Is there a generic exception handler? By generic I mean if an exception is thrown somewhere deep in the code it can be caught higher-up in the code as a last ditch measure? --~--~-~--~~~---~--~---

Re: ie7, flextable & row styles

2009-02-23 Thread seven.reeds
Ok, my "solution" is to apply the row-based styles to each column in the row. This is almost working perfectly. It is applying the correct styles to the cells and the styles are mostly being rendered correctly. There is a dashed horizontal line that is being rendered as solid but I'll live with

ie7, flextable & row styles

2009-02-23 Thread seven.reeds
I am seeing something odd. I'm not reporting a bug, only wondering if I am the only one and if there is a "known" issue. I think I have a work-around but i have not tried it yet. I am creating a FlexTable that has a number of columns and many rows. The number of rows is always divisible by 4.

Re: passing events up from a widget?

2009-01-23 Thread seven.reeds
Hi, What if the Composite widget actually has several wrapped widgets? Each can change. Each has an onChange listener [hope I'm using the correct terms here]. As each/any of the wrapped widgets changes, a local value is set/modified and a change event should be reported upwards. Imagine a date

RequestBuilder "form not ready" message

2009-01-21 Thread seven.reeds
Hi, I am modifying a small GWT app that has been working for a while. It creates a RequestBuilder connection to an existing CGI script. I have added a new value that is passed through the request to the script. When I submit the form I am now getting a dialogue-box (like a Windows.alert() pop-

Re: passing events up from a widget?

2009-01-16 Thread seven.reeds
Never mind. It looks like the answer is to implement SourcesChangeEvents and all the associated methods. There might be great documentation on this somewhere with examples but i have not seen it. Looking at the TextBoxBase and ListBox code helped a lot. --~--~-~--~~~

passing events up from a widget?

2009-01-14 Thread seven.reeds
Hi, I can define a widget that contains some item that accepts a ChangeListener. Say, I have a myTextBox widget that creates the TextBox and adds a custom label. I can put a ChangeListener on the TextBox. I can create another Widget that uses the myTextBox widget. If I know I can implement th

removing attributes from FlexTables

2008-12-01 Thread seven.reeds
Hi, I am running gwt-1.5.3 under linux and java-1.6.something. I have just gone through the following exercise. I created a FlexTable, added content and then was messing with the styling for the table. I decided that the default "styl" for FlexTables was not helping me so I wanted to remove it

setWidgets where no one has gone before

2008-11-11 Thread seven.reeds
Hi All, I am trying to do something that I'm sure breaks a million rules, protocols, standards, covenants, agreements and pinky-swears. Given the default TabPanel, I can get the embedded TabBar. That TabBar is a HorizontalPanel with at least two extra "td"s (on in the front and the "last" one).

Re: case expressions must be constant expressions

2008-10-30 Thread seven.reeds
On Oct 30, 11:07 am, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > seven.reeds schrieb: > > You're not following the coding style guidlines being published > by SUN, so it's hard to say.[...] lol! no disagreement on this. I'm just happy to have [mostly]

case expressions must be constant expressions

2008-10-30 Thread seven.reeds
I am not a java wizard, or even a novice it seems. I am rewriting a app and may have out smarted myself. In the original version, in my primary (entrypoint) class, I defined some basically global integer constants like: public class index implements EntryPoint { public final static

Re: NullPointerException in GWTCompiler

2008-10-09 Thread seven.reeds
I am getting similar messages intermittently. I am running java 1.6.0_07, on a red hat RHEL 5.2 system. I am not using third party libs or tools except for Eclipse 3.4.1 I see: Compiling module my.module Compilation succeeded Linking compilation into ./www/my.module Exception in thread "main"

Same origins policy

2008-10-02 Thread seven.reeds
Hi, I am running GWT 1.5.2 under linux with an Apache web server. There are a couple of things here. First, I have been developing an app using a plain "http:" protocol. This app will replace an existing app. The existing cgi app allows users to go to "http://..."; or "https://...";. If the

JSONNumber getValue() and ints

2008-09-30 Thread seven.reeds
Hi I am using Eclipse 3.4.1, java 1.6.0_07, gwt 1.5.2 under linux. I have a JSON object that contains an integer value. I am trying the following to get it: int rowCount = index.Info.get("RowCount").isNumber().getValue().intValue(); Eclipse tells me the getValue() for JSONNumber is depreciate

Re: parameterized types?

2008-09-25 Thread seven.reeds
On Sep 24, 5:38 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote: > Is there a fix? Thanks to the pointers above, the following took away the Eclipse messages. In the code above I had: Map map = new HashMap(); I changed this to: Map map = new HashMap(); --~--~-~--~~-

parameterized types?

2008-09-24 Thread seven.reeds
Here is the java newbie again. Just when I was thinking I had the vaugest handle on things up pops parameterized types. The GWT 1.5 Serializable docs say that the "@gwt.typeArgs" is depreciated in favor of parameterized types. I'm not seeing a definative guide to using them though. In my case,

Re: "logLevel should be followed by one of"

2008-09-24 Thread seven.reeds
no, but thanks for asking. I need a new brain more than anything --~--~-~--~~~---~--~~ 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 T

Re: "logLevel should be followed by one of"

2008-09-23 Thread seven.reeds
nevermind, the latest SDK was installed in an unusual location and so was not in my path. I should have clued in on the java version I reported. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

"logLevel should be followed by one of"

2008-09-23 Thread seven.reeds
Hi, Something screwy is going on and I'm not seeing the problem. I have been away from GWT for a couple months on other projects. In the meantime my linux box was upgraded to a different distribution than I have used before. Now, I try to run the GWT compile script and get: -logLevel should b

sorting json object keys

2008-09-22 Thread seven.reeds
Hi, This is probably not a GWT issue but I am really still a java newbie. I have a JSONObject and one element in the thing is itself an associative array of items. I know I can use the has() & get() methods to get to the this "sub- object". I am sure I can use the keys() method on the sub objec