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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
.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
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
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
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
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
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
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?
--~--~-~--~~~---~--~---
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
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.
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
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-
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.
--~--~-~--~~~
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
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
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).
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]
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
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"
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
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
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();
--~--~-~--~~-
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,
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
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"
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
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
56 matches
Mail list logo