GWT CellTable.Resources causes Deferred binding exception

2012-04-10 Thread Rick Fisher
Hello

GWT 2.4

I am getting the following exception trying to instantiate a CellTable

Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.google.gwt.user.cellview.client.CellTable$Resources' (did you
forget to inherit a required module?)

The offending code is:
@UiField(provided=true)
CellTable derivedCellTable = new CellTable(20);  <--
Fails during Instantiation

I get the same Exception instantiating a CellTable NOT in the UiField.
Code will work maybe 10% of the time.  Not always.  celltable seems
very tempermental.


Does anyone have any thoughts?
- thanks


My UIBinder is as follows:

-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x- UIBinder -x-x-x-x-x-x-x-x-x-x-x-x-x-x-
x-
http://dl.google.com/gwt/DTD/xhtml.ent";>


.cellTable {
border: 1px solid #ccc;
}

.selectedLabel {
padding-left: 1px;
}









-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x- UIBinder -x-x-x-x-x-x-x-x-x-x-x-x-x-x-
x-



-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-  JAVA CLASS  -x-x-x-x-x-x-x-x-x-x-x-x-
x-x-x-
public class RolesView extends ViewBase implements ApplicationView {

// A simple data type that represents a role.
public class Role {
String roleName = null;
String resourceList = "";

public Role(String name, String resourceArray) {
roleName = name;

resourceList = resourceArray;
}
}

/* The Interface HomeViewUiBinder. */
interface HomeViewUiBinder extends UiBinder {
}

@UiField  (provided=true)
HtmlFlowPanel panel = new HtmlFlowPanel();  // net.company
homegrown object

@UiField(provided=true)
CellTable derivedCellTable = new CellTable(20);  <--
Fails during Instantiation

@UiField(provided=true)
CellTable explicitCellTable = new CellTable(20);


/*  The UI binder. */
private static HomeViewUiBinder uiBinder =
GWT.create(HomeViewUiBinder.class);

final String DATA_PROVIDER = "dataProvider";
final String TAB_PANEL_ITEM = "tabPanelItem";
final String LIST_OF_ROLES_OBJECTS = "resourceList";
final String ROLE_CELL_TABLE = "cellTable";

final String DERIVED="derived";
final String EXPLICIT="explict";

ListDataProvider derivedDataProvider = new
ListDataProvider();
ListDataProvider explicitDataProvider = new
ListDataProvider();

public RolesView() {
super();
uiBinder.createAndBindUi(this);

}
}
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-  JAVA CLASS  -x-x-x-x-x-x-x-x-x-x-x-x-
x-x-x-

-- 
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-Eureka available

2012-04-10 Thread Jens
Looks nice, but:

1.) when I click into any of both text boxes you should preselect all its 
contents (like its done when focusing the textbox using TAB) so I can start 
typing a new hour / minute. I don't want to select it myself using the 
mouse or hit backspace 2 times before I can change hour / minute if its not 
"00".
2.) it would be nice if the focus switches from hour to minute 
automatically if I have typed two digits into the hour box.
3.) The PM/AM behavior seems strange. 15:00 AM doesn't make sense. If AM/PM 
is visible, hour should only allowed to be 0-12.
4.) What if the time value being shown is optional? I can't delete all the 
contents to get a "null" time (thats why I prefer a single box for TimeBox. 
I don't want that hardcoded ":" between empty fields and also deleting a 
time is easier: CTRL + A => DEL in a single box).

I like the name. Eureka is a funny tv series! :)

-- 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/-/ZzOlYzAVsTMJ.
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: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-10 Thread Deepak Singh
Thanks Seth. I will wait.

On Wed, Apr 11, 2012 at 1:23 AM, GWTter  wrote:

> Hi Deepak,
>
> Sure, I'll let you know once I add that functionality. Could be a little
> while as that currently is not a priority compared to my other items, but
> it definitely is needed and will be added.
>
> -Seth
>
>
> On Wednesday, April 4, 2012 4:30:01 PM UTC-4, Deepak Singh wrote:
>>
>> Ok.
>>
>> So request you to update me when you add this drag functionality. OR you
>> can give me some hints/suggestion so that i could also try a bit.
>>
>> Will be waiting for this one.
>>
>> Thanks
>> Deepak
>>
>> On Thu, Apr 5, 2012 at 12:47 AM, GWTter  wrote:
>>
>>> Hi Deepak,
>>>
>>> Yes, sorry, I forgot to mention that I hadn't added the drag
>>> functionality to the scrollbar since I had put that on hold to focus on
>>> some other issues. So you should see the functionality with the scroll
>>> wheel only currently.
>>>
>>> -Seth
>>>
>>>
>>> On Wednesday, April 4, 2012 1:26:44 PM UTC-4, Deepak Singh wrote:

 Hi Seth,

 It works. Thanks.

 But the scrolling happens only through the mouse wheel movement, it
 does not scroll by dragging the bar in up and down direction.
 It simply gets dragged like an image.


 On Wed, Apr 4, 2012 at 8:53 AM, GWTter  wrote:

> Hi Deepak,
>
> The most you should need to do is the following:
>
> AbsolutePanel absPanel = new AbsolutePanel();
> for(int i = 0; i < 10; i++){
>  SimplePanel simp = new SimplePanel();
>  simp.setHeight("100px");
>  simp.setWidth("500px");
>  simp.getElement().getStyle().setBackgroundColor("green");
>  absPanel.add(simp);
> }
>
> MyScrollPanel scrollPanel = new MyScrollPanel();
> scrollPanel.setHeight("500px");
> scrollPanel.setWidth("100px");
>
> scrollPanel.add(absPanel);
>
> RootPanel.get().add(**scrollPane**l);
>
> If the above code does not give you a green scrollable box then you
> should recheck your code. With the code I sent you and the above code, you
> should have a custom scroll bar (not native). You should at the very least
> have the above code working. Hope this helps. Let me know.
>
> -Seth
>
>
>
> On Tuesday, April 3, 2012 1:59:33 PM UTC-4, Deepak Singh wrote:
>>
>> Hi Seth,
>>
>> I added the styles to myVerticalScrollBar. and added the entire page
>> content to MyScrollpanel but still the default scrollbar is there.
>>
>> Its not overridden.
>>
>>
>> On Mon, Apr 2, 2012 at 9:39 PM, GWTter  wrote:
>>
>>> Hi Deepak,
>>>
>>> Yes, you would need to apply some style to your scrollbar so that it
>>> at least has width (or height if you were using the horizontal 
>>> scrollbar).
>>> If you look at the MyVerticalScrollBar constructor, the line
>>> 'this.setStyleName("**verticalScrollBar")' sets the style for
>>> the scrollbar. This style is not defined in the myScrollPanel.css as 
>>> that
>>> CSS file is only meant for the cornerpanel styling. You would need to
>>> define the style "verticalScrollBar" in your main CSS file. For example:
>>>
>>> .verticalScrollBar{
>>>   width: 10px;
>>>   background: blue;
>>> }
>>>
>>> Also, make sure that the content you're scrolling is within the
>>> MyScrollPanel, since only content within the MyScrollPanel will have the
>>> custom scroll bars, anything not within a CustomScrollPanel will still
>>> default to the native implementation. Hope this helps.
>>>
>>> -Seth
>>>
>>> -Seth
>>>
>>>
>>> On Monday, April 2, 2012 11:44:57 AM UTC-4, Deepak Singh wrote:

 Nothing more than what i sent you.

 I have just myScrollPanel.css as mention above.

 Could you pls guide me with css if i need to apply some css over
 vertical scrollbar?

 Thanks in advance
 Deepak

 On Mon, Apr 2, 2012 at 8:19 PM, GWTter  wrote:

> Hi Deepak,
>
> This looks good to me. What style are you using for the vertical
> scrollbar?
>
> And thanks for the repost.
>
> -Seth
>
>
> On Sunday, April 1, 2012 3:50:12 PM UTC-4, Deepak Singh wrote:
>>
>> Hi Seth,
>>
>> I am posting my code here:
>>
>> myScrollPanel.css
>> @CHARSET "ISO-8859-1";
>>
>> .customScrollPanel{
>> }
>> .customScrollPanelCorner{
>> opacity: 0.0;
>> }
>>
>> MyScrollPanel.java
>>
>> public class MyScrollPanel extends CustomScrollPanel {
>>  /**
>>  * Extends the CustomScrollPanel Resources interface so that we
>> can add our own css file and still reuse the Resources and Style 
>> interfaces
>> from Cust

Re: How to make a hourglass pointer?

2012-04-10 Thread Jens

>
>  3) If the mouse cursor not leave the button, the cursor is still in hand 
> shape and the user can continue click the button many times.
>

The cursor is still a hand because buttons, links, ... have their own 
curser css rule. You would have to change these as well. Also you can still 
click the button because you only change the appearance of the curser.

If you want to block all mouse input and you want a globally visible hour 
glass curser you need a glass pane which lies above your web application. 
You can use PopupPanel with enabled glass pane for this and apply your css 
rule for the cursor to the glass pane.

-- 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/-/hxgFXe_Uv9YJ.
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-Eureka available

2012-04-10 Thread Carlos Tasada
Thanks for your comments.

The problem typing the hours/minutes has been hunting me for sometime, but
I simply cannot find a better way to do it. An alternative would be to
allow to type anything and then fix it when the widget loses focus, but I'm
not really happy about it either. Any behavior suggestion is welcome.

Regarding the mouse-wheel idea, I love it. I'll take a look and implement
it for the next version.

On Tue, Apr 10, 2012 at 3:48 PM, jhulford  wrote:

> First, the widgets look fantastic.  Great job there.
>
> My issue would be w/ keying time into the time pickers.  It's a little
> wonky, in that, you can't click into the textfield and just key "17:45".
> You have to make sure to click the cursor after the hour, then type 17 and
> the click the mouse again to move it to the end of the minutes and key your
> minutes.  It's a bit cumbersome and somewhat counterintuitive.  I'm also
> not really a fan of input widgets that modify your text as you're typing.
> Go ahead and change it after the widget looses focus, but modifying as I'm
> typing has a jaring effect on me.
>
> One suggestion, allow using the mouse wheel to roll the hour / minute
> values up or down.  Along the lines of this:
> http://css-tricks.com/mousewheel-inputs/
>
>
> On Tuesday, April 10, 2012 7:02:47 AM UTC-4, ctasada wrote:
>>
>> Hi everyone,
>>
>> I just published the first version of GWT-Eureka. This is a new library
>> for GWT widgets that are not big enough to fit anywhere else.
>>
>> Right now you can find the next components:
>>
>> * TimePicker: As the name says, a time picker, where you can type hours
>> and minutes
>> * iOSButton: A button with support for badges, like in iOS
>> * ExtendedDatePicker: An extended DatePicker, where you can choose  the
>> valid start/end dates
>>
>> You can find more info here: http://ctasada.blogspot.**
>> com.es/2012/04/gwt-eureka-**available.html
>> source code here: 
>> https://github.com/**ctasada/GWT-Eureka
>> demo here: http://gwt-eureka.**appspot.com/
>>
>> This is just a first release candidate. I'll keep working to improve it
>> and make it production ready, but I really look forward for your comments
>> and suggestions
>>
>> Regards,
>> Carlos.
>>
>  --
> 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/-/USe98Gn2-h8J.
>
> 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: CustomScrollPanel issue (extra div overlays generated impacting performance?)

2012-04-10 Thread GWTter
Hi Deepak,

Sure, I'll let you know once I add that functionality. Could be a little 
while as that currently is not a priority compared to my other items, but 
it definitely is needed and will be added.

-Seth

On Wednesday, April 4, 2012 4:30:01 PM UTC-4, Deepak Singh wrote:
>
> Ok.
>
> So request you to update me when you add this drag functionality. OR you 
> can give me some hints/suggestion so that i could also try a bit.
>
> Will be waiting for this one.
>
> Thanks
> Deepak
>
> On Thu, Apr 5, 2012 at 12:47 AM, GWTter  wrote:
>
>> Hi Deepak,
>>
>> Yes, sorry, I forgot to mention that I hadn't added the drag 
>> functionality to the scrollbar since I had put that on hold to focus on 
>> some other issues. So you should see the functionality with the scroll 
>> wheel only currently.
>>
>> -Seth
>>
>>
>> On Wednesday, April 4, 2012 1:26:44 PM UTC-4, Deepak Singh wrote:
>>>
>>> Hi Seth,
>>>
>>> It works. Thanks.
>>>
>>> But the scrolling happens only through the mouse wheel movement, it does 
>>> not scroll by dragging the bar in up and down direction.
>>> It simply gets dragged like an image. 
>>>
>>>
>>> On Wed, Apr 4, 2012 at 8:53 AM, GWTter  wrote:
>>>
 Hi Deepak,

 The most you should need to do is the following:

 AbsolutePanel absPanel = new AbsolutePanel();
 for(int i = 0; i < 10; i++){
  SimplePanel simp = new SimplePanel();
  simp.setHeight("100px");
  simp.setWidth("500px");
  simp.getElement().getStyle().**setBackgroundColor("green");
  absPanel.add(simp);
 }

 MyScrollPanel scrollPanel = new MyScrollPanel();
 scrollPanel.setHeight("500px")**;
 scrollPanel.setWidth("100px");

 scrollPanel.add(absPanel);

 RootPanel.get().add(**scrollPanel);

 If the above code does not give you a green scrollable box then you 
 should recheck your code. With the code I sent you and the above code, you 
 should have a custom scroll bar (not native). You should at the very least 
 have the above code working. Hope this helps. Let me know.

 -Seth



 On Tuesday, April 3, 2012 1:59:33 PM UTC-4, Deepak Singh wrote:
>
> Hi Seth,
>
> I added the styles to myVerticalScrollBar. and added the entire page 
> content to MyScrollpanel but still the default scrollbar is there.
>
> Its not overridden.
>
>
> On Mon, Apr 2, 2012 at 9:39 PM, GWTter  wrote:
>
>> Hi Deepak,
>>
>> Yes, you would need to apply some style to your scrollbar so that it 
>> at least has width (or height if you were using the horizontal 
>> scrollbar). 
>> If you look at the MyVerticalScrollBar constructor, the line 
>> 'this.setStyleName("**verticalSc**rollBar")' sets the style for the 
>> scrollbar. This style is not defined in the myScrollPanel.css as that 
>> CSS 
>> file is only meant for the cornerpanel styling. You would need to define 
>> the style "verticalScrollBar" in your main CSS file. For example: 
>>
>> .verticalScrollBar{
>>   width: 10px;
>>   background: blue;
>> }
>>
>> Also, make sure that the content you're scrolling is within the 
>> MyScrollPanel, since only content within the MyScrollPanel will have the 
>> custom scroll bars, anything not within a CustomScrollPanel will still 
>> default to the native implementation. Hope this helps.
>>
>> -Seth
>>
>> -Seth
>>
>>
>> On Monday, April 2, 2012 11:44:57 AM UTC-4, Deepak Singh wrote:
>>>
>>> Nothing more than what i sent you.
>>>
>>> I have just myScrollPanel.css as mention above.
>>>
>>> Could you pls guide me with css if i need to apply some css over 
>>> vertical scrollbar?
>>>
>>> Thanks in advance
>>> Deepak
>>>
>>> On Mon, Apr 2, 2012 at 8:19 PM, GWTter  wrote:
>>>
 Hi Deepak,

 This looks good to me. What style are you using for the vertical 
 scrollbar?

 And thanks for the repost.

 -Seth


 On Sunday, April 1, 2012 3:50:12 PM UTC-4, Deepak Singh wrote:
>
> Hi Seth,
>
> I am posting my code here:
>
> myScrollPanel.css
> @CHARSET "ISO-8859-1";
>
> .customScrollPanel{
> }
> .customScrollPanelCorner{
> opacity: 0.0;
> }
>
> MyScrollPanel.java
>
> public class MyScrollPanel extends CustomScrollPanel {
>  /**
>  * Extends the CustomScrollPanel Resources interface so that we 
> can add our own css file and still reuse the Resources and Style 
> interfaces 
> from CustomScrollPanel
>  * @author SL
>  *
>  */
>  public interface MyScrollResources extends Resources{
>
> @Source("com/pdstechi/client/**m**yScrollPanel.css")
>  Style cus

Re: GWT DataGrid Widget unpredictable row height issue...

2012-04-10 Thread Sachin Shekhar R
Probably you can fix it by adding css property "white-space: nowrap;" 
.dataGridFooter, .dataGridHeader:hover,.dataGridCell  by using custom grid 
css file with GWT default grid css.

On Thursday, 8 March 2012 01:13:49 UTC+5:30, Bill M wrote:
>
> Hi Vinayak, 
>
> I think I found the problem.  I have a column whose contents I want to 
> hide from the user.  However, I need the data available.  So, from 
> another post I came across, someone said the way to hide a column is 
> to set it's column width to 0.  However, it really seems I'm getting 
> some "wrapping" occuring with this hidden field, causing the height of 
> the entire row it's on to grow. 
>
> So, is there another way to hide the contents of a column?  Or, will I 
> need to come up with a paralled data structure to hold column's I 
> don't want displayed in the DataGrid? 
>
> Appreciate any assistance. 
> Thanks, 
> Bill M. 
>
> On Mar 2, 5:27 pm, Bill M  wrote: 
> > Hi Vinayak, 
> > 
> > I tried setting using the same data for eachrow, yet I still got some 
> > rows appearing with larger heights. 
> > And eachrowwas loaded with the same exact data. 
> > 
> > I'm try loading with field/column of therowwith "" and see what that 
> > does. 
> > 
> > Thanks, 
> > Bill M. 
> > 
> > On Mar 2, 5:14 am, vinayak kulkarni  wrote: 
> > 
> > 
> > 
> > > Hello, 
> > > I am using thedatagridbut didnt face any issue related to largerrow 
> > > size. 
> > > It only occurs during data wrapping if text size is more. 
> > 
> > > In your case, some data might have been overflown with space character 
> > > to the next line which may be showing larger size 
> > 
> > > On Feb 27, 11:55 pm, Bill M  wrote: 
> > 
> > > > Hi all, 
> > 
> > > > I'm loading the newDataGridWidget with the results of a SQL query. 
> > > > I have noticed that some rows (just a few) are appearing with a 
> larger 
> > > >rowheightthan others, on a load of about 1000 rows.  I tried setting 
> > > > each column of therowto 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 largerrow 
> > > >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 consistentrowheightout of GWT 2.4/ 
> > > >DataGridwidget?  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.- Hide quoted text - 
> > 
> > > - Show quoted text -- Hide quoted text - 
> > 
> > - Show quoted text -

-- 
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/-/Y_CXqzSu9cgJ.
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: Unexpected server to client exception translation occurring

2012-04-10 Thread Adam Gordon
Ok, I figured out what's going on here.  Checked exceptions appear to be 
handled automatically by GWT and thrown to the client (not sure what 
happens here if they're not serializable).

Unchecked exceptions are processed by 
AbstractRemoteServiceServlet.doUnexpectedFailure(Throwable).  There does 
not appear to be a way to register a global exception handler so a base 
class overriding this method was necessary.  Additionally, this method 
defers to RPCServletUtils.writeResponseForUnexpectedFailure(...) to write 
the response to the server.  This utility method essentially ignores the 
error thrown on the server and writes a generic response.

The solution was to override the method and rather than call the 
RPCServletUtils method, to copy and tweak it so that it sends back the 
message I need to send.

On Tuesday, April 10, 2012 9:26:19 AM UTC-6, Adam Gordon wrote:
>
> We're building some internal web applications for divisions and we have a 
> need to send any server side stack traces to the client so that when 
> employee end-users encounter errors they can put a stacktrace in our 
> ticketing system.
>
> I have registered my own GWT.UncaughtExceptionHandler that recursively 
> iterates over the throwable (and any nested throwables/exceptions) to 
> generate a stacktrace and then, for now, puts this in a dialog.  This code 
> is working but the behavior I am seeing is that the exception thrown on the 
> server is not what is being displayed.  It's like it's being translated.
>
> Anyone have any idea what's going on here and how to fix it?  Thanks.
>
> --adam
>

-- 
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/-/xn19Fk6mMW8J.
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: RequestFactory and ListDataProvider assign type Problem

2012-04-10 Thread jmbz84
Solved!

removed the type  from the methods

On 9 abr, 21:37, jmbz84  wrote:
> Hello,
>
> I'm trying to make a generic method to get some data with
> RequestFactory.
>
> I have a method getData that executes fire on a Request in order to
> get a list of items(generics)
>
> The problem is when I try to assign the returned List arg0 to my
> ListDataProvider I get a type error.
>
> private ListDataProvider dataProvider;
> .
> .
> .
> .
> public  void getData(Request> specificRequest) {
>
>                 specificRequest.fire(new Receiver>() {
>                         @Override
>                         public void onSuccess(List arg0) {
>
>                                 assignDataProvider(arg0);
>                         }
>                 });
>
>                 return ;
>
> }
>
> public  void assignDataProvider(List arg0) {
>
>                 this.dataProvider.setList(arg0);
>                 //The method setList(List) in the type ListDataProvider 
> is not
> applicable for the arguments (List)
>
>                 this.dataProvider= new ListDataProvider(arg0);
>                 //Type mismatch: cannot convert from
> com.google.gwt.view.client.ListDataProvider to
> com.google.gwt.view.client.ListDataProvider
>
> }
>
> How can I use the data I get from arg0 so I can assign it to my
> ListDataProvider?

-- 
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.



Unexpected server to client exception translation occurring

2012-04-10 Thread Adam Gordon
We're building some internal web applications for divisions and we have a 
need to send any server side stack traces to the client so that when 
employee end-users encounter errors they can put a stacktrace in our 
ticketing system.

I have registered my own GWT.UncaughtExceptionHandler that recursively 
iterates over the throwable (and any nested throwables/exceptions) to 
generate a stacktrace and then, for now, puts this in a dialog.  This code 
is working but the behavior I am seeing is that the exception thrown on the 
server is not what is being displayed.  It's like it's being translated.

Anyone have any idea what's going on here and how to fix it?  Thanks.

--adam

-- 
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/-/0r1EgRhF4h4J.
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 make a hourglass pointer?

2012-04-10 Thread pop.ionut84
Why don't you display a "Please Wait" popup for the lengthy process? You 
can add to that popup an animated gif and message.

On Tuesday, April 3, 2012 1:07:10 PM UTC+3, tong123123 wrote:
>
> For lengthy process, I want to set the mouse pointer to hourglass, how to 
> do it in GWT?
>

-- 
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/-/uMCwoHwYKyEJ.
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: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-10 Thread Patrick Tucker
If you watch the GWT Contributor Google group, you can see what is being 
reviewed/worked on, what is getting committed to trunk and what not...

On Wednesday, April 4, 2012 1:04:15 PM UTC-4, Trey Roby wrote:

> It has been about 4 months since Ray's post on what the GWT team is 
> working on. In that time there has been only one GWT official blog 
> update and no releases for 6 months. 
>
> After reading the link that Alan suggested, I am encouraged but on 
> slightly since the post is several months old. There needs to be some 
> official signs of life. If the GWT group is fully staffed then it 
> should not be possible to communicate that in some way. 
>
> At Caltech we have been using GWT for over 4 years. We have build a 
> very large and amazing set of web applications using GWT. We are very 
> invested in GWT and I am eager to see some more obvious signs of life. 

-- 
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/-/TGa2aqF3TrcJ.
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: Call for action: Time to rethink a road-map and more frequent updates for GWT.

2012-04-10 Thread java4africa
+1

I stuck my neck out for GWT - I think it's a great concept. But without any 
news, plans, or long term commitment, I think it's pretty risky to throw 
man-months of development behind it. There are other options for web 
development where I have more control over what will be available in 3+ 
years time.

On Monday, April 2, 2012 5:19:16 PM UTC+2, Joshua Kappon wrote:
>
> With the rise of the new developers.google.com, and with Google trying to 
> rally up developers using Google technologies and products, and the rise of 
> Dart and unclear future of GWT, I think it's about time that Google will 
> rethink the all "We don't and won't have a road map, and there are no 
> release dates for new GWT versions" and embrace the GWT developers 
> community.
>
> What do you guys think? (if you agree, +1 this)
>
> Best,
> Josh 
>

-- 
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/-/iRekMhZLlGIJ.
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-Eureka available

2012-04-10 Thread jhulford
First, the widgets look fantastic.  Great job there.

My issue would be w/ keying time into the time pickers.  It's a little 
wonky, in that, you can't click into the textfield and just key "17:45".  
You have to make sure to click the cursor after the hour, then type 17 and 
the click the mouse again to move it to the end of the minutes and key your 
minutes.  It's a bit cumbersome and somewhat counterintuitive.  I'm also 
not really a fan of input widgets that modify your text as you're typing.  
Go ahead and change it after the widget looses focus, but modifying as I'm 
typing has a jaring effect on me.

One suggestion, allow using the mouse wheel to roll the hour / minute 
values up or down.  Along the lines of this: 
http://css-tricks.com/mousewheel-inputs/

On Tuesday, April 10, 2012 7:02:47 AM UTC-4, ctasada wrote:
>
> Hi everyone,
>
> I just published the first version of GWT-Eureka. This is a new library 
> for GWT widgets that are not big enough to fit anywhere else.
>
> Right now you can find the next components:
>
> * TimePicker: As the name says, a time picker, where you can type hours 
> and minutes
> * iOSButton: A button with support for badges, like in iOS
> * ExtendedDatePicker: An extended DatePicker, where you can choose  the 
> valid start/end dates
>
> You can find more info here: 
> http://ctasada.blogspot.com.es/2012/04/gwt-eureka-available.html
> source code here: https://github.com/ctasada/GWT-Eureka
> demo here: http://gwt-eureka.appspot.com/
>
> This is just a first release candidate. I'll keep working to improve it 
> and make it production ready, but I really look forward for your comments 
> and suggestions
>
> Regards,
> Carlos.
>

-- 
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/-/USe98Gn2-h8J.
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-Eureka available

2012-04-10 Thread ctasada
Hi everyone,

I just published the first version of GWT-Eureka. This is a new library for 
GWT widgets that are not big enough to fit anywhere else.

Right now you can find the next components:

* TimePicker: As the name says, a time picker, where you can type hours and 
minutes
* iOSButton: A button with support for badges, like in iOS
* ExtendedDatePicker: An extended DatePicker, where you can choose  the 
valid start/end dates

You can find more info here: 
http://ctasada.blogspot.com.es/2012/04/gwt-eureka-available.html
source code here: https://github.com/ctasada/GWT-Eureka
demo here: http://gwt-eureka.appspot.com/

This is just a first release candidate. I'll keep working to improve it and 
make it production ready, but I really look forward for your comments and 
suggestions

Regards,
Carlos.

-- 
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/-/_fFwhheA53sJ.
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 make a hourglass pointer?

2012-04-10 Thread Kei Kei
I use the following code

public class ShowHourGlass extends FlowPanel {
>
> Button showHourGlass = new Button("Show HourGlass");
>
> protected void onLoad(){
> this.add(showHourGlass);
> showHourGlass.addClickHandler(new ClickHandler(){
>
> @Override
> public void onClick(ClickEvent event) {
> //showWaitCursor();
> RootPanel.get().setStyleName("waitCursor");
> Timer t = new Timer() {
>   public void run() {
> // do something after a delay
>   //showDefaultCursor();
> RootPanel.get().setStyleName("defaultCursor");
>   }
> };
> // delay running for 1 seconds
> t.schedule(1000);
> }
>
> });
> }
> }
>

and the css is as follow:

>
> .waitCursor{
> cursor:wait;
> }
>
> .defaultCursor{
> cursor:default;
> }


and found some problem,
1) after click the button and move the mouse cursor away from the button
and then stay (not move), the cursor will change to wait but will not
change back to default, I need to move the cursor to make it return to
default state.
2) even I keep moving the mouse cursor, I found the time to return to
default cursor is longer than 1 sec even I set

> t.schedule(1000);

 3) If the mouse cursor not leave the button, the cursor is still in hand
shape and the user can continue click the button many times.

how to solve the above problem?


On Tue, Apr 3, 2012 at 6:23 PM, Jens  wrote:

> You have to set the CSS rule "cursor:wait" or "cursor:progress" on the
> element where the mouse cursor should be changed. If it should change for
> the whole site, you would add it to the body tag (accessible through
> RootPanel.get()) or to a glasspane like div that you maybe already have for
> disabling all mouse events.
>
> -- J.
>
> Am Dienstag, 3. April 2012 12:07:10 UTC+2 schrieb tong123123:
>
>> For lengthy process, I want to set the mouse pointer to hourglass, how to
>> do it in GWT?
>>
>  --
> 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/-/gdov4VIG5Q4J.
>
> 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 with a non-java server

2012-04-10 Thread dominikz
We've been using GWT with non-java servers (SAP and AS/400):

https://groups.google.com/d/topic/google-web-toolkit/7-JLKRd0H3s/discussion

-- 
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/-/s6GqL3wGX1AJ.
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.